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
52864 5807 d 2 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
51274 5979 d 6 h ripley /trunk/src/main/ update copyright dates  
51208 5988 d 1 h ripley /trunk/ small changes to sample.int() to allow a better resample()  
50875 6051 d 7 h ripley /trunk/ more resetting of vmax  
50479 6095 d 10 h ripley /trunk/src/ back out r50473 (did not work on SunStudio)  
50473 6095 d 21 h ripley /trunk/src/ pre-check alloca for addiitonal safety  
48371 6305 d 4 h maechler /trunk/src/ provide FixupProb() as public (not yet "API") entry point  
47851 6381 d 7 h ripley /trunk/ add sample.int eval.with.vis  
46039 6594 d 1 h maechler /trunk/ first cut at improving [dpqr]nbinom(., <large size>, mu=.)  
45446 6670 d 6 h ripley /trunk/src/main/ whitespace cleanup  
44715 6713 d 7 h maechler /trunk/ consistency in r<foo>() NA warnings  
42398 6933 d 23 h ripley /trunk/src/ move some headers to individual files  
42307 6942 d 9 h ripley /trunk/src/ change reference to GPL  
41899 6987 d 11 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41715 7002 d 12 h ripley /trunk/ improvements to error/warning messages  
41686 7005 d 5 h ripley /trunk/ more improvements to warning/error messages  
41504 7019 d 1 h ripley /trunk/ fix memory leak in sample() due to typo.  
39866 7196 d 4 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 11 h ripley /trunk/src/main/ make buffer sizes the same to avoid over-vigilance of FC5 options  
39004 7272 d 10 h ripley /trunk/src/ easier not to move r2dtable as rcont.o needs to be pulled in  

Show All