| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The core-8-3-1-io-rewrite branch should now be considered defunct.
FossilOrigin-Name: 4a5dd63d1f5efaf30ac7fb5f31fafb9893f69100
|
|
|
|
|
|
|
|
| |
(TCL_READABLE|TCL_WRITABLE) from the flags, as CloseChannel does
this on the next pass through for the top channel, and it appeared
to be causing hangs by not allowing the final flush.
FossilOrigin-Name: 7659a94a042038049309bddffd5c5edc7416788e
|
|
|
|
|
|
|
|
|
|
| |
to effect certain operations on the next channel that would have
been done in Tcl_Close. Also added CHANNEL_CLOSED and removed
(TCL_READABLE|TCL_WRITABLE) bits from chanPtr->flags. Changed
final reset of the WatchProc to check the chanDownPtr's (next)
interestMask.
FossilOrigin-Name: 0224a167ee9a9e6d1593a172809fb8e36c62cbf2
|
|
|
|
|
|
|
| |
unstack a channel during the close process. Fixed a refcount bug
in Tcl_UnstackChannel. [Bug: 5623]
FossilOrigin-Name: f7571ce9e036c7156d5233a87c138ea092c2b8d8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/http.test
* doc/http.n
* library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful
geturl calls sometimes leaked memory and resources (sockets).
Also, switched around some of the logic so that http::wait never
throws an exception. This is because in an asynchronous geturl,
the command callback will probably end up doing all the error
handling anyway, and in an asynchronous situation, the user
expects to check the state when the transaction completes, as
opposed to being thrown an exception. For the http package, this
menas the user can check http::status for "error" and http::error
for the error message after doing the http::wait.
FossilOrigin-Name: 43202241e22712cadcbde2871b6924ec05e74459
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
created when TCL_MEM_DEBUG is defined at compile time.
* doc/TCL_MEM_DEBUG.3: Man page with overall information about
TCL_MEM_DEBUG usage.
* doc/DumpActiveMemory.3: Man page for Tcl_DumpActiveMemory,
Tcl_InitMemory, and Tcl_ValidateAllMemory [Bug: 1816, 1835].
* generic/tclCkalloc.c: Fixed some function headers.
* unix/mkLinks: Regen'd with new mkLinks.tcl.
* unix/mkLinks.tcl: Fixed indentation, made link setup more
intelligent (only do one existance test per man page, instead of
one per function).
FossilOrigin-Name: 9aabc80546f973f15c034d1588b01acd930ab13a
|
|
|
|
|
|
|
| |
* unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of
USE_TCLALLOC on Unix. [Bug: 4731]
FossilOrigin-Name: 618011d0b22f7d1d6ad7a5e0ae9caa838f721e89
|
|
|
|
|
|
| |
node ids.
FossilOrigin-Name: 20e78a2f2db85fc68545d64558a3722dc555c3dc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* win/README.binary: bumped version to 8.3.1
* win/tcl.hpj.in: updated copyright date
* generic/tclEnv.c: environment support for Mac OS/X
* unix/tclUnixPort.h: environment support for Mac OS/X
* unix/tclLoadDyld.c: new file for Mac OS/X dl functions
* unix/Makefile.in: added install-strip target; bindir, libdir,
mandir, includedir vars; tclLoadDyld.c target [Bug: 2527]
* unix/tclUnixChan.c (CreateSocket): force a socket back into
blocking mode (default state) after a -async connect succeeds.
[Bug: 4388]
* generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to
thread-local storage to prevent thread-related race condition.
[Bug: 5033]
* unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the
library path as it was unnecessary and conflicts with move of
tclLibraryPath to thread-local storage.
FossilOrigin-Name: 2bb0593bdff552c313069e7eaf4fc17d4e269b63
|
|
|
|
|
|
|
| |
thread-local storage to prevent thread-related race condition.
[Bug: 5033]
FossilOrigin-Name: 800390a3de21e501e2074a89b7c6261ceaea4b27
|
|
|
|
|
|
| |
macros for declaring the NewThread callback proc.
FossilOrigin-Name: 3013a54849797beb3691e2aa78193867fef90af0
|
|
|
|
|
|
| |
to not conflict with global decl on some systems [Bug: 2882]
FossilOrigin-Name: cc48184a2278780232822ae9db2be15af49df6a6
|
|
|
| |
FossilOrigin-Name: e8fa73f24d42d2aeec7493586fab30d66f1a3fea
|
|
|
| |
FossilOrigin-Name: c66c45242e2ff8288dd7f6014c99756fb116621f
|
|
|
|
|
|
|
|
|
|
| |
contents string from UTF to native encoding [Bug: 4030].
* tests/regexp.test: Added tests for infinite looping in [regexp -all].
* generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all] [Bug: 4981].
FossilOrigin-Name: 1908ebdc39b71cc7648c9ccca12713c005201b83
|
|
|
|
|
|
|
| |
for Windows as the build choked. It seems to be OK using the Unix
fallback (void).
FossilOrigin-Name: 484f58332af36ebe764db73dff6951fd637d7a7a
|
|
|
| |
FossilOrigin-Name: 0ed4a6b7ce19112651c822d8791cc7801603cf7f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Overall change: Definition of a public API for the creation of
new threads.
* generic/tclInt.h (line 1802f): Removed the definition of
'TclpThreadCreate'. (line 793f) Removed the definition of
'Tcl_ThreadCreateProc'.
* generic/tcl.h (line 388f): Readded the definition of
'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David
Graveraux <davygrvy@bigfoot.com> to that too (__stdcall,
...). Added macros for the default stacksize and allowed flags.
* generic/tcl.decls (line 1356f): Added definition of
'Tcl_CreateThread', slot 393 of the stub table. Two new
arguments in the public API, for stacksize and flags.
* win/tclWinThrd.c:
* mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread,
added handling of the stacksize. Flags are currently ignored.
* unix/tclUnixThrd.c: See above, but handles joinable
flag. Ignores the specified stacksize if the macro
HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined.
* generic/tclThreadTest.c (line 363): See below.
* unix/tclUnixNotfy.c (line 210): Adapted to the changes
above. Uses default stacksize and no flags now.
* unic/tcl.m4 (line 382f): Added a check for
'pthread_attr_setstacksize' to detect platforms not implementing
this feature of pthreads. If it is implemented, configure will
define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See
unix/tclUnixThrd.c too).
* doc/Thread.3: Added Tcl_CreateThread and its arguments to the
list of described functions. Removed stuff about not providing a
public C-API for thread-creation.
FossilOrigin-Name: 51f6c167f66056d7bb0b2490b8ac04ec0d454733
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIO.c (Tcl_UnstackChannel, line 1831): Forcing interest
mask to the correct value after an unstack and re-initialization
of the notifier via the watchProc. Without this the first
fileevent after an unstack will come through and be processed,
but no more. [Bug: ??].
FossilOrigin-Name: 52b3ac564c13860e07a86c0d266588721d594dca
|
|
|
| |
FossilOrigin-Name: 8dddd071dc9c6d24069d09cf4d8ca5f2b52ff5f5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Overall change: Definition of public API's for the finalization
of conditions and mutexes. [Bug: 4199].
* generic/tclInt.h: Removed definitions of TclFinalizeMutex and
TclFinalizeCondition.
* generic/tcl.decls: Added declarations of Tcl_MutexFinalize and
Tcl_ConditionFinalize.
* generic/tclThread.c: Renamed TclFinalizeMutex to
Tcl_MutexFinalize. Renamed TclFinalizeCondition to
Tcl_ConditionFinalize.
* generic/tclNotify.c: Changed usage of TclFinalizeMutex to
Tcl_MutexFinalize.
* unix/tclUnixNotfy.c:
* generic/tclThreadTest.c: Changed usages of TclFinalizeCondition to
Tcl_ConditionFinalize.
* generic/tcl.h: Added empty macros for Tcl_MutexFinalize and
Tcl_ConditionFinalize, to be used when the core is compiled
without threads.
* doc/Thread.3: Added description the new API's.
FossilOrigin-Name: 861e460865376cec8a58d5ada51246e862a3ada4
|
|
|
|
|
|
| |
to prevent itcl info override crash [Bug: 4064]
FossilOrigin-Name: 3181b69dcef9103e2f77c900e8717235e778d308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error test (previously only errno was checked, but the return
value of strtod() should be checked as well). [Bug: 4118].
* tests/exec.test: Added test for proper conversion of UTF data
when used with "<< $dataWithUTF" on exec's.
* unix/tclUnixPipe.c (TclpCreateTempFile): Added
Tcl_UtfToExternalDString call, so that if there is UTF content in
the string it will be properly converted to the system encoding
before being written [Bug: 4030].
(TclpCreateTempFile): Added a check on the return value of tmpnam;
some systems (Linux, for example) will start to return NULL after
tmpnam has been called TMP_MAX times; not checking for this can
have bad results (overwriting temp files, core dumps, etc.)
FossilOrigin-Name: 27f457dd13bd11383a15651c5e9c2bcbc947599b
|
|
|
|
|
|
|
|
|
|
|
|
| |
noting the need to pair ckalloc with ckfree. [Bug: 4262]
* generic/tclInt.decls:
* generic/tclIntPlatDecls.h:
* generic/tclStubInit.c:
* win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s
support).
FossilOrigin-Name: 4d38e9fd6a0f3b51ad7e3639592956eeb7e23ec6
|
|
|
|
|
|
|
|
|
|
| |
more aware of TCL_BYTECODE_PRECOMPILED flagged structs (gen'd by
tbcload), to correctly clean them up.
* generic/tclClock.c (FormatClock): moved check for empty format
earlier, commented 0 result return value
FossilOrigin-Name: 95a7cc28319fc286bba482496238fd3fd67c0ca2
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the
export list so only one instance of each export pattern would
exist in the list.
* generic/tclExecute.c (TclExecuteByteCode): optimized case for
the empty string in ==/!= comparisons
FossilOrigin-Name: 6f0ee764c164f12f94b0ef4254cbc208bb184543
|
|
|
|
|
|
|
| |
from Newman to significantly speedup file split/join on Windows
(replaces regexp with custom parser). [Bug: 2867]
FossilOrigin-Name: 486f2c37acfd4f93986d0ec8fa0c25109c115fe7
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c: (generated on Solaris)
* generic/tclGetDate.y: Changed condition for deciding if a number
is an ISO 8601 base from number >= 100000 to numberOfDigits >= 6.
Previously it would fail to recognize 000000 as an ISO base.
FossilOrigin-Name: 7f9ecc28cace61f690eaad6a39ed86f5b5b0d0d8
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c:
* generic/tclGetDate.y (Message): Added a grammar rule for "next
monthname" so that we can handle "next january" and similar
constructs (bug #4146).
FossilOrigin-Name: 21f3edaefcbe19141cead64c26aeb662248fd1dd
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int
forWriting' instead of 'int write' to avoid shadowing [Bug: 4121]
* generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
FossilOrigin-Name: c10caae88f879ce0babd7596d112ffb9af5acc52
|
|
|
| |
FossilOrigin-Name: bfb5a3081dcd1d3fc37a62c854d16345ad466f1f
|
|
|
|
|
|
|
|
| |
* doc/regexp.n: added docs for -all and -inline switches
* generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for
new -all and -inline switches to regexp command
FossilOrigin-Name: 9176c9a50b9d3ad8a6bba20cd9e6aae6a846b16c
|
|
|
|
|
|
| |
QNX node id prefixes in pathnames [Bug: 4053]
FossilOrigin-Name: d0269bc1eb504c4d5353fdc04dd3d30409b263b5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compatibility.
* doc/variable.n:
* doc/trace.n:
* doc/namespace.n:
* doc/info.n: Added further information about differences between
"namespace which" and "info exists".
* doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg()
functions.
FossilOrigin-Name: 234fd734e8d4daeaea295834d47f4f7b419321d5
|
|
|
|
|
|
|
|
|
|
|
|
| |
conflicted with var creation for HAVE_TZSET #def [Bug: 4063]
* generic/tclCmdIL.c (Tcl_LsortObjCmd): fixed potential leak
when calling lsort -command with bad command [Bug: 4067]
* generic/tclFileName.c (Tcl_JoinPath): added support for special
QNX node id prefixes in pathnames [Bug: 4053]
FossilOrigin-Name: 9211c6268f0c9dd3a44d32c6135801528efc6222
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls: moved Tcl_ProcObjCmd to stubs table [Bug: 3827]
and removed 'register' from stub definition of
Tcl_AppendUnicodeToObj [Bug: 4038]
* generic/tclFileName.c: improved guessing of path separator
for the Mac. (Darley)
FossilOrigin-Name: 981dd41cfbe8dbb4df9ab32ad30d2e4af2dc0417
|
|
|
|
|
|
|
|
|
| |
namespace which (bug #956).
* tclNamesp.c: Added check for undefined variables in
NamespaceWhichCmd (bug #956).
FossilOrigin-Name: bb4c1ac9e3af39fe8a8642fa167356115896eb8a
|
|
|
|
|
|
|
|
|
|
|
|
| |
* upvar.n: Expanded explanation of upvar behavior with respect to
variable traces. (bugs 3917 1433 2110).
* tclVar.c: Changed behavior of variable command when name refers
to an element in an array (ie, "variable foo(x)") to always return
an error, regardless of existance of that element in the array
(now behavior is consistant with docs too) (bug #981).
FossilOrigin-Name: 4521696b9889a95617c9e09d9b76d94efa5bd049
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string if the body has been bytecompiled.
* generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for
originating proc body of bytecompiled code, #def'd out as the
change for [info body] should make it unnecessary
* tests/set.test: added test for complex array elem name compiling
* generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array
elements during compiling, and slightly optimised same [Bug: 3889]
FossilOrigin-Name: 15c9a98cc96085c2df465b9c553c1108074cf44d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protection in Tcl_UnsetVar2.
* generic/tclVar.c: Added protection in Tcl_UnsetVar2 against
attempts to multiply delete arrays when unsetting them (bug
#3453). This could happen if there was an unset trace on an array
element and the trace proc made a global or upvar link to the
array, and then the array was unset at the global level. See the
bug reference for more information.
FossilOrigin-Name: f0922bda2d3f3ce7007f5a9ac7749465a40f363f
|
|
|
|
|
|
|
|
| |
* compat/strftime.c: New clock format format.
* generic/tclGetDate.y: New clock scan format.
FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.m4:
* win/README.binary:
* win/configure.in: updated to patchlevel 8.3b2
FossilOrigin-Name: c857d530775c8be8a18a424919aac862920168cf
|
|
|
|
|
|
|
|
|
|
|
|
| |
characters that occur between Z and a in ASCII.
* generic/tclCmdIL.c: Modified DictionaryCompare function (used by
lsort -dictionary) to do upper/lower case equivalency before doing
character comparisons, instead of after. This fixes bug #1357, in
which lsort -dictionary [list ` AA c CC] and lsort -dictionary
[list AA c ` CC] gave different (and both wrong) results.
FossilOrigin-Name: be988a1220696cef4c8be83ff6ef9270648cc35c
|
|
|
|
|
|
| |
"<day-of-week>"
FossilOrigin-Name: 927e25a961366cf30f4722dabf6417dc391213c9
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in
clock grammar.
* doc/doc/clock.n: Added documentation for new supported clock
scan formats and additional explanation of daylight savings time
correction algorithm.
FossilOrigin-Name: 5b25723b45f0f63cd286ac8b8ae52a2714f4cf8b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
values [Bug: 1806]
* generic/tclThreadTest.c: upped a buffer size to hold double
* tests/info.test:
* generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong)
* generic/tclNamesp.c: made imported commands also import their
compile proc [Bug: 2100]
FossilOrigin-Name: 665ebd74dfb529dd964b2d4cab19c4271a36b284
|
|
|
|
|
|
|
|
|
| |
Added a fix for daylight savings time handling for relative time
spans of days, weeks or fortnights.
* generic/tclDate.c: Fixed compiler warning issues.
FossilOrigin-Name: 69adbd6db87fd94c07fe31c890fca5ec1afb62f7
|
|
|
|
|
|
| |
* generic/tclDate.c: Fixed compiler warning issues.
FossilOrigin-Name: 286cd58368d4b9c1b47373223f2e8d72c88b2220
|
|
|
|
|
|
|
|
|
| |
non-octal digits (8,9) in \ooo substs. [Bug: 3975]
* generic/tcl.h: noted need to change win/tcl.m4 and
tools/tclSplash.bmp for minor version changes
FossilOrigin-Name: f664655d336629ba00d54f4714d380c88fa73a24
|
|
|
| |
FossilOrigin-Name: 1438d1edd07d9cb71460f07975be12ab4041cde1
|