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
47757 6389 d 18 h jmc /branches/R-classInheritance/ create branch for class inheritance  
45667 6651 d 6 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
45446 6670 d 6 h ripley /trunk/src/main/ whitespace cleanup  
44091 6761 d 5 h ripley /trunk/src/ Use UTF-8 in collation, basename, dirname, Tcl/Tk strings
(not yet checked on Linux)
 
42307 6942 d 9 h ripley /trunk/src/ change reference to GPL  
40705 7104 d 11 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
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.
 
37001 7507 d 1 h ripley /trunk/ more visibility attributes  
36990 7507 d 21 h ripley /trunk/ reduce the number of visible symbols in libR.so from 1806 to 1136  
36820 7524 d 2 h ripley /trunk/ update FSF address  
32860 7852 d 1 h ripley /trunk/ more marking of messages  
32380 7880 d 2 h ripley /trunk/src/ add notes about compatibility with UTF-8
clarify on help pages nbytes/nchars differences
 
18809 8894 d 5 h ripley /trunk/src/ strdup is now declared in Defn.h
for rotated.c, declare in the same way as Defn.h
 
17134 9001 d 2 h duncan /trunk/src/ The core support for user-level tables that can be attached as elements of the search path (after position 1). The user-level (i.e. non-C) interface is in a separate package currently in Omegahat and can be moved into the R source tree after 1.4.0 is released and it is deemed stable. Moved RCallbacks to R_ext/Callacks in line with Kurt's suggestion.  
14311 9197 d 3 h ripley /trunk/src/main/ indentation  
14260 9198 d 21 h iacus /trunk/src/main/ added extern declaration for strdup, for CW compiler  
14156 9204 d 4 h duncan /trunk/src/ Extension to the .C() conversion mechanism to allow for external data, etc. Developers can register C routines which can convert an S object to a C pointer and back. User-level facilities to examine and control the registered converters