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  
41883 6989 d 23 h ripley /trunk/src/ remove non-longer-needed casts
don't use variable as format in error.
 
41814 6992 d 21 h ripley /trunk/src/ more 'const char *'changes  
41790 6994 d 17 h murdoch /trunk/ Fix bug in parse() reported by Hadley Wickham: if there were no statements in the result, the srcfile was lost.  
41784 6995 d 8 h ripley /trunk/src/ more 'const char *'  
41781 6995 d 21 h ripley /trunk/src/ start introducing 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.
 
41686 7005 d 4 h ripley /trunk/ more improvements to warning/error messages  
41683 7005 d 6 h ripley /trunk/src/main/ more paring down of warnings  
41682 7005 d 7 h ripley /trunk/src/main/ don't want to be told warnings are from parse()  
41400 7027 d 4 h ripley /trunk/ fix 0x10L problem on Windows  
40767 7096 d 21 h ripley /trunk/src/main/ use macro for size of context stack  
40725 7102 d 3 h ripley /trunk/ allow warnings for unrecognized escapes to be switched off.
translate NAMESPACE file if encoding is given.
make R CMD check --no-install work for bundles.
 
40705 7104 d 9 h ripley /trunk/ bugfix in duplicate on CHARSXPs
more use of translateChar
 
40672 7108 d 9 h ripley /trunk/ start marking encoding of CHARSXPs  
40261 7159 d 13 h murdoch /trunk/ Fix for bug in src refs: now src ref is attached to the container (EXPRSXP, or "{" LANGSXP) rather than the individual element.  
40006 7183 d 1 h murdoch /trunk/ Make use of srcrefs consistent in all multi-line parsing functions.
Fix edit so it supports srcrefs.
 
39999 7183 d 12 h murdoch /trunk/src/ keep.source support added to parse(text=...), and
to Sweave.
 
39998 7183 d 13 h murdoch /trunk/src/main/ Off-by-one srcref initialization  
39996 7183 d 23 h murdoch /trunk/ Merge from djm-source branch:
- attach source references to parsed output
- enable verbose parse error messages.
 

Show All