summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/Makefile: moved & corrected EMBEDDED_BUILD check.das2005-05-264-9/+18
| | | | | | * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.59
* Tab characters are important in *roff tables...dkf2005-05-261-7/+7
|
* * generic/tclCmdMZ.c (Tcl_TimeObjCmd): add necessary casthobbs2005-05-252-2/+7
|
* TIP#182 IMPLEMENTATION [Patch 1165062]dgp2005-05-255-14/+119
| | | | | | | * doc/mathfunc.n: New built-in math function bool(). * generic/tclBasic.c: * tests/expr.test: * tests/info.test:
* * library/init.tcl: Updated [unknown] to be sure the [return]dgp2005-05-243-3/+23
| | | | | * tests/init.test: options from an auto-loaded command are seen correctly by the caller.
* * tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env varsdas2005-05-242-3/+6
| | | | that need to be handled specially.
* fixed typo in EXTRA_INSTALL_BINARIESdas2005-05-232-3/+3
|
* * 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
* * 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
* * 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]
* * doc/expr.n:das2005-05-233-9/+14
| | | | * doc/string.n: fixed roff syntax complaints from 'make html'.
* Fixed a bug in expr round(x) function: returned an empty string if x was an ↵chengyemao2005-05-221-1/+2
| | | | integer
* * 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].
* * 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.
* Quell a gcc warningdkf2005-05-191-4/+5
|
* Scratch one bizarre while loop... :^)dkf2005-05-192-66/+67
|
* * 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.
* * 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.
* * 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.
* minor phrasing improvements.dgp2005-05-181-3/+3
|
* * 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.
* * 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".
* * 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.
* restore MSVC buildability of tclWin32Dll.cKevin B Kenny2005-05-162-1/+13
|
* And another silly mistake...dkf2005-05-161-2/+2
|
* Fixed minor mistake in the example (not following best-practice as dkf2005-05-161-2/+2
| | | | described in the Portability section)
* whitespace/style policingdkf2005-05-141-561/+515
|
* whitespace fixdkf2005-05-141-1/+1
|
* * 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
* further rework of SEHKevin B Kenny2005-05-132-169/+189
|
* * 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].
* Corrected duplication of test namesdgp2005-05-122-7/+7
|
* changed NAME to match the name of the page.Kevin B Kenny2005-05-122-2/+6
|
* Corrected example that confused [namespace which] and [namespace origin]dgp2005-05-121-2/+2
|
* Added UCHAR's to ctype macros in tclStrToD.cKevin B Kenny2005-05-112-6/+13
|
* * unix/tclUnixFCmd.c: add lint attr to enum to satisfy strictlyhobbs2005-05-112-1/+5
| | | | compliant compilers that don't like trailing ,s.
* * 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.
* Fixes for C++-style comment and bad NaN on PA-RISCKevin B Kenny2005-05-104-26/+43
|
* fixed Changelog entry for [Bug 1198892] fix - forgot to mention newMiguel Sofer2005-05-101-2/+3
| | | | regression tests.
* fix ChangeLog message for last commitKevin B Kenny2005-05-101-1/+1
|
* Fixed uninitialized memory read in tclBinary.c when passing a NaN to ↵Kevin B Kenny2005-05-102-1/+8
| | | | 'd','q','Q' formats
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-10225-2328/+11351
|
* committed local libtommath changes from kennykb-numerics-branch back to the ↵Kevin B Kenny2005-05-103-3/+19
| | | | Tcl HEAD
* * generic/tclExecute.c (ExponLong, ExponWide): fixed special caseMiguel Sofer2005-05-103-4/+12
| | | | 'i**0' for i>0 [Bug 1198892]
* * unix/tcl.m4, unix/configure: correct Solaris 10 (5.10) check andhobbs2005-05-073-7/+29
| | | | add support for x86_64 Solaris cc builds.
* * 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:
* Corrected a compilation error in the --enable-threads configurationKevin B Kenny2005-05-052-8/+18
|
* * generic/tclCompCmds.c: Factored common efficiency trick intodgp2005-05-052-91/+35
| | | | a macro named CompileWord.
* * 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.
* * 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`