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.  
45446 6670 d 4 h ripley /trunk/src/main/ whitespace cleanup  
43283 6849 d 10 h ripley /trunk/ add warning if all/any do any unusual coercion  
43271 6850 d 6 h ripley /trunk/ omit zero-length objects in any() and all() to avoid coercion overhead.
correct misuses of any() for length(), e.g. in grep output.
 
42643 6910 d 11 h ripley /trunk/ make the rest of the group generics primitive  
42307 6942 d 7 h ripley /trunk/src/ change reference to GPL  
41680 7005 d 8 h ripley /trunk/ improvements to the handling of warning/error messages  
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.
 
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  
35189 7657 d 21 h tlumley /trunk/src/main/ fixes from no-segfault.R under valgrind.  
32867 7851 d 9 h ripley /trunk/ update message info  
32233 7891 d 9 h ripley /trunk/src/ allow coercion in any/all, as Blue Book documents  
32228 7891 d 20 h ripley /trunk/src/ document what coercion all/any actually do  
31982 7918 d 8 h ripley /trunk/ fix arg matching bug in sum etc discovered by Pat Burns  
31887 7927 d 8 h ripley /trunk/src/ improve reporting of unimplemented types  
31875 7927 d 23 h ripley /trunk/src/main/ add some precautionary default clauses  
29902 8074 d 5 h ripley /trunk/ add rawtype  
28537 8178 d 1 h ripley /trunk/ fixes for PR#6624/33/40  
27544 8263 d 7 h hornik /trunk/src/main/ Make lunary() always give logical(0) for zero-length args.  

Show All