| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: For the -querychannel option,
fconfigure the socket to be binary so that we don't translate
anything while reading the data. This is because we determine the
content length of the data on the channel by using seek (to the end
of the file) and tell on the file handle, and we need the
content-length to match the amount of data actually sent, and
translation can affect the number of bytes posted.
FossilOrigin-Name: 709209ad4d15f2b8aef1b74d1714c2b13eeb8cad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
* tests/foreach.test:
* tests/namespace.test:
* tests/var.test: Added lsorts to avoid random sorted return
problems. [Bug: 2682]
* tests/fileName.test: fixed 14.1 test fragility [Bug: 1482]
* tools/man2help2.tcl: fixed winhelp cross-linking error [Bug: 4156]
improved translation to winhelp [Bug: 3679]
* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
correctly [Bug: 4085]
* unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]
FossilOrigin-Name: 4b3b0b572c51ed822d65f4477f5f3c324c43cdb2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
* win/tclWinReg.c: made use of TclWinGetPlatformId instead of
getting info again
* win/tclWinPort.h:
* win/Makefile.in:
* win/configure.in:
* win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
FossilOrigin-Name: 0f620f033eda436949b1c45f08074b125a4138bb
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Removed an unnecessary fileevent
statement from the error processing part of the Write method.
Also, fixed two potential memory leaks in wait and reset, in which
the state array wasn't being unset before throwing an exception.
Prior to this version, Brent checked in a fix to catch a
fileevent statement that was sometimes causing a stack trace when
geturl was called with -timeout. I believe Brent's fix is
necessary because TLS closes bad sockets for secure connections,
and the fileevent was trying to act on a socket that no longer
existed.
FossilOrigin-Name: 21ce42ac0d1ec680a1b78a95600a3d55cc9b530c
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/namespace.test:
* 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: b0d58d49d11243132b654893d4a4757b3d8e7388
|
|
|
|
|
|
|
|
|
|
| |
[Bug: 4409].
* unix/tclLoadAout.c:
* unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls
[Bug: 4410].
FossilOrigin-Name: 30a242b059029eb7c6e354ef874565872499766c
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed a bug where string query data
that was bigger than queryblocksize would get duplicate characters
at block boundaries.
FossilOrigin-Name: 78af155baa084df1539131f503de934f2252bc12
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed bug 4463, where we were getting
a stack trace if we tried to publish a project to a good host but
a port where there was no server listening. It turned out the
problem was a stray fileevent that needed to be cleared. Also,
fixed a bug where http::code could stack trace if called on a bad
token (one which didn't represent a successful geturl) by adding
an http element to the state array in geturl.
FossilOrigin-Name: cf5481749854030af420830c308600c9df31ea86
|
|
|
|
|
|
|
|
|
|
|
| |
respect to the time zone in which they were run and were thus
failing.
* doc/clock.n: Clarified meaning of -gmt with respect to -base
when used with [clock scan] (-gmt does not affect the
interpretation of -base).
FossilOrigin-Name: 80bb9d067f3ad063fc5fb9efe28554787bf395c5
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: geturl used to throw an exception when
the connection failed; I accidentally returned a token with the
error info, breaking backwards compatibility. I changed it back
to throwing an exception, but unsetting the state array first
(thus still eliminating the original memory leak problem).
FossilOrigin-Name: f3a17a1b813755855daac429321d18cc36d26e84
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some of Brent's modifications to allow asynchronous posts (via
-command). Also modified -queryprogress so that it calls the
query callback as <callback> <token> <total size> <current size>
to be consistent with -progress. Added -queryblocksize option
with default 8192 bytes for post blocksize. Fixed a bunch of
potential memory leaks for the case when geturl receives bad args
or can't open a socket, etc. Overall, the package really rocks
now.
* doc/http.n: Added -queryblocksize, -querychannel, and
-queryprogress. Also, changed the description of -blocksize,
which states that the -progress callback will be called for each
block, to now qualify that with an "if -progress is specified".
* tests/http.test: Added a querychannel test for synchronous and
asynchronous posts, altered the queryprogress test such that the
callback conforms to the -progress format. Also, had to use the
-queryblocksize option to do the post 16K at a time to match
Brent's expected results (and to test that -queryblocksize works).
FossilOrigin-Name: aadf3c36fecf2456f03b8f5d9fbea4ca969ad267
|
|
|
| |
FossilOrigin-Name: 34b130a668f86f38e49bf41507aedd5f0a1280af
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
recognizes changes in the auto_path while sourcing in other
pkgIndex.tcl files
* doc/FindExec.3: fixed doc for declaration of Tcl_FindExecutable
[Bug: 4275]
* generic/tclFileName.c (Tcl_TranslateFileName): Applied patch
from Newman to significantly speedup file split/join on Windows
(replaces regexp with custom parser). [Bug: 2867]
* win/README.binary: change mailing lists from @consortium.org
to @scriptics.com [Bug: 4173]
FossilOrigin-Name: 418acce075a001ff057ae58cb2cebc412b1406b9
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* doc/load.n: added notes about dll load errors on Windows
FossilOrigin-Name: 1e954ca882899f75207b70eb0cfe0084066fe795
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in (dist): removed porting.notes and porting.old
from distribution and CVS. The information was very outdated. Now
refer to http://dev.scriptics.com/services/support/platforms.html
* tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549]
* unix/configure.in:
* unix/tcl.m4: correct CFLAG_WARNING setting,
fixed gcc config for AIX,
added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]
* win/tclWinLoad.c (TclpLoadFile): improved error message for load
failures, could perhaps be even more intelligent.
FossilOrigin-Name: 94b6c133d50b3679ba9b9ae19bcf1aa7169e772a
|
|
|
| |
FossilOrigin-Name: 5d021663775d5b19eb8028ec3ed7fd844a2b780f
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/tcl.wse.in:
* unix/configure.in:
* win/configure.in:
* win/README:
* win/README.binary:
* generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
* doc/library.n:
* library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
* library/tcltest1.0/tcltest.tcl: correctly protected searchDirectory
list to allow dirnames with spaces
* unix/tcl.m4: changed all -fpic to -fPIC
* generic/tclDecls.h:
* generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int
forWriting' instead of 'int write' to avoid shadowing [Bug: 4121]
FossilOrigin-Name: 868410f5460bd2dfd39131a05ad1ed1d60e68541
|
|
|
| |
FossilOrigin-Name: 532cae8952fbbcf5c3e1d03b838de767df5b03c3
|
|
|
|
|
|
| |
server procs from httpd instead of having its own set.
FossilOrigin-Name: e888279deb851f20a2d21c642b21a342435eb12d
|
|
|
|
|
|
|
|
|
| |
in http.tcl. [Bug: 4089 change 2000-02-01]
* unix/README: fixed notes about --enable-shared and add note
about --disable-shared.
FossilOrigin-Name: 4ef763221b071c11c2190d359cdf37a58e75b2fb
|
|
|
| |
FossilOrigin-Name: 76b94d68b64194c1d4648827d98c4fac0f6cca44
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
auto_load errors not setting error message and errorInfo properly.
FossilOrigin-Name: d16fc81976748e7afcd74ef923695ef09e2b7f0c
|
|
|
| |
FossilOrigin-Name: 1a6c66d8f03c2671f09c9fcf2d3df59f2bacbddd
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/autoMkindex.test: Test for auto loader fix (bug #2480).
* library/init.tcl: auto_load was using [info commands $name] to
determine if a given command was available; if the command name
had * or [] it, this would fail because info commands uses
glob-style matching. This is fixed. (Bug #2480).
FossilOrigin-Name: 56990efadd02959eb3cf9659c55872101d0fb25b
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/autoMkindex.test: Test for fix for bug #2611.
* library/auto.tcl: Fixed the regular expression that performs $
escaping before sourcing a file to index. It was erroneously
adding \ escapes even to $'s that were already escaped,
effectively "un-escaping" those $'s. (bug #2611).
FossilOrigin-Name: a5e724fd203356b132ea3ee5bfd51ee0fceb237f
|
|
|
|
|
|
|
|
|
|
| |
normalizePath and exported it as a public proc. This proc
creates an absolute path given the name of the variable containing
the path to modify. The path is modified in place.
* library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
* tests/all.tcl: Changed code to use normalizePath.
FossilOrigin-Name: 336bed6b79456dc2ce2fbe4a35f58de0e6afde21
|
|
|
|
|
|
|
|
|
|
| |
* doc/pkgMkIndex.n:
* library/package.tcl: Per rfe #4097, optimized creation of direct
load packages to bypass computing the list of commands added by
the new package. Also made direct loading the default, and added
a -lazy option.
FossilOrigin-Name: fc236223b3f6db8aa76791eb487ac34bc7e597fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
FossilOrigin-Name: 010f69ed5f4fd95e31287de00e983f490a6dda11
|
|
|
| |
FossilOrigin-Name: efefd47ee812b210343f5e6b764235fb0307fecb
|
|
|
|
|
|
| |
empty lists, and "prettied up" the page. (bug #1705).
FossilOrigin-Name: ae7e3132d36020913c298f82cbf65c4defb6cf77
|
|
|
| |
FossilOrigin-Name: 0c7a2a5d06390e14fd14fc101e520f25a04089de
|
|
|
| |
FossilOrigin-Name: f39c22ec3c7a966d69a95e5c2b3356f7aa39e014
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
FossilOrigin-Name: b61d526058993a44938d4befbbf1d1831b348dc4
|
|
|
| |
FossilOrigin-Name: a20cc9ad6980c0e7cf3f7892fee3897656d904e3
|
|
|
| |
FossilOrigin-Name: 207755631222dcc55393d4d8bf1e67109674d0e5
|
|
|
| |
FossilOrigin-Name: 860fe8093715c17c9c4fd2204ba3a2fb6c490219
|
|
|
| |
FossilOrigin-Name: 49e433ff55877909f6b2ed6bf8925ef124df7ca8
|
|
|
| |
FossilOrigin-Name: ba9c29e959ad0ece7d3462da1474c417e6f99990
|
|
|
| |
FossilOrigin-Name: bf305abef533781be4cbcaf3b03538a4645759f0
|