summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* date correctiondgp2004-08-161-1/+1
|
* fix for [Bug 1008314]Miguel Sofer2004-08-161-1/+9
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-131-0/+6
| | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload].
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-101-0/+6
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* Plug leak and clarify codedkf2004-08-031-0/+3
|
* Add field initialization to fix [Bug 989298]. D'oh!dkf2004-08-031-0/+5
|
* * library/package.tcl (pkg_mkIndex): Updated [pkg_mkIndex] todgp2004-08-021-0/+3
| | | | make use of [glob -directory $dir -tails] and return options.
* TIP#207 IMPLEMENTATIONdgp2004-08-021-0/+10
| | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841]
* * generic/tclLiteral.c (TclCleanupLiteralTable): Correcteddgp2004-08-021-0/+7
| | | | | | * tests/compile.test (compile-12.4): flawed deletion of literal internal reps that could lead to accessing of freed memory. Thanks to Kevin Kenny for test case and fix [Bug 1001997].
* Whitespace policing...dkf2004-08-021-131/+131
|
* * tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]dgp2004-07-301-0/+6
| | | | | | * library/auto.tcl (auto_reset): Removed "protected" list of commands from [auto_reset]. All entries in the auto_index can be re-loaded. * library/package.tcl: Updated comment to reflect 2004-07-28 commit.
* * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalizedgp2004-07-301-0/+6
| | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956]
* * unix/configure:das2004-07-301-0/+7
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * library/package.tcl: [::pkg::create] is now an alias. Testdgp2004-07-291-0/+5
| | | | safe-2.1 will now fail until Bug 999612 is corrected.
* * library/package.tcl: Moved private commanddgp2004-07-281-0/+7
| | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* * tests/io.test: Make io-61.1 create file as binary to pass on Win32patthoyts2004-07-251-0/+4
|
* * generic/tclVar.c: simplify tclLocalVarNameType, removing theMiguel Sofer2004-07-231-0/+7
| | | | | | reference to the corresponding proc. The reference is now seen as unnecessary, and it may cause leaking circular references under some circumstances (see for example [Bug 994838]).
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-231-0/+5
| | | | * tests/io.test: file of test data as needed.
* typodgp2004-07-231-1/+1
|
* typo/format fixesdgp2004-07-221-4/+5
|
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-0/+8
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* 2004-07-21 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2004-07-211-0/+13
| | | | | | | | | | | | | * generic/tclBasic.c (DeleteInterpProc): * generic/tclLiteral.c (TclCleanupLiteralTable): * generic/tclInt.h: added a TclCleanupLiteralTable function, called from DeleteInterpProc, that frees internal representations of shared literals early when an interpreter is being deleted. This change corrects a number of memory mismanagement issues in the cases where the internal representation of one literal contains a reference to another, and avoids conditions such as resolved variable names referring to procedure and namespace contexts that no longer exist. [Bug 994838]
* * unix/Makefile.in:das2004-07-201-2/+7
| | | | | | | | * win/Makefile.in: added 'install-private-headers' makefile target to allow optionally installing private tcl headers. [FR 922727] * macosx/Makefile: use new 'install-private-headers' target to install private headers into framework. [FR 922727]
* * unix/tclUnixFile.c (NativeMatchType): added support fordas2004-07-201-0/+5
| | | | readonly matching of user immutable files (where available).
* * macosx/tclMacOSXBundle.c: dynamically acquire address fordas2004-07-201-0/+6
| | | | | CFBundleOpenBundleResourceMap symbol, since it is only present in full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
* Redefined MASTER_LOCK in win/tclWinThrd.c to call TclpMasterLock for thevasiljevic2004-07-191-0/+5
| | | | sake of Tcl API users never creating Tcl interpreters.
* cd infinite loop bug fixedvincentdarley2004-07-171-0/+11
|
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-161-0/+10
| | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Move SC_MISSING_POSIX_HEADERS up and consolidate calls to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in theandreas_kupries2004-07-161-0/+4
| | | | | generation of error messages and simplified by reusing data in a variable instead of retrieving the string again. Fixes [Tcl SF Bug 835289].
* * doc/OpenFileChnl.3: Added description of the behaviour ofandreas_kupries2004-07-161-0/+4
| | | | | Tcl_ReadChars when its 'charsToRead' argument is set to -1. Fixes [Tcl SF Bug 934511].
* * doc/CrtCommand.3: Added note that the arguments given to theandreas_kupries2004-07-161-0/+4
| | | | | command proc of a Tcl_CreateCommand are in utf8 since Tcl 8.1. Closing [Tcl SF Patch 414778].
* * doc/ChnlStack.3: Removed the declaration that the interpandreas_kupries2004-07-161-0/+5
| | | | | | argument to Tcl_(un)StackChannel can be NULL. This fixes [Tcl SF Bug 881220], reported by Marco Maggi <marcomaggi@users.sourceforge.net>.
* Typo fix.andreas_kupries2004-07-161-1/+1
|
* * tests/socket.test: Accepted two new testcases by Stuart Casoffandreas_kupries2004-07-161-0/+4
| | | | | <stwo@users.sourceforge.net> checking that -server and -async don't go together [Tcl SF Bug 796534].
* * unix/tclUnixNotfy.c (NotifierThreadProc): Accepted Joeandreas_kupries2004-07-161-0/+6
| | | | | Mistachkin's patch for [Tcl SF Bug 990500], properly closing the notifier thread when its exits.
* * unix/tclUnixThrd.c (TclpFinalizeMutex): Accepted Joeandreas_kupries2004-07-151-0/+6
| | | | | Mistachkin's patch for [Tcl SF Bug 99453], closing leakage of mutexes. They were not destroyed properly upon finalization.
* Added new fix for the Tcl Bug #770053. Now we conditionaly performvasiljevic2004-07-151-1/+6
| | | | | the TclFinalizeNotifier in order to correct broken ref-counting of the notifier thread.
* * generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set inandreas_kupries2004-07-151-2/+29
| | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_UnregisterChannel): 'Tcl_Close' while the * generic/tclIO.c (Tcl_Close): close callbacks are run. Checked in 'Tcl_Close' and 'Tcl_Unregister' to prevent recursive call of 'close' in the close-callbacks. This is a possible error made by implementors of virtual filesystems based on 'tclvfs', thinking that they have to close the channel in the close handler for the filesystem. * generic/tclIO.c: * generic/tclIO.h: * Not reverting, but #ifdef'ing the changes from May 19, 2004 out of the core. This removes the ***POTENTIAL INCOMPATIBILITY*** for channel drivers it introduced. This has become possible due to Expect gaining a BlockModeProc and now handling blockingg and non-blocking modes correctly. Thus [SF Tcl Bug 943274] is still fixed if a recent enough version of Expect is used. * doc/CrtChannel.3: Added warning about usage of a channel without a BlockModeProc.
* * generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to theandreas_kupries2004-07-151-0/+7
| | | | | | old depreceated newline syntax, to ensure that only "nonewline" is accepted. [Tcl SF Bug 985869], reported by Joe Mistachkin <mistachkin@users.sourceforge.net>.
* Stuffed memory leak incurred by re-initializing of TSD slotsvasiljevic2004-07-151-0/+13
| | | | | | | | | | | | after the last call to TclFinalizeThreadData (done from within Tcl_FinalizeThread()). We basically just repeat the TclFinalizeThreadData() once more before tearing down TSD keys in TclFinalizeSynchronization(). There should be more elaborate mechanism in place for handling such issues, based on thread cleanup handlers registered on the OS level. Such change requires much more work and would also require TIP because some visible parts of Tcl API would have to be modified. In the meantime, this will do.
* * generic/tclLiteral.c (TclReleaseLiteral): Removed unusedKevin B Kenny2004-07-151-0/+5
| | | | variable 'codePtr' to silence a message from VC++.
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-07-151-0/+10
| | | | | | | | | * generic/tclLiteral.c (TclReleaseLiteral): fix for [Bug 467523], which resurfaced with the latest changes. The previous strategy was to have special code in TclReleaseLiteral to handle the self-references generated by empty scripts. The new approach avoids the self-reference altogether, by having empty scripts return an unshared literal.
* See file...vasiljevic2004-07-151-0/+5
|
* * generic/tclBasic.c (Tcl_EvalEx): leak fix by dgp, releaseMiguel Sofer2004-07-121-0/+5
| | | | objv[objectsUsed] on error.
* * generic/tclParse.c (Tcl_SubstObj): leak fix by dgp, releaseMiguel Sofer2004-07-121-0/+5
| | | | result on error.
* Another leak fix for [Bug 989093]dkf2004-07-111-0/+2
|
* Stop [dict unset] from leaking objects. [Bug 989093 in part]dkf2004-07-111-0/+5
|
* * generic/tclExecute.c (TEBC): fixed leak of expandNestList objsMiguel Sofer2004-07-111-0/+6
| | | | | when there is an error while an expansion is in progress (code added at checkForCatch).
* cd fix in vfsvincentdarley2004-07-111-0/+7
|
* Added code to restore env(LC_TIME) after the test completes, silencingKevin B Kenny2004-07-101-0/+2
| | | | a warning from 'make TESTFLAGS="-debug 1" test'.