summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make genstubsdkf2004-10-142-2/+70
|
* Speed up [info <thing> <simplePattern>]dkf2004-10-144-53/+213
|
* * win/tclWinFile.c (NativeIsExec): correct result of 'filehobbs2004-10-082-10/+18
| | | | executable' to not be case sensitive. [Bug 954263]
* * generic/tclNamesp.c (Tcl_PopCallFrame): Removed Bug 1038021dgp2004-10-052-20/+7
| | | | workaround. That bug is now fixed.
* Correction to 1038021 bug fix; should only save restore those bitsdgp2004-10-011-3/+4
| | | | | that get cleared by Tcl_ResetResult() and not more serious things like DELETED.
* * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ifieddgp2004-09-306-42/+82
| | | | | | | | | | | | | | | * tests/namespace.test (namespace-8.5,6): the save/restore of ::errorInfo and ::errorCode during global namespace teardown. Revised the comment to clarify why this is done, and added tests that will fail if this is not done. * generic/tclResult.c (TclTransferResult): Added safety checks so that unexpected undefined ::errorInfo or ::errorCode will not lead to a segfault. * generic/tclVar.c (CallVarTraces): Save/restore the flag * tests/var.test (var-16.1): values that define part of the interpreter state during variable traces. [Bug 10381021].
* * tests/subst.test (12.2): test correction.Miguel Sofer2004-09-302-2/+6
|
* fix for buffer overflow in [subst], [Bug 1036649]Miguel Sofer2004-09-293-2/+35
|
* * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-232-2/+13
| | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
* Some tests were non-portable, alas.dkf2004-09-191-2/+2
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-183-8/+93
|
* * tests/load.test (load-2.3): adopted fix for failure on darwindas2004-09-142-3/+9
| | | | from HEAD.
* * generic/tclObj.c (Tcl_GetIntFromObj): Corrected flaw in returningdgp2004-09-142-2/+7
| | | | the int value of a wideInteger. [Bug 1027690]
* Minor mods to latest commit to correct bugs and compiler warnings ondgp2004-09-101-7/+9
| | | | TCL_WIDE_INT_IS_LONG platforms.
* One less crazy long/wide aunt in the attic... [Bug 868489]dkf2004-09-103-25/+220
|
* Fix [Bug 1025359] to make sure wide seeks don't lose errorsdkf2004-09-102-5/+10
|
* * generic/tcl.h: Micro formatting fixes.andreas_kupries2004-09-103-6/+12
| | | | | * generic/tclIOGT.c: Channel version fixed, must be 3, to have wideseekProc. Thanks to David Graveraux <davygrvy@pobox.com>.
* * generic/tclNamespace.c (TclGetNamespaceForQualName): Resolveddgp2004-09-102-12/+18
| | | | | | | | | longstanding inconsistency in the treatment of the TCL_NAMESPACE_ONLY flag revealed by testing the 2004-09-09 commits against Itcl. TCL_NAMESPACE_ONLY now acts as specified in the pre-function comment, forcing resolution in the passed in context namespace. It has been incorrectly forcing resolution in the interp's current namespace.
* * generic/tclExecute.c (INST_CONCAT1): added a peepholeMiguel Sofer2004-09-102-1/+22
| | | | | | optimisation for concatting an empty string. This enables replacing the idiom 'K $x [set x {}]' by '$x[set x {}]' for fastest execution.
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-093-22/+74
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-093-46/+199
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-083-5/+22
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-072-14/+11
| | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167]
* Clarify meaning of [lsearch -dictionary]dkf2004-09-022-3/+10
|
* * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),hobbs2004-09-012-3/+13
| | | | until we have it, just return unknown. [Bug 1020445]
* WIN64 correctionshobbs2004-09-012-9/+17
|
* Fix crash in [string map] when objects are shared. [Bug 1018562]dkf2004-08-303-6/+31
|
* * tests/env.test: macosx fixes.das2004-08-262-3/+7
|
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-193-12/+15
| | | | 1011860]
* date correctiondgp2004-08-161-1/+1
|
* fix for [Bug 1008314]Miguel Sofer2004-08-165-12/+88
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-134-7/+35
| | | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.3
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-102-2/+10
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalizedgp2004-07-302-24/+30
| | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956]
* * unix/configure:das2004-07-304-5/+14
| | | | | | * 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.
* * generic/tclMain.c (Tcl_Main, StdinProc): Append newline onlydgp2004-07-283-6/+14
| | | | | | * tests/basic.test (basic-46.1): to incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150]
* (io-61.1): create file in binary mode for x-platcore_8_4_7hobbs2004-07-262-1/+4
|
* note 8.4.7 tag datehobbs2004-07-262-13/+14
|
* * generic/tclThreadAlloc.c: Moved the tclInt.h include to providepatthoyts2004-07-252-4/+9
| | | | Tcl_Panic which is now required for non-threaded build.
* A couple of trivial edits to the changes - added credits for bugKevin B Kenny2004-07-231-3/+4
| | | | reports and fixed a typo in one date.
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-233-855/+19
| | | | * tests/io.test: file of test data as needed.
* minor fixes to 8.4.7 changeshobbs2004-07-231-13/+18
|
* * win/tclWinDde.c: Bump to dde 1.2.3 to cover changesdgp2004-07-234-6/+87
| | | | | | * library/dde/pkgIndex.tcl: committed on 2004-06-14. * changes: Updated for Tcl 8.4.7 release.
* typo/format fixesdgp2004-07-221-4/+5
|
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-216-23/+137
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-205-258/+279
| | | | | | | | recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
* * macosx/tclMacOSXBundle.c: dynamically acquire address fordas2004-07-202-2/+26
| | | | | CFBundleOpenBundleResourceMap symbol, since it is only present in full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-195-2608/+2654
| | | | | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Consolidate header checks to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for gcc builds (need to suppress 3.x type puning warnings). (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core. Reorder configure.in for better 64-bit build configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
* Redefined MASTER_LOCK to call TclpMasterLock for the sake of Tcl APIvasiljevic2004-07-192-4/+11
| | | | users never creating interpreters.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in theandreas_kupries2004-07-162-3/+7
| | | | | generation of error messages and simplified by reusing data in a variable instead of retrieving the string again. Fixes [Tcl SF Bug 835289].