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 20 h jmc /branches/R-classInheritance/ create branch for class inheritance  
45446 6670 d 7 h ripley /trunk/src/main/ whitespace cleanup  
44673 6719 d 6 h maechler /trunk/ Lapack additions - for [zd](ge|tr)con() condition numbers  
44339 6746 d 23 h ripley /trunk/src/main/ a small amount of tidying up  
44311 6749 d 8 h ripley /trunk/src/ do non-recorded graphics calls by .Call  
44198 6755 d 21 h ripley /trunk/src/main/ using of (void), tidy up use of headers  
42307 6942 d 10 h ripley /trunk/src/ change reference to GPL  
41975 6980 d 13 h ripley /trunk/src/ clean up after making lazyLoadDBfetch primitive  
40319 7151 d 14 h ripley /trunk/ more efficiency tweaks on data frames  
40137 7171 d 22 h maechler /trunk/ .Call("R_shortRowNames", .) => fast dim.data.frame(); more to come  
39866 7196 d 6 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.
 
39348 7254 d 12 h ripley /trunk/src/ migrate R_get_primitive from methods to base, add sanity check  
39077 7267 d 5 h jmc /trunk/ introduce S4 object bit and document it  
39004 7272 d 12 h ripley /trunk/src/ easier not to move r2dtable as rcont.o needs to be pulled in  
39002 7272 d 12 h ripley /trunk/ migrate r2dtable to package stats  
38044 7381 d 8 h ripley /trunk/ add na.rm argument to rowsum  
36820 7524 d 3 h ripley /trunk/ update FSF address  
34755 7710 d 2 h ripley /trunk/src/ migrate bandwidths C code to the stats package  
32258 7888 d 9 h ripley /trunk/src/ move devPS.c to grDevices
move L_devNull from grid to grDevices
 
32256 7888 d 10 h ripley /trunk/src/ move devNull and devPicTeX to grDevices  

Show All