summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclPreserve.c: In Result and Preserve'd routines, do nothobbs2003-07-163-21/+12
| | | | | * generic/tclUtil.c: assume that ckfree == free, as that is not * generic/tclResult.c: always true. [Bug 756791] (fuller)
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-162-3/+4
| | | | | | * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* Removed trivially-unreachable line [Bug 771939]dkf2003-07-161-2/+1
|
* * generic/tclCompCmds.c (TclCompileIfCmd): Prior fix of Bug 711371dgp2003-07-151-3/+6
| | | | on 2003-04-07 introduced a buffer overflow. Corrected. [Bug 771613]
* Fixed error message to be less confusing [Bug 771539]dkf2003-07-151-2/+2
|
* [string map] now can take dictionaries for maps but the condition for doing sodkf2003-07-041-18/+60
| | | | is deeply tricky. [Bug 759936]
* Made [array get] return a dictionary, and allowed [array set] to accept onedkf2003-07-031-30/+83
| | | | | without having to convert it to a list (though lists are still preferred.) [Bug 759935]
* Win compilation fixvincentdarley2003-07-021-2/+2
|
* Modified expression of tests and added comments for easier understandingdgp2003-06-271-7/+40
| | | | by future maintainers.
* More trace factoring - variable traces are the target this time.dkf2003-06-265-747/+780
|
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-253-2285/+2301
| | | | and tricky enough to discourage non-specialists...
* No more div-by-zero errors. [Bug 759749]dkf2003-06-241-2/+4
|
* filesystem fixes -- see ChangeLogvincentdarley2003-06-231-1/+9
|
* * generic/tclNamesp.c (Tcl_Export): removed erroneous commentsMiguel Sofer2003-06-181-4/+2
| | | | [Bug 756744]
* regsub empty string fixes, and windows buildvincentdarley2003-06-171-6/+16
|
* * generic/tclConfig.c (ASSOC_KEY): Changed the key toandreas_kupries2003-06-101-2/+2
| | | | | "tclPackageAboutDict" (tcl prefix) to make collisions with the keys of other packages more unlikely.
* fix for previous commitMiguel Sofer2003-06-101-1/+2
|
* * generic/tclBasic.c:Miguel Sofer2003-06-102-25/+19
| | | | | | | * generic/tclExecute.c: let TclExecuteObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-098-6/+530
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* * generic/tclObj.c (tclCmdNameType): Converted internal repdgp2003-05-231-8/+18
| | | | | | | | management of the cmdName Tcl_ObjType the opposite way, to always use the twoPtrValue instead of always using the otherValuePtr. Previous fix on 2003-05-12 broke several extensions that wanted to poke around with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend and e4graph. [Bug 726018]
* * compat/strftime.c: Modified TclpStrftime to return its Kevin B Kenny2003-05-181-15/+6
| | | | | | | | * generic/tclClock.c: result in UTF-8 encoding, and removed * mac/tclMacTime.c: the conversion from system encoding to * unix/tclUnixTime.c: UTF-8 from [clock format]. Needed to * win/tclWinTime.c: avoid double conversion of the timezone name on Windows systems. [Bug 624408]
* Fixed Tcl bug 736425Kevin B Kenny2003-05-152-4/+168
|
* Stopped [format] from demoting wides to ints too easily. [Bug 699060]dkf2003-05-141-3/+14
|
* Implementation of TIP 118:das2003-05-144-14/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* Another putenv() copy behavior problem repaired when compiling on windowsdavygrvy2003-05-141-1/+6
| | | | and using microsoft's runtime. [Bug 736421]
* * generic/tclIOUtil.c: ensure cd is thread-safe.hobbs2003-05-131-69/+103
| | | | [Bug #710642] (vasiljevic)
* Removed unused variable to reduce compiler warnings. [Bug 664745]dkf2003-05-131-3/+7
|
* fix for [Bug 732477]Joe Mistachkin2003-05-132-5/+5
|
* * generic/tcl.decls:das2003-05-133-3/+23
| | | | | | | | | | | | | | | | | | | | | * macosx/tclMacOSXBundle.c: added extended version of the Tcl_MacOSXOpenBundleResources() API taking an extra version number argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to be able to access bundle resources in versioned frameworks such as Tcl and Tk, otherwise if multiple versions were installed, only the latest version's resources could be accessed. [Bug 736774] * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned bundle resource API to get tcl runtime library for TCL_VERSION. [Bug 736774] * generic/tclPlatDecls.h: * generic/tclStubInit.c: regen. * unix/tclUnixPort.h: worked around the issue of realpath() not being thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on Mac OS X. [Bug 711232]
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-2/+8
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is nodgp2003-05-121-4/+3
| | | | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed). * tests/cmdMZ.test: Forgot to import [temporaryDirectory].
* * generic/tclObj.c (tclCmdNameType): Corrected variable use of thedgp2003-05-121-7/+4
| | | | | otherValuePtr or the twoPtrValue.ptr1 fields to store a (ResolvedCmdName *) as the internal rep. [Bug 726018].
* * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,Miguel Sofer2003-05-121-1/+13
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* * generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeathobbs2003-05-101-1/+10
| | | | crash when overflow sizes were given (throws error). [Bug #714106]
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-951/+952
|
* fix for [Bug 731754]Joe Mistachkin2003-05-091-955/+951
|
* fixing previous patchMiguel Sofer2003-05-091-5/+5
|
* fix for [Bug 735055]Miguel Sofer2003-05-091-1/+3
|
* The array of strings passed to Tcl_GetIndexFromObj must be NULL terminated.dkf2003-05-091-2/+2
|
* stop compiler warnings about unused variablesdgp2003-05-081-3/+1
|
* Made error message for [trace info] more consistent with documentation.dkf2003-05-071-3/+25
|
* Fixed memory leak caused by confusion about string ownership. [Bug 731706]dkf2003-05-071-3/+5
|
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-058-114/+323
| | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0.
* Corrected error message for grammar and spelling.dkf2003-05-051-3/+3
|
* corrected comment about the default matching mode for [switch].dgp2003-05-011-3/+4
|
* suppress compiler warning about uninitialized variables.dgp2003-04-291-7/+4
|
* Stopped warning about uninitialised variables in DictIncrCmddkf2003-04-291-26/+21
| | | | Thanks to Andreas Kupries for reporting this.
* Made [incr] able to accept and work with wide increments [Bug 728838]dkf2003-04-288-299/+557
|
* Default mode of operation of [switch] is exact matching. [Bug 727563]dkf2003-04-281-2/+2
|
* * generic/tclBasic.c: Tcl_EvalObjv() failed to honor thedgp2003-04-251-4/+8
| | | | | | TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx passed a string rep including leading whitespace and comments to TclEvalObjvInternal().