summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Correcteddgp2003-04-114-13/+36
| | | | | | | | inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers.
* * generic/tclIO.c (UpdateInterest): When dropping interest inandreas_kupries2003-04-112-1/+52
| | | | | | | TCL_READABLE now dropping interest in TCL_EXCEPTION too. This fixes a bug where Expect detects eof on a file prematurely on solaris 2.6 and higher. A much more complete explanation is in the code itself (40 lines of comments for a one-line change :)
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-1118-2195/+2923
|
* Fixed formatting problem (thanks Emacs... not!) that madedkf2003-04-101-3/+2
| | | | tools/tcltk-man2html.tcl barf. Thanks to George Petasis for reporting this.
* Another minor typodkf2003-04-101-2/+2
|
* Silly typo fix. [Bug 718543]dkf2003-04-102-2/+6
|
* Use correct test for the empty string in Tcl_ErrorObjCmddkf2003-04-082-2/+9
|
* * generic/tclCompCmds.c (TclCompileIfCmd): Corrected string limits ofdgp2003-04-072-4/+7
| | | | arguments interpolated in error messages. [Bug 711371]
* * generic/tclCmdMZ.c (TraceExecutionProc): Added missingdgp2003-04-072-2/+9
| | | | Tcl_DiscardResult() call to avoid memory leak.
* Yet more warning killing, this time reported by Miguel Sofer by private chat.dkf2003-04-072-1/+4
|
* Stopped compilers from moaning about switch fall-through. [Bug 716327]dkf2003-04-072-1/+10
|
* Fixed bugs 715751 and 713562 so dict code should build everywhere and wide intsdkf2003-04-074-27/+64
| | | | be defined (though not necessarily useful) everywhere.
* Converted new files from DOS line endings to usual line endings.dgp2003-04-051-2519/+2519
|
* Final stage of getting dictionaries into the core. Test suite should work now!dkf2003-04-055-43/+17
|
* Regen.dkf2003-04-052-2/+110
|
* Build support for dicts on Unix and Windows, plus public API (structuredkf2003-04-057-8/+76
| | | | declaration and stubs entries.)
* The bulk of the TIP#111 implementation. Still need to finish plumbing thisdkf2003-04-055-0/+3638
| | | | into the rest of the core, but that won't take long...
* * unix/configure:mdejong2003-04-043-2/+20
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already set to support use of TCL_LIBS var from tclConfig.sh in the Tk configure script.
* * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-036-33/+39
| | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.
* * generic/tclCompCmds.c (TclCompileReturnCmd): Now that [return]dgp2003-04-032-9/+6
| | | | compiles to INST_RETURN, it is safe to compile even outside a proc.
* * win/configure: Regen.mdejong2003-04-034-3/+23
| | | | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like LIBSUFFIX, it is used when creating library names. The previous implementation would generate -ltclstub85 instead of -ltclstub85s when configured with --disable-shared.
* * generic/tclParse.c (TclSubstTokens): Moved declaration ofdgp2003-04-022-2/+9
| | | | | | utfCharBytes to beginning of procedure so that it does not go out of scope (get free()d) while append is still pointing to it. [Bugs 703167, 713754]
* * unix/configure: Regen.mdejong2003-04-023-71/+79
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
* * tests/README: Direct [source] of *.test files is no longerdgp2003-04-012-21/+44
| | | | | recommended. The tests/*.test files should only be evaluated under the control of the [runAllTests] command in tests/all.tcl.
* Added further coverage tests.dgp2003-04-012-1/+42
|
* * generic/tclExecute.c (INST_RETURN): Bytecompiled [return] faileddgp2003-04-013-3/+13
| | | | | | to reset iPtr->returnCode, causing tests parse-18.17 and parse-18.21 to fail strangely. * tests/parse.test (parse-18.21): Corrected now functioning test.
* * tests/parse.test (parse-18.*): Coverage tests for the newdgp2003-03-312-1/+74
| | | | | implementation of Tcl_SubstObj(). Note that tests parse-18.17 and parse-18.21 demonstrate some bugs left to fix in the current code.
* * unix/configure: Regen.mdejong2003-03-283-4/+13
| | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
* Altered test numers to eliminate duplicates, [Bugs 710313, 710320, 710352]Miguel Sofer2003-03-274-46/+53
|
* More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-275-27/+22
|
* Eliminated duplicate test numbers [Bugs 710322, 710327, 710349, 710363]dkf2003-03-2710-149/+94
|
* * unix/configure: Regen.mdejong2003-03-273-0/+96
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
* update docs for latest changedgp2003-03-262-6/+4
|
* * library/tcltest/tcltest.tcl: Added reporting duringdgp2003-03-263-3/+17
| | | | | | | | [configure -debug 1] operations to warn about multiple uses of the same test name. [FR 576693] * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356]
* * unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to passdgp2003-03-267-15/+21
| | | | | argument exact = 0, so that rebuilds are not required when Tcl bumps to a new version. [Bug 701926]
* typo fixes in ARGUMENTSdgp2003-03-261-3/+3
|
* * generic/tclVar.c:Miguel Sofer2003-03-243-19/+60
| | | | | * tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the created local variable, bugs #631741 and #696893.
* * library/dde/pkgIndex.tcl: bumped version to 1.2.2 in tclWinDde.c,patthoyts2003-03-242-2/+7
| | | | now adding here too.
* Added quoting around the script name in the 'test' target; Joe Kevin B Kenny2003-03-232-3/+7
| | | | | Mistachkin insists that he has a configuration that fails to launch tcltest without it, and it appears harmless otherwise.
* Fixed a bug where [package require dde] or [package require registry] Kevin B Kenny2003-03-233-2/+10
| | | | | attempted to load the release version of the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin for the patch.
* * win/tclWinDde.c: Make dde services conform the the documentationpatthoyts2003-03-223-48/+182
| | | | | | | | | such that giving only a topic name really returns all services with that topic. [Bug 219155] Prevent hangup caused by dde server applications failing to process messages [Bug 707822] * tests/winDde.test: Corrected labels and added a test for search by topic name.
* * generic/tclInt.h (tclOriginalNotifier):dgp2003-03-216-13/+55
| | | | | | | | | | | | | | | * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
* * generic/tclInt.h: Removed definition of ParseValue struct thatdgp2003-03-202-32/+6
| | | | is no longer used.
* Stopped some GCC possibly-uninit-variable warnings.dkf2003-03-201-3/+3
|
* * generic/tclCompile.c:Miguel Sofer2003-03-193-3/+26
| | | | | * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE [Bug 705406] (Don Porter).
* * library/auto.tcl: Replaced [regexp] and [regsub] withdgp2003-03-1914-53/+62
| | | | | | | | | | | | | | | * library/history.tcl: [string map] where possible. Thanks * library/ldAout.tcl: to David Welton. [Bugs 667456,667558] * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and * library/http/http.tcl: tcltest 2.2.3. * library/http/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: * library/tcltest/tcltest.tcl: * library/tcltest/pkgIndex.tcl: * tools/genStubs.tcl: * tools/tcltk-man2html.tcl: * unix/mkLinks.tcl:
* * doc/Eval.3 (Tcl_EvalObjEx): Corrected CONST anddgp2003-03-193-8/+14
| | | | | * doc/ParseCmd.3 (Tcl_EvalTokensStandard): return type errors in documentation. [Bug 683994]
* * generic/tclCompCmds.c (TclCompileReturnCmd): Alternative fix fordgp2003-03-196-27/+24
| | | | | | | * generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new * generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to * generic/tclExecute.c (INST_RETURN): properly bytecode the [return] command to something that returns TCL_RETURN.
* revised latest registry test commitdgp2003-03-191-10/+4
|
* * win/configure: Regen.mdejong2003-03-193-92/+69
| | | | | | | | | * win/configure.in: Don't run the AC_CYGWIN macro since it uses AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ is defined by the compiler and set the ac_cv_cygwin variable based on that. [Bug 705912]