| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* library/reg1.0/pkgIndex.tcl:
* library/tcltest1.0/tcltest.tcl:
* mac/README:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/README:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4: updated patchlevel to 8.4a1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Overall changes:
(1) Implementation of joinable threads for all platforms.
(2) Additional API's for channels. Required to allow the
thread extension to move channels between threads.
* generic/tcl.decls (lines 1360f): Added Tcl_JoinThread,
Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel,
Tcl_SpliceChannel, Tcl_IsChannelExisting and
Tcl_ClearChannelHandlers (slots 394 to 400).
* generic/tclIO.c: Implemented Tcl_IsChannelRegistered,
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
Tcl_CutChannel uses code from CloseChannel. Replaced this code
by a call to Tcl_CutChannel. Replaced several code fragments
adding channels to the channel list with calls to
Tcl_SpliceChannel. Removed now unused variables from
CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers
uses code from Tcl_Close. Replaced this code by a call to
Tcl_ClearChannelHandlers. Removed now unused variables from
Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and
'isshared' to the test code
(TclTestChannelCmd).
* unix/tclUnixThread.c: Implemented Tcl_JoinThread using the
pthread-functionality.
* win/tclWinThrd.c: Fixed several small typos in comments.
Implemented Tcl_JoinThread using a platform independent
emulation layer (see generic/tclThreadJoin.c below). Added
'joinLock' to serialize Tcl_CreateThread and TclpExitThread to
prevent a race for joinable threads.
* mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform
independent emulation layer (see generic/tclThreadJoin.c
below). Due to the cooperative nature of threading on this
platform the race mentioned above is not present.
* generic/tclThreadJoin.c: New file. Contains a platform
independent emulation layer helping in the implementation of
joinable threads for the win and mac platforms.
* generic/tclInt.h: Added declarations for TclJoinThread,
TclRememberJoinableThread and TclSignalExitThread. These
procedures define the API of the emulation layer for joinable
threads (see generic/tclThreadJoin.c above).
* win/Makefile.in:
* win/makefile.vc: Added generic/tclTheadJoin.o to the rules.
* mac/: I don't know to which file generic/tclTheadJoin.o has to
be added to so that it compiles. Sorry.
* unix/tclUnixChan.c: #ifdef'd the thread-local list of file
channels as it prevents us from transfering channels. To restore
this we may need an extended interface to drivers in the
future. Target: 9.0. Found while testing the new transfer of
channels. The information in this list for a channel was left
behind and then crashed the system during finalization.
* generic/tclThreadTest.c: Added -joinable flag to 'testthread
create'. Added subcommand 'testthread join'.
* doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered,
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
* doc/Thread.3: Added documentation for Tcl_JoinThread.
* tests/thread.test: Added tests for joining of threads.
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinChan.c:
* win/tclWinFCmd.c:
* win/tclWinInit.c:
* win/tclWinPipe.c:
* win/tclWinSock.c: removed all code that supported Win32s. It
was no longer officially supported, and likely didn't work anyway.
* win/makefile.vc: removed 16 bit stuff, cleaned up.
* win/tcl16.rc:
* win/tclWin16.c:
* win/winDumpExts.c: these files have been removed from the
source tree (no longer necessary to build)
* win/aclocal.m4: made it just include tcl.m4
|
|
|
|
|
| |
completely ignored for Windows FAT file systems
* win/tclWinPort.h: added sys/utime.h to includes
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/README.binary:
* win/makefile.vc:
* {win,unix}/configure.in:
* generic/tcl.h:
* library/init.tcl: updated to 8.3a1 from 8.2.0.
* win/tclWinReg.c: fixed registry command to properly 'get'
HKEY_PERFORMANCE_DATA root key data. Needs more work.
* win/tclWinSerial.c: changed SerialSetOptionProc to return
TCL_OK by default. (patch from Rolf Schroedter)
|
| |
|
|
|
|
|
| |
the semaphores for threads disabled. Fixed calling of tcltest
in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h: Block out include of sys/*.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* generic/tclCmdMZ.c:
* generic/tclIO.c: Fix ANSI-style prototypes based on patch from
Ulrich Ring. [Bug: 2391]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* tests/var.test:
* generic/tclVar.c: Fixed bug that caused a seg. fault when using
"array set a(b) {}", which is a bad array name anyway. Now the
"array set" command will return an error in this case. Added test
case and fixed existing test. [Bug: 2427]
|
|
|
|
| |
makefile to use 1.1 instead of 1.0.
|
| |
|
|
|
|
| |
makefile.vc: fixed calling tcltest.exe
|
| |
|
|
|
|
|
|
|
|
|
| |
the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
Tcl_AppendUnicodeToObj.
Note: some stringObj tests are still failing--the teststringobj command
still needs to be updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclVar.c (Tcl_SetVar2Ex):
* generic/tclStringObj.c (Tcl_AppendObjToObj):
* generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string
index, string length, string range, and append command in cases
where the object's internal rep is a bytearray. Objects with
other internal reps are converted to have the new unicode internal
rep.
* unix/Makefile.in:
* win/Makefile.in:
* win/Makefile.vc:
* tests/unicode.test:
* generic/tclInt.h:
* generic/tclObj.c:
* generic/tclUnicodeObj.c: added a new object type to store the
unicode representation of a string.
* generic/tclTestObj.c: added the objtype option to the testobj
command. This option returns the name of the type of internal rep
an object has.
|
| |
|
|
|
|
|
| |
* win/makefile.vc: Changed to emit library name in defs
file. [Bug: 1998]
|
|
|
|
| |
target.
|
| |
|
| |
|
|
|
|
| |
makefile caused when the win/pkgIndex.tcl file was replaced
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
the name. Added .lib and support .dlls to the install-binaries
target. Added generate of a pkgIndex.tcl script to the
install-libraries target.
|
|
|
|
| |
depend on being able to find a working pkgIndex.tcl file
|
|
|
|
|
|
| |
* generic/tcl.h:
* generic/tclAlloc.c: Added USE_NATIVEMALLOC ifdefs to make it easier
to compile for use with Purify.
|
| |
|
| |
|
|
|
|
| |
worked (as much as test suites under windows work)
|
|
|
|
| |
both debug and nodebug builds.
|
|
|
|
|
|
|
| |
representation contains both a Proc struct and its associated ByteCode.
Updated tclProc.c::TclCreateProc to take procbody instances as the body
argument, for future support of compiler extensions.
Added the "procbodytest" package for testing all this stuff.
|
| |
|
|
|
|
| |
the Tk makefile.vc
|
| |
|
| |
|
|
|
|
|
|
| |
import/export mechanisms.
- Defines DLL_BUILD and BUILD_tcl.
- Still uses the .def file for the DLLs, we'll phase it out later.
|
|
|
|
| |
overridden at the command line
|
|
|
|
| |
parent workspace "/export/home/ws/tcl8.0".
|
|
|
|
| |
parent workspace "/export/home/ws/tcl8.0".
|
| |
|
| |
|
|
|
|
| |
- .pch file is now generated in temp dir, not in .
|
|
|
|
| |
in win.
|
|
|
|
|
|
|
|
| |
- the NODEBUG flag controls Debug/Release builds
- different values of NODEBUG create temp files in either Debug or
Release subdirectories.
- Debug DLLs and executables follow the Windows convention of a 'd' at
the end of the name (e.g. tcl80d.dll)
|
| |
|