summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Removed patch for bug 2382, for info complete.redman1999-07-231-3/+2
|
* * Changed version to 8.2b2.redman1999-07-224-9/+30
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* Applied patch for info complete. [Bug: 2382]redman1999-07-221-2/+3
|
* revert changes to TclpStrftime, not needed for internal functions.redman1999-07-222-5/+5
|
* * doc/Utf.3:redman1999-07-225-20/+21
| | | | | | | | | | | | | * generic/tcl.decls: * generic/tclInt.decls: * generic/tclDecls.h: * generic/tclIntDecls.h: * generic/tclUtf.c: * compat/strftime.c: * unix/tclUnixTime.c: Changed function declarations in non-platform-specific APIs to use "unsigned long" instead of "size_t", which may not be defined on certain compilers (rather than include sys/types.h, which may not exist).
* Previous version was a mistake, roll it back.redman1999-07-211-3/+1
|
* * win/tclWinSock.c: Modified 8.1.0 version of the Win32 socketredman1999-07-211-1/+3
| | | | | | | | | driver to move the handling of the socket event window in a separate thread. It also turned out that Win95 & Win98 were, in some cases, getting multiple FD_ACCEPTs but only handling one. Added a count for the FD_ACCEPT to take care of this. Tested on NT4 SP3, NT4 SP4, Win95, and Win98. [Bug: 2178 2256 2259 2329 2323 2355]
* added missing '\' at the end of one line (only irix complained about this)hershey1999-07-211-2/+2
|
* * generic/tclInitScript.h:hershey1999-07-211-13/+41
| | | | | | | | | * unix/tclUnixInit.c: merged code with 8.0.5. We now use an intermediate global tcl var "tclDefaultLibrary" to keep the "tcl_library" var from being set by the default value in the Makefile. Also fixed a bug in which caused the value of TCL_LIBRARY env var to be ignored. * unix/tclWinInit.c: just updated some comments.
* Add Tcl_SetNotifier to stubs table. [Bug: 2354]redman1999-07-163-3/+15
|
* Fix minor version number.redman1999-07-161-2/+2
|
* 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]