summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/GNUmakefile: fix quoting to allow paths todas2008-03-118-168/+212
| | | | | | | | | | | | * macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT} * unix/Makefile.in: to contain spaces. * unix/configure.in: * unix/install-sh: * unix/tcl.m4: * tests/ioCmd.test: * unix/Makefile.in (install-strip): strip non-global symbols from dynamic library.
* * macosx/Tcl.xcodeproj/project.pbxproj: add support for Xcode 3.1 anddas2008-03-113-8/+210
| | | | | | | | | | | * macosx/Tcl.xcodeproj/default.pbxuser: targets for building with * macosx/Tcl-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2. * unix/tclUnixPort.h: workaround vfork() problems in llvm-gcc-4.2.1 -O4 build. * unix/tclUnixPort.h: move MODULE_SCOPE compat define to top [Bug 1911102].
* * generic/tclEncoding.c (LoadEscapeEncoding): avoid leaking escapedas2008-03-111-4/+9
| | | | | sub-encodings, fixes encoding-11.1 failing after iso2022-jp loaded (e.g. TESTFLAGS='-singleproc 1 -match "chan-io-1.8 encoding-11.1"').
* * macosx/tclMacOSXNotify.c: avoid using CoreFoundation after fork() ondas2008-03-111-7/+3
| | | | Darwin 9 even when TclpCreateProcess() uses vfork().
* * unix/tclUnixNotfy.c: fix warningdas2008-03-111-2/+2
|
* * tests/exec.test (exec-9.7): reduce timing sensitivitydas2008-03-112-4/+5
| | | | * tests/socket.test (socket-2.11): (esp. on multi-proc machines).
* * tests/fCmd.test (fCmd-9.4): skip on Darwin 9 (xfail).das2008-03-111-2/+6
|
* * generic/tclVar.c (TclDeleteNamespaceVars):Miguel Sofer2008-03-113-3/+33
| | | | | | | * tests/var.test (var-8.2): unset traces on vars should be called with a FQ named during namespace deletion. This was causing infinite loops when unset traces recreated the var, as reported by Julian Noble on [Bug 1911919].
* * changes: Updated for 8.5.2 release.dgp2008-03-102-1/+41
|
* * doc/http.n: Revised to indicate that [package require http 2.5.5]dgp2008-03-102-3/+6
| | | | is needed to get all the documented commands ([http::meta]).
* * generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd): Added errordgp2008-03-103-15/+109
| | | | | * tests/event.test (event-5.*): checking to protect against callers passing invalid return options dictionaries. [Bug 1901113]
* * generic/tclBasic.c (ExprAbsFunc): Revised so that the abs()dgp2008-03-103-4/+29
| | | | | | * tests/expr.test: function and the [::tcl::mathfunc::abs] command do not return the value of -0, or equivalent values with more alarming string reps like -1e-350. [Bug 1893815].
* typodgp2008-03-101-2/+2
|
* * generic/tclResult.c (ReleaseKeys): Workaround for [Bugandreas_kupries2008-03-073-3/+17
| | | | | | | | | | | | 1904907]. Reset the return option keys to NULL to allow full re-initialization by GetKeys(). This introduces a memory leak for the key objects, but gets us around a crash in the finalization of reflected channels when handling returns, either at compile- or runtime. In both cases we access the keys after they have been released by their thread exit handler. A proper fix is entangled with the untangling of the finalization ordering and attendant issues. For now we choose the lesser evil.
* commentary cleanupdgp2008-03-071-3/+3
|
* * generic/tclExecute.c (Tcl_ExprObj): Revised expression bytecodedgp2008-03-072-41/+112
| | | | | | compiling so that bytecodes invalid due to changing context or due to the difference between expressions and scripts are not reused. [Bug 1899164].
* * generic/tclCmdAH.c: Revised direct evaluation implementation ofdgp2008-03-072-6/+13
| | | | | [expr] so that [expr $e] caches compiled bytecodes for the expression as the intrep of $e.
* * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-071-17/+97
| | | | script bytecode is invalidated in the right situations.
* * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-072-2/+86
| | | | script bytecode is invalidated in the right situations.
* regendkf2008-03-071-2/+425
|
* Add AC_HEADER_STDC to support msys/win64.dkf2008-03-072-2/+7
|
* Minor tidying up. [Bug 1909019]dkf2008-03-062-65/+69
|
* * tests/execute.test (6.3,4): Added tests for Bug 1899164].dgp2008-03-042-1/+23
|
* * unix/tclUnixChan.c: Fix mark and space parity on Linux, whichrmax2008-03-032-1/+9
| | | | uses CMSPAR instead of PAREXT.
* test added (did not fail previously, just to make sure it never does)Miguel Sofer2008-03-022-3/+21
|
* * generic/tclNamesp.c (GetNamespaceFromObj): spoil the intrep ofMiguel Sofer2008-03-022-6/+14
| | | | | an nsNameType obj when the reference crosses interpreter boundaries.
* date fixdgp2008-02-291-1/+1
|
* * generic/tclResult.c (Tcl_SetReturnOptions): Revised the refcountdgp2008-02-293-2/+13
| | | | | | | | | | management of Tcl_SetReturnOptions to become that of a conventional Consumer routine. Thanks to Peter Spjuth for pointing out the difficulties calling Tcl_SetReturnOptions with non-0-count value for options. * generic/tclExecute.c (INST_RETURN_STK): Revised the one caller within Tcl itself which passes a non-0-count value to Tcl_SetReturnOptions().
* * generic/tclBasic.c (Tcl_AppendObjToErrorInfo): Revised thedgp2008-02-293-3/+14
| | | | | | | | | | refcount management of Tcl_AppendObjToErrorInfo to become that of a conventional Consumer routine. This preserves the ease of use for the overwhelming common callers who pass in a 0-count value, but makes the proper call with a non-0-count value less surprising. * generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd): Revised the one caller within Tcl itself which passes a non-0-count value to Tcl_AppendObjToErrorInfo().
* * generic/tclBasic.c (TclEvalObjvInternal): Plug memory leak whendgp2008-02-282-1/+9
| | | | | | an enter trace deletes or changes the command, prompting a reparsing. Don't let the second pass lose commandPtr value allocated during the first pass.
* * generic/tclCompExpr.c (ParseExpr): Plug memory leak in errordgp2008-02-282-3/+6
| | | | message generation.
* Oops! Forgot to record patch number [#1903339] for last commit.jenglish2008-02-281-2/+3
|
* Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes.jenglish2008-02-284-50/+33
|
* Consolidate all code conditionalized on -DUSE_FIONBIO into one place.jenglish2008-02-285-133/+52
| | | | New routine TclUnixSetBlockingMode().
* * generic/tclStringObj.c (Tcl_AppendFormatToObj): [format %llx $big]dgp2008-02-282-1/+7
| | | | leaked an mp_int.
* * generic/tclCompCmds.c (TclCompileReturnCmd): The 2007-10-18 commitdgp2008-02-282-1/+8
| | | | | to optimize compiled [return -level 0 $x] [RFE 1794073] introduced a memory leak of the return options dictionary. Fixing that.
* bug #705956 - fix inverted logic when cleaning up socket error in geturl. ↵patthoyts2008-02-273-17/+41
| | | | Document meta accessor.
* autoheader-2.59das2008-02-271-1/+1
|
* Remove dead/unused portability-related #defines and unused conditional code.jenglish2008-02-274-165/+15
| | | | See SF#1901828 for discussion and archaeological notes.
* * doc/clock.n: Corrected minor indentation gaffe in theKevin B Kenny2008-02-275-9/+72
| | | | | | | | | | | | penultimate paragraph. [Bug 1898025] * generic/tclClock.c (ParseClockFormatArgs): Changed to check that the clock value is in the range of a 64-bit integer. [Bug 1862555] * library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan, ::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs in caching of localized strings that caused weird results when localized date/time formats were used. [Bug 1902423] * tests/clock.test (clock-61.*, clock-62.1): Regression tests for [Bug 1862555] and [Bug 1902423].
* fix warningdas2008-02-271-2/+2
|
* More stray trailing ","s.jenglish2008-02-263-4/+9
|
* Define socklen_t as "int" if missing, not "unsigned".jenglish2008-02-263-25/+55
| | | | | | (accept(2) et. al. traditionally took "int *" before POSIX invented socklen_t) Use AC_TRY_COMPILE instead of AC_EGREP_HEADER for socklen_t test. Regenerated configure script.
* Remove stray trailing "," from enum InstOperandType definition (C99ism).jenglish2008-02-262-2/+7
|
* * generic/tclUtil.c (TclReToGlob): fix the handling of the lasthobbs2008-02-263-4/+35
| | | | | * tests/regexpComp.test: star possibly being escaped in determining right anchor. [Bug 1902436]
* Set version 2.5.5patthoyts2008-02-265-16/+29
| | | | bug #1868845 - it is better to do the [eof] check after trying to read from the socket. No clashes found in testing. Added http::meta command to access the http headers.
* Add a linker hint for msvc to include ws2_32.libpatthoyts2008-02-221-1/+5
|
* Fix for bug #1818565. Always check that the state array exists in the ↵patthoyts2008-02-225-11/+17
| | | | http::status command. Set version 2.5.4
* add missing constraintdgp2008-02-131-2/+4
|
* eliminate duplicate test namesdgp2008-02-132-4/+4
|