summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* fixed line termination characterstanton1999-07-091-677/+677
|
* * tests/string.test:stanton1999-07-091-3/+3
| | | | | * generic/tclCmdMZ.c: Fixed bug in string range bounds checking code.
* * win/Makefile.in: Added tcltest target so runtest worksstanton1999-07-081-674/+677
| | | | | | | | properly. Added missing names to the clean/distclean targets. * tests/reg.test: * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for bug in DFA state caching under lookahead conditions. [Bug: 2318]
* Fix Tcl_GetStackedChannel declaration, the functionredman1999-07-022-5/+5
| | | | returns a Tcl_Channel, not void.
* Block out unix-only code for windows & mac.redman1999-07-021-1/+3
|
* Regen the stub files after changes in tcl.decls were made, but theredman1999-07-021-14/+17
| | | | stub files were not regenerated.
* Fixed lint found by Jim Inghamwelch1999-07-021-4/+5
|
* Name change from Tcl_ReplaceChannel to Tcl_StackChannelwelch1999-07-024-124/+352
| | | | Added new code that modifies the channel in place.
* Improved support for empty array nameswelch1999-07-021-3/+9
|
* Added Tcl_SetNotifier and associated typedef.welch1999-07-022-2/+52
| | | | This lets you hook the notifier procs.
* Call TclStat instead of TclpStat in order to allow theredman1999-07-012-13/+13
| | | | stat hooks to work properly.
* Add TclHandle functions to the internal stub table.redman1999-06-304-3291/+51
| | | | Remove unused tclStubs.c file.
* Initial version of the Tcl_ReplaceChannel and Tcl_UndoReplaceChannelwelch1999-06-305-18/+371
| | | | functions.
* Applied patch from Peter Hardie (with modifications) to fixredman1999-06-281-1/+10
| | | | | Tcl_GetIndexFromObj when the key is "". Added test cases and doc note.
* Documented 2 more files that need to be updated when the Tcl versionwart1999-06-281-1/+3
| | | | number changes.
* Export functions for TclHandleredman1999-06-261-5/+5
|
* Changed so unix always maps ckalloc to Tcl_Alloc or Tcl_DbCkAlloc to avoidredman1999-06-261-15/+8
| | | | problems with mixed TCL_MEM_DEBUG modes.
* Added note about win/configure.in needing a version changewelch1999-06-251-1/+2
|
* Changed to Tcl 8.2b1welch1999-06-251-4/+4
|
* * tests/reg.test:stanton1999-06-251-27/+52
| | | | * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
* * unix/Makefile.in: Changed install-doc to install-man.stanton1999-06-243-691/+809
| | | | | | | | | | | | | * tools/uniParse.tcl: * tools/uniClass.tcl: * tools/README: * tests/string.test: * generic/regc_locale.c: * generic/tclUniData.c: * generic/tclUtf.c: * doc/string.n: Updated Unicode character tables to reflect latest Unicode 2.1 data. Also rationalized "regexp" and "string is" definitions of character classes.
* * generic/tclTest.c:stanton1999-06-177-128/+188
| | | | | | | | | | | | * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Renamed Tcl_RegExpMatchObj to Tcl_RegExpExecObj and added a new Tcl_RegExpMatchObj that is equivalent to Tcl_RegExpMatch. Added public macros for the regexp compile/execute flags. Changed to store either an object pointer or a string pointer in the TclRegexp structure. Changed to avoid adding a reference to the object or copying the string.
* * tests/regexp.test:stanton1999-06-172-22/+44
| | | | | | * generic/tclCmdMZ.c: * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added -expanded, -line, -linestop, and -lineanchor switches to regsub.
* * generic/regcomp.c: lintstanton1999-06-173-1/+8
| | | | | | | | * tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
* * generic/tclVar.c (Tcl_VariableObjCmd): fixed premature incrementhershey1999-06-171-3/+3
| | | | in loop that was causing out-of-bounds reads on array "varName".
* * tests/execute.test:stanton1999-06-161-4/+4
| | | | | | * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by a bug in INST_LOAD_SCALAR1 where the scalar index was read as a signed 1 byte value instead of unsigned. [Bug: 2243]
* fixed bug that cause bad memory read on Windowshershey1999-06-161-5/+5
|
* fixed bugs that kept windows from compiling.hershey1999-06-161-6/+6
|
* beefed up the string object testshershey1999-06-152-69/+88
|
* Improved the appendObj functions (uncomented the optimized code that washershey1999-06-152-34/+25
| | | | | | | | | present in the Unicode obj). Updated the teststringobj command to look in the correct location for the amount of space allocated for the UTF string rep. Note: one stringObj test is still failing; it reflects a change in that may not be undesirable...
* Merged String and Unicode object types. Added new functions tohershey1999-06-159-997/+1113
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* fied a memory leak. purify nolonger complains.hershey1999-06-101-3/+4
|
* * generic/tclUnicodeObj.c: Lots of cleanup and simplification.stanton1999-06-109-193/+435
| | | | | | | | | | | | | | | | | | | | | | | Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings.
* * generic/regexec.c:stanton1999-06-101-1/+1
| | | | * unix/tclUnixNotfy.c: lint
* performance improvement for TclGetUnicodeFromObj function and the Unicodehershey1999-06-091-78/+26
| | | | object type.
* added TclGetUnicodeFromObj function for use with regexphershey1999-06-082-30/+115
|
* * tests/string.test:hershey1999-06-087-57/+907
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* * generic/tclCmdMZ.c (Tcl_StringObjCmd):stanton1999-06-031-1/+12
| | | | | * tests/string.test: Fixed bug where string equal/compare -nocase reported wrong result on null strings. [Bug: 2138]
* * generic/tclUtf.c (Tcl_UtfNcasecmp): Fixed incorrect computationstanton1999-06-021-4/+7
| | | | of relative ordering. [Bug: 2135]
* * tests/reg.test:stanton1999-06-0219-206/+666
| | | | | | | | | | | | | | | | | | | | | | | | * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117]
* * generic/tclObj.c: Changed to eliminate use of isupper/tolower instanton1999-05-281-3/+3
| | | | favor of the Unicode versions.
* generic/tclThreadTest.c: Fix race condition in testthread code.redman1999-05-261-3/+2
| | | | | | win/tclWinSock.c: Fixed hang in WinNT socket driver, now wakes up the socket thread to check for events that didn't trigger the WSAEvent.
* * generic/tcl.decls:stanton1999-05-258-19/+273
| | | | | | | | | | | * generic/tclCmdMZ.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclIntDecls.h: * generic/tclPort.h: * generic/tclStubInit.c: * generic/tclStubLib.c: Various header file related changes and other lint to try to get the Mac builds working.
* Added stub entry for the TclGetAuxDataType routine so tbcload can use stubssurles1999-05-234-5/+15
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-229-58/+520
|
* lint in commentshershey1999-05-201-4/+3
|
* added -encoding to the list of legal options used in the error message whenhershey1999-05-181-2/+2
| | | | | a bad option is used. Because the fconfigure command is configurable (so more option can be added), the error string is hardcoded.
* added intospection variable to determine if the interp was compiled with ↵surles1999-05-141-1/+14
| | | | threads enabled
* merged 1-3-b2 changes into mainlinestanton1999-05-141-3/+5
|
* increased per-thread regexp cache to 30stanton1999-05-141-3/+3
|