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
41280 7036 d 14 h ripley /trunk/ confine dispatch in %*% to S4 object and that op.
use FALSE values in .BasicFunsList to indicate that S4 methods cannot be set
 
41270 7037 d 19 h ripley /trunk/ remove R_seemsS4Object, as it was not quite right (S4SXP, no S4 bit?)

move warning for old-style S4 object to C-level, so it is used when
restoring workspace.
 
41250 7039 d 18 h ripley /trunk/src/ tidy up  
41111 7049 d 12 h ripley /trunk/src/main/ standard indentation  
40724 7103 d 16 h ripley /trunk/src/main/ do not use strlen() to check for zero length.  
40705 7105 d 17 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40245 7161 d 21 h ripley /trunk/ revert UseMethod to special to avoid extra contexts on profiling.  
40236 7162 d 15 h ripley /trunk/src/main/ UseMethod and unlist can be builtins  
40090 7179 d 8 h ripley /trunk/ port trace() fix from R-2-4-branch
more R_Visibility fixes (not yet complete)
 
39866 7197 d 11 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.
 
39508 7246 d 14 h ripley /trunk/src/ clarifications on how NextMethod works, typo.  
39348 7255 d 17 h ripley /trunk/src/ migrate R_get_primitive from methods to base, add sanity check  
39232 7261 d 11 h ripley /trunk/src/ centralize check for stack imbalance  
39103 7267 d 9 h jmc /trunk/src/ make IS_S4_OBJECT and friends work with strict barrier  
39077 7268 d 10 h jmc /trunk/ introduce S4 object bit and document it  
39073 7268 d 19 h ripley /trunk/ change handling of empty args in builtins  
39032 7271 d 19 h ripley /trunk/ back out r39025 at Robert's request  
39025 7271 d 19 h ripley /trunk/ make stack imbalance an error  
39016 7272 d 12 h jmc /trunk/ Changes to methods and class management  
38982 7277 d 12 h ripley /trunk/src/main/ change commnet  

Show All