summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated freeIntRepProc routines sonijtmans2009-11-192-2/+9
| | | | | | | that they set the typePtr field to NULL so that the Tcl_Obj is not left in an inconsistent state. [Bug 2857044]
* Create tcltest86.dll as dynamic Tcltest packagenijtmans2009-11-192-15/+24
|
* Test-case for fixed [Bug 2849797]nijtmans2009-11-195-18/+26
| | | | | | Fix safe-10.1 and safe-10.4 test cases, making the wrong assumption that Tcltest should be a static package.
* * unix/tclAppInit.c: Repair broken build of the tcltest executable.dgp2009-11-193-16/+11
| | | | * win/tclAppInit.c: [Bug 2883850, 2900542].
* Undo Jan's needless vandalism.dkf2009-11-196-19/+28
|
* Add files to .cvsignorenijtmans2009-11-183-0/+11
|
* Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-1817-89/+190
| | | | get created with static Tcl build
* Fix [Bug 2849797]: channel name inconsistencies as suggested by DKFnijtmans2009-11-184-9/+25
| | | | | | minor *** POTENTIAL INCOMPATIBILITY *** because Tcl_CreateChannel() and its derivatives, now sometimes ignore their "chanName" argument.
* Eliminate unneccessary spacesnijtmans2009-11-182-4/+5
|
* Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-182-4/+3
|
* Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-1821-172/+199
|
* Eliminate unneccessary spacesnijtmans2009-11-189-49/+57
|
* Eliminate "then" keywordnijtmans2009-11-187-125/+133
|
* Fix [Bug 2891171]: URL checking too strict when using multiple question ↵nijtmans2009-11-181-2/+2
| | | | marks (added test case)
* formatdgp2009-11-171-3/+3
|
* * unix/tclUnixChan.c (TtyParseMode): Partial undo of Donal's tidy-andreas_kupries2009-11-172-5/+16
| | | | | | up from a few days ago (2009-11-9, not in ChangeLog). strchr is apparently a macro on AIX and reacts badly to pre-processor directives in its arguments.
* Use proper command creation routine.dgp2009-11-161-2/+2
|
* Revert mistaken commitdgp2009-11-1612-193/+50
|
* (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-1616-59/+270
| | | | manifestations in the future. Add tcltest support for finalization.
* * win/tclWinDde.c: Avoid gcc compiler warning bymdejong2009-11-162-5/+10
| | | | explicitly casting DdeCreateStringHandle argument.
* * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-123-10/+51
| | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a forward port from the 8.5 branch.
* * generic/tclClock.c (TclClockInit): Do not create [clock] supportdgp2009-11-122-1/+15
| | | | commands in safe interps.
* Fix [Bug 2891171]: URL checking too strict when using multiple question marksnijtmans2009-11-115-24/+33
|
* Fix [Bug 2888099] (close discards ENOSPC error) by saving the errnoferrieux2009-11-102-2/+24
| | | | | from the first of two FlushChannel()s. Uneasy to test; might need specific channel drivers. Four-hands with aku.
* * generic/tclBasic.c: Plug another leak in TCL_EVAL_DIRECTandreas_kupries2009-11-102-10/+14
| | | | | evaluation. Forward port from Tcl 8.5 branch, change by Don Porter.
* Cleanup directories that have been set chmod 000.patthoyts2009-11-102-10/+40
| | | | | | | | | On Windows7 and Vista we really have no access and these were getting left behind. A few tests were changed to reflect the intent of the test where setting a directory chmod 000 should prevent any modification. This restriction was ignored on XP but is honoured on Vista
* * generic/tclObj.c: Plus memory leak in TclContinuationsEnter().andreas_kupries2009-11-103-3/+20
| | | | | [Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don Porter.
* Removed outdated Msys + Mingw info.stwo2009-11-092-12/+7
|
* * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-092-2/+5
| | | | "res". Forward port from 8.5
* * generic/tclBasic.c (TclEvalObjEx): Moved the #280 decrement ofandreas_kupries2009-11-092-8/+15
| | | | | | | refCount for the file path out of the branch after the whole conditional, closing a memory leak. Added clause on structure type to prevent seg.faulting. Forward port from valgrinding the Tcl 8.5 branch.
* Some small bits of tidying up.dkf2009-11-093-154/+153
|
* Moved the descriptions of the index formats to their own section, anddkf2009-11-081-31/+35
| | | | added a warning to the 'bytelength' subcommand about future compatibility.
* Moved the descriptions of the index formats to their own section, anddkf2009-11-081-61/+75
| | | | added a warning to the 'bytelength' subcommand about future compatibility.
* Formatting correctiondkf2009-11-081-3/+3
|
* [Bug 2891026] add addtional contraints for vista+ for non-readable directoriespatthoyts2009-11-072-9/+32
|
* * library/safe.tcl (::safe::Setup): Added documentation of theandreas_kupries2009-11-062-31/+45
| | | | | | contents of the state array. Also killed the 'InterpState' procedure with its upleveled variable/upvar combination, and replaced all uses with 'namespace upvar'.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-15/+31
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (11) Fixed bug 2854929. Recurse into all subdirs under all TM root dirs and put them on the access path.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-64/+61
| | | | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (10) Misc. cleanup. Inlined IsInterp into CheckInterp, its only user. Consistent 'return -code error' for error reporting. Updated to use modern features (lassign, in/ni, dicts). The latter are used to keep a reverse path -> token map and quicker check of existence.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-14/+31
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (9) Changed the log command setup so that logging is compiled out completely when disabled (default).
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-053-119/+70
| | | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (8) Converted the path token system to cache normalized paths and path <-> token conversions. Removed more procedures not used any longer. Removed the test cases 4.3 and 4.4 from safe.test. They were testing the now deleted command "InterpStateName".
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-46/+10
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (7) Replaced the remaining uses of 'Set' and others outside of the path/token handling, and deleted a number of procedures related to state array access which are not used any longer.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-48/+82
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (6) Replaced several uses of 'Set' with calls to the new procedure 'InterpState' and direct access to the per-slave state array.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-8/+16
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (5) Moved the argument parsing setup into a procedure called when the code is loaded. Easier management of temporary data.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-50/+53
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (4) Moved the multiple namespace eval's around. Command export at the top, everything else (var decls, argument parsing setup) at the bottom.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-831/+833
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (3) Reindent the code. Just lots of whitespace changes. Functionality unchanged.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-2/+7
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (2) Move the procedures out of the namespace eval. Keep their locations. IOW, break the namespace eval apart into small sectionsnot covering the procedure definitions.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-052-39/+46
| | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (1) Change all procedure names to be fully qualified.
* Clarificationdkf2009-11-051-7/+16
|
* Clarified [namespace import] and NAME RESOLUTIONdkf2009-11-051-74/+83
|
* * library/tzdata/Asia/Novokuznetsk: New tzdata locale forKevin B Kenny2009-11-044-95/+355
| | | | | | | | Kemerovo oblast', which now keeps Novosibirsk time and not Kranoyarsk time. * library/tzdata/Asia/Damascus: Syrian DST changes. * library/tzdata/Asia/Hong_Kong: Hong Kong historic DST corrections. Olson tzdata2009q.