The R Project SVN R

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
52864 5807 d 5 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
/branches/R-exp-R5
52340 5881 d 4 h murdoch /trunk/ Fix strsplit bug, and remove workaround in r52333.  
/trunk/NEWS
/trunk/src/library/base/man/strsplit.Rd
/trunk/src/library/tools/R/Rd2txt.R
/trunk/src/main/grep.c
51841 5935 d 5 h ripley /trunk/src/ more tweaks to headers  
/trunk/src/main/colors.c
/trunk/src/main/dotcode.c
/trunk/src/main/gramRd.c
/trunk/src/main/gramRd.y
/trunk/src/main/grep.c
/trunk/src/modules/lapack/Lapack.c
51122 6009 d 19 h falcon /trunk/src/main/ Speed improvement for do_gsub when fixed=TRUE, useBytes=FALSE

When fgrep_one_bytes is called in a loop, we now keep track of the
length of the target argument and avoid repeated strlen calls.
 
/trunk/src/main/grep.c
51118 6011 d 2 h falcon /trunk/src/main/ Fix slow gsub(pat, rep, s, useBytes=TRUE, fixed=TRUE)

We were using strcat in a way that repeatedly copied the entire string
for each match instead of incrementally adding to the buffer.
 
/trunk/src/main/grep.c
51117 6011 d 2 h falcon /trunk/src/main/ Avoid strlen on possibly long string for fgrep_one special case  
/trunk/src/main/grep.c
51116 6011 d 2 h falcon /trunk/src/main/ Avoid stack segfault in gsub, use Calloc instead of alloca in mkCharW

A call to gsub(pat, rep, s) with nchar(s) large caused "Error: segfault
from C stack overflow". Avoiding allocating on the stack resolves
this issue.
 
/trunk/src/main/grep.c
50880 6051 d 4 h ripley /trunk/src/main/ control lifetime of translateChar in loops  
/trunk/src/main/agrep.c
/trunk/src/main/character.c
/trunk/src/main/engine.c
/trunk/src/main/grep.c
/trunk/src/main/paste.c
/trunk/src/main/unique.c
/trunk/src/main/vfonts.c
50479 6095 d 13 h ripley /trunk/src/ back out r50473 (did not work on SunStudio)  
/trunk/src/include/R_ext/Utils.h
/trunk/src/main/errors.c
/trunk/src/main/gram.c
/trunk/src/main/gram.y
/trunk/src/main/grep.c
/trunk/src/main/paste.c
/trunk/src/main/plot.c
/trunk/src/main/random.c
/trunk/src/main/raw.c
/trunk/src/main/sort.c
/trunk/src/main/sysutils.c
/trunk/src/main/unique.c
/trunk/src/main/util.c
50473 6096 d 0 h ripley /trunk/src/ pre-check alloca for addiitonal safety  
/trunk/src/include/R_ext/Utils.h
/trunk/src/main/errors.c
/trunk/src/main/eval.c
/trunk/src/main/gram.c
/trunk/src/main/gram.y
/trunk/src/main/grep.c
/trunk/src/main/paste.c
/trunk/src/main/plot.c
/trunk/src/main/random.c
/trunk/src/main/raw.c
/trunk/src/main/sort.c
/trunk/src/main/sysutils.c
/trunk/src/main/unique.c
/trunk/src/main/util.c
50374 6104 d 5 h ripley /trunk/src/ tidy code up, including what is done in MBCS locales  
/trunk/src/library/base/man/grep.Rd
/trunk/src/library/base/man/strsplit.Rd
/trunk/src/main/grep.c
50307 6109 d 14 h ripley /trunk/ port r50306 (avoid integer overflow in nns calculation) from R-patched  
/trunk/NEWS
/trunk/src/main/grep.c
50297 6110 d 10 h ripley /trunk/src/ put wtransChar in a public header  
/trunk/src/include/Defn.h
/trunk/src/main/agrep.c
/trunk/src/main/grep.c
/trunk/src/main/sysutils.c
50296 6110 d 11 h ripley /trunk/src/ next phase of merging various regexp functions  
/trunk/src/include/Internal.h
/trunk/src/main/grep.c
/trunk/src/main/names.c
50293 6111 d 2 h ripley /trunk/ allow zero-length input in gregexpr
strip out USE_TRE_FOR_FIXED
 
/trunk/NEWS
/trunk/src/main/grep.c
50289 6111 d 3 h ripley /trunk/src/main/ start merging branches of RE code  
/trunk/src/main/pcre.c
/trunk/src/main/Makefile.in
/trunk/src/main/Makefile.win
/trunk/src/main/grep.c
50286 6111 d 8 h ripley /trunk/ add more validity checking of MBCS strings  
/trunk/NEWS
/trunk/src/include/Defn.h
/trunk/src/main/agrep.c
/trunk/src/main/grep.c
/trunk/src/main/pcre.c
/trunk/src/main/util.c
50285 6111 d 9 h ripley /trunk/src/main/ use alloca throughout.
add back some warnings about invalid MBCS strings
 
/trunk/src/main/grep.c
/trunk/src/main/pcre.c
50277 6112 d 4 h ripley /trunk/ use single-byte locales in grep etc where possible  
/trunk/NEWS
/trunk/src/main/grep.c
/trunk/tests/reg-tests-1.R
50270 6112 d 10 h ripley /trunk/src/main/ handle fixed = TRUE, perl = TRUE consistently (neeeded if
USE_TRE_FOR_FIXED is defined)
 
/trunk/src/main/grep.c

Show All