summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * macosx/Makefile:das2005-05-239-249/+530
| | | | | | | | | | | | | | | * macosx/README: * macosx/Tcl-Info.plist.in (new file): * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: * unix/tclUnixInit.c: moved all Darwin framework build support from macosx/Makefile into the standard unix configure/make buildsystem, the macosx/Makefile is no longer required to build Tcl.framework (but its functionality is still available for backwards compatibility). * unix/configure: autoconf-2.59 FossilOrigin-Name: 7c25639f1f15ac448f54fe80dcb42206cbd95968
* * generic/tclIOUtil.c (TclLoadFile):das2005-05-234-47/+350
| | | | | | | | | | | | | * generic/tclInt.h: * unix/tcl.m4: * unix/tclLoadDyld.c: added support for [load]ing .bundle binaries in addition to .dylib's: .bundle's can be [unload]ed (unlike .dylib's), and can be [load]ed from memory, e.g. directly from VFS without needing to be written out to a temporary location first. [Bug 1202209] * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 FossilOrigin-Name: f1f3008c9081ddebc68176b8fefa4abe111b800f
* * generic/tclCmdMZ.c (Tcl_TimeObjCmd): change [time] called with adas2005-05-231-5/+11
| | | | | | | count > 1 to return a string with a float value instead of a rounded off integer. [Bug 1202178] FossilOrigin-Name: 26e1c8d94c3b9223e5cf3ebf7146135f06046170
* * doc/expr.n:das2005-05-233-9/+14
| | | | | | * doc/string.n: fixed roff syntax complaints from 'make html'. FossilOrigin-Name: 261e228a30df3e0bf42d9ba71d153478cc8fe100
* Fixed a bug in expr round(x) function: returned an empty string if x was an ↵chengyemao2005-05-221-1/+2
| | | | | integer FossilOrigin-Name: 503afc89f6ef2439c7d37dad1a198c941852f56f
* * generic/tclParseExpr.c: Corrected parser to recognize alldgp2005-05-202-59/+43
| | | | | | | | boolean literals accepted by Tcl_GetBoolean, including prefixes like "y" and "f", and to allow "eq" and "ne" as function names in the proper context. [Bug 1201589]. FossilOrigin-Name: ced7ccb24be74ec880660c514897e8f2bbc39992
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashingdas2005-05-201-2/+2
| | | | | | | | CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. FossilOrigin-Name: 6db5952245443ec079e899135c4bb78605438766
* Quell a gcc warningdkf2005-05-191-4/+5
| | | FossilOrigin-Name: ddf3146780d730812bcfdb4efc049b178f0a81e8
* Scratch one bizarre while loop... :^)dkf2005-05-192-66/+67
| | | FossilOrigin-Name: 87030df1bed29c51214065a734444669ad9e7f98
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashingdas2005-05-191-4/+4
| | | | | | | | CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. FossilOrigin-Name: 3a9463d7ae8dd3dccecce5d73514fefd08e1fad1
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): fixed crashingdas2005-05-192-2/+9
| | | | | | | | CFRelease of runLoopSource in Tcl_InitNotifier (reported by Zoran): CFRunLoopAddSource doesn't CFRetain, so can only CFRelease the runLoopSource in Tcl_FinalizeNotifier. FossilOrigin-Name: a8c0c897b74a40e4318fa3d9981f05f5394a27d5
* * generic/tclBasic.c (Tcl_ExprBoolean): Rewrite as wrapper arounddgp2005-05-184-80/+60
| | | | | | | | | | | | | | | | | | Tcl_ExprBooleanObj. * generic/tclCmdMZ.c ([string is boolean/true/false]): Rewrite dropping string-based Tcl_GetBoolean call, so that internal reps are kept for subsequent quick boolean operations. * generic/tclExecute.c: Dropped most special handling of the "boolean" Tcl_ObjType, since that type should now be rarely encountered. * doc/BoolObj.3: Rewrite of documentation dropping many details about the internals of Tcl_Objs. Shorter documentation focuses on the function and use of the routines. FossilOrigin-Name: c3e78c6b7dfd7e44b845f85e7dafa25480768818
* minor phrasing improvements.dgp2005-05-181-3/+3
| | | FossilOrigin-Name: 1fe5c2c03190452398edd0660b8a7d57aeffaac0
* * doc/BoolObj.3: Rewrite of documentation dropping many detailsdgp2005-05-182-43/+43
| | | | | | | about the internals of Tcl_Objs. Shorter documentation focuses on the function and use of the routines. FossilOrigin-Name: 95abe9b7f59fa3ad4ca68ed18eca5c88adce6696
* * generic/tclInt.h: Revision to the "boolean" Tcl_ObjType, sodgp2005-05-184-33/+91
| | | | | | | | | | | | | | * generic/tclObj.c: that only string values like "yes" and "false" * tests/obj.test: are kept as the "boolean" Tcl_ObjType. The string values "0" and "1" are kept as "int" Tcl_ObjType, which also produce quick calls to Tcl_GetBooleanFromObj(). Since this internal change means a Tcl_ConvertToType to a "boolean" Tcl_ObjType might not produce a Tcl_Obj of type "boolean", the registration of the "boolean" type is also removed. ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType on the type name "boolean". FossilOrigin-Name: 5a07f799a910f827bfde569315da0c35d5181733
* * generic/tclObj.c (TclInitObjSubsystem): Removed thedgp2005-05-174-19/+24
| | | | | | | | | | | | | * tests/listObj.test: registration of the Tcl_ObjType's "list", * tests/obj.test: "procbody", "index", "ensembleCommand", "localVarName", and "levelReference". The only reason to register a Tcl_ObjType is to have it returned by Tcl_GetObjType, and the only reason for that is to retrieve a (Tcl_ObjType *) to pass to Tcl_ConvertToType(). None of the types above can support a Tcl_ConvertToType() call; they panic. Better not to offer something than to lead users into a panic. FossilOrigin-Name: 2074e27c04c43625db916bbf816e7efa5c715f85
* restore MSVC buildability of tclWin32Dll.ckennykb2005-05-162-1/+13
| | | FossilOrigin-Name: c022adcc3beaafdc580fcebb6cbd98c542d97ac4
* And another silly mistake...dkf2005-05-161-2/+2
| | | FossilOrigin-Name: 9136f670929d1053ae4db261d1427180039fab10
* Fixed minor mistake in the example (not following best-practice as dkf2005-05-161-2/+2
| | | | | | described in the Portability section) FossilOrigin-Name: c73418300c100658a68a077b50a8d59a3a206138
* whitespace/style policingdkf2005-05-141-561/+515
| | | FossilOrigin-Name: 52d15b0b4ddeea0ae090740024f50602b953177b
* whitespace fixdkf2005-05-141-1/+1
| | | FossilOrigin-Name: 43fd4654a78d23bc7a63b13991a15d5608b1bac3
* * generic/tclInt.decls:das2005-05-1422-119/+1713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs FossilOrigin-Name: 7ff2693241fa7879db699d629adeab83f4711017
* further rework of SEHkennykb2005-05-132-169/+189
| | | FossilOrigin-Name: d1306f71a887bc38a22085e20422a79cf0cde0bb
* * generic/tclBasic.c: Dropped the TCL_NO_MATH configuration.dgp2005-05-135-33/+15
| | | | | | | | * generic/tclBinary.c: It's believed this has not been working * generic/tclExecute.c: in a long time. Tcl needs math.h. * unix/Makefile.in: [RFE 1200680]. FossilOrigin-Name: c4a9664679f922aaafbd877dfb6fdaf1f93d9785
* Corrected duplication of test namesdgp2005-05-122-7/+7
| | | FossilOrigin-Name: b3032b416634a2e91632b22b52c8c1f279901577
* changed NAME to match the name of the page.kennykb2005-05-122-2/+6
| | | FossilOrigin-Name: 9092afcc5a9e6ba0aa06d2202fd461f847b20c2c
* Corrected example that confused [namespace which] and [namespace origin]dgp2005-05-121-2/+2
| | | FossilOrigin-Name: 2151523185a730224fe0762e1a58b93f59eb8130
* Added UCHAR's to ctype macros in tclStrToD.ckennykb2005-05-112-6/+13
| | | FossilOrigin-Name: b5d1ecb4f01878aeefc0d11d79960d63c8be02e5
* * unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictlyhobbs2005-05-112-1/+5
| | | | | | compliant compilers that don't like trailing ,s. FossilOrigin-Name: 03b9a47d8d539a6179a8c6037859de14120a0281
* * tests/string.test: string-10.[21-30]hobbs2005-05-113-3/+42
| | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map. FossilOrigin-Name: fab27ad2b82fd3f7f6165d26b9b3a31e07f3c0ba
* Fixes for C++-style comment and bad NaN on PA-RISCkennykb2005-05-104-26/+43
| | | FossilOrigin-Name: a4754204f2fb6d16f60635d63fe33606df6f94d5
* fixed Changelog entry for [Bug 1198892] fix - forgot to mention newmsofer2005-05-101-2/+3
| | | | | | regression tests. FossilOrigin-Name: 0b53eeb272ebab4d3fc483de16be3279ecffc210
* fix ChangeLog message for last commitkennykb2005-05-101-1/+1
| | | FossilOrigin-Name: 6fef346e5eb9baf3df60e0d59da5cb143ab82ce4
* Fixed uninitialized memory read in tclBinary.c when passing a NaN to ↵kennykb2005-05-102-1/+8
| | | | | 'd','q','Q' formats FossilOrigin-Name: 14211c38435f446f60548665e01db31636024970
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-10225-2328/+11351
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* committed local libtommath changes from kennykb-numerics-branch back to the ↵kennykb2005-05-103-3/+19
| | | | | Tcl HEAD FossilOrigin-Name: edc85b6177d417c7474a8ddd6556f8d136536a27
* * generic/tclExecute.c (ExponLong, ExponWide): fixed special casemsofer2005-05-103-4/+12
| | | | | | 'i**0' for i>0 [Bug 1198892] FossilOrigin-Name: 4b97cfe95407866af8700898285ddad1051b57e7
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-073-7/+29
| | | | | | add support for x86_64 Solaris cc builds. FossilOrigin-Name: 8f214f285491e8ae3d465227c253c8bb80b9e891
* * generic/tclInt.decls: Converted TclMatchIsTrivial to a macro.dgp2005-05-0513-164/+266
| | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: 751ccc1989f52d5d0cb315ae9aaa566bf255cf66
* Corrected a compilation error in the --enable-threads configurationkennykb2005-05-052-8/+18
| | | FossilOrigin-Name: db79d08c4526cc91477cfb288cc0bc8c41e8bb5a
* * generic/tclCompCmds.c: Factored common efficiency trick intodgp2005-05-052-91/+35
| | | | | | a macro named CompileWord. FossilOrigin-Name: 4c8dcccfb39ddead2a9314a7b292a1d8d2c44e50
* * generic/tclCompCmds.c: Replaced all instance ofdgp2005-05-055-102/+113
| | | | | | | | | | * 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. FossilOrigin-Name: 2f2f477a0587c716702f86c5d307b10b39844f25
* * doc/DString.3: Eliminated use of identifier "string" in Tcl'sdgp2005-05-0325-596/+617
| | | | | | | | | | | | | | | * 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` FossilOrigin-Name: 83aa957ebe8d942b417ec080d6731e06e930ba73
* * generic/tcl.decls:dgp2005-05-025-58/+40
| | | | | | | | | * generic/tclBasic.c: Simplified implementation of Tcl_ExprString. * tests/expr-old.test: * generic/tclDecls.h: `make gentstubs` FossilOrigin-Name: 6c4cb20910fa51c10a620a0be4397a1f62d72b43
* * unix/tclUnixNotfy.c: applied dkf's tkMacOSXNotify.c cleanup changes.das2005-04-302-109/+109
| | | FossilOrigin-Name: 73b282ccef11de3a2370127734c856f392e7ac45
* Whitespace/formatting fixesdkf2005-04-291-65/+49
| | | FossilOrigin-Name: 709b42df9dc5e8699160b00818cb11d0e169698f
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-2926-155/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: d9e4591786991fc6676581c61c73cb49f06f13a7
* * tests/unixInit.test (7.1): Alternative fix for thedgp2005-04-282-6/+11
| | | | | | 2004-11-11 commit. FossilOrigin-Name: 5dcc3507b3efbb0ffb1cb5108a0f4ffa97e740cd
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-283-3/+22
| | | | | | * tests/main.test: auto-completion. [Bug 1191409]. FossilOrigin-Name: 25b4da904a76ff9b7d0d1e31dd422cfe87621efc
* TIP#183 IMPLEMENTATION [Patch 577093]dgp2005-04-276-38/+152
| | | | | | | | | | | * 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: FossilOrigin-Name: 6a178af03aa25374a82bdae54109e47a091d98d8