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  
42043 6972 d 6 h ripley /trunk/ fix PR#9751  
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
 
41839 6991 d 7 h ripley /trunk/ add UCP support for PCRE  
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 *'  
41767 6996 d 19 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.
 
41759 6997 d 9 h ripley /trunk/src/main/ typo in usage of allowNA  
41749 6999 d 2 h ripley /trunk/ more nchar tweaks  
41742 6999 d 11 h ripley /trunk/ change the default to nchars(type="chars")
tweak the layout of errors with embedded newlines in messages
 
41732 7000 d 4 h ripley /trunk/ add nzchar  
41688 7004 d 22 h ripley /trunk/ more tweaks to warnings  
41686 7005 d 4 h ripley /trunk/ more improvements to warning/error messages  
41676 7005 d 11 h ripley /trunk/src/main/ bugfix in last change  
41669 7006 d 1 h ripley /trunk/ tidying up in grep and friends
add regression tests for regexp code, and fixed bugs it revealed
 
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
 
41574 7013 d 7 h ripley /trunk/ add warnings is grep and friends are called with incompatible sets of arguments  
41557 7014 d 18 h ripley /trunk/ back out r41550: fine on 32-bit, strange error on 64-bit  
41550 7014 d 20 h ripley /trunk/ merge perl versions of grep and regexpr with the main versions
add warnings for use of conflicting arguments
 

Show All