| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: 14854f4fff00560098e1b3f18cb763c6bd3d9d58
|
|
|
| |
FossilOrigin-Name: 225d96560a2fe4eb38bbee0ed4336c7ab2d7b46c
|
|
|
| |
FossilOrigin-Name: 0cee5f2df75b2f8e242a3ec66aaff6fd9f7ea9d4
|
|
|
| |
FossilOrigin-Name: 9ac0296ad460ff9bb5c2fba646f4fb8a9d6b7ac2
|
|
|
| |
FossilOrigin-Name: 8d1325ceb93b418e876e014351097597e9136ace
|
|
|
|
|
|
|
|
|
|
|
| |
time adding CONST to the API's exported from tclBasic.c.
[Patch #415179]
***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince
Darley's changes to command tracing were added. A const has been
added to the type signature of one of the parameters to
Tcl_CommandTraceProc.
FossilOrigin-Name: 2d62b07770c481a983f09145ea7e5a43f63c1d16
|
|
|
| |
FossilOrigin-Name: be05dac289c878a93efbe98a94e422df3cf27f48
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in (checkdoc): New target, checking the
definitions as found in the compiled library against the
manpages to find undocumented public functionality.
* unix/mkLinks: Updated to include the new manpage.
* doc/UniCharIsAlpha.3: New manpage documenting the Unicode
character classification APIs [Bug #218720].
FossilOrigin-Name: a38cb4ed7c6a74911d6f4e743b9fcad0171763d9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Updated to incorporate the changes below.
* doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
section. [Bug #414435].
* doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and
'Tcl_AttemptRealloc' to the NAME section. [Bug #414435].
* doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
FossilOrigin-Name: 872fb4567aefc93be400f3e6e2ec90ca504aa27a
|
|
|
|
|
|
| |
[Bug #219402]
FossilOrigin-Name: e9e3650d52bd95f0745cbd6bd0ff1760f38e876a
|
|
|
|
|
|
|
| |
* doc/Macintosh.3: Removed duplicates from .SH line
[Bug #413983].
FossilOrigin-Name: 6ee3ca938cd0f5fc58ddb61e5bca43ea1e82c8d4
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Updated to contain the new manpage.
* doc/Environment.3: New manpage, describes Tcl_PutEnv
[Bug #219171].
* doc/Macintosh.3: New manpage describing the macintosh specific
parts of the public API [Bug #219169].
FossilOrigin-Name: b66749bdda48274ab5d63605f62944bb99ee2539
|
|
|
|
|
|
| |
in place of simple "char*". (kennykb) [Patch #404026]
FossilOrigin-Name: bda1abaf857abf5feb7ebd78aeb1f6a60fcbb8c0
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Added 'Signal.3', 'Tcl_WaitPid'.
* doc/DetachPids.3: Added description of 'Tcl_WaitPid' [Bug #219173].
* doc/Signal.3: New man page describing the public API procedures
'Tcl_SignalId' and 'Tcl_SignalMsg' [Bug #219172].
FossilOrigin-Name: b33fc9c2a126f67955768244e562f338c865ded4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* All of the changes below belong to TIP #10 [Tcl I/O Enhancement:
Thread-Aware Channels]. See also [Patch #403358] at SF.
* generic/tclIO.h (struct ChannelState, line 236f): Extended the
structure with a new field of type 'Tcl_ThreadId' to hold the id
of the thread currently managing all channels with this state.
Note: This structure is shared by all channels in a stack of
transformations.
* generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified
to store the Id of the current thread in the 'ChannelState' of
the new channel.
* generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified
in the same manner as 'Tcl_CreateChannel' as the channel will be
managed by the current thread afterward.
* generic/tclIO.c (Tcl_GetChannelThread, lines 1478-1503):
* generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New
API function to retrieve the Id of the managing thread from a
channel. Implementation and declaration.
* generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added
subcommand 'mthread' to query a channel about its managing
thread.
FossilOrigin-Name: 902eab8ec8e95ce2acde8110fda3321c5e487336
|
|
|
| |
FossilOrigin-Name: 62008473e3437c7ef3748dc336a29d8b35a3a556
|
|
|
| |
FossilOrigin-Name: 13b8955802a126305106a1b27d98a63077d59ede
|
|
|
| |
FossilOrigin-Name: d21256b7f5e35f78e5013372727eedcc922703ee
|
|
|
|
|
|
| |
char *'s, not ints. [Bug #411388]
FossilOrigin-Name: 62b0f03d24dd8e334208eb4cdee7b680188670a9
|
|
|
| |
FossilOrigin-Name: a24fb131fd324657767814294842105257cac624
|
|
|
|
|
|
| |
of the argument array, and another with the documentation.
FossilOrigin-Name: 308102bafc14cee55bb361a5dd1f8c84203a7f94
|
|
|
|
|
|
| |
including the correct formatting of ISO-8601:1988 fiscal week number (%V).
FossilOrigin-Name: a60d4ac18661ee3c432ad32703a54667b487b1f8
|
|
|
| |
FossilOrigin-Name: cebe98ef3a92cd4de73cd778c920bbf75d8b52a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Everything below belongs together, it fixes bug #123153.
* generic/tcl.h (line 342): A bit more explanation about the
default value for TCL_PRESERVE_BINARY_COMPATABILITY.
* generic/tcl.h (line 1208): Removed the macro 'Tcl_InitHashTable'
as it kills binary compatibility to 8.3 and earlier
versions. This is the main part of the patch/change.
* generic/tcl.decls (line 1469):
* generic/tclHash.c (Tcl_InitHashTable):
* generic/tclHash.c (Tcl_InitHashTableEx):
* generic/tclObj.c (Tcl_InitObjHashTable): Changed
'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change
is more of an estethical nature, replacing the ubiquitous 'Ex'
suffix with a more meaningful name. The introduced binary
incompatibility is deemed acceptable as it is between alpha
versions. Updated callers.
* doc/Hash.3:
* unix/mkLinks: Changed 'Tcl_InitHashTableEx' to
'Tcl_InitCustomHashTable'.
FossilOrigin-Name: f44e486cdff1f9ea3453b7837b273cc123b86afe
|
|
|
| |
FossilOrigin-Name: 76ff65c10b114b6d654833a1d1cd430d0e3f96b1
|
|
|
|
|
|
|
|
|
| |
* tests/scan.test:
* generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use
strtoul instead of strtol to correctly preserve scan<>format
conversion of large integers. [Patch #102663, Bug #124600]
FossilOrigin-Name: c628433a43ea646a30778a09baa2dcc12aee00a9
|
|
|
| |
FossilOrigin-Name: 1b0b1f5116061ff4840c7df4de9c825b481e6fe1
|
|
|
| |
FossilOrigin-Name: a89c5e2ad3d9d243985fb8d82656ee8eba2bf465
|
|
|
|
|
|
|
| |
work properly) since the behaviour reported as buggy was actually
correct.
FossilOrigin-Name: 2d230fc9b11962821a79e15cb15060c942e7dddf
|
|
|
| |
FossilOrigin-Name: 96b3bbccbcff647ad8a94269aa60d2124809286b
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl:
* library/tcltest1.0/pkgIndex.tcl:
* docs/tcltest.n: Moved tcltest2 code so that it's the standard
version of tcltest. Removed all tcltest2 files
(tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl,
docs/tcltest2.n).
FossilOrigin-Name: 30eb4d542e925f40201f5e76c74ff9050b2213c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/tcltest2.test
* doc/tcltest2.n: Code and documentation cleanup. Modified
-verbose to take list of keywords as well as string of letters.
Removed Tcl version information from tcltest. Removed
tcltest::grep from tcltest package. Added optional 3rd directory
argument to makeFile/makeDirectory and removeFile/removeDirectory.
* tests/basic.test: Changed references to tcltest::tclVersion to
hardcoded numbers.
* generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl
in comments to tests/basic.test.
FossilOrigin-Name: 105995497b0c05e2a47956689ff2bb0c2d69c2eb
|
|
|
| |
FossilOrigin-Name: e4ac0a30acd14328e2525a67cf079e88f9aa7fbc
|
|
|
|
|
|
|
|
| |
accept both attribute-value pairs and command line options.
Updated the tests and the documentation for this new format.
Also changed the option names for the test command. Fixed some typos.
FossilOrigin-Name: 63c6f73017dcba067934dfaadca37926cd02f86a
|
|
|
| |
FossilOrigin-Name: 36d00ba957059874876ac28b4ceda4495abbdf68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/tcltest1.0/tcltest2.tcl: New version of tcltest.
Cleanup of command line parsing: allows users to specify command
line arguments through an environment variable named
TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect
arguments, and forces usage of entire flag name when using command
line arguments. Defines accessor procs for all tcltest
variables. Allows users to use 'return' in test scripts. Allow
users to specify whether test files should be sourced or run in a
separate process. 'all.tcl' code moved to tcltest package.
'test' proc modified to use attribute-value pairs. Allow users to
specify what return codes, output, and errors can be compared and
whether these values should be compared using regexp, glob, or
exact matching. makeDirectory & removeDirectory now operate with
respect to temporaryDirectory [Bug: 6001]. Test results from
tests run in slave interpreters are now included in test totals
[Bug: 1493]. Test files that return error values are now reported.
* tests/all.tcl: Added code to check for the tcltest version
loaded; modified to figure out which tests to run based on the
tcltest version loaded.
* tests/tcltest.test: Modified to explicitly load version 1.0 of
tcltest.
* tests/tcltest2.test: New test suite for tcltest; includes all of
the old tests plus new ones reflecting changes made for version
2.0.
* tests/cmdAH.test: Added singleTestInterp constraint to
cmdAH-31.2; this test does not run if tests aren't sourced into a
single interpreter.
* tests/socket.test: Fixed two tests that were referencing
variables outside of scope.
* tools/tcl.wse.in: Added code to install tcltest2.tcl.
* doc/tcltest2.n: New documentation for tcltest version 2.0.
Removes documentation for tcltest namespace variables. Adds
documentation for new tcltest procs.
* unix/mkLinks: Added code to link to tcltest2.n.
* generic/tcl.h: Added comment to modify tcltest2.tcl as well as
tcltest.tcl for version changes.
FossilOrigin-Name: 495294d1303296684ee750beb104d493721e41b8
|
|
|
|
|
|
|
|
| |
* doc/Eval.3: Added a note about the script argument to Tcl_Eval()
should be in UTF-8 or risk implied conversion errors when possible
combinations of upper ascii can be valid UTF-8 special codes.
FossilOrigin-Name: 874d472072071c70ac5046a55216be82ab0cfbe4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.
* generic/tclDecls.h:
* generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.
* generic/tcl.decls: Added stubs for the Tcl_Attempt* memory
allocators and for Tcl_AttemptSetObjLength.
* generic/tcl.h: Added #define's for attemptckalloc,
attemptckrealloc, which map to the Tcl_Attempt* memory allocators.
* generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc,
Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc,
Tcl_AttemptRealloc, etc. These are used by
Tcl_AttemptSetObjLength and the string obj append functions.
* generic/tclStringObj.c: Modified string growth algorithm to use
doubling algorithm as long as possible, and only fall back when
that fails. Added Tcl_AttemptSetObjLength, and modified
AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and
Tcl_AppendStringsToObjVA to support this.
FossilOrigin-Name: 66347b65e49a6866c410d4c89031857f714db201
|
|
|
| |
FossilOrigin-Name: fceb6ccc40fc2bb9dbc47eb5c04f2ac9bc07efa9
|
|
|
| |
FossilOrigin-Name: 2d432825691c20428faf68df692ebfbe9b5ee15a
|
|
|
|
|
|
|
| |
* doc/Eval.3: added extra note about how to safe use ^Z in code,
as it is now a cross-platform (was just Windows) EOF char.
FossilOrigin-Name: 15427185f2920a6664016c064a7b50bc57900f5e
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/trace.n: Clarified information about when array traces will
be fired.
* generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces
(for TCL_TRACE_ARRAY) to only be called when the variable is
either an array or is undefined, to ensure that array traces do
not fire for scalar variables.
FossilOrigin-Name: 78f46f24d0b2b1dff03ef9719925cbe02a4a224c
|
|
|
|
|
|
| |
from Peter Spjuth.
FossilOrigin-Name: 667da4e9fff935e47f2904775ba26d6ff31d0d53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syntax as deprecated; added documentation for command
rename/delete traces and variable array traces.
* tests/trace.test: Updated tests for new trace syntax; new tests
for command rename/delete traces; new tests for array traces.
* generic/tclVar.c: Support for new trace syntax; support for
TCL_TRACE_ARRAY.
* generic/tclStubInit.c:
* generic/tclDecls.h:
* generic/tcl.decls: Stub functions for command rename/delete traces.
* generic/tcl.h:
* generic/tclInt.h:
* generic/tclBasic.c: Support for command traces.
* generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support
new [trace] syntax:
trace {add|remove|list} {variable|command} name ops command
Added support for command traces (rename, delete operations).
Added support for TCL_TRACE_ARRAY at Tcl level (array operation
for variable traces).
FossilOrigin-Name: e12f4e1180c117b15f077f0487b3c38061d60f02
|
|
|
| |
FossilOrigin-Name: 50488dfc4cf112320bb8bb9cfa3987fb8364b035
|
|
|
|
|
|
| |
default locale on Windows.
FossilOrigin-Name: 1abad325499810f6fe205997a624b2a350045dcb
|
|
|
|
|
|
|
|
|
|
| |
doc/Object.3, doc/RegExp.3, doc/SetResult.3, doc/SplitList.3, doc/Thread.3:
Added missing entries to NAME sections.
doc/AddErrInfo.3, doc/CrtObjCmd.3, doc/RecEvalObj.3:
Changed Tcl_EvalObj to Tcl_EvalObjEx
FossilOrigin-Name: 68fe2a61a5e030d2764f54eb3060a99984c067a5
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others.
FossilOrigin-Name: 9ec468f4054cf859e1310e5612ae81b6645c8fdc
|
|
|
|
|
|
| |
32-bit system [Bug: 6035].
FossilOrigin-Name: 35180fc2a9f157a30a87438e994a513144428dd0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others; it
seems to break Tk.
FossilOrigin-Name: 2abafbeedcaf23dce2eea7b382c5d6eef8f99d62
|