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  
42016 6975 d 10 h ripley /trunk/src/main/ one missing protect
two comments on assumptions about protects
use asChar instead of coerceVector
 
41894 6989 d 2 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41807 6993 d 1 h rgentlem /trunk/ patches from Seth F for the CHARSXP hashing changes
Seth says:
const char fixes

CHAR() internal macro now returns (const char *)

Add CHAR_RW: writable CHARSXP access for internal R use only

const char fixes for methods package

Add NEWS item and some doc to R-ext for CHARSXP changes
 
41686 7005 d 3 h ripley /trunk/ more improvements to warning/error messages  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
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.
 
38705 7304 d 10 h ripley /trunk/src/ remove some unused entry points, take others static.
add prefixes to graphapp and some graphics entry points
improve the use of / <--> \ conversions under Windows
 
38594 7319 d 4 h ripley /trunk/src/main/ fix incorrect -Wall warnings from gcc3  
38570 7320 d 8 h ripley /trunk/src/main/ remove need for USE_RINTERNALS  
38569 7320 d 8 h ripley /trunk/src/main/ remove need for USE_RINTERNALS  
38549 7321 d 22 h ripley /trunk/src/main/ tweaks to allow type-checking on vector accessors  
38438 7334 d 8 h ripley /trunk/ sort on complex, sort.list(method="radix"): in part PR#9039  
38417 7336 d 4 h ripley /trunk/src/main/ update copyright date  
37516 7442 d 19 h ripley /trunk/ improvements to partial sorting (not fully tested)  
37001 7506 d 23 h ripley /trunk/ more visibility attributes  
36990 7507 d 19 h ripley /trunk/ reduce the number of visible symbols in libR.so from 1806 to 1136  
36820 7524 d 0 h ripley /trunk/ update FSF address  
35998 7583 d 0 h ripley /trunk/src/ tweaks to stack bound checking  
35918 7588 d 5 h ripley /trunk/src/ rationalize what sort() does with attributes, and document it  

Show All