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
44421 6741 d 5 h ripley /branches/R-Cairo/ create R-Cairo  
44091 6761 d 2 h ripley /trunk/src/ Use UTF-8 in collation, basename, dirname, Tcl/Tk strings
(not yet checked on Linux)
 
44023 6766 d 8 h ripley /trunk/src/main/ update date  
43904 6775 d 2 h ripley /trunk/ add DLLpath arg to dyn.load  
42582 6915 d 5 h ripley /trunk/src/ work around warnings about converting to and from function pointers  
42307 6942 d 5 h ripley /trunk/src/ change reference to GPL  
41980 6979 d 20 h ripley /trunk/src/ more attribute_hidden  
41894 6989 d 0 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41878 6990 d 0 h ripley /trunk/src/main/ one more const  
41869 6990 d 4 h ripley /trunk/src/ a few more 'const' in declarations  
41784 6995 d 5 h ripley /trunk/src/ more 'const char *'  
41715 7002 d 8 h ripley /trunk/ improvements to error/warning messages  
41417 7025 d 22 h urbaneks /trunk/ added R_getEmbeddingDllInfo for applications embedding R  
40705 7104 d 7 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40581 7121 d 13 h rgentlem /trunk/ patched new.env to allow users to specify the size, plus a few
tidying up operations
 
39866 7196 d 1 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.
 
39296 7256 d 23 h luke /trunk/src/main/ Fixed order of arguments in error message.  
38957 7278 d 9 h ripley /trunk/src/ more tidying up of entry points  
38870 7287 d 17 h luke /trunk/src/ Added experimental routines for registering C callable functions in packages.  
38666 7312 d 1 h ripley /trunk/ more tweaks to what is exported (especially addDLL).
fix bug in freeing of registered symbols: was missing .External symbols.
 

Show All