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 5808 d 21 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
49591 6169 d 23 h ripley /trunk/ remove --disable-mbcs
use perl regexps in UTF-8 in a non-UTF-8 MBCS locale
 
48904 6232 d 0 h ripley /trunk/src/ remove conditionalization on HAVE_ICONV  
45446 6672 d 0 h ripley /trunk/src/main/ whitespace cleanup  
43248 6855 d 0 h ripley /trunk/src/main/ correct some warnings on MacOS  
42804 6898 d 21 h maechler /trunk/src/ strlen() efficiency patch by John Brzustowski PR#9902  
42724 6905 d 20 h ripley /trunk/ gettext has defined _GNU_SOURCE in config.h on systems which need it,
so we now only need declaration where config.h is not included.
 
42307 6944 d 3 h ripley /trunk/src/ change reference to GPL  
41859 6992 d 17 h ripley /trunk/src/main/ remove duplicate declaration  
41796 6996 d 3 h ripley /trunk/src/main/ unnecessary cast  
41781 6997 d 16 h ripley /trunk/src/ start introducing const char *  
41344 7033 d 6 h ripley /trunk/src/main/ tidying up and comments  
39959 7188 d 4 h ripley /trunk/ update for ming-runtime-3.11  
39891 7196 d 23 h ripley /trunk/src/ set up rlocale.c so it can be compiled under C++  
39888 7197 d 1 h ripley /trunk/src/main/ r39866 was unsafe, because of #undefs in the header?  
39866 7197 d 23 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.
 
36820 7525 d 20 h ripley /trunk/ update FSF address  
36496 7549 d 21 h ripley /trunk/src/main/ index is one too long  
35954 7587 d 16 h ripley /trunk/src/main/ typo  
35942 7587 d 22 h ripley /trunk/ do more checks on iconv to match new usages  

Show All