summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/tcltest/tcltest.tcl: When the return code of a test doesdgp2003-04-212-10/+17
| | | | | | not meet expectations, report that as the reason for test failure, and do not attempt to check the test result for correctness. [Bug 725253]
* corrected bogus commentsdgp2003-04-181-7/+2
|
* * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.hobbs2003-04-183-24/+41
| | | | | * win/tclWinInit.c: recognize Windows CE as a Win platform. This just recognizes CE - full support will come later.
* * generic/tclExecute.c (ExprCallMathFunc): remove incorrecthobbs2003-04-181-2/+2
| | | | extraneous cast from Tcl_WideAsDouble.
* * win/configure: regenhobbs2003-04-182-1/+11
| | | | | * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
* Moved serial line options to their creator, open.n, from the generic pagedkf2003-04-183-203/+185
| | | | fconfigure.n which was never an obvious spot for them. [Bug 679010]
* * generic/tcl.h Made changes so that the "wideInt" Tcl_ObjTypedgp2003-04-1612-285/+136
| | | | | | | | | | | | | | | | | | | | | | * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562] * generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file. * generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c:
* If you deal with network sockets, you should care about encodings. Tcl cannotdkf2003-04-162-2/+14
| | | | guess it for you. Updated socket docs to remind people about this. [Bug 630621]
* Math funcs might have to deal with wide ints; document this. [Bug 709720]dkf2003-04-162-7/+25
|
* Updated mkLinks for TIP 111 documentationdgp2003-04-161-0/+28
|
* removed undesired 'static'vincentdarley2003-04-162-2/+7
|
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-152-37/+39
|
* Added example section "SCOPED SCRIPTS", supplied by Kevin Kenny.jenglish2003-04-152-2/+30
| | | | (Fixes [Bug 219183])
* Updated makefile.vc to conform with Mo DeJong's changes to Makefile.in Kevin B Kenny2003-04-152-2/+9
| | | | | and tclWinPipe.c on 2003-04-14. Now passes TCL_PIPE_DLL in place of TCL_DBGX.
* remove duplicate function definitionvincentdarley2003-04-152-121/+6
|
* fixed compiler warningsdgp2003-04-151-0/+5
|
* Stopped compiler warnings about type casts.dgp2003-04-152-4/+4
|
* * win/Makefile.in: Don't define TCL_DBGXmdejong2003-04-153-15/+31
| | | | | | | | | | | | | | | symbol for every compile. Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This will break other build systems, so they will need to remove the TCL_DBGX define and replace it with a define for TCL_PIPE_DLL. * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build env instead of trying to construct the dll name from already defined symbols. This approach is more flexible and better in the long run.
* Added conditionals to make tclWinFile.c compile on VC++6, which Kevin B Kenny2003-04-142-1/+8
| | | | was broken by recent changes.
* vc++ 5.2 compile fixvincentdarley2003-04-142-1/+7
|
* shared filesystem functionvincentdarley2003-04-144-13/+19
|
* * win/configure: Regen.mdejong2003-04-145-8/+112
| | | | | | | | | | | | | | | | * win/configure.in: Add check for FINDEX_INFO_LEVELS from winbase.h, known to be a problem in VC++ 5.2. Define HAVE_NO_FINDEX_ENUMS if the define does not exist. * win/tclWinFile.c: Put declarations for FINDEX_INFO_LEVELS and FINDEX_SEARCH_OPS inside a check for HAVE_NO_FINDEX_ENUMS so that these are not declared twice. This fixes the Mingw build. * win/tclWinTime.c: Rework the init of timeInfo so that the number or initializers matches the declaration. This was broken under Mingw. Add cast to avoid compile warning when calling the AccumulateSample function.
* * win/Makefile.in (GENERIC_OBJS): add missing tclPathObj.chobbs2003-04-122-1/+6
|
* Implemented TIP #124 (clock clicks -microseconds and Tcl_WideInt Kevin B Kenny2003-04-127-206/+456
| | | | | | return values). Fixed Bug 710310 (duplicate test numbers in clock.test). Made major changes to tclWinTime.c and related code to improve loop filter stability.
* * 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.