The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
42208 6955 d 6 h murdoch /branches/djm-source/ Recreate branch from trunk  
41901 6987 d 10 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41894 6989 d 4 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41784 6995 d 9 h ripley /trunk/src/ more 'const char *'  
41680 7005 d 9 h ripley /trunk/ improvements to the handling of warning/error messages  
41674 7005 d 21 h ripley /trunk/src/ improve error message (we do need the call to hand as [[ has no context set)  
41670 7006 d 0 h rgentlem /trunk/src/ a collection of changes to support [[ doing exact matching  
41613 7010 d 8 h ripley /trunk/ add arguments to warn on partial matching  
41516 7018 d 9 h ripley /trunk/src/main/ report incorrect type on subscripts  
41008 7056 d 10 h ripley /trunk/ tidy up marking $ on atomic vectors as 'invalid'  
40961 7059 d 11 h ripley /trunk/src/ arrange to get call attached to this warning  
40845 7072 d 17 h rgentlem /trunk/src/main/ patch to induce a warning when $ is applied to an S4 instance - and there
is no appropriate method
 
40810 7087 d 17 h rgentlem /trunk/ patch to make R warn if $ is used on a character vector  
40705 7104 d 11 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40261 7159 d 14 h murdoch /trunk/ Fix for bug in src refs: now src ref is attached to the container (EXPRSXP, or "{" LANGSXP) rather than the individual element.  
40093 7177 d 23 h ripley /trunk/ tidy up  
40091 7178 d 1 h ripley /trunk/src/main/ more R_Visible tweaks  
40090 7178 d 2 h ripley /trunk/ port trace() fix from R-2-4-branch
more R_Visibility fixes (not yet complete)
 
40052 7181 d 0 h ripley /trunk/ fixes for PR#9263  
39866 7196 d 5 h duncan /trunk/src/ The following are half the files changed to compile R with C++.
These are the simple, safe changes that keep the stricter compiler happy.

Change variable new to _new, class to klass, this to This or _this, template to Template, not to Not.
Remove some duplicate routine declarations.
Modernize some K&R routine parameter definitions.
Make explicit the signature for some routine pointer types.
Declare mode in creating connection as a const char * const.
Correct some routine declarations.
Add a throw to some routine definitions if in C++ to match built-in definitions.
Made the Clinkage explicit for rwarnc, rexitc. Use enum labels/constants where necessary.

The goals of using g++ are
a) to use a stricter compiler to discover anomolies in our code,
b) be able to use g++ -fdump-translation-unit so that we can more readily
do code analysis on the routines, variables, expressions and at the very
least allow me to identify the use of global variables automatically
and propose refactoring strategies,
c) to explore the pros and cons of using an Object Oriented programming
language C++ as the base language to get extensibility at the system level
and take advantage of some higher-level language features such as exceptions.
 

Show All