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 4 h murdoch /branches/djm-source/ Recreate branch from trunk  
41913 6985 d 11 h ripley /trunk/src/main/ tidy up, especially allocation  
41899 6987 d 10 h ripley /trunk/ tidy up and document R_AllocStringBuffer
make use of it, or tidy up usage
 
41894 6989 d 2 h ripley /trunk/ deriv was returning double not int dims
make use of mkString and ScalarXXX to simplify code
 
41883 6989 d 23 h ripley /trunk/src/ remove non-longer-needed casts
don't use variable as format in error.
 
41834 6991 d 10 h ripley /trunk/src/main/ now .Internal manages vmax, don't need to do it here as well  
41807 6993 d 1 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 *'  
41770 6996 d 10 h ripley /trunk/src/main/ you cannot initialize char[] by 0!  
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.
 
41765 6996 d 21 h ripley /trunk/ garbage collect unused connections  
41715 7002 d 10 h ripley /trunk/ improvements to error/warning messages  
41686 7005 d 4 h ripley /trunk/ more improvements to warning/error messages  
41631 7009 d 11 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
 
41488 7020 d 4 h maechler /trunk/ add duplicated(*, 'fromLast')  
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40676 7108 d 2 h ripley /trunk/ more on encodings of character strings  
40672 7108 d 9 h ripley /trunk/ start marking encoding of CHARSXPs  
40624 7117 d 8 h ripley /trunk/src/main/ mixing declarations and code is not ISO C89  
40188 7164 d 6 h ripley /trunk/src/main/ write-barrier violation  

Show All