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 5807 d 16 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
51275 5979 d 18 h ripley /trunk/src/main/ standardize names in copyright statements  
50894 6047 d 13 h ripley /trunk/ sprintf was not re-entrant  
49773 6154 d 1 h ripley /trunk/ add octal conversions  
48415 6300 d 18 h maechler /trunk/ sprintf("%s", quote(list()) fix; document argument eval()NEWS  
48399 6302 d 20 h maechler /trunk/ sprintf("%9000d", 1) etc now errors  
48378 6304 d 19 h maechler /trunk/ fix sprintf(), part 2  
48376 6304 d 23 h maechler /trunk/ fix sprintf() bugs [part 1 :-)]  
48295 6320 d 16 h maechler /trunk/ re-enable "#" flag in sprintf()  
48156 6339 d 17 h ripley /trunk/ make clearer what is safe to assumesrc/library/base/man/Sys.glob.Rd  
46949 6464 d 0 h ripley /trunk/src/main/ simplified version of same test  
46947 6464 d 13 h ripley /trunk/ more validity checking on formats in sprintf  
46517 6529 d 17 h ripley /trunk/ add %a notation to sprintf  
45847 6626 d 19 h ripley /trunk/ clarify what field widths mean in sprintf() and formatC().
sprintf() and paste() now preserve UTF-8ness where sensible.
 
45446 6670 d 20 h ripley /trunk/src/main/ whitespace cleanup  
44711 6714 d 2 h ripley /trunk/src/ somewhat simpler solution to coercion issues  
44700 6715 d 3 h ripley /trunk/ optimize (a bit) sprintf for a single fmt  
42307 6942 d 23 h ripley /trunk/src/ change reference to GPL  
42045 6972 d 21 h ripley /trunk/src/main/ use MBCS-aware strchr  
42001 6977 d 18 h ripley /trunk/src/main/ reinstate support of %*s,  
41978 6980 d 19 h ripley /trunk/ remove buffer limits on sprintf()  
41784 6995 d 23 h ripley /trunk/src/ more 'const char *'  
41686 7005 d 19 h ripley /trunk/ more improvements to warning/error messages  
40705 7105 d 1 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
39866 7196 d 19 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 20 h ripley /trunk/src/main/ update copyright date  
37903 7401 d 2 h ripley /trunk/src/ remove Win32-specific code which has been superseded by trio  
37901 7401 d 12 h ripley /trunk/src/ add trio replacement for Windows' flaky *printf  
36990 7508 d 11 h ripley /trunk/ reduce the number of visible symbols in libR.so from 1806 to 1136  
36948 7511 d 22 h ripley /trunk/src/ simplify the handling of star_arg in sprintf()
workaround non-C99 behaviour of Windows' sprintf.
 
36820 7524 d 16 h ripley /trunk/ update FSF address  
35703 7607 d 1 h ripley /trunk/src/main/ suppress -Wall warning  
35625 7615 d 16 h urbaneks /trunk/ Add support for asterisk as with or precision specification (but not
both) in sprintf. Added % to termination characters in order to be more
consistent with system sprintf when handling "%..%" sequences.
 
33548 7811 d 2 h ripley /trunk/src/ dp a bit more coercion in sprintf  
33460 7817 d 9 h ripley /trunk/src/ during no-segfault, grid was passing sprintf a corrupt object, so add some defences  
33436 7817 d 23 h ripley /trunk/src/ add as.character call for %s  
33432 7818 d 0 h ripley /trunk/src/main/ use length not LENGTH to allow for NULL  
33203 7832 d 12 h ripley /trunk/ make sprintf MBCS-aware, add %X
allow from, to and negative time increments in seq.{Date,POSIXt}
 
33194 7832 d 21 h ripley /trunk/ vectorize sprintf  
33143 7837 d 11 h ripley /trunk/ add some type coercion to sprintf()