summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * generic/tclFileName.c (TclGlob): added a panic for a call withMiguel Sofer2006-09-272-2/+13
| | | | | TCL_GLOBMODE_TAILS and pathPrefix==NULL. This would cause a segfault, as found by coverity #26.
* TIP 27 changes for Tcl_CreateEncodingKevin B Kenny2006-09-265-10/+17
|
* Additional compiler flags and amd64 support.patthoyts2006-09-264-19/+55
|
* * generic/tcl.h: As 2006-09-22 commit from Donal K. Fellowsdgp2006-09-262-5/+8
| | | | | | demonstrates, "#define NULL 0" is just wrong, and as a quotable chat figure observed, "If NULL isn't defined, we're not using a C compiler." Improper fallback definition of NULL removed.
* Fixing msvc8 and stat modificationspatthoyts2006-09-261-1/+4
|
* More fixing which struct stat to refer to. Some casts from time_t to int ↵patthoyts2006-09-267-60/+97
| | | | | | | required. Tcl_Time structure members are longs. Support for varying compiler options and build to platform-specific subdirs.
* * generic/tclIO.c (Tcl_StackChannel): Fixed [SF Tcl Bug 1564642],andreas_kupries2006-09-252-2/+8
| | | | | aka coverity #51. Extended loop condition, added checking for NULL to prevent seg.fault.
* another nitdgp2006-09-251-2/+2
|
* * doc/package.n: Fixed nits reported by Daniel Steffen in theandreas_kupries2006-09-252-4/+9
| | | | TIP#268 changes.
* Minor change: Improved code styledkf2006-09-251-14/+21
|
* yet another stab at 1564777Kevin B Kenny2006-09-251-2/+2
|
* yet another stab at 1564777Kevin B Kenny2006-09-252-9/+35
|
* fix line endingsdgp2006-09-252-6340/+6340
|
* Fix [Bug 1564677]dkf2006-09-252-6331/+6340
|
* * generic/tclStringObj.c (STRING_SIZE): fix allocation forMiguel Sofer2006-09-242-2/+7
| | | | 0-length strings. This is coverity's bugs #54-5
* * generic/tclParse.c (Tcl_ParseCommand): also return an error ifMiguel Sofer2006-09-242-2/+7
| | | | start==NULL and numBytes<0. This is coverity's bug #20
* * generic/tclInt.h: Moved TIP#268's field 'packagePrefer' to theandreas_kupries2006-09-222-11/+14
| | | | end of the structure, for better backward compatibility.
* TIP#268 IMPLEMENTATIONandreas_kupries2006-09-2216-208/+1455
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/PkgRequire.3: Documentation of extended API, * doc/package.n: extended testsuite. * tests/pkg.test: * generic/tcl.decls: Implementation. * generic/tclBasic.c: * generic/tclConfig.c: * generic/tclInt.h: * generic/tclPkg.c: * generic/tclTest.c: * generic/tclTomMathInterface.c: * library/init.tcl: * library/package.tcl: * library/tm.tcl:
* Fix [Bug 1562528]dkf2006-09-222-29/+35
|
* * generic/tclUtil.c: Dropped ParseInteger() routine.dgp2006-09-212-80/+20
| | | | TclParseNumber covers the task just fine.
* correct registry version numbervincentdarley2006-09-211-2/+2
|
* fix line endingsdgp2006-09-201-5162/+5162
|
* Fix nasty bug with limits, vwait's (C) traces, and interpreter restart...dkf2006-09-192-5161/+5168
|
* * generic/tclExecute.c (INST_EXPON): Native type overflow detectiondgp2006-09-193-47/+21
| | | | | | | * tests/expr.test: was completely broken. Falling back on use of bignums for all non-trivial ** calculations until native-type-constrained special cases can be done carefully and correctly. [Bug 1561260].
* * tests/http.test (http-5.1): bump http to 2.5.3dgp2006-09-163-6/+8
| | | | | * unix/Makefile.in: * win/Makefile.in:
* * library/http/http.tcl: Change " " -> "+" url encoding mappinghobbs2006-09-164-6/+12
| | | | | * library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986. * tests/http.test (http-5.1): bump http to 2.5.3
* * unix/configure.in (HAVE_MTSAFE_GETHOST*): Modified to recognizeandreas_kupries2006-09-123-1/+34
| | | | | | HP-UX 11.00 and beyond as having mt-safe implementations of the gethost functions. * unix/configure: Regenerated, using autoconf 2.59
* * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation ofandreas_kupries2006-09-122-5/+17
| | | | | the increment needed to align the pointer, and added documentation explaining why the macro is implemented as it is.
* Added tommath_(super)class headers to include installpatthoyts2006-09-112-1/+4
|
* Fixed error launching win98 testpatthoyts2006-09-111-3/+3
|
* Updated to install http, tcltest and msgcat as Tcl Modules (as per Makefile.in).patthoyts2006-09-113-48/+68
|
* * unix/Makefile.in (install-libraries): Fixed typo tcltest 2.3.9 -> 2.3.0.andreas_kupries2006-09-112-2/+6
|
* * unix/tclUnixCompat.c: make compatLock static and only declare it whendas2006-09-112-107/+116
| | | | | it will actually be used; #ifdef parts of TSD that are not always needed; adjust #ifdefs to cover all possible cases; fix whitespace.