summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to ensemble -unknown handler processing to stop [namespace import] fromdkf2004-08-253-16/+40
| | | | | disrupting things horribly. Problem found by Don Porter when investigating [Bug 1016167].
* * generic/tclProc.c: The routine TclProcInterpProc was a ↵dgp2004-08-256-174/+42
| | | | | | | | | | | | specific * generic/tclTestProcBodyObj.c: instance of the general service already provided by TclObjInvokeProc. Removed TclProcInterpProc and TclGetInterpProc from the code... * generic/tclInt.decls ...and from the internal stubs table. * generic/tclIntDecls.h * generic/tclStubInit.c
* update out of date commentdgp2004-08-241-2/+2
|
* Added clarifying note on [string map]'s behaviour.dkf2004-08-242-1/+13
|
* * library/auto.tcl: Updated [tcl_findLibrary] search pathdgp2004-08-232-19/+52
| | | | to include any [<pkg>::pkgconfig get scriptdir,runtime] directory, as well as the $::auto_path. [RFE 695441]
* Fixed bug in CET time spec - times change at 0100 Greenwuch, not local.Kevin B Kenny2004-08-211-2/+2
|
* * tests/clock.test (clock-38.1): Changed TZ setting to specifyKevin B Kenny2004-08-212-2/+9
| | | | | | CET in excruciating detail to deal with systems that lack the Posix defaults for DST changes (and to be formally correct with the change dates for CET).
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-193-12/+15
| | | | 1011860]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-193-9/+40
| | | | | | | from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
* * doc/tm.n: New file, documentation for Tcl Modules, based on theandreas_kupries2004-08-194-5/+290
| | | | | | | TIP. * unix/mkLinks: Regenerated. * win/makefile.vc: Added tm.tcl to list of files to install.
* added note about times out of Posix rangeKevin B Kenny2004-08-181-0/+6
|
* Fixed httpd's abuse of the [clock] commandKevin B Kenny2004-08-182-2/+6
|
* * library/init.tcl: Integrated TIP #189. We source a separate fileandreas_kupries2004-08-183-1/+366
| | | | | | | | | | | | (see below), instead of inlining the contents of that file. This should beeasier to maintain, and easier to backport/install in 8.4 installations. Note: Usage of Tcl Modules is restricted to non-safe interps. It cannot be loaded into a safe interp. * library/tm.tcl: New file, the v2 reference implementation for TIP #189, Tcl Modules.
* silence compiler warning on systems without mktimeKevin B Kenny2004-08-181-6/+6
|
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-185-29/+116
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-18690-974/+93971
|
* date correctiondgp2004-08-161-1/+1
|
* fix for [Bug 1008314]Miguel Sofer2004-08-165-13/+89
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-133-5/+32
| | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload].
* Changed handling of the returned thread ID since broken on 64-bitvasiljevic2004-08-102-2/+10
| | | | systems (Cray). Thanks to Rob Ratcliff for reporting the bug.
* Standardized constraint namedkf2004-08-041-2/+2
|
* Plug leak and clarify codedkf2004-08-032-10/+12
|
* Add field initialization to fix [Bug 989298]. D'oh!dkf2004-08-032-1/+7
|
* * library/package.tcl (pkg_mkIndex): Updated [pkg_mkIndex] todgp2004-08-022-20/+14
| | | | make use of [glob -directory $dir -tails] and return options.
* TIP#207 IMPLEMENTATIONdgp2004-08-028-81/+193
| | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841]
* * generic/tclLiteral.c (TclCleanupLiteralTable): Correcteddgp2004-08-023-22/+107
| | | | | | * tests/compile.test (compile-12.4): flawed deletion of literal internal reps that could lead to accessing of freed memory. Thanks to Kevin Kenny for test case and fix [Bug 1001997].
* Whitespace policing...dkf2004-08-021-131/+131
|
* More explicit compatibility warning, regarding TIP 148dgp2004-07-301-1/+3
|
* * tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]dgp2004-07-304-10/+14
| | | | | | * library/auto.tcl (auto_reset): Removed "protected" list of commands from [auto_reset]. All entries in the auto_index can be re-loaded. * library/package.tcl: Updated comment to reflect 2004-07-28 commit.
* * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalizedgp2004-07-302-24/+30
| | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956]
* * unix/configure:das2004-07-304-6/+14
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * library/package.tcl: [::pkg::create] is now an alias. Testdgp2004-07-292-9/+7
| | | | safe-2.1 will now fail until Bug 999612 is corrected.
* * library/package.tcl: Moved private commanddgp2004-07-284-27/+40
| | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* * tests/io.test: Make io-61.1 create file as binary to pass on Win32patthoyts2004-07-252-1/+6
|
* * generic/tclVar.c: simplify tclLocalVarNameType, removing theMiguel Sofer2004-07-232-68/+46
| | | | | | reference to the corresponding proc. The reference is now seen as unnecessary, and it may cause leaking circular references under some circumstances (see for example [Bug 994838]).
* formattingdgp2004-07-231-4/+4
|
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-233-852/+18
| | | | * tests/io.test: file of test data as needed.
* Tcl 8.4.7 changes ported forward. Other changes on HEAD also recorded.dgp2004-07-231-1/+114
|
* typodgp2004-07-231-1/+1
|
* typo/format fixesdgp2004-07-221-4/+5
|
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-216-24/+137
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* 2004-07-21 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2004-07-214-3/+72
| | | | | | | | | | | | | * generic/tclBasic.c (DeleteInterpProc): * generic/tclLiteral.c (TclCleanupLiteralTable): * generic/tclInt.h: added a TclCleanupLiteralTable function, called from DeleteInterpProc, that frees internal representations of shared literals early when an interpreter is being deleted. This change corrects a number of memory mismanagement issues in the cases where the internal representation of one literal contains a reference to another, and avoids conditions such as resolved variable names referring to procedure and namespace contexts that no longer exist. [Bug 994838]
* * unix/Makefile.in:das2004-07-204-10/+60
| | | | | | | | * win/Makefile.in: added 'install-private-headers' makefile target to allow optionally installing private tcl headers. [FR 922727] * macosx/Makefile: use new 'install-private-headers' target to install private headers into framework. [FR 922727]
* * unix/tclUnixFile.c (NativeMatchType): added support fordas2004-07-202-1/+10
| | | | readonly matching of user immutable files (where available).
* * macosx/tclMacOSXBundle.c: dynamically acquire address fordas2004-07-202-2/+26
| | | | | CFBundleOpenBundleResourceMap symbol, since it is only present in full CoreFoundation on Mac OS X and not in CFLite on pure Darwin.
* Redefined MASTER_LOCK in win/tclWinThrd.c to call TclpMasterLock for thevasiljevic2004-07-192-4/+11
| | | | sake of Tcl API users never creating Tcl interpreters.
* cd infinite loop bug fixedvincentdarley2004-07-174-23/+71
|
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-165-1470/+1342
| | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Move SC_MISSING_POSIX_HEADERS up and consolidate calls to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Corrected a typo in theandreas_kupries2004-07-162-3/+7
| | | | | generation of error messages and simplified by reusing data in a variable instead of retrieving the string again. Fixes [Tcl SF Bug 835289].
* * doc/OpenFileChnl.3: Added description of the behaviour ofandreas_kupries2004-07-162-1/+9
| | | | | Tcl_ReadChars when its 'charsToRead' argument is set to -1. Fixes [Tcl SF Bug 934511].