summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Factor out constant that must be the same in multiple places. Prompted by adkf2012-05-255-17/+17
| | | conversation with Alexandre Ferrieux.
* fix genStubs.tcl for OSXjan.nijtmans2012-05-253-16/+16
|\
| * fix genStubs.tcljan.nijtmans2012-05-253-16/+16
| |\
* | \ Take cygwin handling of X11 into accountjan.nijtmans2012-05-243-4/+18
|\ \ \ | |/ / | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| * | Take cygwin handling of X11 into accountjan.nijtmans2012-05-244-26/+45
| |\ \ | | |/ | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| | * Take cygwin handling of X11 into accountjan.nijtmans2012-05-243-4/+20
| | | | | | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* | | Revert most of [3caedf05df], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-245-513/+307
|\ \ \ | |/ / | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| * | fix merge problem on Linuxjan.nijtmans2012-05-235-793/+383
| |\ \
| | * | MAC_OSX_TK -> MAC_OSX_TCLjan.nijtmans2012-05-223-16/+16
| | | |
| | * | Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-225-803/+393
| | |\ \ | |/ / / | | | _ | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| | * Revert most of [ae92de6078], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-225-509/+250
| | | | | | | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* | | minor: Cleaning up code, adding comments.dkf2012-05-241-118/+187
| | |
* | | * generic/tclZlib.c (ZlibTransformInput): [Bug 3525907]: Ensure thatdkf2012-05-232-63/+269
|\ \ \ | | | | | | | | | | | | | | | | decompressed input is flushed through the transform correctly when the input stream gets to the end. Thanks to Alexandre Ferrieux and Andreas Kupries for their work on this.
| * | | Use zero-delays instead of finite ones when posting fileevents, because (1) ↵bug_3525907ferrieux2012-05-222-16/+2
| | | | | | | | | | | | | | | | they should be zero in the first place (see UpdateInterest) and (2) ever-reposting cases will be detected with greater ease.
| * | | Brought bugfix branch uptodate with head development.andreask2012-05-175-40/+52
| |\ \ \
| * | | | Fix for bug 3525907. Reworked TransformInput() entirely, tightened use of ↵andreask2012-05-172-51/+257
| | | | | | | | | | | | | | | | | | | | timed events, and added code handling special situations like EAGAIN, parent eof, etc.
* | | | | 3528601 Fix broken --disable-threads build.dgp2012-05-221-0/+4
| | | | |
* | | | | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-212-3/+3
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk.
| * | | | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-212-3/+3
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk.
| | * | | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk.
* | | | | * generic/tclOOBasic.c (TclOO_Class_Constructor): [Bug 2023112]: Cutdkf2012-05-205-153/+174
| |_|_|/ |/| | | | | | | | | | | | | | | the amount of hackiness in class constructors, and refactor some of the error message handling from [oo::define] to be saner in the face of odd happenings.
* | | | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Correcteddkf2012-05-171-2/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct.
| * | | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Correcteddkf2012-05-171-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct.
* | | | [Bug 3445787]: Improve the compatibility of safe interpreters' version ofdkf2012-05-161-2/+40
| | | | | | | | | | | | 'file' with that of unsafe interpreters.
* | | | revert part of [8f9c16848b] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-153-36/+6
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| * | Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-153-46/+6
| |\ \ | | |/ | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| | * revert part of [9922ac54e8]: remove Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-143-44/+43
| | | | | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table, instead let cygwin make use of the win32 stub table
* | | Undone part of change [32d93a8414], keeping [chan postevent] synchronous for ↵andreask2012-05-091-16/+15
| | | | | | | | | | | | owner == handler.
* | | * generic/tclIORChan.c [Bug 3522560]: Fixed the crash, enabled theandreask2012-05-092-16/+160
| | | | | | | | | | | | | | | | | | | | | test case. Modified [chan postevent] to properly inject the event(s) into the owner thread's event queue for execution in the correct context. Renamed the ForwardOpTo...Thread() function to match with our terminology.
* | | Properly close nonblocking channels even when not flushing them.ferrieux2012-05-071-3/+3
| | |
* | | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-072-2/+2
|\ \ \ | |/ / | | | so it can be used for the Plat* interfaces as well
| * | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-072-12/+9
| |\ \ | | |/ | | | so it can be used for the Plat* interfaces as well
| | * move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h, jan.nijtmans2012-05-072-12/+9
| | | | | | | | | so it can be used for the Plat* interfaces as well
* | | don't try to run the cpuid test when cpuid is not availablejan.nijtmans2012-05-031-0/+6
|\ \ \ | |/ /
| * | don't try to run the cpuid test when cpuid is not availablejan.nijtmans2012-05-031-0/+6
| |\ \ | | |/
| | * don't try to run the cpuid test if cpuid is not availablejan.nijtmans2012-05-031-4/+6
| | |
* | | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-033-7/+60
|\ \ \ | |/ /
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-038-63/+67
| |\ \ | | |/
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-038-248/+109
| | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows
| | * move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-3/+1
| | |
* | | IMPLEMENTATION OF TIP#398 : Quickly Exit with Non-Blocking Blocked Channelsferrieux2012-04-281-7/+28
|\ \ \
| * | | Compat flag, test, and doc update.tip_398_implferrieux2012-04-281-3/+29
| | | |
| * | | merge trunkferrieux2012-04-2437-455/+478
| |\ \ \
| * \ \ \ merge trunkdkf2012-03-2812-597/+1596
| |\ \ \ \
| * \ \ \ \ merge trunk (fix OSX build error)jan.nijtmans2012-03-222-7/+1
| |\ \ \ \ \
| * | | | | | Take two. Don't forget to apply all patches, even when the phone rings in ↵ferrieux2012-03-221-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | between.
| * | | | | | Implement tip 398 : Quickly Exit with Non-Blocking Blocked Channels. This is ↵ferrieux2012-03-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | simply a revert of the (C part of the) 1025712d5b commit of 2011-08-17.
* | | | | | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-272-13/+1
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-272-12/+1
| | | | | | |
* | | | | | | get rid of _ANSI_ARGS_ and CONSTjan.nijtmans2012-04-264-19/+19
|\ \ \ \ \ \ \ | |/ / / / / /