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
52864 5807 d 2 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
52539 5855 d 18 h jmc /trunk/src/main/ more fixes to handle subclasses of environment  
52487 5863 d 5 h murdoch /trunk/src/main/ Fix error handling code in the parsers.  
52465 5864 d 17 h murdoch /trunk/ Calling Recall() from within with() caused segfault.  
51245 5982 d 8 h ripley /trunk/ document in source files which primitives/.Internal are 'special'
make zero-arg primitives consistently builtin and not special, and check arity
list the specials (and some reasons) in R-ints
update now switch() is primitive
 
51227 5985 d 2 h ripley /trunk/src/main/ slightly cleaner version (to match expandDots in builtin.c)  
50745 6068 d 5 h ripley /trunk/ store vmax in const void *, consistently  
50691 6074 d 11 h ripley /trunk/src/main/ update comments  
50690 6074 d 12 h ripley /trunk/src/ improve error messages from evalList  
50667 6078 d 18 h luke /trunk/ Using multiple arguments in return() is now defunct.  
50666 6078 d 20 h luke /trunk/src/main/ Fixed do_return to not return missing values in one argument case.  
50617 6083 d 4 h ripley /trunk/src/main/ comment out unused variable  
50614 6083 d 6 h ripley /trunk/src/main/ safer version  
50609 6083 d 17 h jmc /trunk/ Changes to fix efficiency in dispatch, potential recursive loops, and
incorrect signatures, all for S4 methods for primitive functions.

1. A bug in get_primitive_methods prevented all quick dispatch of primitives from
working. Fixing this exposed a problem in quickDispatch in methods
that prevented matching methods with traiiling "missing" in the
signature.

2. A mechanism was added to temporarily turn off all dispatch of methods for
primitives. The code for findInheritedMethods activates the
mechanism. At the moment, this is just for efficiency, but in
principle it could be needed to avoid recursive calls to
findInheritedMethods.

3. The signatures for "$" and "$<-" were modified to remove "name",
since the grammar prevents general objects for this argument.

Some additional changes were tested but not installed to allow a
general signature in methods for "[", "[[" and their replacement
versions. Problems found with the Matrix package for this change. See
the commented calls to DiispatchAnyOrEval in src/main.
 
50602 6084 d 8 h ripley /trunk/ special-case some operator dispatch involving "difftime"  
50474 6095 d 20 h ripley /trunk/ workaround for PR#14035  
50473 6095 d 21 h ripley /trunk/src/ pre-check alloca for addiitonal safety  
49744 6156 d 11 h ripley /trunk/src/ a little bit more hiding of entry points  
48998 6210 d 20 h rgentlem /trunk/src/ I changed the macros DEBUG, STEP and TRACE to have an R prefix.
There are too many places where other variants of DEBUG have appeared,
so this makes it easier to find ours, and less likely that there will be
collisions with other definitions
 
48748 6255 d 22 h luke /trunk/ Modified loops to always return NULL to fix a reference counting bug
without incurring a performance penalty for common usage.
 

Show All