| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/tcl.m4:
* win/tclConfig.sh.in: Back port of gcc for windows
build system from 8.4.
FossilOrigin-Name: cf95876426a76c8f30b3e6b96e479d5a6b03fe52
|
|
|
|
|
|
| |
The core-8-3-1-io-rewrite branch should now be considered defunct.
FossilOrigin-Name: 4a5dd63d1f5efaf30ac7fb5f31fafb9893f69100
|
|
|
| |
FossilOrigin-Name: 15e292afd907848998e7596e9c9851d5b3137033
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
| |
* doc/Init.3: Manual entry for Tcl_Init [Bug: 1820].
* doc/expr.n: Added documentation for each of the math library
functions that expr supports [Bug: 1054].
FossilOrigin-Name: 3429c5f93a5cc5289544ad5bb92f65f23dd39bd2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* mac/README:
* tools/tcl.wse.in:
* unix/README:
* unix/tcl.spec:
* win/README:
* win/README.binary: Updating URLs to reference dev.scriptics.com
FossilOrigin-Name: e2a5e3125f4e8c2121342c682bfed109ce9ebab9
|
|
|
| |
FossilOrigin-Name: b6b9751c7355d026f868d376550a6f31bf8c95be
|
|
|
| |
FossilOrigin-Name: aca9cea7e2e6ac97133c6361c60af9c7ab1d9f98
|
|
|
| |
FossilOrigin-Name: 338f651564550368298bea7bcf57ba15f7bae9ac
|
|
|
|
|
|
|
|
| |
* win/Makefile.in:
* win/makefile.vc: updated for http change and some cleanup
* library/http2.[13]: moved dir http2.1 to http2.3 to match version
FossilOrigin-Name: 1e558a16da16984709bf40cbbf14f95955208a37
|
|
|
|
|
|
| |
* doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834].
FossilOrigin-Name: 09b093392507d6544d540c98c113f9a87bcd12f0
|
|
|
|
|
|
| |
* doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828].
FossilOrigin-Name: b374c024927a3bf8e289e5c86ffcd5903a046a15
|
|
|
|
|
|
|
|
|
| |
added write of 'q' into triggerPipe for notifier in threaded case,
so that Tcl doesn't hang when children are still running [Bug: 4139]
* unix/tclUnixThrd.c (Tcl_MutexLock): minor comment fixes.
FossilOrigin-Name: b63233fd7f25b01da308adb425c8a26a6f11c837
|
|
|
| |
FossilOrigin-Name: 26e0b4a97b987594b30e5ce8f7e837093b1a055b
|
|
|
| |
FossilOrigin-Name: d2027429495b3e6f1bf43daafa1260721e3d1807
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed a newly introduced bug where if
there's a -command callback and something goes wrong, geturl threw
an exception, called the callback, and unset the token. I changed
it so that it will not call the callback when throwing an
exception (so the caller only finds out about a given error from
one place). Also, fixed http::ncode so that it actually gives you
back the http return code (i.e. 200, 404, etc.) instead of the
first digit of the version of HTTP being used (i.e. 1).
FossilOrigin-Name: 8f0cd2d9ba92eb62fec82ddad2fe103b91ea1e67
|
|
|
| |
FossilOrigin-Name: d893bfe62ff9ff9f1362f9efdec7fdfdcefcccef
|
|
|
|
|
|
|
| |
* unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of
USE_TCLALLOC on Unix. [Bug: 4731]
FossilOrigin-Name: 618011d0b22f7d1d6ad7a5e0ae9caa838f721e89
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/reg1.0/pkgIndex.tcl:
* win/tclWinChan.c:
* win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files
were not converted, as it confuses hcw locally. [Bug: 5096]
* win/Makefile.in: expanded cleanup or help files
* doc/Thread.3: minor macro cleanup
FossilOrigin-Name: c818263820a105c3b8dd72ec347d711487c57a18
|
|
|
|
|
|
| |
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]
* 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: 57271c37236e32612ece947ba1483e6714daf238
|
|
|
|
|
|
|
|
|
| |
* win/tcl.rc:
* win/tclsh.rc:
* win/tclsh.ico: Modified copyright dates in Windows resource
files. Added an icon for tclsh.exe.
FossilOrigin-Name: ef4b92e1f8b4b9a2cc588e307e8cd9310b9ee9f3
|
|
|
| |
FossilOrigin-Name: cf0b7dd51ea7a8df9a955dd3e92b5c2abcf630de
|
|
|
|
|
|
|
|
|
| |
parity on platforms that support it [Bug: 5089]
* generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minor
to not conflict with global decl on some systems [Bug: 2882]
FossilOrigin-Name: a64be0d5f221b1bf3c2fb82d1bddd82866ea88d8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Async.3:
* doc/BackgdErr.3:
* doc/CrtChannel.3:
* doc/CrtInterp.3:
* doc/CrtMathFnc.3:
* doc/DString.3:
* doc/Eval.3:
* doc/ExprLong.3:
* doc/GetInt.3:
* doc/GetOpnFl.3:
* doc/Interp.3:
* doc/LinkVar.3:
* doc/OpenFileChnl.3:
* doc/OpenTcp.3:
* doc/PkgRequire.3:
* doc/RecordEval.3:
* doc/SetResult.3:
* doc/SplitList.3:
* doc/StaticPkg.3:
* doc/TraceVar.3:
* doc/Translate.3:
* doc/UpVar.3:
* doc/load.n: removed or updated references to interp->result use.
FossilOrigin-Name: 66905b808be8da8a5013f9443c47fbf7058d1c2f
|
|
|
|
|
|
|
|
|
|
| |
* doc/update.n: typo fix [Bug: 4996]
* unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection of
pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
FossilOrigin-Name: b1dcbfacb947d46cf1cec3bcfbc19a80d189c9ea
|
|
|
| |
FossilOrigin-Name: 6356a7ea596454669be727e68576820eafb9f56f
|
|
|
| |
FossilOrigin-Name: b5288176c31a08738a5f87bb232e0f0450cf310f
|
|
|
| |
FossilOrigin-Name: 8dbc8717bac6b305c02fd8bc88fea9e5ae47d372
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
constraint types to skip certain tests.
* generic/tclBasic.c (Tcl_SetCommandInfo): comment fix
FossilOrigin-Name: ccc1337b10e2071109adec90b649a3789a6508a9
|
|
|
| |
FossilOrigin-Name: 7fb7d11f650ad885ee866b116a8d78c25d6d6182
|
|
|
|
|
|
|
|
| |
inside of func as it is declared for non-threads builds as well.
In the non-threads case, it always returns TCL_ERROR (couldn't
create thread).
FossilOrigin-Name: 26ed7e69c33d7d8c8b70a0997ed948a219509147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Bug: 3466]
* library/tcltest1.0/tcltest.tcl (initConstraints): removed win32s
references (no longer supported)
* tests/fCmd.test: marked test 8.1 knownBug because it is
dangerous on poorly configured systems [Bug: 3881]
and added 8.2 to keep essence of 8.1 tested.
FossilOrigin-Name: 6716ee0f7c3930ea68eeeca01c375f7ac2eef33f
|
|
|
| |
FossilOrigin-Name: de3554b5c66d4609a015383432ebd8dcff7c1510
|
|
|
|
|
|
|
|
|
|
| |
* 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: c3aefafff6a890a78ab22105709f4a409ca6b7a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|