summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* credit updatedgp2003-09-081-1/+1
|
* one more bit of TIP 137 documentation...dgp2003-09-051-1/+2
|
* * doc/FileSystem.3: Implementation ofdgp2003-09-051-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * doc/SplitList.3: Implementation of TIP 148. Fixes [Bug 489537].dgp2003-09-041-0/+11
| | | | | | | | | | * generic/tcl.h: Updated Tcl_ConvertCountedElement() to quote * generic/tclUtil.c: the leading "#" character of all list elements unless the TCL_DONT_QUOTE_HASH flag is passed in. * generic/tclDictObj.c: Updated Tcl_ConvertCountedElement() callers * generic/tclListObj.c: to pass in the TCL_DONT_QUOTE_HASH flags * generic/tclResult.c: when appropriate.
* * doc/return.n: Updated [return] docs to cover new TIP 90 features.dgp2003-09-021-0/+7
| | | | | * doc/break.n: Added SEE ALSO references to return.n * doc/continue.n:
* Documentation of TIP#139 API functions.dkf2003-08-311-0/+5
|
* Updated [catch] docs to cover new TIP 90 features.dgp2003-08-311-0/+4
|
* Whitespace police.dkf2003-08-301-4/+4
|
* * generic/tclCmdAH.c: Corrected bug in TIP 90 implementationdgp2003-08-291-0/+7
| | | | | | * tests/cmdMZ.test: where the default -errorcode NONE value was not copied into the return options dictionary. This correction modified one test result.
* no messagedavygrvy2003-08-271-2/+3
|
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-2/+4
| | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
* no messagedavygrvy2003-08-271-0/+14
|
* no messagedavygrvy2003-08-271-0/+3
|
* no messagedavygrvy2003-08-271-0/+4
|
* no messagedavygrvy2003-08-271-0/+7
|
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-271-0/+5
| | | | bugs discussed in [Bug 411825].
* no messagedavygrvy2003-08-271-1/+3
|
* no messagedavygrvy2003-08-261-0/+6
|
* Minor improvement to stubs generation to allow for harmless transfer ofdkf2003-08-251-0/+4
| | | | functions between stubs tables by just copying them about.
* Duplicated declarations for TIP#139; docs still to do.dkf2003-08-251-0/+10
|
* Applied fixes from 8.4.4 tree regarding the Bug #753315.vasiljevic2003-08-231-0/+11
| | | | Also, fixed the Bug #788780.
* * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax errorpatthoyts2003-08-191-0/+5
| | | | created in the previous code cleanup.
* Style guide policedkf2003-08-191-0/+5
|
* * win/configure: Regen.mdejong2003-08-181-0/+6
| | | | | * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does not work. [Bug 781109]
* Fixup ChangeLog entry.mdejong2003-08-181-4/+4
|
* Bug fix 789040chengyemao2003-08-151-0/+7
|
* TIP#136 IMPLEMENTATION. We now have an [lrepeat] command!dkf2003-08-111-0/+10
|
* * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus.hobbs2003-08-061-0/+4
|
* * library/msgcat/msgcat.tcl: Added escape so that non-Windowsdgp2003-08-061-0/+7
| | | | | | * library/msgcat/pkgIndex.tcl: platforms do not try to use the registry package. This can save a costly and pointless package search. Bumped to 1.3.1. Thanks to "imdave1". [Bug 781609].
* * generic/tclexecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):Miguel Sofer2003-08-051-0/+9
| | | | | | | | added a Tcl_ResetResult(interp) at each point where the interp's result is pushed onto the stack, to avoid keeping an extra reference that may cause costly Tcl_Obj duplication [Bug 781585] Detected by Franco Violi, analyzed by Peter Spjuth and Donal Fellows.
* documentation fix, bug 775220vincentdarley2003-07-281-0/+6
|
* * generic/tcl.h: Revert change made on 2003-07-21mdejong2003-07-241-0/+16
| | | | | | | | | | | | | | | since it made the sizeof(Tcl_Obj) different for regular vs mem debug builds. * generic/tclInt.h: Define TclDecrRefCount in terms of Tcl_DbDecrRefCount which removes one layer of inderection. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount, Tcl_DbIsShared): Define ThreadSpecificData that contains a hashtable. The table is used to ensure that a Tcl_Obj is only acted upon in the thread that allocated it. This checking code is enabled only when mem debug and threads are enabled.
* * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-241-0/+11
| | | | | | | | | | * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting.
* * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-241-0/+3
| | | | * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
* Split off ChangeLog.2002rmax2003-07-241-4863/+7
|
* * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-0/+1
| | | | * library/reg/pkgIndex.tcl:
* * unix/Makefile.in: changes to html-tcl & html-tkdas2003-07-231-0/+3
| | | | targets for compatibility with non-gnu makes.
* * unix/Makefile.in: added macosx/README to dist target.das2003-07-231-0/+4
|
* * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-221-0/+5
| | | | registry set command to fail when built with VC7.
* Check that the thread incrementing or decrementingmdejong2003-07-221-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the ref count of a Tcl_Obj is the thread that originally allocated the thread. This fail fast behavior will catch programming errors that allow a single Tcl_Obj to be accessed from multiple threads. * generic/tcl.h (Tcl_Obj): Add allocThread member to Tcl_Obj. This member records the thread id the Tcl_Obj was allocated. It is used to check that any future ref count incr or decr is done from the same thread that allocated the Tcl_Obj. This member is defined only when threads and mem debug are enabled. * generic/tclInt.h (TclNewObj, TclDbNewObj, TclDecrRefCount): Define TclNewObj and TclDbNewObj using TclDbInitNewObj when mem debug is enabled. This fixes a problem where TclNewObj calls did not work the same as TclDbNewObj when mem debug was enabled. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj members when mem debug is enabled. Init the allocThread member in TclDbInitNewObj and check it in Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure a Tcl_Obj allocated in one thread is not being acted upon in another thread.
* test suite on afs fixvincentdarley2003-07-211-0/+5
|
* * macosx/Makefile: added option to allow installing manpagesdas2003-07-191-0/+5
| | | | in addition to default html help.
* Tightened up Tcl_Utf{Next,Prev} docs. [Bug 769895]dkf2003-07-181-0/+5
|
* * doc/tcltest.n: Restored the [Eval] proc to replacedgp2003-07-181-12/+21
| | | | | | | | | | * library/tcltest/tcltest.tcl: the [::puts] command when either the -output or -error option for [test] is in use, in order to capture data written to the output or error channels for comparison against what is expected. This is easier to document and agrees better with most user expectations than the previous attempt to replace [puts] only in the caller's namespace. Documentation made more precise on the subject. [Bug 706359]
* * library/http/pkgIndex.tcl: upped to http v2.4.4hobbs2003-07-181-0/+6
| | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* * doc/AddErrInfo.3: Improved consistency of documentationdgp2003-07-181-0/+13
| | | | | | | | | | | | | | * doc/CrtTrace.3: by using "null" everywhere to refer to * doc/Encoding.3: the character '\0', and using "NULL" * doc/Eval.3: everywhere to refer to the value of a * doc/GetIndex.3: pointer that points to nowhere. * doc/Hash.3: Also dropped references to ASCII that * doc/LinkVar.3: are no longer true, and standardized on * doc/Macintosh.3: the hyphenated spelling of "null-terminated". * doc/OpenFileChnl.3: * doc/SetVar.3: * doc/StringObj.3: * doc/Utf.3:
* * doc/CrtSlave.3 (Tcl_MakeSafe): Removed warning about possibledgp2003-07-181-0/+5
| | | | deprecation (no TIP on that).
* * unix/tclUnixFCmd.c: fix for compilation errors on platforms wheredas2003-07-181-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure detects non-functional chflags(). [Bug 748946] * macosx/Makefile: Rewrote buildsystem for Mac OS X framework build to be purely make driven; in order to become independent of Apple's closed-source IDE and build tool. The changes are intended to be transparent to the Makefile user, all existing make targets and cmd line variable overrides should continue to work. Changed build to only include tcl specific html help in Tcl.framework, the tk specific html help is now included in Tk.framework. Added var to allow overriding of tclsh used during html help building (Landon Fuller). * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to the make driven buildsystem; Tcl.framework is no longer assembled by ProjectBuilder. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed). * tools/tcltk-man2html.tcl: Added options to allow building only the tcl or tk html help files; the default behaviour with none of the new options is to build both, as before. * unix/Makefile.in: Added targets for building only the tcl or tk help. * macosx/README (new): Tcl specific excerpts of tk/macosx/README. * generic/tcl.h: Updated reminder comment about editing macosx/Tcl.pbproj/project.pbxproj when version number changes.
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-0/+9
| | | | | | | | | * generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
* * library/safe.tcl (FileInAccessPath): normalize paths beforehobbs2003-07-161-0/+3
| | | | comparison. [Bug 759607] (myers)