summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.h:Miguel Sofer2004-05-062-52/+46
| | | | | | | | | * generic/tclObj.c (TclFreeObj): made TclFreeObj use the new macro TclFreeObjMacro(), so that the allocation and freeing of Tcl_Obj is defined in a single spot (the macros in tclInt.h), with the exception of the TCL_MEM_DEBUG case. The #ifdef logic for the corresponding macros has been reformulated to make it clearer.
* (TclFinalizeEncodingSubsystem): FreeEncoding(systemEncoding); moved todavygrvy2004-05-051-2/+2
| | | | | before the hash table itereation as it was causing a double free attempt under some conditions.
* * generic/tclAlloc.c: Make sure Tclp*Alloc* routines getdgp2004-05-043-7/+7
| | | | | * generic/tclInt.h: declared in the TCL_MEM_DEBUG and * generic/tclThreadAlloc.c: TCL_THREADS configuration. [Bug 947564]
* Remove accidental check-in of TIP#143 code. D'oh!dkf2004-05-041-7/+1
|
* Suppress a signed-ness warning.dkf2004-05-041-4/+9
|
* * generic/tclProc.c (TclCreateProc): comments corrected.Miguel Sofer2004-05-041-22/+12
|
* slight improvement to last commitMiguel Sofer2004-05-041-7/+7
|
* * generic/tclCompile.c (TclCompileScript): setting the compilationMiguel Sofer2004-05-041-7/+7
| | | | namespace outside of the loop.
* * generic/tclCompile.c:Miguel Sofer2004-05-032-23/+26
| | | | | | * generic/tclInt.h: reverted fix for [Bug 926445] of 2004-04-02, restoring TCL_ALIGN to the header file. Todd Helfter reported that the macro is required by tbcload.
* * generic/tclProc.c (TclObjInvokeProc):Miguel Sofer2004-05-021-4/+22
| | | | | * tests/proc.test (proc-3.6): fix for bad quoting of multi-word proc names in error messages [Bug 942757]
* * generic/tclInt.h: Replaced Kevin Kenny's temporarydgp2004-04-302-10/+5
| | | | | * generic/tclThreadAlloc.c: fix for Bug 945447 with a cleaner, more permanent replacement.
* * generic/tclThreadAlloc.c: Added a temporary (or so I hope!) Kevin B Kenny2004-04-301-2/+4
| | | | | inclusion of "tclWinInt.h" to avoid problems when compiling on Win32-VC++ with --enable-threads. [Bug 945447]
* * doc/global.n:Miguel Sofer2004-04-281-1/+25
| | | | | | | | * doc/upvar.n: * generic/tclVar.c (ObjMakeUpvar): * tests/upvar.test (upvar-8.11): * tests/var.test (var-3.11): Avoid creation of unusable variables: [Bug 600812] [TIP 184].
* * generic/tcl.h: Removed obsolete declarations and #include's.dgp2004-04-252-9/+2
| | | | * generic/tclInt.h: [Bugs 926459, 926486]
* * generic/tclPort.h:das2004-04-241-3/+3
| | | | | | | | | * macosx/Makefile: * unix/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tclPort.h to allow installation of private headers outside of tcl source tree; added 'unix' dir to compiler header search path; add newly required tcl private headers to Tcl.framework on Mac OSX.
* * generic/tclIO.c (Tcl_SetChannelOption): Fixed [SF Tcl Bugandreas_kupries2004-04-231-1/+10
| | | | | 930851]. When changing the eofchar we have to zap the related flags to prevent them from prematurely aborting the next read.
* fix to two filesystem bugs: more consistent file separator proc and correct ↵vincentdarley2004-04-232-6/+21
| | | | Tcl_FSJoinPath return values
* * generic/tclInt.h:davygrvy2004-04-233-7/+8
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
* TclSetLibraryPath's use of caching the stringrep of the pathPtr object todavygrvy2004-04-231-3/+15
| | | | | TclGetLibraryPath called from another thread was ineffective if the original's stringrep had been invalidated as what happens when it gets muted to a list.
* Added FreeEncoding(systemEncoding) in TclFinalizeEncodingSubsystemdavygrvy2004-04-201-1/+2
| | | | because its ref count was incremented in TclInitEncodingSubsystem.
* Corrected "short circuit" conversion of int to double. Reported by Kevin B Kenny2004-04-191-1/+2
| | | | Jeff Hobbs on the Tcl'ers Chat.
* Fix minor fault in [clock clicks] error message.dkf2004-04-151-2/+2
|
* * win/tclWinInit.c (TclpSetInitialEncodings): note that WIN32_CEhobbs2004-04-072-25/+39
| | | | | | | | | | is also a unicode platform. * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * generic/tclInt.h: Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the * win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from paths that contain multi-byte chars on Windows [Bug 920667]
* fix to comment (bug 931148)vincentdarley2004-04-071-4/+4
|
* Patch 922727 committed. Implements three changes:dgp2004-04-061-20/+0
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* Patch 922727 committed. Implements three changes:dgp2004-04-0647-109/+59
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* * generic/tclCompile.c:Miguel Sofer2004-04-022-21/+23
| | | | | * generic/tclInt.h: removed the macro TCL_ALIGN() from tclInt.h, replaced by the static macro ALIGN() in tclCompile.c [Bug 926445]
* * generic/tclCompile.h: removed redundant #ifdef _TCLINTMiguel Sofer2004-04-021-3/+1
| | | | [Bug 928415], reported by tauvan.
* * generic/tclInt.h: Removed obsolete tclBlockTime* declarations.dgp2004-04-011-3/+1
| | | | [Bug 926454]
* cross-filesystem boundary glob fixvincentdarley2004-04-011-2/+19
|
* Add comment for TCL_TOKEN_EXPAND_WORD flagdgp2004-03-311-1/+6
|
* More hash function cleaning up.dkf2004-03-302-10/+6
|
* Fixed object hashing bozo-ness. The code as it stood looked like adkf2004-03-301-22/+12
| | | | | cargo-cult hangover from the hashing code in tclHash.c, but this looks almost identical to that used for literals (which is fast.)
* * generic/tclExecute.c (TEBC): reverting to the previous methodMiguel Sofer2004-03-301-14/+36
| | | | | for async tests in TEBC, as the new method turned out to be too costly. Async tests now run every 64 instructions.
* * generic/tclCompile.c: New instruction code INST_START_CMDMiguel Sofer2004-03-303-37/+71
| | | | | | | | | * generic/tclCompile.h: that allows checking the bytecode's * generic/tclExecute.c: validity [Bug 729692] and the interp's * tests/interp.test (18.9): readyness [Bug 495830] before running * tests/proc.test (7.1): the command. It also changes the * tests/rename.test (6.1): mechanics of the async tests in TEBC, doing it now at command start instead of every 16 instructions.
* Corrected case: Filesystem.h -> FileSystem.hdgp2004-03-301-2/+2
|
* fix to glob with volume relative paths, bug 898238vincentdarley2004-03-302-5/+60
|
* fix to Tcl bug 918320vincentdarley2004-03-301-19/+25
|
* * generic/tclMain.c (Tcl_Main, StdinProc): Append newline only todgp2004-03-291-17/+17
| | | | | incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150]
* * generic/tclCompile.c (TclCompileScript): corrected possibleMiguel Sofer2004-03-291-3/+4
| | | | | segfault when a compilation returns TCL_OUTLINE_COMPILE after having grown the compile environment.
* * README: Bumped version number to 8.5a2 todgp2004-03-261-3/+3
| | | | | | | | | | | * tools/tcl.wse.in: distinguish HEAD of CVS development * unix/configure.in: from the recent 8.5a1 release. * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* fixed another volume-relative file normalization problemvincentdarley2004-03-261-4/+12
|
* fix to windows volume-relative path normalizationvincentdarley2004-03-261-5/+7
|
* Silly bug found originally by Damon Courtney. [922752]dkf2004-03-241-2/+2
|
* Added CONST to TclpGetTime declaration and `make genstubs`dgp2004-03-192-5/+6
|
* Made HEAD build on Windows VC++ again.Kevin B Kenny2004-03-193-4/+11
|
* Fix breakage by making tclIntDecls.h #inc tclPort.h, as recommended by DGP.dkf2004-03-191-1/+3
|
* * generic/tclNamesp.c: Added temporary pointer variables to workrmax2004-03-182-4/+10
| | | | | * generic/tclStubLib.c: around warnings related to * unix/tclUnixChan.c: strict aliasing with GCC 3.3.
* * generic/tclIntDecls.h: Removed TclpTime_t. It wasn't really needed,rmax2004-03-186-30/+23
| | | | | | | | | | * generic/tclInt.h: but caused warnings related to * generic/tclInt.decls: strict aliasing with GCC 3.3. * generic/tclClock.c: * generic/tclDate.c: * generic/tclGetDate.y: * win/tclWinTime.c: * unix/tclUnixTime.c:
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-1727-1554/+120
|