summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make things build (cleanly) on Win32. Thanks to Joe Mistachkin. [Patch 1980861]dkf2008-05-316-13/+45
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-3131-22/+13866
|
* Small clarifications that code a bit nicer to read.dkf2008-05-308-222/+206
|
* Fixed line endingspatthoyts2008-05-271-18/+18
|
* (io-53.9): need to close chan before removing filehobbs2008-05-262-1/+6
|
* Missed one!dkf2008-05-262-11/+3
|
* Remove obsolete winhelp targets. They weren't supported and didn't work.dkf2008-05-263-105/+16
|
* Oops. Undo commit of the local tweaks.andreas_kupries2008-05-234-23/+9
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-239-30/+59
| | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* * generic/tclNamesp.c (Tcl_LogCommandInfo): Restored ability todgp2008-05-222-1/+10
| | | | | handle the argument value length = -1. Thanks to Chris Darroch for discovering the bug and providing the fix. [Bug 1968245].
* * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-213-5/+20
| | | | | | | * tests/parse.test (parse-15.60): routine has no mechanism to return the "incomplete" status of "\\\n" so calling this routine anywhere that can be reached within a Tcl_ParseCommand() call is a mistake. In particular, ParseComment() must not use it. [Bug 1968882].
* Correct logic for handling error cases when setting the namespace unknown ↵dkf2008-05-203-52/+76
| | | | handler.
* * generic/tclCompile.c: fix crash with tcl_traceExec. Found andMiguel Sofer2008-05-162-2/+7
| | | | fixed by Alexander Pasadyn [Bug 1964803].
* We should use the thread allocator for threaded builds. Added 'tclalloc' ↵patthoyts2008-05-154-8/+19
| | | | option to disable.
* * tools/tsdPerf.c A loadable Tcl extension for testing TSDgeorgeps2008-05-093-0/+93
| | | | | | | performance. * tools/tsdPerf.tcl A simplistic tool that uses the thread extension and tsdPerf.so to get some performance metrics by, simulating, simple TSD contention.
* * generic/tcl.h: Make Tcl_ThreadDataKey a void *.georgeps2008-05-097-460/+284
| | | | | | | | | | | | | | | | | * generic/tclInt.h: Change around some function names and add some new per-platform declarations for thread-specific data functions. * generic/tclThread.c: Make use of of the new function names that no longer have a Tclp prefix. * generic/tclThreadStorage.c: Replace the core thread-specific data (TSD) mechanism with an array offset solution that eliminates the hash tables, and only uses one slot of native TSD. Many thanks to Kevin B. Kenny for his help with this. * unix/tclUnixThrd.c: Add platform-specific TSD functions for use by tclThreadStorage.c. * win/tclWinThrd.c: Add platform-specific TSD functions for use by tclThreadStorage.c.
* * tests/dict.test (dict-19.2): Corrected a bug whereKevin B Kenny2008-05-091-1/+1
| | | | | | the test was changed to use [apply] instead of a temporary proc, but the cleanup script still attempted to delete the temporary proc.
* * Makefile:Kevin B Kenny2008-05-092-2/+9
| | | | | | | | | | | | | | | | | | Restored compilability of 'stitcher.exe' on vc2k5. * cameraparams.h: * compressor.cpp: * imageDirectory.h: * stitchEngine.h: * stitcher.cpp: Added computation of Brenner gradient and median of several images to allow for computation of white balance on the fly. Replaced a lot of 'unsigned' quantities with 'int' to avoid surprises on overflow. Turned the images to run in X-major order again. This requires a 64-bit machine for the larger images, but is considerably more cache-friendly, and reduces stitch times of the smaller images by nearly half.
* Cleaning updkf2008-05-071-380/+369
|
* Simplify testdkf2008-05-071-8/+3
|
* Return type of Tcl_AppendPrintfToObj is void. (spotted by Torsten Berg)patthoyts2008-05-071-2/+2
|
* Detect problem case and prove that it's fixed.dkf2008-05-071-1/+9
|
* Fix off-by-one error that caused crashes. D'oh!dkf2008-05-072-2/+9
|
* fix Makefile dependencydas2008-05-061-2/+2
|
* CONST -> constnijtmans2008-05-042-3/+3
|
* use Tcl_Panic() instead of panic()das2008-05-031-3/+3
|
* Converted the [binary] command into an ensemble.patthoyts2008-05-025-160/+244
|
* Reverted dkf's accidental commit of the TIP 316 APIs as part of a code cleanuppatthoyts2008-05-022-108/+5
|
* Record tclvfs basepatthoyts2008-05-021-1/+3
|
* More elimination of pre-C89-isms.dkf2008-05-0213-574/+653
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-275-27/+27
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-2775-1308/+1330
|
* Added a htmlhelp target to replace winhelppatthoyts2008-04-271-6/+58
|
* Also, panic early if we find out the wrong thread attemptingvasiljevic2008-04-272-2/+14
| | | | | to delete the async handler (common trap). As, only the one that created the handler is allowed to delete it.
* generic/tclAsync.c: Tcl_AsyncDelete(): panic if attemptvasiljevic2008-04-262-18/+32
| | | | | to locate handler token fails. Happens when some other thread attempts to delete somebody else's token.
* remove ioUtil.test, llvm-gcc fixdas2008-04-251-5/+2
|
* fix warningdas2008-04-251-2/+1
|
* define DLLEXPORT as __attribute__ ((visibility("default"))) for gcc >= 4.0.nijtmans2008-04-241-16/+17
| | | | | This allows extensions to be compiled with -fvisiblity=hidden and still all symbols decorated with EXPORT. See: <http://gcc.gnu.org/wiki/Visibility>
* * tests/ioCmd.test: Extended testsuite for reflected channelandreas_kupries2008-04-243-49/+523
| | | | | | | | | | implementation. Added test cases about how it handles if the rug is pulled out from under a channel (= killing threads, interpreters containing the tcl command for a channel, and channel sitting in a different interpreter/thread.) * generic/tclIORChan.c: Fixed the bugs exposed by the new testcases, redone most of the cleanup and exit handling.
* Assorted improvements to make better use of tcltest2dkf2008-04-236-385/+417
|
* * generic/tclIOUtil.c: Removed all code delimited bydgp2008-04-215-1361/+34
| | | | | | | | | * generic/tclTest.c: USE_OBSOLETE_FS_HOOKS, completing * tests/ioCmd.test: the deprecation path for these * tests/ioUtil.test (removed): obsolete interfaces. (Code was active in Tcl 8.4, present but enabled only by customized compile switch in Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests relevant only to the removed interfaces.
* doc/Ensemble.3: Fix a typo: s/defiend/defined/georgeps2008-04-202-2/+8
| | | | Thanks to hat0 for spotting this.
* note that cygwin is not supportedmdejong2008-04-191-1/+4
|
* Fix typo spotted by Steve Havelkadkf2008-04-181-2/+2
|
* * generic/tclInt.h: make stubs tables 'static const' anddas2008-04-167-25/+39
| | | | | | | | * generic/tclStubInit.c: export only module-scope pointers to * generic/tclStubLib.c: the main stubs tables (for package * tools/genStubs.tcl: initialization). [Patch 1938497] * generic/tclBasic.c (Tcl_CreateInterp): * generic/tclTomMathInterface.c (TclTommath_Init):
* * generic/tclInt.h: revise Tcl_SetNotifier() to use adas2008-04-167-988/+1014
| | | | | | | | * generic/tclNotify.c: module-scope hooks table instead of * generic/tclStubInit.c: runtime stubs-table modification; * macosx/tclMacOSXNotify.c: ensure all hookable notifier functions * win/tclWinNotify.c: check for hooks; remove hook checks in * unix/tclUnixNotfy.c: notifier API callers. [Patch 1938497]
* * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-154-8/+98
| | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, * chanio.test (chan-io-53.8a): to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
* sync with Tcl.xcodeprojdas2008-04-151-2/+15
|
* * unix/Makefile.in: adjust tclDTrace.h dependencies for removaldas2008-04-152-2/+8
| | | | of tclStubLib.o from TCL_OBJS. [Bug 1942795]
* * tests/clock.test (clock-33.5, clock-33.5a, clock-33.8, clock-33.8a):Kevin B Kenny2008-04-142-1/+12
| | | | | Added comments to the test that it can fail on a heavily loaded system.