summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * 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].