summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* We should use the thread allocator for threaded builds. Added 'tclalloc' ↵patthoyts2008-05-151-0/+5
| | | | option to disable.
* * tools/tsdPerf.c A loadable Tcl extension for testing TSDgeorgeps2008-05-091-0/+8
| | | | | | | 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-091-0/+18
| | | | | | | | | | | | | | | | | * 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.
* * Makefile:Kevin B Kenny2008-05-091-0/+7
| | | | | | | | | | | | | | | | | | 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.
* Fix off-by-one error that caused crashes. D'oh!dkf2008-05-071-0/+7
|
* Converted the [binary] command into an ensemble.patthoyts2008-05-021-0/+5
|
* Reverted dkf's accidental commit of the TIP 316 APIs as part of a code cleanuppatthoyts2008-05-021-0/+4
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-18/+26
|
* Also, panic early if we find out the wrong thread attemptingvasiljevic2008-04-271-0/+4
| | | | | 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-261-0/+6
| | | | | to locate handler token fails. Happens when some other thread attempts to delete somebody else's token.
* * tests/ioCmd.test: Extended testsuite for reflected channelandreas_kupries2008-04-241-0/+11
| | | | | | | | | | 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.
* * generic/tclIOUtil.c: Removed all code delimited bydgp2008-04-211-1/+10
| | | | | | | | | * 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-201-0/+6
| | | | Thanks to hat0 for spotting this.
* * generic/tclInt.h: make stubs tables 'static const' anddas2008-04-161-0/+7
| | | | | | | | * 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-161-3/+12
| | | | | | | | * 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-151-0/+8
| | | | | | | * 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.
* * unix/Makefile.in: adjust tclDTrace.h dependencies for removaldas2008-04-151-0/+6
| | | | 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-141-0/+3
| | | | | Added comments to the test that it can fail on a heavily loaded system.
* * unix/tclUnixTime.c (NativeGetTime): Removed obsolete use ofKevin B Kenny2008-04-141-0/+5
| | | | 'struct timezone' in the call to 'gettimeofday'. [Bug 1942197].
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-101-0/+13
| | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added * tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
* Test improvements (tcltest2, clarify)dkf2008-04-101-0/+4
|
* Added 'make html' support for people on Windows, inspired by Pat Thoyts.dkf2008-04-091-76/+76
|
* * tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,andreas_kupries2008-04-091-0/+6
| | | | | * tests/io.test (io-52.5): does not seem to have any bearing, and was an illegal value.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -sizeandreas_kupries2008-04-091-0/+9
| | | | | | | | * tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative values, and values overflowing 32-bit signed. [Bug 1557855]. Basic patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with modifications from me to separate overflow from true negative value. Extended testsuite.
* * tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting fordas2008-04-081-10/+13
| | | | * tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
* * generic/tclExecute.c: added comments to the alignment macrosMiguel Sofer2008-04-081-0/+5
| | | | used in GrowEvaluationStack() and friends.
* * tools/genStubs.tcl: revert erroneous 2008-04-02 change markingdas2008-04-081-16/+27
| | | | *StubsPtr as EXTERN instead of extern.
* * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-071-0/+7
| | | | | | | | * tests/chanio.test: * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
* Added forgotten reference to [Bug 1350564] in last entry.andreas_kupries2008-04-071-2/+3
|
* * generic/tclIO.c (BUSY_STATE, CheckChannelErrors,andreas_kupries2008-04-071-0/+7
| | | | | | TclCopyChannel): New macro, and the places using it. This change allows for bi-directional fcopy on channels. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for the patch.
* * generic/tclStringObj.c (Tcl_AppendFormatToObj):rmax2008-04-071-0/+7
| | | | | | Fix [format {% d}] so that it behaves the same way as in 8.4 and as C's printf(). * tests/format.test: Add a test for '% d' and '%+d'.
* * tests/chanio.test (chan-io-53.9):Kevin B Kenny2008-04-061-0/+10
| | | | | | | | | | | * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. * win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and -DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the compilation doesn't barf on perfectly reasonable Posix system calls. * win/configure: Manually patched (don't have the right autoconf to hand).
* * win/tclWinFile.c: (WinSymLinkDirectory): Fixed a problem thatKevin B Kenny2008-04-051-0/+12
| | | | | | | | | | | Tcl was creating an NTFS junction point (IO_REPARSE_TAG_MOUNT_POINT) but filling in the union member for a Vista symbolic link. We had gotten away with this error because the union member (SymbolicLinkReparseBuffer) was misdefined in this file and in the 'winnt.h' in early versions of MinGW. MinGW 3.4.2 has the correct definition of SymbolicLinkReparseBuffer, exposing the mismatch, and making tests cmdAH-19.4.1, fCmd-28.*, and filename-11.* fail.
* * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-041-0/+7
| | | | | | * tests/chanio.test: on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
* * generic/tclIORChan.c (ReflectOutput): Allow zero return fromandreas_kupries2008-04-041-0/+7
| | | | | | | | write when input was zero-length anyway. Otherwise keept it an error, and separate the message from 'written too much'. * tests/ioCmd.test (iocmd-24.6): Testcase updated for changed message.
* * generic/tclIORChan.c (ReflectClose): Added missing removal ofandreas_kupries2008-04-041-0/+10
| | | | | | | | | the now closed channel from the reflection map. Before we could crash the system by invoking 'chan postevent' on a closed reflected channel, dereferencing the dangling pointer in the map. * tests/ioCmd.test (iocmd-31.8): Testcase for the above.
* * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-031-0/+7
| | | | | | * tests/io.test: prevent fcopy from calling -command synchronously * tests/chanio.test: the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
* * generic/tclStubLib.c: make symbols in libtclstub.a MODULE_SCOPE todas2008-04-021-6/+22
| | | | | | * tools/genStubs.tcl: avoid exporting them from libraries that link with -ltclstub; constify tcl*StubsPtr and stub table hook pointers. [Bug 1819422]
* * generic/tclIO.c (CopyData): Applied patch for the fcopy problemandreas_kupries2008-04-021-0/+8
| | | | | | | [Bug 780533], with many thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for tracking it down and providing a solution. Still have to convert his test script into a proper test case.
* * generic/tclBasic.c: Revised stubs-generation tool and interpdgp2008-04-021-1/+2
| | | | | | | | * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in * win/Makefile.in: libtclstub.a. This tightens up the rules for * win/makefile.bc: users of the stubs interfaces. [Bug 1819422] * win/makefile.vc:
* * generic/tclBasic.c: Revised stubs-generation tool and interpdgp2008-04-021-2/+2
| | | | | | | * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in * win/Makefile.in: libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422]
* * generic/tclStubLib.c: Removed needless #ifdef complexity.dgp2008-04-021-0/+2
|
* * generic/tclStrToD.c: Applied patch for [Bug 1839067] (fpandreas_kupries2008-04-011-0/+6
| | | | | * unix/tcl.m4: rounding setup on solaris x86, native cc), provided by Michael Schlenker.
* * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.dgp2008-04-011-0/+1
| | | | * generic/tclPkg.c (Tcl_PkgInitStubsCheck):
* * generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.dgp2008-04-011-0/+2
|
* * README: Bump version number to 8.6a0dgp2008-04-011-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* * generic/tclObj.c: Added missing #include <math.h> needed toKevin B Kenny2008-03-301-0/+2
| | | | locate isnan() after the above change.
* * generic/tclInt.h (TclIsNaN):Kevin B Kenny2008-03-301-0/+9
| | | | | | | | | * unix/configure.in: Added code to the configurator to check for a standard isnan() macro and use it if one is found. This change avoids bugs where the test of ((d) != (d)) is optimized away by an overaggressive compiler. [Bug 1783544] * unix/configure: autoconf-2.61
* * tests/mathop.test (mathop-25.9, mathop-25.14): Modified testsKevin B Kenny2008-03-301-0/+6
| | | | | to deal with (slightly buggy) math libraries in which pow() returns an incorrectly rounded result. [Bug 1808174]
* * generic/tcl.h: Bump to 8.5.2 for release.core_8_5_2dgp2008-03-281-0/+12
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: