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 6594 d 0 h maechler /trunk/ first cut at improving [dpqr]nbinom(., <large size>, mu=.)  
45667 6651 d 5 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
45651 6653 d 1 h ripley /trunk/ port r45650 (fix for PR#11421) from trunk  
45389 6673 d 1 h ripley /trunk/src/main/ code cleanup  
45385 6673 d 2 h ripley /trunk/src/main/ add comment  
44091 6761 d 4 h ripley /trunk/src/ Use UTF-8 in collation, basename, dirname, Tcl/Tk strings
(not yet checked on Linux)
 
44059 6763 d 1 h ripley /trunk/ more on preserving UTF-8  
43028 6874 d 6 h ripley /trunk/src/main/ make use of equality of address of CHARSXPs, now this is commoner.  
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  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40508 7131 d 13 h ripley /trunk/ more on deparsing  
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.
 
38417 7336 d 5 h ripley /trunk/src/main/ update copyright date  
38334 7349 d 23 h ripley /trunk/src/ POSIX (but not C99) allows for error from strcoll  
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  
33297 7825 d 0 h ripley /trunk/src/ tweak error messages  
33125 7837 d 8 h ripley /trunk/ for consistency, prefer `invalid' to `illegal'  

Show All