summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a minor lsearch example fault. [Bug 968219]dkf2004-06-072-10/+14
|
* Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-075-9505/+9505
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-0512-9503/+9806
| | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
* * generic/tcl.h: Restored #include <stdio.h> to tcl.h,dgp2004-06-042-1/+19
| | | | | | rejecting the "fix" for "Bug" 945570. Tcl_FSSeek() needs the values of SEEK_SET, etc. and too many extensions rely on tcl.h providing stdio.h for them.
* * win/tclWinFile.c (TclpFindExecutable): when usinghobbs2004-06-022-4/+12
| | | | | GetModuleFileNameA (Win9x), convert from CP_ACP to WCHAR then convert back to utf8. Adjunct to 2004-04-07 fix.
* no messagedavygrvy2004-06-021-0/+7
|
* * tests/winPipe.c (winpipe-6.1): blocking set to 1 before closing to ensuredavygrvy2004-06-021-1/+2
| | | | | we get an exitcode. The windows pipe channel driver doesn't differentiate between a blocking and non-blocking close just yet, but will soon.
* Removed language that encouraged abuse. [package] is for packages.dgp2004-06-021-4/+2
|
* documentation bugvincentdarley2004-06-022-3/+9
|
* no messagedavygrvy2004-06-011-11/+6
|
* * generic/tclIO.c (Tcl_SetChannelOption): Took out the rangedavygrvy2004-06-011-9/+1
| | | | | | | verification on -buffersize so original behavior for silently ignoring bad settings is returned. The only difference now is the behavior difference between atoi and Tcl_GetInt which gains the ability to error for 'not a number' and can understand hexidecimal.
* reverted back to 1.8davygrvy2004-06-011-3/+3
|
* reverted back to 1.53davygrvy2004-06-011-7/+7
|
* no messagedavygrvy2004-06-011-0/+7
|
* * tests/io.test:davygrvy2004-06-012-10/+10
| | | | | | | * tests/iogt.test: Tests cases that set invalid -buffersize settings on channels either wrapped in a catch or modified to a valid range. The assertion results were not modified to show that the behavior of Tcl_SetChannelBufferSize is unchanged.
* no messagedavygrvy2004-06-011-0/+10
|
* * generic/tclIO.c (Tcl_SetChannelOption): Invalid settingsdavygrvy2004-06-011-3/+14
| | | | | | for -buffersize weren't being reported as errors and were blindly ignored. Now reports conversion errors to an int and checks ranges for validity. atoi() swapped for Tcl_GetInt().
* * win/makefile.vc: check for either MSDEVDIR or MSVCDIR being indavygrvy2004-06-011-2/+2
| | | | the environment, for VC7. [Bug 942214]
* no messagedavygrvy2004-05-301-0/+10
|
* * win/tclWinPipe.c:davygrvy2004-05-302-46/+70
| | | | | | | | | * win/tclWinPort.h: Reworked the win implementation of Tcl_WaitPid to support exitcodes in the 'signed short' range. Even though this range is non-portable, it is valid on windows. Detection of exception codes are now more accurate. Previously, an application that exited with ExitProcess((DWORD)-1); was improperly reported as exiting with SIGABRT.
* Added examplesdkf2004-05-301-4/+29
|
* Shrank the spacing slightlydkf2004-05-301-6/+0
|
* Addex exampledkf2004-05-301-5/+42
|
* Added example and cleaned up a few bits of documentation.dkf2004-05-301-9/+24
|
* Added exampledkf2004-05-301-1/+15
|
* Regendkf2004-05-301-0/+34
|
* Limits documentation and style improvementsdkf2004-05-306-47/+712
| | | | Added C docs, cleaned up C code, added note on behaviour of limited master interps
* Fix minor markup errors.jenglish2004-05-294-14/+17
|
* Added note to cover the ongoing example-adding activitydkf2004-05-281-0/+4
|
* Added exampledkf2004-05-282-2/+31
|
* Added exampledkf2004-05-282-2/+29
|
* Added exampledkf2004-05-282-3/+51
|
* Added examplesdkf2004-05-281-1/+29
|
* Added example inspired by TIP#65dkf2004-05-281-1/+20
|
* Added example, cross-references, and a note that {expand} is usually adkf2004-05-281-2/+31
| | | | better choice!
* Added examplesdkf2004-05-281-1/+24
|
* Added example (based on TIP)dkf2004-05-271-1/+30
|
* Added examplesdkf2004-05-271-1/+38
|
* Added examplesdkf2004-05-271-1/+34
|
* better (?) #ifdeferry for the last fixMiguel Sofer2004-05-272-2/+12
|
* * generic/tclExecute.c:Miguel Sofer2004-05-273-7/+15
| | | | | * generic/tclVar.c: using (ptrdiff_t) instead of (int) casting to correct compiler warnings [Bug 961657], reported by Bob Techentin.
* Added example.dkf2004-05-271-1/+12
|
* * tests/clock.test: Commented clock-9.1 that the test will fail Kevin B Kenny2004-05-271-1/+6
| | | | if strftime doesn't do %s.
* * tests/clock.test: Added a single test for the presence of %G Kevin B Kenny2004-05-272-50/+64
| | | | | | in [clock format], and conditioned out the clock-10.x series if they're all going to fail because of a broken strftime() call. [Bug 961714]
* Added exampledkf2004-05-272-2/+31
|
* Test name was thoroughly misleadingdkf2004-05-271-2/+2
|
* Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.dkf2004-05-2710-33/+71
| | | | Also added support for [FRQ 951168] but left that switched off by default.
* * unix/Makefile.in: Rework configure ordering to TCL_LINK_LIBS,hobbs2004-05-266-3196/+3140
| | | | | | | | | | | | * unix/tcl.m4: ENABLE_SHARED, CONFIG_CFLAGS, & ENABLE_SYMBOLS * unix/configure: before TCL_EARLY_FLAGS and TCL_64BIT_FLAGS * unix/configure.in: (about 400 lines earlier) in configure.in. This forces CFLAGS configuration to be done before many tests, which is needed for 64-bit builds and may affect other builds. Also make CONFIG_CFLAGS append to CFLAGS directly instead of using EXTRA_CFLAGS, and have LDFLAGS append to any existing value. [Bug #874058] * unix/dltest/Makefile.in: change EXTRA_CFLAGS to DEFS
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-263-8/+14
| | | | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected * tests/tcltest.test: double increment of numTestFiles in -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1 behavior. Corrected tcltest-25.3 to not falsely report a failure in tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-264-25/+30
| | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated * tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior. Bumped to tcltest 2.2.6.