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 6956 d 23 h murdoch /branches/djm-source/ Recreate branch from trunk  
41980 6981 d 17 h ripley /trunk/src/ more attribute_hidden  
41894 6990 d 21 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41878 6991 d 21 h ripley /trunk/src/main/ one more const  
41869 6992 d 1 h ripley /trunk/src/ a few more 'const' in declarations  
41784 6997 d 2 h ripley /trunk/src/ more 'const char *'  
41715 7004 d 5 h ripley /trunk/ improvements to error/warning messages  
41417 7027 d 19 h urbaneks /trunk/ added R_getEmbeddingDllInfo for applications embedding R  
40705 7106 d 4 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40581 7123 d 10 h rgentlem /trunk/ patched new.env to allow users to specify the size, plus a few
tidying up operations
 
39866 7197 d 22 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 7258 d 20 h luke /trunk/src/main/ Fixed order of arguments in error message.  
38957 7280 d 6 h ripley /trunk/src/ more tidying up of entry points  
38870 7289 d 14 h luke /trunk/src/ Added experimental routines for registering C callable functions in packages.  
38666 7313 d 22 h ripley /trunk/ more tweaks to what is exported (especially addDLL).
fix bug in freeing of registered symbols: was missing .External symbols.
 
38505 7327 d 23 h ripley /trunk/src/main/ more attribute_hidden  
37711 7414 d 21 h ripley /trunk/ improvements to mapping of foreign symbols  
37317 7474 d 2 h ripley /trunk/src/main/ update dates  
37300 7475 d 12 h ripley /trunk/ allow arch-specific builds to share a tree  
37001 7508 d 18 h ripley /trunk/ more visibility attributes  

Show All