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
46659 6501 d 5 h murdoch /branches/djm-parseRd/ Create temporary branch for Rd parsing code.  
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  
44206 6755 d 10 h maechler /trunk/src/main/ comment++  
44195 6755 d 22 h ripley /trunk/src/ some uses of (void) where possible  
44091 6761 d 6 h ripley /trunk/src/ Use UTF-8 in collation, basename, dirname, Tcl/Tk strings
(not yet checked on Linux)
 
43198 6858 d 2 h rgentlem /trunk/src/main/ a protect bug, located by Thomas - thanks  
42307 6942 d 9 h ripley /trunk/src/ change reference to GPL  
41899 6987 d 12 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41894 6989 d 4 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41784 6995 d 9 h ripley /trunk/src/ more 'const char *'  
41686 7005 d 5 h ripley /trunk/ more improvements to warning/error messages  
41636 7009 d 3 h ripley /trunk/src/ tidy up inlining some more, including using macros where possible (more widely
usable)
 
41495 7019 d 22 h rgentlem /trunk/src/ a large number of changes to alter the behavior of CHARSXPs so that
they are unique and hashed. This will have some effect on run time, but
for any application which uses a lot of names (like big arrays with
row or column names) the savings are often impressive
 
40705 7104 d 11 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40319 7151 d 13 h ripley /trunk/ more efficiency tweaks on data frames  
39866 7196 d 5 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.
 
38952 7279 d 9 h ripley /trunk/ more on the object bit  
38664 7312 d 7 h ripley /trunk/ The terms object was missing "order" if keep.order=TRUE.
Remove strange use of LEVELS in do_termsformula
 
38655 7312 d 21 h ripley /trunk/src/main/ use LCONS for consistency  

Show All