summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.5dgp2012-06-222-38/+12
|\
| * FilesystemRecord structs no longer need refcounting.dgp2012-06-222-35/+11
| |
* | merge 8.5dgp2012-06-221-2/+11
|\ \ | |/
| * Revise the order of memory free, so that bugs that attempt to access freeddgp2012-06-221-2/+11
| | | | | | memory are more likely to segfault and not remain hidden.
* | merge 8.5dgp2012-06-213-75/+26
|\ \ | |/
| * Stop storing FilesystemRecord in the intrep of a "path". We never use it.dgp2012-06-213-73/+26
| | | | | | Store the Tcl_Filesystem instead, which is what we actually need.
* | Only record the filesystemEpoch when it actually marks the validity ofdgp2012-06-212-8/+17
| | | | | | something we are caching.
* | merge 8.5dgp2012-06-203-56/+16
|\ \ | |/
| * Purge more dead fs path code.dgp2012-06-203-22/+7
| |\
| | * Purge more dead fs path code.dgp2012-06-201-17/+7
| | |
| * | Remove dead code that complicates fs path values but adds no value.dgp2012-06-203-35/+10
| |\ \ | | |/
| | * ...and one more line.dgp2012-06-201-1/+0
| | |
| | * Remove dead code that complicates fs path values but adds no value.dgp2012-06-201-31/+10
| | |
| | * On Cygwin, use win32 API in stead of uname() to determine the tcl_platform ↵jan.nijtmans2012-06-062-5/+5
| | | | | | | | | | | | variables
* | | Next draft fix. This one appears to solve the problem, at least as demo'ddgp2012-06-181-46/+40
| | | | | | | | | by the test attached to Tcl Bug 3024359.
* | | More work in progress.dgp2012-06-131-38/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with release of the elements of a fileSystemList by one routine while some other (caller) routine is still traversing that list is not dependent on threaded operations. An unthreaded build can still encounter the problem. Revised so that threaded/unthreaded operations are much closer to the same (no direct TCL_THREADS dependency). Also simplified the epoch checking which reduces locking to when it's needed. Still have the problem of returning as valid FilesystemRecords that are pulled from an outdated epoch.
* | | Convert function calls to macros.dgp2012-06-121-21/+31
| | |
* | | First draft patch to fix Bug 3024359. No reliable test yet.dgp2012-06-112-10/+91
|/ /
* | Revised so that we avoid hashing twice.bug_3532959dgp2012-06-111-6/+4
| |
* | 3532959 Arrange for every lambda to place an entry in the linePBodyPtr hash ↵dgp2012-06-102-13/+19
| | | | | | | | | | | | | | table. Then the two teardowns of data in that table synchronize so that the first to run signals the other not to operate. Test proc-7.4 in a mem debug build of Tcl will detect Bug 3532959 by crashing.
* | Work in progress fixing 3532959dgp2012-06-082-2/+3
| |
* | Remove unused variable mantDIGIT.dgp2012-06-051-3/+0
| |
* | fix genStubs.tcljan.nijtmans2012-05-253-16/+16
|\ \ | |/
* | 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
* | 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
* | 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/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.
* | 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
* | 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 if cpuid is not availablejan.nijtmans2012-05-031-4/+6
| |
* | 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
| |
* | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-272-12/+1
| |
* | get rid of _ANSI_ARGS_jan.nijtmans2012-04-262-37/+37
|\ \ | |/
| * compiler warningjan.nijtmans2012-04-261-1/+1
| |
* | compiler warningjan.nijtmans2012-04-261-1/+1
| |
* | fix Linux build ;-(jan.nijtmans2012-04-261-0/+3
| |
* | fix crash on Mac OSXjan.nijtmans2012-04-261-3/+0
| |
* | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-244-91/+324
|\ \ | |/ | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-244-51/+183
| |\ | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * oops, wrong signaturejan.nijtmans2012-04-241-1/+1
| | |