| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Jacl regexp work.
FossilOrigin-Name: fdacdda25298e3e3271c7afe82d0e6c1b0813e66
|
|
|
| |
FossilOrigin-Name: 2a54ee5bded043d400d62415073bdece087cec25
|
|
|
|
|
|
|
| |
unbalanced [] in regexp. Added additional simple test cases
of basic regsub command.
FossilOrigin-Name: e0b2e1cb8908da865f655ea9532d5c5f643b3d6c
|
|
|
|
|
|
|
| |
* generic/tclUtil.c (TclReToGlob): translation from exact
to anywhere-in-string match. [Bug 2065115]
FossilOrigin-Name: 6e9764c87ca430b537357b98742cb15ab837adfa
|
|
|
| |
FossilOrigin-Name: cfc8157c41627729e35e1d1f472ff1756fcddd5b
|
|
|
| |
FossilOrigin-Name: 395eaa2623b2540e0cb48daab4369053acb0f8d0
|
|
|
|
|
|
|
| |
* tests/regexp.test (regexp-22.2): be used because it
* tests/regexpComp.test: [Bug 1857126] disallows backrefs.
FossilOrigin-Name: 3abe8cff9789adc21fb60e57f475687bd613b3b9
|
|
|
| |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
|
|
|
|
|
| |
[Bug 1810038].
FossilOrigin-Name: b20eee044bad35621c693544a208dc3d77b09fd1
|
|
|
| |
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclUtil.c: Extended TclGetIntForIndex to recognize
index formats including end+integer and integer+/-integer.
* generic/tclCmdMZ.c: Extended the -start switch of [regexp]
and [regsub] to accept all index formats known by TclGetIntForIndex.
* doc/lindex.n: Updated docs to note new index formats.
* doc/linsert.n:
* doc/lrange.n:
* doc/lreplace.n:
* doc/lsearch.n:
* doc/lset.n:
* doc/lsort.n:
* doc/regexp.n:
* doc/regsub.n:
* doc/string.n:
* tests/cmdIL.test: Updated tests.
* tests/compile.test:
* tests/lindex.test:
* tests/linsert.test:
* tests/lrange.test:
* tests/lreplace.test:
* tests/lsearch.test:
* tests/lset.test:
* tests/regexp.test:
* tests/regexpComp.test:
* tests/string.test:
* tests/stringComp.test:
* tests/util.test:
FossilOrigin-Name: d9e4591786991fc6676581c61c73cb49f06f13a7
|
|
|
| |
FossilOrigin-Name: 67a6ac61094d7af4f5b22e847cc32632e85f5dfb
|
|
|
|
|
|
| |
* tests/regexpComp.test: [Bug 675652]
FossilOrigin-Name: 1aecb14fff18caf165f07c3598527f65fe053f67
|
|
|
| |
FossilOrigin-Name: 6f6bf2acacc69bd8e4a5f83dde24ee5ecbc54d1e
|
|
|
|
|
|
| |
in the test suite.
FossilOrigin-Name: b0f3dfed629f8e4c506365bc62ba4dd7900a03c6
|
|
|
|
|
|
| |
Added targets to unix/Makefile.in to facilitate testing of this situation.
FossilOrigin-Name: 725b23357f2845f2c1d887777bc6ed9dd86a8161
|
|
|
| |
FossilOrigin-Name: fbdc4fa84146c88fa1ba0bc1b1d8ecbf5c49af71
|
|
|
| |
FossilOrigin-Name: 77072a000c9854e337beb712e0ba2487058a3699
|
|
|
| |
FossilOrigin-Name: f29484391eefc0e529c3666e5b68fef7fd4e151c
|
|
|
| |
FossilOrigin-Name: 8234ed9fb0b68aa33e54a30d107b9407f45d243d
|
|
|
| |
FossilOrigin-Name: f2e4ec3026f4c29c17aa6c425cd9b2fa36a85cc0
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls
in subspec value.
FossilOrigin-Name: 73865f2ba97eacc953d300af8719451edac260ed
|
|
|
|
|
|
|
|
|
| |
attempts after the first to match the regexp against the string
should include the TCL_REG_NOTBOL flag, to avoid erroneously
matching ^ in the middle of the string. Added code to set this
flag after the first pass through the matching loop. [Bug: 6284].
FossilOrigin-Name: 9c141af9b52fb6038a2a4bfa2d38319e72b54c45
|
|
|
|
|
|
|
|
|
|
| |
contents string from UTF to native encoding [Bug: 4030].
* tests/regexp.test: Added tests for infinite looping in [regexp -all].
* generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all] [Bug: 4981].
FossilOrigin-Name: 1908ebdc39b71cc7648c9ccca12713c005201b83
|
|
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
|
|
|
|
|
|
|
| |
* doc/regexp.n: added docs for -all and -inline switches
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for
new -all and -inline switches to regexp command
FossilOrigin-Name: 9176c9a50b9d3ad8a6bba20cd9e6aae6a846b16c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/timer.test: changed after delay in timer test 6.29 from
1 to 10. [Bug: 2796]
* tests/pkg.test:
* generic/tclPkg.c: fixed package version check to disallow 1.2..3
[Bug: 2539]
* unix/Makefile.in: fixed gendate target - this never worked
since RCS was intro'd.
* generic/tclGetDate.y: updated to reflect previous changes
to tclDate.c (leap year calc) and added CEST and UCT time zone
recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954,
1245, 1249]
* generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really
dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc
and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719]
and changed Tcl_Alloc, et al to not panic when a alloc request
for zero came through and NULL was returned (valid on AIX, Tru64)
[Bug: 2795, etc]
* tests/clock.test:
* doc/clock.n:
* generic/tclClock.c: added -milliseconds switch to clock clicks
to guarantee that the return value of clicks is in the millisecs
granularity [Bug: 2682, 1332]
1999-09-15 Jeff Hobbs <hobbs@scriptics.com>
* generic/tclIOCmd.c: fixed potential core dump in conjunction
with stacked channels with result obj manipulation in
Tcl_ReadChars [Bug: 2623]
* tests/format.test:
* generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605]
* doc/msgcat.n: fixed \\ bug in example [Bug: 2548]
* unix/tcl.m4:
* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition
[Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* doc/array.n:
* tests/var.test:
* tests/set.test:
* generic/tclVar.c: added an array unset operation, with docs
and tests. Variation of [Bug: 1775]. Added fix in TclArraySet
to check when trying to set in a non-existent namespace. [Bug: 2613]
1999-09-14 Jeff Hobbs <hobbs@scriptics.com>
* tests/linsert.test:
* doc/linsert.n:
* generic/tclCmdIL.c: fixed end-int interpretation of linsert
to correctly calculate value for end, added test and docs [Bug: 2693]
* doc/regexp.n:
* doc/regsub.n:
* tests/regexp.test:
* generic/tclCmdMZ.c: add -start switch to regexp and regsub
with docs and tests
* doc/switch.n: added proper use of comments to example.
* generic/tclCmdMZ.c: changed switch to complain when an error
occurs that seems to be due to a misplaced comment.
* generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions
in regsub [Bug: 2723]
* generic/tclCmdMZ.c: changed [string equal] to return an Int
type object (was a Boolean)
FossilOrigin-Name: eb68adcdfd2b621fe83410354568df693c95a1fc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all tests that use exec as unixOrPc.
* tests/encoding.test:
* tests/interp.test:
* tests/macFCmd.test:
* tests/parseOld.test:
* tests/regexp.test: Applied patches from Jim Ingham to add
encoding to a Mac only interp test, change an error message in
macFCmd.tet, put a comment in parseOld.test, fix tests using the
testencoding path command, and put unixOrPc constraints on tests
that use exec.
FossilOrigin-Name: 13304f0d0d02e8e4244e1e51ab5e3e8479f962f2
|
|
|
|
|
|
| |
Fixed bug in pkg.test where defs.tcl was still being used.
FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
|
|
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c:
* generic/tclCmdIL.c: Changed to use new regexp interfaces. Added
-expanded, -line, -linestop, and -lineanchor switches to regsub.
FossilOrigin-Name: 439ccec547a90871da17d1da29b0328c8a386d59
|
|
|
| |
FossilOrigin-Name: f692388d0781830f1c23ef04ebbfb509ecc8d671
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclBasic.c:
* generic/tclRegexp.h:
* generic/tclRegexp.c: Replaced the per-interpreter regexp cache
with a per-thread cache. Changed the Regexp object to take
advantage of this extra cache. Added a reference count to the
TclRegexp type so regexps can be shared by multiple objects.
Removed the per-interp regexp cache from the interpreter. Now
regexps can be used with no need for an interpreter. [Bug: 1063]
FossilOrigin-Name: 2e8f1dd6ab40a0a67e71dfa9b45e818ef94267f2
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|