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
55359 5590 d 12 h pd /branches/R-glmscore/ R-glmscore experimental branch  
55061 5602 d 7 h ripley /trunk/src/ use -Wunused-but-set-variable  
54492 5637 d 1 h maechler /trunk/src/ R_check_class_and_super(), a C-level is(.)  
54029 5669 d 0 h luke /trunk/src/ Defined some variables for R symbols to avoid inline install() calls.  
52883 5800 d 10 h maechler /trunk/ fix do.call(..NextMethod..) segfault  
52431 5869 d 8 h maechler /trunk/ match() and hence %in% now deal with "POSIXlt" consistently with e.g. "POSIXct"  
52273 5887 d 5 h ripley /trunk/src/main/ comment out unused vars  
52266 5888 d 0 h jmc /trunk/ make S3 method dispatch use consistent S4 inheritance  
51267 5979 d 16 h ripley /trunk/ check arity and args of one-argument primitives  
51265 5980 d 10 h ripley /trunk/ move UseMethod to standard arg matching  
51245 5982 d 13 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
 
50745 6068 d 10 h ripley /trunk/ store vmax in const void *, consistently  
50715 6070 d 4 h murdoch /trunk/ Missing PROTECTs: string comparison can trigger allocations if recoding is needed. (PR#14114 and PR#14125).  
50690 6074 d 16 h ripley /trunk/src/ improve error messages from evalList  
50609 6083 d 21 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.
 
49005 6208 d 22 h rgentlem /trunk/ modifications to debug so that methods are debugged if the generic is  
48724 6260 d 1 h jmc /trunk/src/ make conversion of S4 objects in primitive methods conditional on isBasicClass, as done for useMethod in 48694  
48717 6260 d 15 h ripley /trunk/src/main/ more details in error message  
48698 6265 d 9 h jmc /trunk/src/main/ revert behavior of inherits() on S4 objects to 2.9.0  
48694 6266 d 7 h jmc /trunk/src/ make S3 use of S4 inheritance conditional on S3methods=TRUE in setClass()  

Show All