summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.ericm2000-09-149-61/+341
| | | | | | | | | | | | | | | | | | | | | | | | * doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength. * generic/tclDecls.h: * generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls. * generic/tcl.decls: Added stubs for the Tcl_Attempt* memory allocators and for Tcl_AttemptSetObjLength. * generic/tcl.h: Added #define's for attemptckalloc, attemptckrealloc, which map to the Tcl_Attempt* memory allocators. * generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc, Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc, Tcl_AttemptRealloc, etc. These are used by Tcl_AttemptSetObjLength and the string obj append functions. * generic/tclStringObj.c: Modified string growth algorithm to use doubling algorithm as long as possible, and only fall back when that fails. Added Tcl_AttemptSetObjLength, and modified AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and Tcl_AppendStringsToObjVA to support this.
* no messagedavidg2000-09-081-0/+7
|
* * win/tclWinPipe.c: Stage-1 bug fix for TR#2460 "exec leaks memory".davidg2000-09-081-19/+69
| | | | | | | | Added more logic around the close-down of the pipe reader thread so as to avoid, at all cost, a TerminateThread. Most cases with exec are fixed, but I don't consider 2460 done yet. Closing down the read side of a pipe before the child process, doesn't really fit the windows model. [BUG: 2460]
* no messagedavidg2000-09-071-0/+5
|
* 2000-09-07 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-09-071-1/+2
| | | | | * win/.cvsignore: changed the glob patterns a bit to exclude VC++ project conversion backups.
* * doc/trace.n: minor doc cleanuphobbs2000-09-072-1/+7
|
* Entry for new "SEE ALSO" section.poenitz2000-09-071-0/+4
|
* New or changed "SEE ALSO" section.poenitz2000-09-0782-135/+293
|
* * win/tclWinLoad.c (TclpLoadFile): added special message forhobbs2000-09-063-5/+15
| | | | | | | ERROR_PROC_NOT_FOUND exception in loading a dll. * win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from ESRCH (POSIX: no such process) to EINVAL because there is no good mapping for "procedure not found".
* * README:hobbs2000-09-0610-22/+22
| | | | | | | | | | | * generic/tcl.h: * library/tcltest1.0/tcltest.tcl: * tools/tcl.wse.in: * tools/tcltk-man2html.tcl: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: updated patchlevel to 8.4a2
* see changes.hobbs2000-09-061-0/+35
|
* * unix/tclUnixPipe.c (TclpCreateProcess): Removed WNOHANG fromhobbs2000-09-061-3/+5
| | | | | Tcl_WaitPid call in error case of process creation on Unix, as it would lead to defunct processes. [Bug: 6148]
* * tests/string.test: extended string repeat testshobbs2000-09-061-1/+23
|
* * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed STR_REPEAT tohobbs2000-09-061-5/+30
| | | | | preallocate the full space of the final string, avoided repeated appends.
* * generic/tclExecute.c (TclExecuteByteCode): INST_STR_INDEX fixedhobbs2000-09-061-13/+32
| | | | | | pedantic cast warning. Corrected support for building with -DTCL_COMPILE_STATS. Added efficiency check of object equality.
* * generic/tclHash.c: fixed pedantic warning of incorrectly placedhobbs2000-09-061-3/+3
| | | | #endif
* * doc/source.n:hobbs2000-09-062-2/+8
| | | | | * doc/Eval.3: added extra note about how to safe use ^Z in code, as it is now a cross-platform (was just Windows) EOF char.
* * generic/tclStringObj.c: Applied patch from Gerhard Hintermayerericm2000-08-302-25/+97
| | | | | | to provide a more conservative string growth algorithm for strings larger than one megabyte; this allows more efficient use of memory for very large strings.
* * tests/trace.test: Extended array tracing tests.ericm2000-08-254-12/+47
| | | | | | | | | | * doc/trace.n: Clarified information about when array traces will be fired. * generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces (for TCL_TRACE_ARRAY) to only be called when the variable is either an array or is undefined, to ensure that array traces do not fire for scalar variables.
* ChangeLog commit.ericm2000-08-251-0/+5
|
* Tweaked tab settings for .SO (Standard Options) sections, from suggestionericm2000-08-251-2/+2
| | | | from Peter Spjuth.
* fix small typo in last commitmo2000-08-251-3/+3
|
* remove --enable-gcc configure optionmo2000-08-257-102/+52
|
* Added RFE id numbers to comments.ericm2000-08-251-1/+1
|
* * doc/trace.n: Updated documentation for new syntax; flagged oldericm2000-08-2511-493/+1921
| | | | | | | | | | | | | | | | | | | | | | | | | | syntax as deprecated; added documentation for command rename/delete traces and variable array traces. * tests/trace.test: Updated tests for new trace syntax; new tests for command rename/delete traces; new tests for array traces. * generic/tclVar.c: Support for new trace syntax; support for TCL_TRACE_ARRAY. * generic/tclStubInit.c: * generic/tclDecls.h: * generic/tcl.decls: Stub functions for command rename/delete traces. * generic/tcl.h: * generic/tclInt.h: * generic/tclBasic.c: Support for command traces. * generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support new [trace] syntax: trace {add|remove|list} {variable|command} name ops command Added support for command traces (rename, delete operations). Added support for TCL_TRACE_ARRAY at Tcl level (array operation for variable traces).
* Added check for non-arrays for [array statistics].ericm2000-08-213-3/+16
|
* 2000-08-19 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-08-201-1/+10
| | | | | | | | | | | | * generic/tclPlatDecls.h: without a previous '#include <windows.h>', tclPlatDecls.h can't be parsed due to a missing definition of TCHAR. Added a check to include it when not defined. ***POSSIBLE OBSCURE BUG*** could be caused when the compile flags for the core happen to be different than a project who uses these publics regarding -D_MBCS and -D_UNICODE. This added check might have to be revisited later with a better understanding of the reprocusions. I think TCHAR should be replaced with it's expansion.
* no messagedavidg2000-08-201-0/+12
|
* added another glob pattern I had forgottendavidg2000-08-181-0/+1
|
* no messagedavidg2000-08-181-0/+5
|
* * win/.cvsignore: provides a cleaner build environment with graphical CVS ↵davidg2000-08-181-0/+11
| | | | clients.
* Fixed comment.ericm2000-08-181-3/+2
|
* noted extra change to opt.test in ChangeLoghobbs2000-08-151-0/+1
|
* * library/tcltest1.0/tcltest.tcl: Set debug level inericm2000-08-153-8/+14
| | | | | tcltest::restoreState to 2, for consistancy with the debug level in tcltest::saveState [Bug: 4505].
* * win/makefile.vc:ericm2000-08-155-20/+40
| | | | | | | | | | * win/Makefile.in: * unix/Makefile.in: Added tclPlatDecls.h to the list of installed headers, for more complete stubs support. [Bug: 5241]. * generic/tcl.h: Added #include "tclPlatDecls.h" to get platform-specific stubs declarations (Tcl_WinTCharToUtf, etc) [Bug: 5241].
* URL typo correction.ericm2000-08-142-2/+8
|
* * generic/tclEnv.c (TclUnsetEnv): Changed declaration of lengthericm2000-08-112-2/+8
| | | | | variable from "unsigned int" to "int", to match usage when passed to TclpFindVariable [Bug: 6126].
* * library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2ericm2000-08-115-7/+11
| | | | | | | | [Bug: 6100]. * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget] in msgcat namespace initializer. Bumped version number to 1.2 [Bug: 6100].
* * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]ericm2000-08-103-4/+7
| | | | in msgcat namespace initializer.
* 2000-08-10 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-08-102-16/+17
| | | | | * generic/tclObj.c: r1.15 accidentally changed a global mutex name tclObjMutex to ObjMutex. Put the correct name back.
* no messagedavidg2000-08-101-0/+5
|
* * tests/indexObj.test: Added tests using the [testwrongnumargs]ericm2000-08-074-5/+104
| | | | | | | | | | | command to test Tcl_WrongNumArgs. * generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function for the Tcl_WrongNumArgs function. * generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to not insert a space before the message component when objc == 0 [Bug: 6078].
* Removed dead space at end of file.ericm2000-07-311-13/+1
|
* * win/configure.in: TCL_STUB_LIB_FLAG should notmo2000-07-272-3/+7
| | | | include ${TCL_DBGX} in win/tclConfig.sh, fix that.
* no messagedavidg2000-07-261-0/+2
|
* Thread-safe rewrite for the Tcl_Async* commands.davidg2000-07-263-11/+14
|
* no messagedavidg2000-07-262-6/+16
|
* Thread-safe rewrite for the Tcl_Async* commands.davidg2000-07-264-103/+85
|
* no messagedavidg2000-07-261-0/+15
|
* * generic/tclVar.c (CallTraces): Added check for VAR_TRACE_ACTIVEericm2000-07-252-2/+8
| | | | | | | on the array containing the variable before executing traces on that array, to conform with normal variable traces and the documentation, which states that while executing a trace, other traces on that variable are disabled. [Bug: 6049].