summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/Encoding.3: Missing doc updates (mostly Table ofdgp2006-10-186-9/+15
| | | | | | | * doc/Ensemble.3: Contents) exposed by `make checkdoc` * doc/FileSystem.3: * doc/GetTime.3: * doc/PkgRequire.3:
* advance tag for 8.5a5dgp2006-10-181-2/+4
|
* * generic/tclInterp.c (ApplyObjCmd): fixed bad error in 2006-10-12Miguel Sofer2006-10-172-2/+10
| | | | commit: interp released too early. Spotted by mistachkin.
* * tclProc.c (SetLambdaFromAny):Miguel Sofer2006-10-163-3/+52
| | | | | * tests/apply.test (9.1-9.2): plugged intrep leak [Bug 1578454], found by mjanssen.
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): Darwin: fix for maindas2006-10-163-11/+24
| | | | | | thread, where pthread_get_stacksize_np() returns incorrect info. * macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
* * generic/tclPkg.c (ExactRequirement): Plugged memory leak. Alsodgp2006-10-162-4/+9
| | | | | changed Tcl_Alloc()/Tcl_Free() calls to ckalloc()/ckfree() for easier memory debugging in the future. [Bug 1568373]
* * generic/tclBasic.c: Moved TIP#219 cleanup to DeleteInterpProc.andreas_kupries2006-10-162-10/+14
|
* * changes: updates for 8.5a5 release.das2006-10-162-3/+13
|
* * library/tcltest/tcltest.tcl: Revise tcltest bump to 2.3a1.dgp2006-10-167-14/+25
| | | | | | | * library/tcltest/pkgIndex.tcl: This permits more features to be * unix/Makefile.in: added to tcltest before we reach version 2.3.0, * win/Makefile.in: best timed to match the release of Tcl 8.5.0. * win/makefile.vc: This also serves as a demo of TIP 268 features.
* win/tclWinFile.c: alfredd supplied patch to fix Bug 1575837coldstore2006-10-132-4/+5
|
* win/tclWinFile.c: corrected erroneous attempt to protect against NULL return ↵coldstore2006-10-131-0/+5
| | | | from Tcl_FSGetNormalizedPath per Bug 1548263 causing Bug 1575837.
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): on Darwin, usedas2006-10-135-0/+121
| | | | | | * unix/tcl.m4: pthread_get_stacksize_np() API to get thread stack size. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* win/tclWinFile.c: corrected erroneous attempt to protect against NULL return ↵coldstore2006-10-131-5/+9
| | | | from Tcl_FSGetNormalizedPath per Bug 1548263 causing Bug 1575837.
* * generic/tclInterp.c (ApplyObjCmd):Miguel Sofer2006-10-123-6/+121
| | | | | | * tests/interp.test (interp-14.5-10): made [interp alias] use the ensemble rewrite machinery to produce better error messages [Bug 1576006]
* no messagedavygrvy2006-10-121-0/+5
|
* nmakehlp.c: Replaced all wnsprintf() calls with snprintf(). wnsprintf was ↵davygrvy2006-10-121-10/+14
| | | | not in my shwlapi header file (VC++6)
* * generic/tclPkg.c (Tcl_PackageRequireEx): Corrected crashdgp2006-10-112-8/+17
| | | | when argument version=NULL passed in.
* * changes: Updates for 8.5a5 release.dgp2006-10-112-3/+73
|
* * tests/namespace.test (namespace-51.16): Added test.dgp2006-10-102-1/+7
|
* * generic/tclNamespace.c (TclTeardownNamespace): After thedgp2006-10-102-1/+9
| | | | | | commandPathSourceList of a namespace is cleared, set the commandPathSourceList to NULL so we don't try to walk the list a second time, possibly after it is freed. [Bug 1566526]
* Silence GCC (cast is always safe; value is known to fit with wiggle room)dkf2006-10-101-2/+2
|
* Changelog edit.Miguel Sofer2006-10-091-1/+1
|
* * doc/UpVar.3: brough the docs in accordance to the code. EverMiguel Sofer2006-10-092-4/+12
| | | | | | since 8.0, Tcl_UpVar(2)? accepts TCL_NAMESPACE_ONLY as a flag value, and var-3.4 tests for proper behaviour. The docs only allowed 0 and TCL_GLOBAL_ONLY.
* * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-0934-192/+207
| | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* bug #1571954: avoid /RTCc flag with MSVC8tip_278_branch_rootpatthoyts2006-10-063-7/+7
|
* TIP #275: Support unsigned values in binary commandpatthoyts2006-10-064-29/+238
|
* * library/http/http.tcl (http::geturl): only do geturl url rfchobbs2006-10-062-4/+12
| | | | | 3986 validity checking if $::http::strict is true (default true for 8.5). [Bug 1560506]
* (UnicodeToUtfProc): dst must be set to (ch & 0xFF) to work on big endian systemshobbs2006-10-061-2/+2
|
* * library/tm.tcl: Fixed bug in TIP #189 implementation, nowandreas_kupries2006-10-062-1/+6
| | | | allowing '_' in module names.
* * generic/tcl.h: note limitation on changing Tcl_UniChar sizehobbs2006-10-054-31/+51
| | | | | | * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671]
* * generic/tclVar.c (Tcl_LappendObjCmd):Miguel Sofer2006-10-053-3/+23
| | | | | * tests/append.test(4.21-22): fix for longstanding [Bug 1570718], lappending nothing to non-list. Reported by lvirden
* nroff typohobbs2006-10-051-2/+2
|
* Olson's tzdata2006mKevin B Kenny2006-10-04545-640/+831
|
* dup test namedgp2006-10-041-2/+2
|
* Handle possible missing definepatthoyts2006-10-012-4/+9
|
* Bug 1567956Kevin B Kenny2006-10-012-4/+10
|
* * doc/Eval.3 (TclEvalObjv): added note on refCount management forMiguel Sofer2006-10-012-1/+9
| | | | the elements of objv, [Bug #730244].
* bug #1420432 - file mtime fails for directories on windowspatthoyts2006-10-013-6/+33
|
* bug 1567956: handle Msys environment a little differently in getuser functionpatthoyts2006-10-012-11/+25
|
* * generic/tclUtil.c (Tcl_SplitList): optimisation, [Patch 1344747]Miguel Sofer2006-09-302-5/+19
| | | | by dgp.
* * generic/tclInt.decls:Miguel Sofer2006-09-306-22/+77
| | | | | | | | | * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclObj.c: * generic/tclStubInit.c: added an internal function TclObjBeingDeleted to provide info as to the reason for the loss of an internal rep. [FR 1512138]
* * generic/tclCompile.c:Miguel Sofer2006-09-305-63/+90
| | | | | | | | | * generic/tclHistory.c: * generic/tclInt.h: * generic/tclProc.c: made Tcl_RecordAndEvalObj not call "history" if it has been redefined to an empty proc, in order to reduce the noise when debugging [FR 1190441]. Moved TclCompileNoOp from tclProc.c to tclCompile.c
* * generic/tclPkg.c (CompareVersions): Bugfix. Check string lengthsandreas_kupries2006-09-283-13/+31
| | | | | | | * tests/pkg.test: before comparison. The shorter string is the smaller number. Added testcases as well. Interestingly all existing test cases for vcompare compared numbers of the same length with each other. See [SF Tcl Bug 1563836].
* * generic/tclExecute.c: Corrected error in INST_LSHIFT in thedgp2006-09-283-3/+12
| | | | | | | | * tests/expr.test: calculation done to determine whether a shift in the (long int) type is possible. The calculation had literal value "1" where it needed a value "1L" to compute the correct result. Error detected via testing with the math::bigfloat package [Bug 1567222]
* * generic/tclIO.c (Tcl_GetsObj): added two test'n'panic guards forMiguel Sofer2006-09-282-1/+12
| | | | possible NULL derefs, [Bug 1566382] and coverity #33.
* * generic/tclPkg.c (CompareVersion): Flatten strcmp() results todgp2006-09-282-1/+7
| | | | {-1, 0, 1} to match expectations of CompareVersion() callers.
* * generic/regc_color.c (uncolorchain):Miguel Sofer2006-09-273-4/+10
| | | | | | * generic/regc_nfa.c (freearc): changed tests and asserts to equivalent formulation, designed to avoid an explicit comparison to NULL and satisfy coverity that 6 and 9 are not bugs.
* changed last commit - ifdef'ing out unused mcce (multi char collationMiguel Sofer2006-09-274-6/+61
| | | | elements) code.
* * generic/regc_cvec.c (addmcce):Miguel Sofer2006-09-272-0/+14
| | | | | | | | * generic/regcomp.c (compile): the static function addmcce does nothing when called with two NULL pointers; the only call is by compile with two NULL pointers (regcomp.c #includes regc_cvec.c). The whole thing is now ifdef'ed out with the macro REGEXP_ADDMCCE_UNUSED. This also silences coverity's #7.
* * tests/pkg.test: Added test for version comparison at the 32bitandreas_kupries2006-09-273-39/+110
| | | | | | | | | | | | | boundary. [SF Tcl Bug 1563836]. * generic/tclPkg.c: [SF Tcl Bug 1563836]. Rewrote CompareVersion to perform string comparison instead of numeric. This breaks through the 32bit limit on version numbers. See code for details (handling of leading zeros, signs, etc.). un-CONSTed some arguments of CompareVersions, RequirementSatisfied, and AllRequirementsSatisfied. The new compare modifies the string (temporary string terminators). All callers use heap-allocated ver-intreps, so we are good with that.