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 9 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
52431 5869 d 12 h maechler /trunk/ match() and hence %in% now deal with "POSIXlt" consistently with e.g. "POSIXct"  
52273 5887 d 8 h ripley /trunk/src/main/ comment out unused vars  
52266 5888 d 3 h jmc /trunk/ make S3 method dispatch use consistent S4 inheritance  
51267 5979 d 19 h ripley /trunk/ check arity and args of one-argument primitives  
51265 5980 d 14 h ripley /trunk/ move UseMethod to standard arg matching  
51245 5982 d 16 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 13 h ripley /trunk/ store vmax in const void *, consistently  
50715 6070 d 7 h murdoch /trunk/ Missing PROTECTs: string comparison can trigger allocations if recoding is needed. (PR#14114 and PR#14125).  
50690 6074 d 19 h ripley /trunk/src/ improve error messages from evalList  
50609 6084 d 0 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 6209 d 2 h rgentlem /trunk/ modifications to debug so that methods are debugged if the generic is  
48724 6260 d 4 h jmc /trunk/src/ make conversion of S4 objects in primitive methods conditional on isBasicClass, as done for useMethod in 48694  
48717 6260 d 18 h ripley /trunk/src/main/ more details in error message  
48698 6265 d 12 h jmc /trunk/src/main/ revert behavior of inherits() on S4 objects to 2.9.0  
48694 6266 d 11 h jmc /trunk/src/ make S3 use of S4 inheritance conditional on S3methods=TRUE in setClass()  
48487 6290 d 16 h ripley /trunk/ clean up  
48409 6301 d 7 h jmc /trunk/ fixes to make S3 and S4 classes and method selection work together; see ?Methods  
48346 6309 d 11 h maechler /trunk/src/ rationalization in install("<sym>") definitions  
48117 6347 d 2 h jmc /trunk/ restore S3 methods for S4 classes and add warnings  
48068 6351 d 13 h ripley /trunk/src/main/ return value missing in r48062 caused segfaults.
comment out/remove unused code/variables
 
48063 6352 d 2 h jmc /trunk/src/main/ possible glitch in usemethod  
48062 6352 d 4 h jmc /trunk/ S4 objects converted for S3 methods; class nonStructure  
47460 6413 d 16 h ripley /trunk/src/main/ code cleanup
SET_STRING_ELT should not set R_NilValue, but it does in subscript.c
 
46128 6574 d 11 h jmc /trunk/ changes to allow S4 classes to extend S3 classes  
45667 6651 d 13 h ripley /trunk/src/main/ remove old comments on i18n if no longer relevant  
45446 6670 d 13 h ripley /trunk/src/main/ whitespace cleanup  
44195 6756 d 5 h ripley /trunk/src/ some uses of (void) where possible  
42675 6908 d 14 h ripley /trunk/src/main/ tidy up, add comment  
42307 6942 d 16 h ripley /trunk/src/ change reference to GPL  
42292 6943 d 20 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 6964 d 18 h maechler /trunk/src/ + R_getClassDef() C function  
41901 6987 d 17 h ripley /trunk/src/ use void* for generic memory pointers
add back-compatibility to R_AllocStringBuffer, with a warning
 
41856 6991 d 6 h ripley /trunk/src/ remove non-existent/commented-out functions  
41825 6992 d 10 h ripley /trunk/src/main/ wrap .Internal and primitive calls in setting vmax to avoid leaks.  
41784 6995 d 16 h ripley /trunk/src/ more 'const char *'  
41771 6996 d 19 h ripley /trunk/src/ sort out some more of the problems with r41767  
41713 7003 d 10 h ripley /trunk/src/main/ improvements to error messages  
41686 7005 d 12 h ripley /trunk/ more improvements to warning/error messages  
41631 7009 d 20 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