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
46659 6501 d 3 h murdoch /branches/djm-parseRd/ Create temporary branch for Rd parsing code.  
46039 6593 d 23 h maechler /trunk/ first cut at improving [dpqr]nbinom(., <large size>, mu=.)  
45446 6670 d 4 h ripley /trunk/src/main/ whitespace cleanup  
44715 6713 d 6 h maechler /trunk/ consistency in r<foo>() NA warnings  
42398 6933 d 21 h ripley /trunk/src/ move some headers to individual files  
42307 6942 d 7 h ripley /trunk/src/ change reference to GPL  
41899 6987 d 9 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41715 7002 d 10 h ripley /trunk/ improvements to error/warning messages  
41686 7005 d 3 h ripley /trunk/ more improvements to warning/error messages  
41504 7018 d 23 h ripley /trunk/ fix memory leak in sample() due to typo.  
39866 7196 d 3 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.
 
39393 7251 d 9 h ripley /trunk/src/main/ make buffer sizes the same to avoid over-vigilance of FC5 options  
39004 7272 d 8 h ripley /trunk/src/ easier not to move r2dtable as rcont.o needs to be pulled in  
39002 7272 d 8 h ripley /trunk/ migrate r2dtable to package stats  
38417 7336 d 4 h ripley /trunk/src/main/ update copyright date  
37162 7488 d 23 h rgentlem /trunk/ patched do_sample as per user request  
36990 7507 d 19 h ripley /trunk/ reduce the number of visible symbols in libR.so from 1806 to 1136  
36820 7524 d 0 h ripley /trunk/ update FSF address  
35998 7583 d 0 h ripley /trunk/src/ tweaks to stack bound checking  
35458 7636 d 9 h ripley /trunk/src/main/ use Calloc rather than alloca for large n  

Show All