| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: ad00613d3e95471baaf89f418d02473bd3231a1a
|
|
|
| |
FossilOrigin-Name: 0b4ce29050f3a92481c073d03bae5e44ec4bf790
|
|
|
|
|
| |
pipeline creation, package handling, procedures, [scan] formats)
FossilOrigin-Name: a6c95ed9e060d601f5fecd29fdadf14567d377ff
|
|
|
|
|
| |
rest of Tcl source code. No ABI change. API change *should* be harmless.
FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
|
|\
| |
| |
| |
| | |
cause more harm than good. Purged them (except in zlib files).
FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
|
| |\
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
|
| | |
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclExecute.c:
* generic/tclLink.c:
* generic/tclMain.c:
* generic/tclProc.c:
* generic/tclScan.c:
* generic/tclTest.c:
* generic/tclVar.c:
* mac/tclMacInit.c:
* unix/tclUnixInit.c:
* win/tclWinInit.c: Insure that the core never calls TclPtrSetVar,
Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref
new value. It is not possible to handle error returns correctly in
that case [Bug 1334947], one has the choice of leaking the object
in some cases, or else risk crashing in some others.
FossilOrigin-Name: 8761ab798f625b66cadb3eaf8fafdedce6553a02
|
| | |
| | |
| | |
| | |
| | | |
1011860]
FossilOrigin-Name: 052cf18b79660d7e59d891a3951d7bd4f1bde426
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCompile.c:
* generic/tclVar.c:
* unix/tclUnixChan.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
FossilOrigin-Name: 936f6911bda9859212bab127d1a62b6586977504
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
FossilOrigin-Name: 4d8a4f639d28df5b5dfabd407be8efbb44454601
|
| | |
| | |
| | | |
FossilOrigin-Name: 511d94dd873e4ace6252b896eeb821f03023f00f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclFCmd.c: null dereference flagged by clang static
* generic/tclProc.c: analyzer.
* generic/tclTimer.c:
* generic/tclUtf.c:
* generic/tclExecute.c: silence false positives from clang static
* generic/tclIO.c: analyzer about potential null dereference.
* generic/tclScan.c:
* generic/tclCompExpr.c:
FossilOrigin-Name: e93f957325ed49415f01559c8162a31df1ee28cf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c:
* generic/tclCompile.c:
* generic/tclExecute.c:
* generic/tclHash.c:
* generic/tclIOUtil.c:
* generic/tclVar.c:
* generic/tclBasic.c: Silence compiler warnings about ClientData.
* generic/tclProc.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
FossilOrigin-Name: b0e94fe52cf1bae5acfd5a9ed00d80e25c680b3c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
FossilOrigin-Name: a45c7b126b9137976cd91960cb3e2ecb5201d222
|
| | |
| | |
| | | |
FossilOrigin-Name: 197d47d29dbefa3bfa64f975ed2dbbed6fcf8271
|
| | |
| | |
| | | |
FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
|
|/ /
| |
| | |
FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
|
| |
| |
| | |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
| |
| |
| |
| |
| | |
objTypes.
FossilOrigin-Name: 11e8f3151249a669790af1ab8897b1451aa5b47b
|
| |
| |
| |
| |
| |
| | |
* generic/tclScan.c:
FossilOrigin-Name: ebf25c463a94c4cfa9e0a63d2204cd0d023284e6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/scan.n:
* generic/tclScan.c: [scan $s %u] is documented to accept only
* tests/scan.test: decimal formatted integers. Fixed code to
match.
FossilOrigin-Name: d0317c20badd1d6208c5eeff7def892a4c09ffac
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclCmdMZ.c: Modified [string is double] to use
* tests/string.test: TclParseNumber() to parse trailing whitespace.
Ensures consistency, and makes it easier to cleanup after invalid
internal reps left behind by parsing [Bugs 1360432 1382287].
* generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to
* generic/tclScan.c: TclParseNumber() calls since [scan] and
* tests/scan.test: [expr] parsing don't want spaces in parsed
numbers.
* generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the
* generic/tclStrToD.c: TclParseNumber() interface.
FossilOrigin-Name: 7245b18069391be3d914995ab419daeede7ced6e
|
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclScan.c: revision to the [scan] command implementation
* generic/tclStrToD.c: to permit tests scan-4.44,55 to pass again.
[Bug 1348067].
FossilOrigin-Name: 5b3d7732b515626e4abf24a6ef26014415d8b894
|
| |
| |
| | |
FossilOrigin-Name: 127ec44748df44619eec67983935eab15927be59
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclCmdIL.c:
* generic/tclCompCmds.c:
* generic/tclDictObj.c:
* generic/tclExecute.c:
* generic/tclLiteral.c:
* generic/tclParseExpr.c:
* generic/tclScan.c:
* generic/tclUtil.c:
* generic/tclVar.c:
FossilOrigin-Name: 3fd9c620f4973fc4eafe3c1907447ebb011e26ee
|
| |
| |
| |
| |
| |
| |
| |
| | |
[kennykb-numerics-branch] Resynchronized with the HEAD; at this
checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and
kennykb-numerics-branch contain identical code.
FossilOrigin-Name: 83fdb360a9aec952bc3ad040afe39106bf9e5ec3
|
| |
| |
| | |
FossilOrigin-Name: ac613e6b948e9387516ecc1f16a35824c93ab347
|
| |
| |
| | |
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompExpr.c:
* generic/tclDictObj.c:
* generic/tclEncoding.c:
* generic/tclExecute.c:
* generic/tclFCmd.c:
* generic/tclHistory.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclPkg.c:
* generic/tclResult.c:
* generic/tclScan.c:
* generic/tclTimer.c:
* generic/tclTrace.c:
* generic/tclUtil.c:
* generic/tclVar.c:
It is a poor practice to directly set or append to the value
of the objResult of an interp, because that value might be
shared, and in that circumstance a Tcl_Panic() will be the
result. Searched for example of this practice and replaced
with safer alternatives, often using the Tcl_AppendResult()
routine that dkf just rehabilitated.
FossilOrigin-Name: 9883f6bfdbddaaa872bc699ef19f8458de716f73
|
| |
| |
| |
| |
| | |
1011860]
FossilOrigin-Name: 142ba4167bd308cc16fc0b7c91dc37d398d6074c
|
| |
| |
| |
| |
| |
| | |
Also added support for [FRQ 951168] but left that switched off by default.
FossilOrigin-Name: 3c862df4ab341834a0bf1d1cb26934d12ae2e837
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: Reworked the Tcl header files into a clean
* unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h
* win/tclWinInt.h: and every C source file should #include
* win/tclWinPort.h: at most one of those files to satisfy its
declaration needs. tclWinInt.h and tclWinPort.h also better organized
so that tclWinPort.h includes the Windows implementation of
cross-platform declarations, while tclWinInt.h makes declarations that
are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h
* generic/tclMath.h (removed): header file. The internal Tcl
* macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a
* win/tcl.dsp: #include <math.h> directly,
and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file.
* win/makefile.bc (TCLOBJS): It's a vestige from matherr() days
* win/makefile.vc (TCLOBJS): gone by.
* win/tcl.dsp:
* win/tclWinMtherr.c (removed):
FossilOrigin-Name: 2e5b18c85c944b46540edfdd6580648e32645e2b
|
|
|
| |
FossilOrigin-Name: 29313c063dad9ad30af5c32ed51014b1867773c5
|
|
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
FossilOrigin-Name: 8d82de1905ada4c5d06f5fb967721e8b681b7c82
|
|
|
|
|
|
| |
called on a pointer to NULL.
FossilOrigin-Name: a394db9b1f630eacb0a3bdf11dc39f003400d5e6
|
|
|
|
|
|
|
|
| |
* generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x
handling that didn't accept the 0x as a prelude to a base 16
number. [Bug #495213]
FossilOrigin-Name: 003ecd26bac43398fa149d53840683b81f043807
|
|
|
|
|
|
|
| |
* generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format
and scan on 64-bit machines. [Bug #412696] (rmax)
FossilOrigin-Name: faf16960975465b15abcf102bd1aa3ce3c1d5c92
|
|
|
|
|
|
|
|
|
| |
* tests/scan.test:
* generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use
strtoul instead of strtol to correctly preserve scan<>format
conversion of large integers. [Patch #102663, Bug #124600]
FossilOrigin-Name: c628433a43ea646a30778a09baa2dcc12aee00a9
|
|
|
|
|
|
|
| |
* generic/tclScan.c: fixed scan where %[..] didn't match anything
and added test case [Bug: 3700]
FossilOrigin-Name: 27ebd6ad86e7098995c815fc6832a0517ddfc46b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at the global level for uplevel command.
* generic/tclIOSock.c: changed int to size_t type for len
in TclSockMinimumBuffers.
* generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value
on NULL input. [Bug: 3400]
* generic/tclStringObj.c: fixed support for passing in negative
length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380]
* doc/scan.n:
* tests/scan.test:
* generic/tclScan.c: finished support for inline scan by
supporting XPG identifiers.
* doc/http.n:
* library/http2.1/http.tcl: added register and unregister
commands to http:: package (better support for tls/SSL),
as well as -type argument to http::geturl. [RFE: 2617]
* generic/tclBasic.c: removed extra decr of numLevels in
Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de)
* generic/tclEvent.c: fixed possible lack of MutexUnlock in
Tcl_DeleteExitHandler [Bug: 3545]
FossilOrigin-Name: 907f606957a5b4abeaf4a1331ba2e63f73b0a4ea
|
|
|
| |
FossilOrigin-Name: 31e3344b893730c3b4f3a3a6088b26e30b040f84
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
iterates once over the va_list (avoiding a memcpy of it,
which is not portable).
* generic/tclEnv.c: fixed possible ABR error in environ array
* tests/scan.test:
* generic/tclScan.c: added support for use of inline scan,
XPG3 currently not included
* tests/incr.test:
* tests/set.test:
* generic/tclCompCmds.c: fixed improper bytecode handling of
'eval {set array($unknownvar) 5}' (also for incr)
* win/tclWinTest.c: added testvolumetype command, as atime is
completely ignored for Windows FAT file systems
* win/tclWinPort.h: added sys/utime.h to includes
* unix/tclUnixPort.h: added utime.h to includes
* doc/file.n:
* tests/cmdAH.test:
* generic/tclCmdAH.c: added time arguments to atime and mtime
file command methods (support 'touch' functionality)
FossilOrigin-Name: 2c17586d2ad8c1b9d303ea5d8ab2568a9ce5542e
|
|
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|