summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c: Corrected a few bugs in how [namespace unknown]dgp2006-02-221-51/+42
| | | | * tests/namespace.test: interacts with TCL_EVAL_* flags. [Patch 958222]
* * generic/tclIORChan.c: Revised error message generation and handlingdgp2006-02-171-63/+73
| | | | | * tests/ioCmd.test: of exceptional return codes in the channel reflection layer. [Bug 1372348].
* * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-3/+3
| | | | | * tests/indexObj.test: when TCL_EXACT matching is requested. * tests/ioCmd.test:
* * generic/tclIO.c: Made several routines tolerant ofdgp2006-02-153-26/+47
| | | | | * generic/tclIORChan.c: interp == NULL arguments. [Bug 1380662] * generic/tclIOUtil.c:
* TIP#215 IMPLEMENTATIONdgp2006-02-092-7/+7
| | | | | | | | | | * doc/incr.n: Revised [incr] to auto-initialize when varName * generic/tclExecute.c: argument is unset. [Patch 1413115]. * generic/tclVar.c: * tests/compile.test: * tests/incr-old.test: * tests/incr.test: * tests/set.test:
* TIP#258 IMPLEMENTATIONdgp2006-02-0810-96/+122
| | | | | | | | | | | | | | | | | | | | | * doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* Minor style fixesdkf2006-02-021-16/+15
|
* Style/comment fixesdkf2006-02-021-83/+81
|
* Space/style improvementsdkf2006-02-021-107/+139
|
* Restore formatting goodnessdkf2006-02-011-276/+346
|
* * generic/tclProc.c: minor improvements to [apply]Miguel Sofer2006-02-011-27/+27
| | | | | * tests/apply.test: new tests; apply-5.1 currently fails to indicate missing work in error reporting
* TIP#194 IMPLEMENTATIONdgp2006-02-013-18/+263
| | | | | | | | | | | * doc/apply.n: (New file) New command [apply]. [Patch 944803]. * doc/uplevel.n: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclProc.c: * tests/apply.test: (New file) * tests/proc-old.test: * tests/proc.test:
* TIP#181 IMPLEMENTATIONdgp2006-02-016-20/+283
| | | | | | | | | | | | | * doc/Namespace.3: New command [namespace unknown]. New public * doc/namespace.n: C routines Tcl_(Get|Set)NamespaceUnknownHandler. * doc/unknown.n: [Patch 958222]. * generic/tcl.decls: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclNamesp.c: * tests/namespace.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* TIP#250 IMPLEMENTATIONdgp2006-02-013-24/+149
| | | | | | | | | * doc/namespace.n: New command [namespace upvar]. [Patch 1275435] * generic/tclInt.h: * generic/tclNamesp.c: * generic/tclVar.c: * tests/namespace.test: * tests/upvar.test:
* * generic/tclStringObj.c: fixed incorrect handling of internal repMiguel Sofer2006-01-231-2/+2
| | | | in Tcl_GetRange [Bug 1410553]. Thanks to twylite and Peter Spjuth.
* * generic/tclProc.c: fixed args handling for precompiled bodiesMiguel Sofer2006-01-231-7/+7
| | | | [Bug 1412695]; thanks to Uwe Traum.
* * generic/tclPipe.c (FileForRedirect): Prevent nameString fromrmax2006-01-161-5/+4
| | | | | being freed without having been initialized. * tests/exec.test: Added a test for the above.
* Fixed potential overwriting of already freed memoryvasiljevic2006-01-121-3/+7
| | | | | which caused all kinds of (rare but reproducible) coredumps all over the place.
* * generic/tclBasic.c: Moved Tcl_LogCommandInfo from tclBasic.c todgp2006-01-112-62/+83
| | | | | | | | | | * generic/tclNamesp.c: tclNamesp.c to get access to identifier with * tests/error.test (error-7.0): file scope. Added check for traces on ::errorInfo, and when present fall back to contruction of the stack trace in the variable so that write trace notification timings are compatible with earlier Tcl releases. This reduces, but does not completely eliminate the ***POTENTIAL INCOMPATIBILITY*** created by the 2004-10-15 commit. [Bug 1397843].
* * generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]dgp2006-01-091-4/+6
| | | | | * tests/namespace.test: commands were not reported by [info level] [Bug 1400572].
* Minor cleanup to stop exporting functions that do not need to be. [Bug 971336]dkf2006-01-091-16/+16
|
* Fix typo in missing stub table pointerKevin B Kenny2005-12-311-2/+2
|
* Export Tcl_InitBignumFromDoubleKevin B Kenny2005-12-277-18/+36
|
* Corrected bugs in tommath installation, improved tommath square root ↵Kevin B Kenny2005-12-275-28/+13
| | | | performance, patched around a [clock scan] issue with time zones
* Use %ld instead of %d in Tcl_GetMemoryInfodkf2005-12-201-9/+9
|
* 2005-12-19 Don Porter <dgp@users.sourceforge.net>dgp2005-12-195-26/+34
| | | | | | | | | | | | | | | * 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.
* Fix [Bug 1382528]; thanks to Anton Kovalenko for finding this.dkf2005-12-181-13/+16
|
* A little bit of tidying up in INST_DICT_DONE (fewer type puns, faster).dkf2005-12-181-12/+19
|
* * generic/tclIOUtil.c: workaround gcc warning "comparison is alwaysdas2005-12-152-2/+24
| | | | * generic/tclTest.c: false due to limited range of data type".
* * macosx/Tcl.xcode/project.pbxproj:das2005-12-141-2/+2
| | | | | | | * macosx/Tcl.xcodeproj/project.pbxproj: * unix/Makefile.in: add new tclTomMath* files. * generic/tclBasic.c: replace panic with Tcl_Panic.
* Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-1323-838/+2139
|
* Fix [Bug 1379349]dkf2005-12-131-4/+7
|
* change "procedure" to "function" for (slightly) greater claritydkf2005-12-121-8/+8
|
* Fix [Bug 1374778]dkf2005-12-091-4/+18
|
* * win/Makefile.in, win/makefile.vc: Add Win x64 and CE build supporthobbs2005-12-081-15/+4
| | | | * win/tcl.m4, win/configure: CE still requires C code fixes.
* * generic/tcl.h: use struct __stat64 (not _stat64) for MSC_VER >=hobbs2005-12-081-2/+2
| | | | 1400 (i.e. latest Platform SDK).
* another puny speedup - no error thrown from ::tcl::clock::getenvKevin B Kenny2005-12-021-7/+4
|
* Slightly better style (no _ANSI_ARGS_ even in comments, use void instead of ↵dkf2005-12-011-13/+13
| | | | VOID)
* * generic/tclClock.c: fix warning.das2005-12-011-3/+7
|
* code rationalization - eliminate some duplication between Tcl and CKevin B Kenny2005-11-301-3/+191
|
* fix [clock format -timezone :localtime] for times before the Posix EpochKevin B Kenny2005-11-301-4/+9
|
* silenced compiler warning about big constantKevin B Kenny2005-11-301-2/+4
|
* New TEBC opcode, INST_JUMP_TABLE, for compiling the simple (and common) case ofdkf2005-11-304-26/+314
| | | | | [switch] into a jump-table. Much faster for long switches. Also compiler support for generating the new instruction where appropriate.
* fixed bad refcount that corrupted heapKevin B Kenny2005-11-301-1/+2
|
* make [clock format] go fasterKevin B Kenny2005-11-293-230/+1216
|
* Fix [Bug 1366683]dkf2005-11-291-3/+17
|
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-2723-166/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* Don't set tclStubsPtr to 0 when Tcl_PkgRequireEx() failsjenglish2005-11-201-24/+4
| | | | [Fix for #1091431 "Tcl_InitStubs failure crashes wish"]
* * generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtrhobbs2005-11-181-5/+10
| | | | until we netrieve next statePtr from it.
* * generic/tclObj.c (GetBignumFromObj): replace NULL withMiguel Sofer2005-11-181-2/+2
| | | | | | tclEmptyStringRep to stop memcpy from complaining in a debug build (the corresponding branch is eliminated by the optimiser otherwise).