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 4 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
52104 5906 d 5 h ripley /trunk/src/ have R_ProcessEvents on all platforms  
52035 5914 d 1 h ripley /trunk/ assume C99 headers now we assume C99 compiler  
51838 5935 d 13 h ripley /trunk/ clean up headers  
51758 5944 d 20 h murdoch /trunk/ source(echo=TRUE) now echos comments following the last expression.  
51482 5964 d 3 h falcon /trunk/src/ Add IS_CACHED function for testing write barrier  
51267 5979 d 13 h ripley /trunk/ check arity and args of one-argument primitives  
50912 6046 d 0 h ripley /trunk/src/include/ use size_t for startup measures (needed in Win64)  
50896 6047 d 0 h falcon /trunk/ Allow n-dim arrays to be subsetted by an n-column character matrix

The character matrix is converted to the corresponding integer matrix
by matching against the dimnames of the array. NA values in any row
of the character matrix are propagated to the result. Unmatched
values result in a subscript out of bounds error. Empty string "" is
not allowed to match and therefore always results in an error.
 
50768 6066 d 9 h ripley /trunk/ warning -> error for embedded nuls and unrecognized escapes  
50690 6074 d 13 h ripley /trunk/src/ improve error messages from evalList  
50609 6083 d 19 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.
 
50297 6110 d 9 h ripley /trunk/src/ put wtransChar in a public header  
50286 6111 d 7 h ripley /trunk/ add more validity checking of MBCS strings  
49886 6144 d 23 h luke /trunk/src/include/ Modified implementation of HASHASH and SET_HASHASH macros cor CHARSXP
objects used as symbol names to use only one bit in the gp field to
avoid conflicts with encoding and CHARSXP caching that also use bits
in gp.
 
49747 6156 d 2 h murdoch /trunk/src/ Allow parsing in the middle of a REPL on a file, without messing up the source record for the file.  
49686 6160 d 8 h murdoch /trunk/ Some cleanup of the parser
Include srcrefs in base packages if R_KEEP_PKG_SOURCE=yes
Give filename/line number error messages when building packages even without srcrefs (though
not for base packages, which don't get the #line directives by default)
During package installation, parse the concatenated source file, rather than the individual files, to report syntax errors.
 
49592 6168 d 3 h murdoch /trunk/ Indexing with a vector index to [[]] extended to all recursive types, minor changes to trace() to print messages that recognize this.  
49591 6168 d 6 h ripley /trunk/ remove --disable-mbcs
use perl regexps in UTF-8 in a non-UTF-8 MBCS locale
 
48623 6270 d 23 h murdoch /trunk/ Add experimental code to display srcref locations when debugging.  

Show All