summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* See file...vasiljevic2004-07-131-0/+6
|
* Fixed broken build on Windows caused by missing TCL_THREAD_CREATE_RETURNvasiljevic2004-07-131-1/+3
| | | | | in NewThreadProc(). This is backported from head. Thnx to Kevin Kenny for spotting this.
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-033-40/+59
| | | | Hemang Lavana.
* see changeshobbs2004-07-021-0/+7
|
* * generic/tclPipe.c (TclCreatePipeline): Add 2>@1 as a specialhobbs2004-07-022-16/+41
| | | | * tests/exec.test: case redir of stderr to the result output.
* * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
|
* backport of recent fs fixes from cvs headvincentdarley2004-07-024-18/+141
|
* Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-292-2/+11
|
* Corrected Tcl Bug #770053vasiljevic2004-06-227-20/+128
|
* * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-214-42/+239
| | | | | | | | | | | | | | | TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
* Fixed dde -async test.patthoyts2004-06-152-2/+4
|
* * win/tclWinDde.c: Backported the fix from 8.5 to avoid hanging inpatthoyts2004-06-142-41/+164
| | | | the presence of applications that dont process Window messages.
* * generic/tclDecls.h: Regenerated on a unix box.andreas_kupries2004-06-106-7236/+7244
| | | | | | | * generic/tclIntDecls.h: The Win/DOS EOLs from the * generic/tclIntPlatDecls.h: last regen screwed up compilation * generic/tclPlatDecls.h: with an older gcc. * generic/tclStubInit.c:
* Partialy fixed Bug #932314vasiljevic2004-06-101-6/+14
|
* Partially corrected [Bug 932314].vasiljevic2004-06-101-0/+7
|
* silence compiler warningdgp2004-06-081-2/+2
|
* Silence compiler warningsdgp2004-06-083-7/+6
|
* * generic/tclCompile.c: handle warning [Bug 969066]Miguel Sofer2004-06-082-2/+10
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-13/+16
| | | | | | | | | | | | | | | | | | | | 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: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-0512-7235/+7532
| | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a 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]
* * tests/clock.test: Commented clock-9.1 that the test will fail Kevin B Kenny2004-05-271-2/+8
| | | | if strftime doesn't do %s. Modernized the use of test constraints.
* * 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]
* * generic/tclEncoding.c:rmax2004-05-273-6/+154
| | | | | | * tests/encoding.test: added support and tests for translating embedded null characters between real nullbytes and the internal representation on input/output (Bug #949905).
* * 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.
* * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-255-24/+91
| | | | | | | | | * library/http/http.tcl: that specifies encoding conversion of * library/http/pkgIndex.tcl: args for http::formatQuery. Previously * tests/http.test: undefined, RFC 2718 says it should be utf-8. 'http::config -urlencoding {}' returns previous behavior, which will throw errors processing non-latin-1 chars. Bumped http package to 2.5.0.
* * tests/winFCmd.test: Correct test for the presence of a CD-ROM so Kevin B Kenny2004-05-252-13/+11
| | | | | | that it doesn't misdetect some other sort of filesystem with a write-protected root as being a CD-ROM drive. [Bug 918267]
* * generic/tclExecute.c (VerifyExprObjType): use GET_WIDE_OR_INT tohobbs2004-05-252-2/+10
| | | | | | properly have tclIntType used for smaller values. This corrects TclX bug 896727 and any other 3rd party extension that created math functions but was not yet WIDE_INT aware in them.
* * doc/set.n: accurate description of name resolution process,Miguel Sofer2004-05-242-15/+18
| | | | referring to namespace.n for details [Bug 959180]
* * generic/tclVar.c (TclObjUnsetVar2): backported fix [Bug 735335]Miguel Sofer2004-05-222-9/+35
| | | | | | | | and new (in tcl8.4) exteriorisations of [Bug 736729] due to the use of tclNsVarNameType obj types. The consequences of [Bug 736729] should be the same as in tcl8.3 and previous versions. The use of tclNsVarNameType objs is still disabled, pending a decision by the release manager.
* Backport of bizarre error-loss bug found by KBK and myself.dkf2004-05-192-3/+14
|
* Removed one bogus clearance of the has-more flag. Erroneously keptandreas_kupries2004-05-191-3/+1
| | | | after shifting the code.
* * tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem asandreas_kupries2004-05-193-7/+122
| | | | | | | | | | | | | * tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry 2001-09-26. The fix done at that time is incomplete. It is possible to get around it if the actual read operation is defered and not executed in the event handler itself. Instead of tracking if we are in an read caused by a synthesized fileevent we now track if the OS has delivered a true event = actual data and bypass the driver if a read finds that there is no actual data waiting. The flag is cleared by a short or full read.
* * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-05-184-23/+241
| | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944]
* commit genstubs generated files with unix line endingsdgp2004-05-175-7227/+7227
|
* * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-1710-7260/+7272
| | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
* Docbug. [Bug 953374]dkf2004-05-172-2/+7
|
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-1411-161/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* no messagedavygrvy2004-05-101-0/+3
|
* (TclpCreateProcess): When under NT, with no console, and executing adavygrvy2004-05-101-2/+2
| | | | | DOS application, the path priming does not need an ending space as BuildCommandLine() will do this for us.
* no messagedavygrvy2004-05-101-0/+5
|
* (BuildCommandLine): Append a space when the path got primed.davygrvy2004-05-101-4/+6
|
* * doc/unset.n: added upvar.n to the "see also" listMiguel Sofer2004-05-072-2/+6
|
* (TclSetLibraryPath): Suppress a warning [from DKF]davygrvy2004-05-061-3/+3
|
* no messagedavygrvy2004-05-061-0/+43
|
* * generic/tclEncoding.c: Added FreeEncoding(systemEncoding) indavygrvy2004-05-061-1/+2
| | | | | TclFinalizeEncodingSubsystem because its ref count was incremented in TclInitEncodingSubsystem.
* * win/tclWin32Dll.c: Structured Exception Handling added arounddavygrvy2004-05-061-3/+82
| | | | | | | | | | | | Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be 100% assured that Tcl is being unloaded by the OS in a stable condition and we need to protect the exit handlers should the stack be in a hosed state. AT&T style assembly for SEH under MinGW included, too. [Patch 858493] Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH case. We're not interested in knowing about DLL_THREAD_ATTACH, so disable the notices.
* * win/tclWinSock.c:davygrvy2004-05-061-4/+9
| | | | | | | | | | | (SocketThreadExitHandler): Don't call TerminateThread when WaitForSingleObject returns a timeout. Tcl_Finalize called from DllMain will pause all threads. Trust that the thread will get the close notice at a later time if it does ever wake up before being cleaned up by the system anyway. (SocketEventProc) : connect errors should fire both the readable and writable handlers because this is how it works on UNIX [Bug 794839]
* * win/coffbase.txt: Added the tls extension to the list ofdavygrvy2004-05-061-1/+3
| | | | preferred load addresses.
* * generic/tclInt.h:davygrvy2004-05-064-10/+72
| | | | | | | | | * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.