summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changed Win32 platform #define from 'WIN32' to '__WIN32__' as thisdavygrvy2003-08-271-4/+4
| | | | | is the correct one to use across the Tcl sources. Even though we do force it in tcl.h, the true parent one is __WIN32__.
* no messagedavygrvy2003-08-271-0/+7
|
* * compat/strftime.c (_fmt): Fixed syst array intializer thatdavygrvy2003-08-271-12/+11
| | | | | | couldn't take variables within it under the watcom compiler. I believe Borland has this strictness as well. VC++ must be non-standard about this.
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-273-22/+76
| | | | bugs discussed in [Bug 411825].
* no messagedavygrvy2003-08-271-1/+3
|
* Added some support for the OpenWatcom compiler. A win/makefile.wc todavygrvy2003-08-271-3/+6
| | | | follow soon.
* no messagedavygrvy2003-08-261-0/+6
|
* Added some support for the LCC-Win32 compiler. Unfortunetly, this compilerdavygrvy2003-08-261-2/+2
| | | | has a bug in its preprocessor and can't build Tcl even with this minor patch.
* better error control.davygrvy2003-08-251-15/+53
|
* Regendkf2003-08-254-4/+2221
|
* Minor improvement to stubs generation to allow for harmless transfer ofdkf2003-08-252-3/+8
| | | | functions between stubs tables by just copying them about.
* Regendkf2003-08-252-2/+117
|
* Duplicated declarations for TIP#139; docs still to do.dkf2003-08-252-3/+59
|
* Applied fixes from 8.4.4 tree regarding the Bug #753315.vasiljevic2003-08-231-0/+11
| | | | Also, fixed the Bug #788780.
* Applied changes from 8.4.4 regarding the Bug #753315vasiljevic2003-08-233-195/+251
|
* * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax errorpatthoyts2003-08-192-2/+7
| | | | created in the previous code cleanup.
* Style guide policedkf2003-08-192-1093/+1149
|
* * win/configure: Regen.mdejong2003-08-183-4/+10
| | | | | * 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
|
* Bug fix in BuildCommandLine: missing a space when linePtr is not nullchengyemao2003-08-151-2/+3
|
* TIP#136 IMPLEMENTATION. We now have an [lrepeat] command!dkf2003-08-117-9/+226
|
* * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus.hobbs2003-08-062-3/+14
|
* * library/msgcat/msgcat.tcl: Added escape so that non-Windowsdgp2003-08-063-5/+19
| | | | | | * 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-052-4/+39
| | | | | | | | 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-283-6/+26
|
* * generic/tcl.h: Revert change made on 2003-07-21mdejong2003-07-244-26/+128
| | | | | | | | | | | | | | | 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-248-12/+159
| | | | | | | | | | * 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-243-3/+14
| | | | * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
* Split off ChangeLog.2002rmax2003-07-242-4863/+4843
|
* * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-233-4/+5
| | | | * library/reg/pkgIndex.tcl:
* * unix/Makefile.in: changes to html-tcl & html-tkdas2003-07-232-5/+12
| | | | targets for compatibility with non-gnu makes.
* * unix/Makefile.in: added macosx/README to dist target.das2003-07-232-1/+6
|
* * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-222-2/+7
| | | | registry set command to fail when built with VC7.
* update fixes to changes from core-8-4-branchdgp2003-07-221-4/+4
|
* Check that the thread incrementing or decrementingmdejong2003-07-224-24/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Updated changes with entries up through 8.4.4 release.dgp2003-07-211-1/+124
|
* test suite on afs fixvincentdarley2003-07-212-3/+18
|
* * macosx/Makefile: added option to allow installing manpagesdas2003-07-192-6/+20
| | | | in addition to default html help.
* Tightened up Tcl_Utf{Next,Prev} docs. [Bug 769895]dkf2003-07-182-5/+13
|
* * doc/tcltest.n: Restored the [Eval] proc to replacedgp2003-07-183-35/+34
| | | | | | | | | | * 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-184-6/+20
| | | | | * 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-1813-39/+52
| | | | | | | | | | | | | | * 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-182-5/+9
| | | | deprecation (no TIP on that).
* * unix/tclUnixFCmd.c: fix for compilation errors on platforms wheredas2003-07-189-811/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-174-42/+59
| | | | | | | | | * 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-162-2/+13
| | | | comparison. [Bug 759607] (myers)
* * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of foundhobbs2003-07-162-2/+6
| | | | and word vars from int to long. [Bug 767578] (hgo)
* * generic/tcl.h: add recognition of -DTCL_UTF_MAX=6 on thehobbs2003-07-163-3/+36
| | | | | * generic/regcustom.h: make line to support UCS-4 mode. No config arg at this time, as it is not the recommended build mode.
* Tcl_MakeSafe is a nasty function; document it as such. [Bug 655300]dkf2003-07-162-5/+17
|