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 6956 d 23 h murdoch /branches/djm-source/ Recreate branch from trunk  
42077 6971 d 23 h ripley /trunk/src/ take various entry points static  
41901 6989 d 3 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41899 6989 d 5 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41861 6992 d 5 h ripley /trunk/src/ more use of 'const char *', especially in output routines  
41784 6997 d 2 h ripley /trunk/src/ more 'const char *'  
41765 6998 d 16 h ripley /trunk/ garbage collect unused connections  
40812 7088 d 13 h urbaneks /trunk/ Added R_WriteConsoleEx fn + callback  
40672 7110 d 4 h ripley /trunk/ start marking encoding of CHARSXPs  
40419 7140 d 13 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 7146 d 22 h ripley /trunk/ change deparsing of invalid bytes, update documentation.  
40345 7146 d 23 h ripley /trunk/ turn on the ability to print/deparse invalid strings in a MBCS locale.  
40063 7181 d 16 h ripley /trunk/src/main/ tidy up output from Decode2Long  
40031 7183 d 18 h ripley /trunk/ imporve S_compatible mode for deparsing  
39866 7197 d 22 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 7241 d 15 h maechler /trunk/src/main/ R_WriteConsole(., strlen( <correct> ))  
39481 7250 d 0 h ripley /trunk/ tweak printing of complex numbers  
38773 7301 d 3 h ripley /trunk/src/main/ remove gcc4 warning  
38619 7318 d 19 h ripley /trunk/src/main/ typo  
38618 7319 d 1 h ripley /trunk/src/main/ work around a portability problem with L'\0'  

Show All