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 6 h murdoch /branches/djm-source/ Recreate branch from trunk  
41883 6990 d 1 h ripley /trunk/src/ remove non-longer-needed casts
don't use variable as format in error.
 
41834 6991 d 12 h ripley /trunk/src/main/ now .Internal manages vmax, don't need to do it here as well  
41807 6993 d 3 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
 
41784 6995 d 10 h ripley /trunk/src/ more 'const char *'  
41686 7005 d 6 h ripley /trunk/ more improvements to warning/error messages  
41613 7010 d 8 h ripley /trunk/ add arguments to warn on partial matching  
41488 7020 d 6 h maechler /trunk/ add duplicated(*, 'fromLast')  
41424 7025 d 9 h ripley /trunk/ stop match.call() matching itself when there is no enclosing function  
41389 7028 d 12 h ripley /trunk/ tidy up match and charmatch  
41383 7029 d 1 h ripley /trunk/ efficiency tweaks for pmatch (and enforce requirement on 'nomatch')  
40705 7104 d 11 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40530 7129 d 11 h ripley /trunk/src/main/ typo  
40508 7131 d 15 h ripley /trunk/ more on deparsing  
40036 7181 d 10 h ripley /trunk/src/main/ make use of SIZEOF_DOUBLE  
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.
 
39059 7268 d 11 h ripley /trunk/src/ tidy up identical() interface (do_identical was unused, missing declaration).
R_MethodsNamespace needs to be LibExtern.
 
38546 7322 d 1 h ripley /trunk/src/main/ separate out LGLSXP and INTSXP for future use  
38207 7365 d 11 h ripley /trunk/src/main/ some tidying up  
38044 7381 d 7 h ripley /trunk/ add na.rm argument to rowsum  

Show All