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
43074 6873 d 23 h ripley /trunk/src/ add mkCharLen for strings with known length and pssobly embedded nuls  
42452 6929 d 0 h ripley /trunk/src/include/ move some macro versions used with USE_RINTERNALS from Defn.h to Rinternals.h  
42402 6935 d 6 h ripley /trunk/ start reducing the set of C headers which get included  
42325 6943 d 22 h bates /trunk/ add alloc3DArray utility  
42308 6944 d 3 h ripley /trunk/src/include/ change reference to GPL  
42110 6966 d 5 h maechler /trunk/src/ + R_getClassDef() C function  
41974 6982 d 6 h ripley /trunk/src/ R_StringHash is not in the API  
41973 6982 d 6 h ripley /trunk/src/ various internal defines have been put in Rinternals.h  
41937 6986 d 4 h ripley /trunk/ change arguments of getMatrixDimnames  
41881 6991 d 22 h ripley /trunk/src/ use 'const char' not 'char const' for consistency  
41862 6992 d 6 h ripley /trunk/src/include/ cosmetics, remove unused entries  
41831 6993 d 13 h rgentlem /trunk/ yet another set of CHARSXP patches - hopefully almost the last of these  
41807 6994 d 21 h rgentlem /trunk/ patches from Seth F for the CHARSXP hashing changes
Seth says:
const char fixes

CHAR() internal macro now returns (const char *)

Add CHAR_RW: writable CHARSXP access for internal R use only

const char fixes for methods package

Add NEWS item and some doc to R-ext for CHARSXP changes
 
41784 6997 d 4 h ripley /trunk/src/ more 'const char *'  
41781 6997 d 17 h ripley /trunk/src/ start introducing const char *  
41771 6998 d 6 h ripley /trunk/src/ sort out some more of the problems with r41767  
41767 6998 d 15 h rgentlem /trunk/src/ more patches from Seth F, for the CHARSXP hashing
Seth says:
This patch series teaches R_StringHash how to handle the encoding
information stored in the general purpose bits of CHARSXPs. A new
interface for CHARSXP creation is added, mkCharEnc that allows for
specifying the encoding.

The patch series also captures more CHARSXPs in the global cache. In
particular, character.c:mkChar2 and gram.y:mkChar2 both use the cache
now.

The string hashing in scan.c has been removed as it no longer is
needed.

The CallocCharBuf macro gets a small fix (extra parens)

And last, but not least:

CHAR() from package code now returns (const char *)

Since CHARSXPs should no longer be modified in place, we can make
CHAR() return (const char *) so that compilers can warn or error about
improper modification. Thanks to Herve Pages for the suggestions.
 
41670 7007 d 18 h rgentlem /trunk/src/ a collection of changes to support [[ doing exact matching  
41637 7010 d 18 h ripley /trunk/src/ separate inlining support into a separate file.  
41636 7010 d 21 h ripley /trunk/src/ tidy up inlining some more, including using macros where possible (more widely
usable)
 

Show All