summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tests/basic.test: Updated functional (not testing) uses ofdgp2004-11-186-50/+109
| | | | | | | | * tests/io.test: [bgerror] to make use of [interp bgerror]. * tests/socket.test: * tests/timer.test: * generic/tclInterp.c: Corrected [interp bgerror] error message.
* port changes updates from 8-4 branchdgp2004-11-181-1/+5
|
* some seds don't support comments :(rmax2004-11-181-8/+21
|
* generated configure and fixed manpage installatonrmax2004-11-184-29/+69
|
* 2004-11-18 Reinhard Max <max@suse.de>rmax2004-11-187-2114/+122
| | | | | | | | | | * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix. * unix/installManPage: added * unix/mkLinks.tcl: removed * unix/mkLinks: removed
* * unix/configure.in: The change below reveals that the publicdgp2004-11-176-250/+70
| | | | | | | | | | | | | | data type Tcl_StatBuf relies on config information. For now, disabled the use of the tclConfig.h file until its full impact on Tcl's interface can be assessed. * unix/configure: autoconf-2.57 * generic/tcl.h: Moved the #include "tclConfig.h" out of * generic/tclInt.h: tcl.h. The config settings are not part of * generic/tclPort.: the public interface, and having it there breaks compiled against uninstalled Tcl and extensions using autoconf-2.5*.
* * unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuringhobbs2004-11-172-10/+15
| | | | -ttycontrol on a channel. [Bug 1067708]
* * generic/tclIOUtil.c (TclFSEpochOk): There were two code pathsdgp2004-11-172-8/+10
| | | | | | | via which the thread copy of filesystemEpoch could be synched with the master copy, but only one kept the filesystem list cache up to date. Fix routes everything through a single code path. [Bug 1035775].
* Stop architecture flags to 'ld' from going missing when [load] is disabled.dkf2004-11-162-6/+16
|
* * generic/tcl.h:das2004-11-164-2351/+1016
| | | | | | * unix/configure.in: changed HAVE_CONFIG_H to HAVE_TCL_CONFIG_H. * unix/configure: autoconf-2.57
* more changes for 8.5a2dgp2004-11-151-2/+21
|
* * generic/tclInt.h: Added comment warning that the olddgp2004-11-154-90/+62
| | | | | | | | | | ERR_IN_PROGRESS and ERROR_CODE_SET flag values should not be re-used for the sake of those extensions that have accessed them. * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
* Added listing of shell-specific variables to general tclvars page [Patch ↵dkf2004-11-152-2/+34
| | | | 1065732]
* 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
|