summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TIP #221 IMPLEMENTATIONdgp2004-11-1317-228/+527
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define [::tcl::Bgerror] in new interps. * generic/tclEvent.c: Update Tcl_BackgroundError to make use of the registered [interp bgerror] command. * generic/tclInterp.c: New [interp bgerror] subcommand. * tests/interp.test: syntax tests updated. TIP #226 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Save|Restore|Discard)InterpState * generic/tcl.h: New public opaque type, Tcl_InterpState. * generic/tclInt.h: Drop old private declarations. Add Tcl(Get|Set)BgErrorHandler * generic/tclResult.c: Tcl_*InterpState implementations. * generic/tclDictObj.c: Update callers. * generic/tclIOGT.c: * generic/tclTrace.c: TIP #227 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Get|Set)ReturnOptions. * generic/tclInt.h: Drop old private declarations. * generic/tclResult.c: Tcl_*ReturnOptions implementations. * generic/tclCmdAH.c: Update callers. * generic/tclMain.c:
* * generic/tclEncoding.c (TableFromUtfProc): correct crashhobbs2004-11-122-2/+18
| | | | condition when TCL_UTF_MAX == 6. [Bug 1004065]
* Documentation for TIP#221dkf2004-11-123-5/+48
|
* * unix/tclAppInit.c: Removed tclConfig.h #include, now that tcl.hdgp2004-11-122-8/+4
| | | | takes care of it for us.
* ChangeLog reformat.dgp2004-11-122-18/+7
| | | | Now that tcl.h takes care of tclConfig.h, tclPort.h no longer should.
* * generic/tcl.h:das2004-11-125-15/+28
| | | | | | | | | | * generic/tclInt.h: * unix/Makefile.in: include tclConfig.h from tcl.h and install it as a public header. Normalized compiler include path order to -I${BUILD_DIR} -I${UNIX_DIR} -I${GENERIC_DIR}. * unix/dltest/Makefile.in: add ${BUILD_DIR}/.. to include path to pick up tclConfig.h.
* * unix/Makefile.in: Be sure -I{BUILD_DIR} comes first so thatdgp2004-11-123-4/+13
| | | | | | | we #include the correct tclConfig.h file for the correct build. * generic/tclPort.h: Make sure tclConfig.h is #include'd so that its configuration values can guide portability support.
* * generic/tclInt.h: Moved verification of ptrdiff_t typedef fromdgp2004-11-124-15/+14
| | | | | * generic/tclExecute.c: multiple .c files into one common header where * generic/tclVar.c: it is verifiably after tclConfig.h inclusion.
* * unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define afterdas2004-11-122-4/+9
| | | | #include "tclInt.h" to ensure tclConfig.h has been included.
* UNIX_DIR, and SRC_DIR are always the same, so no need to -I them both.rmax2004-11-121-4/+4
|
* tclConfig.h.in also depends on tcl.m4.rmax2004-11-121-2/+2
|
* *** empty log message ***rmax2004-11-121-0/+12
|
* * unix/config.h.in:rmax2004-11-126-18/+21
| | | | | | | | | | | * unix/tclConfig.h.in: renamed * unix/Makefile.in: Completed support for config header, * unix/configure.in: fixed building outside of the unix dir, * unix/tclAppinit.c: and reflected the name change of config.h. * generic/tclInt.h: * unix/configure: generated
* Adapt Tcl so it uses a config.h header instead of stuffing all #defs on thedkf2004-11-128-224/+972
| | | | | command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project.
* Regendkf2004-11-121-990/+2451
|
* * unix/tcl.m4, unix/tclUnixPort.h: Check for pthread_attr_get_npdkf2004-11-123-11/+38
| | | | | in <pthread.h> before forcing the use of <pthread_np.h> to make things work on NetBSD 2.0. [Bug 1064882]
* More minor doc fixes for greater claritydkf2004-11-123-106/+113
|
* * doc/CrtChannel.3:das2004-11-129-26/+42
| | | | | | | | | | | | * doc/Interp.3: * doc/Limit.3: * doc/binary.n: * doc/dict.n: * doc/tm.n: * doc/upvar.n: fixed *roff errors uncovered by running 'make html'. * tools/tcltk-man2html.tcl: added faked support for bullet point lists, i.e. *nroff ".IP \(bu" syntax.
* * tests/fCmd.test:das2004-11-111-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337] * generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243] * generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243] * tests/fileName.test: * tests/fileSystem.test: * tests/io.test: * tests/msgcat.test: * tests/tcltest.test: * tests/unixInit.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir. * macosx/Makefile: corrected path to html help inside framework. Prevent parallel make from building several targets at the same time. * macosx/tclMacOSXFCmd.c (struct fileinfobuf): force struct to be packed to prevent failures when builing with -malign=natural.
* * generic/tclListObj.c (Tcl_ListObjReplace): use memmove() insteaddas2004-11-112-17/+12
| | | | | | | | | | | of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243] * generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243]
* * macosx/Makefile: corrected path to html help inside framework.das2004-11-112-4/+6
| | | | | | | | Prevent parallel make from building several targets at the same time. * macosx/tclMacOSXFCmd.c (struct fileinfobuf): force struct to be packed to prevent failures when builing with -malign=natural.
* * tests/fileName.test:das2004-11-116-13/+15
| | | | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/msgcat.test: * tests/tcltest.test: * tests/unixInit.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
* * tests/fCmd.test:das2004-11-112-34/+60
| | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
* * unix/tclUnixChan.c: [Bug 727786]. Exterminated the code markedandreas_kupries2004-11-102-104/+10
| | | | | DEPRECATED. This code has not been used in over a year now, and we have no complaints.
* Janitorial whitespace/style fixes.dkf2004-11-091-1423/+1455
|
* Minor formatting changes and clarificationsdkf2004-11-091-6/+5
|
* no messagedavygrvy2004-11-091-1/+2
|
* * doc/open.n: Added a note about -blocking 0 and lack of exit status as it haddavygrvy2004-11-091-2/+3
| | | | never been documented.
* no messagedavygrvy2004-11-091-0/+14
|
* * win/tclWinPipe.c: The pipe channel driver now respects the -blocking optiondavygrvy2004-11-091-47/+72
| | | | | | | | | | when closing is the same way the UNIX side works. This is avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. [Bug 947693]
* * tests/winFile.test: Attempted and untested fix for 1062491davygrvy2004-11-081-7/+7
|
* no messagedavygrvy2004-11-071-0/+5
|
* * tests/winFile.test: added contraint to winFile-4.0 to prevent it being run ↵davygrvy2004-11-071-2/+8
| | | | on NT4
* Major simplification of reg.test to de-Spencer it somewhat.dkf2004-11-052-744/+678
| | | | It's still cryptic, but perhaps not quite so bad now. :^)
* Add [file normalize] so expected paths come out right on Windows. [Bug 1053568]dkf2004-11-052-1/+8
|
* * changes: Updates toward an 8.5a2 release.dgp2004-11-042-1/+129
|
* niggly test suite fixesdgp2004-11-041-2/+2
|
* remove knownBugs from clock tests by fixing themKevin B Kenny2004-11-033-12/+38
|
* niggly test suite fixesdgp2004-11-031-2/+2
|
* test cleanup correctiondgp2004-11-031-3/+6
|
* no messagedavygrvy2004-11-031-0/+3
|
* * generic/tclCompile.h: Removed extrainious reset ofdavygrvy2004-11-031-4/+1
| | | | TCL_STORAGE_CLASS missed in last edit.
* * generic/tcl.h: Moved the preprocessor logicdavygrvy2004-11-031-4/+1
| | | | | | | | | | | * generic/tclDecls.h: from tclInt.h of setting the * generic/tclInt.h: TCL_STORAGE_CLASS macro to the * generic/tclIntDecls.h: tcl*Decls.h files now that no * generic/tclIntPlatDecls.h: use of EXTERN is left in tclInt.h. * generic/tclPlatDecls.h: Proto for Tcl_Main moved in tcl.h * win/tclWinPort.h: to prior the inclusion of the Stubs headers as they are now resetting TCL_STORAGE_CLASS. Removed extrainious reset from tclWinPort.h. [Patch 1055668]
* * library/init.tcl ([unknown]): Corrections to the 2004-10-25 modsdgp2004-11-032-2/+10
| | | | | | | to Aunt ??? in [unknown]. Flaws revealed by Itcl test suite, which still apparently relies on this brokenness. Also added comment suggesting the error message that any code using this hack *ought* to receive in reply.
* * generic/tcl.h: Moved the preprocessor logicdavygrvy2004-11-036-29/+66
| | | | | | | | | | | * generic/tclDecls.h: from tclInt.h of setting the * generic/tclInt.h: TCL_STORAGE_CLASS macro to the * generic/tclIntDecls.h: tcl*Decls.h files now that no * generic/tclIntPlatDecls.h: use of EXTERN is left in tclInt.h. * generic/tclPlatDecls.h: Proto for Tcl_Main moved in tcl.h * win/tclWinPort.h: to prior the inclusion of the Stubs headers as they are now resetting TCL_STORAGE_CLASS. Removed extrainious reset from tclWinPort.h. [Patch 1055668]
* no messagedavygrvy2004-11-031-0/+12
|
* no messagedavygrvy2004-11-031-0/+1
|
* * generic/tclTrace.c (TclCallVarTraces): Improved ability to debugdgp2004-11-036-23/+78
| | | | | | | * tests/incr-old.test (incr-old-2.6): errors during variable * tests/incr.test (incr-{1,2}.28): traces by preserving the * tests/set.test (set-{2,4}.4): -errorinfo data. * tests/trace.test (trace-33.1): [Bug 527164]
* * generic/tclRegexp.h: manipulating TCL_STORAGE_CLASS unnecessary.davygrvy2004-11-031-6/+1
|
* no messagedavygrvy2004-11-031-0/+1
|