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

Show All