summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* * README:hobbs2000-04-191-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPEwelch2000-04-171-1/+22
| | | | macros for declaring the NewThread callback proc.
* removed __stdcall decl for WIN32 case on ThreadCreatehobbs2000-04-131-3/+1
|
* Fixed Tcl_CreateThreadProc declarationwelch2000-04-101-1/+3
|
* * generic/tcl.h: removed specific typedef of Tcl_ThreadCreateProchobbs2000-04-101-3/+1
| | | | | for Windows as the build choked. It seems to be OK using the Unix fallback (void).
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-091-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2000-04-03 Andreas Kupries <a.kupries@westend.com>kupries2000-04-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * generic/tclDecls.h:hobbs2000-02-081-4/+4
| | | | | | | * 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
* * README:core_8_3_b2hobbs2000-01-141-4/+4
| | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.m4: * win/README.binary: * win/configure.in: updated to patchlevel 8.3b2
* * generic/tclUtf.c: changed Tcl_UtfBackslash to not allowhobbs2000-01-111-1/+10
| | | | | | | 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
* * generic/tclCmdIL.c: added -unique option to lsorthobbs1999-12-211-3/+3
| | | | * generic/tclThreadTest.c: changed thread ids to longs [Bug: 3902]
* * generic/tclEnv.c: fixed mem leak with putenv and DStringshobbs1999-10-131-1/+2
|
* * generic/tclNamesp.c:hobbs1999-10-051-19/+18
| | | | | | | * generic/tclVar.c: * generic/tclCmdIL.c: fixed comment typos * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0.
* Change version numbers to 8.2.0redman1999-08-101-4/+4
|
* * generic/tcl.h:redman1999-08-021-4/+4
| | | | | | | | | | | | | * generic/tcl.decls: * generic/tclDecls.h: * generic/tclInt.h: * generic/tclInt.decls: * generic/tclIntDecls.h: * generic/tclRegexp.h: * generic/tclStubInit.c: Move some exported public and internal functions to the stub tables. Removed functions that are in the stub tables (from this and previous changes) from the original header files.
* * Changed version to 8.2b2.redman1999-07-221-3/+3
| | | | | | | | | | | | | | | | | | * 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]
* Previous version was a mistake, roll it back.redman1999-07-211-3/+1
|
* * win/tclWinSock.c: Modified 8.1.0 version of the Win32 socketredman1999-07-211-1/+3
| | | | | | | | | driver to move the handling of the socket event window in a separate thread. It also turned out that Win95 & Win98 were, in some cases, getting multiple FD_ACCEPTs but only handling one. Added a count for the FD_ACCEPT to take care of this. Tested on NT4 SP3, NT4 SP4, Win95, and Win98. [Bug: 2178 2256 2259 2329 2323 2355]
* Fix minor version number.redman1999-07-161-2/+2
|
* Added Tcl_SetNotifier and associated typedef.welch1999-07-021-1/+19
| | | | This lets you hook the notifier procs.
* Documented 2 more files that need to be updated when the Tcl versionwart1999-06-281-1/+3
| | | | number changes.
* Changed so unix always maps ckalloc to Tcl_Alloc or Tcl_DbCkAlloc to avoidredman1999-06-261-15/+8
| | | | problems with mixed TCL_MEM_DEBUG modes.
* Added note about win/configure.in needing a version changewelch1999-06-251-1/+2
|
* Changed to Tcl 8.2b1welch1999-06-251-4/+4
|
* * generic/tclTest.c:stanton1999-06-171-9/+26
| | | | | | | | | | | | * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Renamed Tcl_RegExpMatchObj to Tcl_RegExpExecObj and added a new Tcl_RegExpMatchObj that is equivalent to Tcl_RegExpMatch. Added public macros for the regexp compile/execute flags. Changed to store either an object pointer or a string pointer in the TclRegexp structure. Changed to avoid adding a reference to the object or copying the string.
* * generic/tclUnicodeObj.c: Lots of cleanup and simplification.stanton1999-06-101-1/+41
| | | | | | | | | | | | | | | | | | | | | | | Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings.
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-221-1/+17
|
* * Changed version to 8.1.1.stanton1999-04-301-3/+3
|
* Resynced with mainline.rjohnson1999-04-211-4/+4
|
* merged the parse changes between TclPro1.2 and Tcl8.1. Fixed bug in Windows ↵surles1999-04-211-1/+20
| | | | makefile caused when the win/pkgIndex.tcl file was replaced
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-171-1/+8
| | | | also one minor fix in tests/all.tcl to fix bug 1770.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-71/+469
|
* Changed magic number so it doesn't match the plus patch, at Jan's request.stanton1999-03-121-2/+2
|
* * generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC sostanton1999-03-111-12/+9
| | | | | | | | | | | | | | it matches 8.1. * generic/tclBasic.c: * generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString. * unix/Makefile.in: Added compat binaries to the stub library. Changed compat binaries to always compile with shared flags since they need to be shared for the stub library.
* Add Tcl_GetVersion C APIredman1999-03-101-11/+16
|
* Changed TCL_STUB_MAGIC back to match plus patch implementation.dev_stubs_merge_8_1_3_9_99core_8_1_merge_3_9_99stanton1999-03-101-5/+2
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-546/+89
|
* * win/tclAppInit.c:stanton1999-02-031-2/+12
| | | | | | | | | | | | * unix/tclAppInit.c: * mac/tclMacAppInit.c: * generic/tclTest.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared out TCL_STORAGE_CLASS so it is not declared with a declspec().
* * win/makefile.vc:stanton1999-01-061-1/+15
| | | | | | * generic/tcl.h: * generic/tclAlloc.c: Added USE_NATIVEMALLOC ifdefs to make it easier to compile for use with Purify.
* Added supoport for _-dclspec on gcc - RFE 972.rjohnson1999-01-051-2/+2
| | | | Ray
* Updated the version to 8.0.5.rjohnson1999-01-041-4/+5
|
* Added README and README.binary to the list of files to modifyescoffon1998-10-171-1/+3
|
* Fixed bug in Tcl_SetListObj - it used to create invalid Tcl_Obj if you passedrjohnson1998-10-131-1/+2
| | | | | | in 0 elements. Despite what docs said. Also updated a few copyright notices.
* Bumped patch number to 8.0.4escoffon1998-10-131-3/+3
|
* Removed function declarations that were never used and not referencedrjohnson1998-09-291-6/+1
| | | | by any implementation.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* 8.0.3welch1998-08-061-2/+2
|
* 8.0.3-5welch1998-08-041-19/+2
|
* a few more fixes, hope this is the last one!escoffon1998-08-041-5/+5
|
* oh well, it was supposed to be TCL_STORAGE_CLASS not TCLSTORAGECLASSescoffon1998-08-041-5/+5
|