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
42208 6955 d 4 h murdoch /branches/djm-source/ Recreate branch from trunk  
42077 6970 d 4 h ripley /trunk/src/ take various entry points static  
41901 6987 d 8 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41899 6987 d 10 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41861 6990 d 10 h ripley /trunk/src/ more use of 'const char *', especially in output routines  
41784 6995 d 7 h ripley /trunk/src/ more 'const char *'  
41765 6996 d 20 h ripley /trunk/ garbage collect unused connections  
40812 7086 d 18 h urbaneks /trunk/ Added R_WriteConsoleEx fn + callback  
40672 7108 d 9 h ripley /trunk/ start marking encoding of CHARSXPs  
40419 7138 d 18 h ripley /trunk/ allow min/max/range to handle character data.
small change to message to allows messages without \n (more to come)
update some copyright dates
 
40348 7145 d 3 h ripley /trunk/ change deparsing of invalid bytes, update documentation.  
40345 7145 d 4 h ripley /trunk/ turn on the ability to print/deparse invalid strings in a MBCS locale.  
40063 7179 d 21 h ripley /trunk/src/main/ tidy up output from Decode2Long  
40031 7181 d 23 h ripley /trunk/ imporve S_compatible mode for 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.
 
39554 7239 d 20 h maechler /trunk/src/main/ R_WriteConsole(., strlen( <correct> ))  
39481 7248 d 5 h ripley /trunk/ tweak printing of complex numbers  
38773 7299 d 8 h ripley /trunk/src/main/ remove gcc4 warning  
38619 7317 d 0 h ripley /trunk/src/main/ typo  
38618 7317 d 6 h ripley /trunk/src/main/ work around a portability problem with L'\0'  

Show All