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
47757 6391 d 5 h jmc /branches/R-classInheritance/ create branch for class inheritance  
47460 6414 d 20 h ripley /trunk/src/main/ code cleanup
SET_STRING_ELT should not set R_NilValue, but it does in subscript.c
 
46128 6575 d 15 h jmc /trunk/ changes to allow S4 classes to extend S3 classes  
45667 6652 d 17 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
45446 6671 d 17 h ripley /trunk/src/main/ whitespace cleanup  
44195 6757 d 9 h ripley /trunk/src/ some uses of (void) where possible  
42675 6909 d 17 h ripley /trunk/src/main/ tidy up, add comment  
42307 6943 d 20 h ripley /trunk/src/ change reference to GPL  
42292 6945 d 0 h ripley /trunk/src/ We do need to promiseArgs before calling closures from R_possible_dispatch
(a failure to duplicate was seen in the wild).

Change log() to mimic former interpreted wrapper and an treat missing 'base'
as not supplied.

Change round() and digits() to treat missing 'digits' as not supplied.
 
42110 6965 d 22 h maechler /trunk/src/ + R_getClassDef() C function  
41901 6988 d 21 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41856 6992 d 10 h ripley /trunk/src/ remove non-existent/commented-out functions  
41825 6993 d 14 h ripley /trunk/src/main/ wrap .Internal and primitive calls in setting vmax to avoid leaks.  
41784 6996 d 20 h ripley /trunk/src/ more 'const char *'  
41771 6997 d 23 h ripley /trunk/src/ sort out some more of the problems with r41767  
41713 7004 d 14 h ripley /trunk/src/main/ improvements to error messages  
41686 7006 d 16 h ripley /trunk/ more improvements to warning/error messages  
41631 7010 d 23 h ripley /trunk/src/ work on inlining
- allow C99 model
- use static inlining in units where function is used a lot
export isS4, asS4 (don't use them internally, rather macros)
work around an optimization bug in currnt gcc pre-4.3.0
 
41613 7011 d 19 h ripley /trunk/ add arguments to warn on partial matching  
41367 7031 d 15 h ripley /trunk/ port r41366 (avoid segfault in UseMethod)  
41280 7036 d 19 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 7038 d 0 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 22 h ripley /trunk/src/ tidy up  
41111 7049 d 16 h ripley /trunk/src/main/ standard indentation  
40724 7103 d 20 h ripley /trunk/src/main/ do not use strlen() to check for zero length.  
40705 7105 d 22 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40245 7162 d 2 h ripley /trunk/ revert UseMethod to special to avoid extra contexts on profiling.  
40236 7162 d 19 h ripley /trunk/src/main/ UseMethod and unlist can be builtins  
40090 7179 d 13 h ripley /trunk/ port trace() fix from R-2-4-branch
more R_Visibility fixes (not yet complete)
 
39866 7197 d 16 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 18 h ripley /trunk/src/ clarifications on how NextMethod works, typo.  
39348 7255 d 22 h ripley /trunk/src/ migrate R_get_primitive from methods to base, add sanity check  
39232 7261 d 15 h ripley /trunk/src/ centralize check for stack imbalance  
39103 7267 d 13 h jmc /trunk/src/ make IS_S4_OBJECT and friends work with strict barrier  
39077 7268 d 14 h jmc /trunk/ introduce S4 object bit and document it  
39073 7269 d 0 h ripley /trunk/ change handling of empty args in builtins  
39032 7271 d 23 h ripley /trunk/ back out r39025 at Robert's request  
39025 7272 d 0 h ripley /trunk/ make stack imbalance an error  
39016 7272 d 16 h jmc /trunk/ Changes to methods and class management  
38982 7277 d 17 h ripley /trunk/src/main/ change commnet