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
42208 6955 d 3 h murdoch /branches/djm-source/ Recreate branch from trunk  
42110 6964 d 9 h maechler /trunk/src/ + R_getClassDef() C function  
41974 6980 d 9 h ripley /trunk/src/ R_StringHash is not in the API  
41973 6980 d 9 h ripley /trunk/src/ various internal defines have been put in Rinternals.h  
41937 6984 d 7 h ripley /trunk/ change arguments of getMatrixDimnames  
41881 6990 d 1 h ripley /trunk/src/ use 'const char' not 'char const' for consistency  
41862 6990 d 9 h ripley /trunk/src/include/ cosmetics, remove unused entries  
41831 6991 d 17 h rgentlem /trunk/ yet another set of CHARSXP patches - hopefully almost the last of these  
41807 6993 d 0 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 6995 d 7 h ripley /trunk/src/ more 'const char *'  
41781 6995 d 20 h ripley /trunk/src/ start introducing const char *  
41771 6996 d 9 h ripley /trunk/src/ sort out some more of the problems with r41767  
41767 6996 d 18 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 7005 d 21 h rgentlem /trunk/src/ a collection of changes to support [[ doing exact matching  
41637 7008 d 21 h ripley /trunk/src/ separate inlining support into a separate file.  
41636 7009 d 0 h ripley /trunk/src/ tidy up inlining some more, including using macros where possible (more widely
usable)
 
41631 7009 d 10 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
 
41495 7019 d 19 h rgentlem /trunk/src/ a large number of changes to alter the behavior of CHARSXPs so that
they are unique and hashed. This will have some effect on run time, but
for any application which uses a lot of names (like big arrays with
row or column names) the savings are often impressive
 
41488 7020 d 3 h maechler /trunk/ add duplicated(*, 'fromLast')  
41270 7036 d 10 h ripley /trunk/ remove R_seemsS4Object, as it was not quite right (S4SXP, no S4 bit?)

move warning for old-style S4 object to C-level, so it is used when
restoring workspace.
 

Show All