summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c (ExponLong, ExponWide): fixed special caseMiguel Sofer2005-05-101-0/+5
| | | | 'i**0' for i>0 [Bug 1198892]
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-071-0/+5
| | | | add support for x86_64 Solaris cc builds.
* * generic/tclInt.decls: Converted TclMatchIsTrivial to a macro.dgp2005-05-051-0/+13
| | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclUtil.c: * generic/tclIntDecls.h: `make genstubs` * generic/tclStubInit.c: * generic/tclBasic.c: Added callers of TclMatchIsTrivial where * generic/tclCmdIL.c: a search can be done more efficiently * generic/tclCompCmds.c:when it is recognized that a pattern match * generic/tclDictObj.c: is really an exact match. [Patch 1076088] * generic/tclIO.c: * generic/tclNamesp.c: * generic/tclVar.c:
* Corrected a compilation error in the --enable-threads configurationKevin B Kenny2005-05-051-0/+5
|
* * generic/tclCompCmds.c: Factored common efficiency trick intodgp2005-05-051-0/+3
| | | | a macro named CompileWord.
* * generic/tclCompCmds.c: Replaced all instance ofdgp2005-05-051-0/+9
| | | | | | | | * generic/tclCompile.c: TCL_OUT_LINE_COMPILE with TCL_ERROR. * generic/tclInt.h: Now that we've eradicated the mistaken * tests/appendComp.test: notion of a "compile-time error", we can use the TCL_ERROR return code to signal any failure to produce bytecode.
* * doc/DString.3: Eliminated use of identifier "string" in Tcl'sdgp2005-05-031-1/+15
| | | | | | | | | | | | | * doc/Environment.3: public C API to avoid conflict/confusion with * doc/Eval.3: the std::string of C++. * doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3: * doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3: * doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c: * generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c: * generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c: * generic/tclUtil.c, unix/tclUnixChan.c: * generic/tclDecls.h: `make genstubs`
* * generic/tcl.decls:dgp2005-05-021-0/+8
| | | | | | | * generic/tclBasic.c: Simplified implementation of Tcl_ExprString. * tests/expr-old.test: * generic/tclDecls.h: `make gentstubs`
* * unix/tclUnixNotfy.c: applied dkf's tkMacOSXNotify.c cleanup changes.das2005-04-301-0/+4
|
* Whitespace/formatting fixesdkf2005-04-291-65/+49
|
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer. * generic/tclCmdMZ.c: Extended the -start switch of [regexp] and [regsub] to accept all index formats known by TclGetIntForIndex. * doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n: * tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test:
* * tests/unixInit.test (7.1): Alternative fix for thedgp2005-04-281-0/+5
| | | | 2004-11-11 commit.
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-0/+3
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* TIP#183 IMPLEMENTATION [Patch 577093]dgp2005-04-271-0/+11
| | | | | | | | | * generic/tclIOUtil.c (TclGetOpenModeEx): New routine. * generic/tclInt.h: * generic/tclIO.c (Tcl_OpenObjCmd): Support for "b" and * doc/open.n: "BINARY" in "access" argument to [open]. * tests/ioCmd.test:
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233). * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59
* Olson's tzdata2005iKevin B Kenny2005-04-251-0/+23
|
* * library/init.tcl: Use "ni" and "in" operators.dgp2005-04-251-0/+4
|
* * generic/tclExecute.c: fix for [Bug 1189274].Miguel Sofer2005-04-251-0/+4
|
* silence compiler warningsdgp2005-04-251-0/+5
|
* * tests/string.test: Test string-23.0 for Bug 1187123.dgp2005-04-221-0/+1
|
* The 2005-04-21 changes to Tcl_GetBooleanFromObj were done to bringdgp2005-04-221-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | it into agreement with its docs. Further investigation reveals it was the docs that were incorrect. * doc/BoolObj.3: Corrections to the documentation of Tcl_GetBooleanFromObj to bring it into agreement with what this public interface has always done, including noting the difference in function between Tcl_GetBooleanFromObj and Tcl_GetBoolean. * generic/tclGet.c: Revised Tcl_GetBoolean to no longer be a wrapper around Tcl_GetBooleanFromObj (different function!). * generic/tclObj.c: Removed TclGetTruthValueFromObj routine that was added yesterday. Revisions so that only Tcl_GetBoolean-approved values get the "boolean" Tcl_ObjType. This retains the fix for [Bug 1187123]. * generic/tclInt.h: Revert most recent change. * generic/tclBasic.c: * generic/tclCompCmds.c: * generic/tclDictObj.c: * generic/tclExecute.c: * tests/obj.test:
* * generic/tclLiteral.c: Disabled the code that forces some literalsdgp2005-04-211-0/+5
| | | | | | into the "int" Tcl_ObjType during registration. We can re-enable it if this change causes trouble, but it seems more sensible to let Tcl's "on-demand" shimmering rule, and not try to pre-guess things.
* * generic/tclDictObj.c: Updated callers to call new routine.dgp2005-04-211-0/+1
|
* * generic/tclBasic.c: Updated callers to call new routine.dgp2005-04-211-0/+2
| | | | * generic/tclCompCmds.c: Updated callers to call new routine.
* * generic/tclGet.c: Radical code simplification. Converteddgp2005-04-211-9/+22
| | | | | | | | | | | | | | | | | | Tcl_GetFoo() routines into wrappers around Tcl_GetFooFromObj(). Reduces code duplication, and the resulting potential for inconsistency. * generic/tclObj.c: Several changes: - Fixed Tcl_GetBooleanFromObj to agree with its documentation and with Tcl_GetBoolean, accepting only "0" and "1" and not other numeric strings. [Bug 1187123] - Added new private routine TclGetTruthValueFromObj to perform the more permissive conversion of numeric values to boolean that is needed by the [expr] machinery. * generic/tclInt.h (TclGetTruthValueFromObj): New routine. * generic/tclExecute.c: Updated callers to call new routine. * tests/obj.test: Corrected bad tests that actually expected values like "47" and "0xac" to be accepted as booleans.
* Tcl_GetDoubleFromObj now avoids shimmering away a "wideInt" intrep.dgp2005-04-211-0/+1
|
* * generic/tclObj.c: Re-ordered error detection code so all valuesdgp2005-04-211-0/+8
| | | | | | | | | with trailing garbage receive a "not an integer" message instead of an "integer too large" message. Removed inactive code meant to deal with strtoul* routines that fail to parse leading signs. All of them do, and if any are detected that do not, the correct fix is replacement with compat/strtoul*.c, not a lot of special care by the callers.
* * doc/GetInt.3: Convert argument "string" to "str" to agree with code.dgp2005-04-211-0/+8
| | | | | | | Also clarified a few details on int and double formats. * generic/tclGet.c: Radical code simplification. Converted most Tcl_GetFoo() routines into wrappers around Tcl_GetFooFromObj(). Reduces code duplication, and the resulting potential for inconsistency.
* * generic/tclGet.c (Tcl_GetInt): Corrected error that did notdgp2005-04-201-0/+6
| | | | | * generic/tclObj.c (Tcl_GetIntFromObj): permit 0x80000000 to be recognized as an integer on TCL_WIDE_INT_IS_LONG systems [Bug 1090869].
* silenced a compiler warningKevin B Kenny2005-04-201-0/+5
|
* * generic/tclBasic.c: Added unsupported commanddgp2005-04-191-0/+9
| | | | | | | | * generic/tclCmdAH.c: [::tcl::unsupported::EncodingDirs] to permit * generic/tclInt.h: query/set of the encoding search path at * generic/tclInterp.c: the script level. Updated init.tcl to make * library/init.tcl: use of the new command. Also updated several coding practices in init.tcl ("eq" for [string equal], etc.)
* fixed Bug 1185933Kevin B Kenny2005-04-191-0/+9
|
* * generic/Var.c (Tcl_ArrayObjCmd - ARRAY_NAMES): fix Tcl_Obj leakMiguel Sofer2005-04-161-0/+5
| | | | [Bug 1084111]
* See filevasiljevic2005-04-161-0/+32
|
* * tests/unixInit.test: Disabled obsolete tests and removed codedgp2005-04-151-0/+4
| | | | | * tests/encoding.test: that supported them. * generic/tclInterp.c:
* * library/init.tcl: Use auto-loading to bring in Tcl Moduledgp2005-04-151-0/+7
| | | | | | * library/tclIndex: support as needed. This reduces startup * library/tm.tcl: time by delaying this initialization to a later time.
* * generic/tclExecute.c: missing semicolons caused failure toMiguel Sofer2005-04-151-0/+5
| | | | compile with TCL_COMPILE_DEBUG.
* no messagedavygrvy2005-04-141-0/+11
|
* * unix/tclUnixInit.c (TclpGetEncodingNameFromEnvironment): Reverseddgp2005-04-131-0/+9
| | | | | | | | order of verifying candidate [encoding system] value, checking against a table in memory first before calling Tcl_GetEncoding and potentially scanning through the filesystem. Also ordered the table so that a binary search could be used within it. Improves startup time a bit more on some systems.
* Performance improvement in [clock] - FR 1182459Kevin B Kenny2005-04-131-0/+6
|
* Also improved [fcopy] docsdkf2005-04-131-2/+5
|
* Improve documentation of -encoding binary option to [fconfigure].dkf2005-04-131-0/+6
|
* * generic/tclCompile.c:Commented out the functionsMiguel Sofer2005-04-131-0/+6
| | | | | TclPrintInstruction(), TclPrintObject() and TclPrintSource() when not debugging the compiler, as they are never called in that case.
* * generic/tclInterp.c: Corrected bad syntax of Tcl_Panic() call.dgp2005-04-121-0/+18
| | | | | | | | | | | | | | | | * generic/tclUtil.c (TclGetProcessGlobalValue): More robust handling of bad TclInitProcessGlobalValueProc behavior; an immediate panic rather than a mysterious crash later. * generic/tclEncoding.c: Several changes to the way the encodingFileMap cache is maintained. Previously, it was attempted to keep the file map filled and up to date with changes in the encoding search path. This contributed to slow startup times since it required an expensive "glob" operation to fill the cache. Now the validity of items in the cache are checked at the time they are used, so the cache is permitted to fall out of sync with the encoding search path. Only [encoding names] and Tcl_GetEncodingNames() now pay the full expense. [Bug 1177363]
* added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-121-0/+6
|
* Revamp the zone-info compiler to make better use of the facilities availabledkf2005-04-111-0/+6
|
* Olson's tzdata2005hKevin B Kenny2005-04-101-0/+13
|
* * generic/tclBasic.c (TclObjInvoke): Plug memory leak. [Bug 1180368]dgp2005-04-101-0/+4
|
* * generic/tclExecute.c: fix possible leak of expansion Tcl_ObjsMiguel Sofer2005-04-091-0/+4
|
* * macosx/README: updated requirements for OS & developer tooldas2005-04-091-0/+3
| | | | versions + other small fixes/cleanup.