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
47757 6389 d 19 h jmc /branches/R-classInheritance/ create branch for class inheritance  
45446 6670 d 6 h ripley /trunk/src/main/ whitespace cleanup  
45053 6689 d 9 h hornik /trunk/ Allow specifying user environment and profile files via environment
variables 'R_ENVIRON_USER' and 'R_PROFILE_USER', respectively.
 
42724 6904 d 2 h ripley /trunk/ gettext has defined _GNU_SOURCE in config.h on systems which need it,
so we now only need declaration where config.h is not included.
 
42320 6942 d 7 h ripley /trunk/ add some missing copyright statements  
42307 6942 d 9 h ripley /trunk/src/ change reference to GPL  
41781 6995 d 22 h ripley /trunk/src/ start introducing const char *  
40701 7105 d 22 h ripley /trunk/src/main/ tweaks  
40700 7105 d 23 h ripley /trunk/src/ use R_fopen consistently.
move towards a wchar interface for filenames on Windows.
 
40601 7120 d 7 h ripley /trunk/src/ tweaks for limited C versions  
40419 7138 d 20 h ripley /trunk/ allow min/max/range to handle character data.
small change to message to allows messages without \n (more to come)
update some copyright dates
 
40392 7142 d 7 h ripley /trunk/src/ tweaks to environment variables  
40378 7143 d 4 h ripley /trunk/src/main/ use setenv if available  
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.
 
37630 7420 d 11 h ripley /trunk/src/main/ avoid incorrect -Wall warning  
37317 7472 d 9 h ripley /trunk/src/main/ update dates  
37300 7473 d 19 h ripley /trunk/ allow arch-specific builds to share a tree  
36829 7522 d 11 h ripley /trunk/src/main/ correct address  
36820 7524 d 2 h ripley /trunk/ update FSF address  
36622 7539 d 5 h ripley /trunk/src/main/ more tweaks for glibc  

Show All