summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPEwelch2000-04-173-18/+30
| | | | macros for declaring the NewThread callback proc.
* Updates for Tcl_CreateThreadTypewelch2000-04-171-0/+7
|
* Don't append : to folder name if the folder name is empty.jingham2000-04-171-4/+8
|
* Added additional information regarding TCLLIBPATH (specifically, that "/"ericm2000-04-151-4/+4
| | | | must be used as the path separator, regardless of platform).
* * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/spacehobbs2000-04-151-3/+18
| | | | parity on platforms that support it [Bug: 5089]
* * generic/tclBasic.c (Tcl_GetVersion): adjusted use of major/minorhobbs2000-04-151-11/+11
| | | | to not conflict with global decl on some systems [Bug: 2882]
* * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/spacehobbs2000-04-151-0/+6
| | | | | | | 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]
* * doc/AppInit.3:hobbs2000-04-1425-101/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection ofhobbs2000-04-141-9/+35
| | | | | pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
* * doc/regexp.n: doc clarification [Bug: 5037]hobbs2000-04-142-5/+5
| | | | * doc/update.n: typo fix [Bug: 4996]
* * doc/regexp.n: doc clarification [Bug: 5037]hobbs2000-04-141-0/+9
| | | | | | | | * 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]
* removed __stdcall decl for WIN32 case on ThreadCreatehobbs2000-04-131-3/+1
|
* * doc/dde.n: corrected dde poke docs. [Bug: 4991]hobbs2000-04-122-7/+13
|
* * win/tclWinPipe.c: Added "CONST" keyword to declaration of charericm2000-04-111-2/+2
| | | | *native in TclpCreateTempFile, to supress compiler warnings.
* * msgcat.n: Added docs for new behavior from patch in [Bug: 4158].ericm2000-04-114-21/+187
| | | | | | | | | | | | | * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. * msgcat.tcl: Applied patch from [Bug: 4158], which enables msgcat::mc to search the entire namespace ancestry chain for message translations (ie, first it checks the current namespace, then the parent, then the parent's parent, etc). Also allows the specification of additional args for msgcat::mc; if extra args are given, the [format] command is used to substitute the additional args in the translated message.
* Fixed compiler warningswelch2000-04-111-3/+3
|
* Updated to work with thread extension, if presentwelch2000-04-112-6/+52
|
* Changes for threading updatewelch2000-04-111-0/+2
|
* fixed conflict in this filewelch2000-04-101-6/+6
|
* Fixed Tcl_CreateThreadProc declarationwelch2000-04-101-1/+3
|
* * win/tclWinPipe.c (TclpCreateTempFile): Added conversion ofericm2000-04-104-11/+85
| | | | | | | | 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].
* * generic/tcl.h: removed specific typedef of Tcl_ThreadCreateProchobbs2000-04-102-3/+7
| | | | | for Windows as the build choked. It seems to be OK using the Unix fallback (void).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-10121-248/+248
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * generic/tclBasic.c (Tcl_SetCommandInfo): comment fixhobbs2000-04-101-2/+2
|
* * tests/reg.test (matchexpected): corrected tests to use tcltesthobbs2000-04-101-18/+27
| | | | constraint types to skip certain tests.
* * tests/reg.test (matchexpected): corrected tests to use tcltesthobbs2000-04-101-0/+5
| | | | | | constraint types to skip certain tests. * generic/tclBasic.c (Tcl_SetCommandInfo): comment fix
* Added "server closes without reading post data" case.welch2000-04-092-48/+146
|
* Adjusted file events and unified error handling.welch2000-04-093-213/+330
|
* Documented error cases.welch2000-04-091-3/+55
|
* Updates for htpwelch2000-04-091-0/+11
|
* * unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdefhobbs2000-04-092-1/+12
| | | | | | 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).
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-0913-50/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * tests/fCmd.test: marked test 8.1 knownBug because it ishobbs2000-04-081-12/+17
| | | | | dangerous on poorly configured systems [Bug: 3881] and added 8.2 to keep essence of 8.1 tested.
* * library/tcltest1.0/tcltest.tcl (initConstraints): removed win32shobbs2000-04-082-10/+2
| | | | references (no longer supported)
* * doc/binary.n: clarified docs on sign extension in binary scanhobbs2000-04-081-1/+17
| | | | [Bug: 3466]
* * doc/binary.n: clarified docs on sign extension in binary scanhobbs2000-04-081-7/+19
| | | | | | | | | | | [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.
* Forgot to update the ChangeLog. Fixed.kupries2000-04-051-5/+5
|
* 2000-04-05 Andreas Kupries <a.kupries@westend.com>kupries2000-04-052-1/+10
| | | | | | | | * 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: ??].
* Added dependency of tclStubInit.c on the stubs tableswelch2000-04-052-3/+16
|
* Fixed compilation w/out TCL_THREADSwelch2000-04-053-15/+29
|
* Updated for TCL_THREADS and stubs table stuffwelch2000-04-051-0/+8
|
* 2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-04-054-6/+15
| | | | | | | | | | * 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.
* 2000-04-03 Andreas Kupries <a.kupries@westend.com>kupries2000-04-0411-27/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]hobbs2000-04-045-129/+133
|
* * unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandirhobbs2000-04-042-7/+7
| | | | | | | correctly [Bug: 4085] * unix/tclUnixFCmd.c (SetGroupAttribute): * unix/tclUnixFCmd.c (SetOwnerAttribute): Added (uid_t) and (gid_t) casts to avoid compiler warnings.
* * tools/man2help2.tcl: fixed winhelp cross-linking error [Bug: 4156]hobbs2000-04-041-26/+32
| | | | improved translation to winhelp [Bug: 3679]
* * tests/foreach.test:hobbs2000-04-044-35/+35
| | | | | | * tests/namespace.test: * tests/var.test: Added lsorts to avoid random sorted return problems. [Bug: 2682]
* * generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtrhobbs2000-04-041-2/+2
| | | | to prevent itcl info override crash [Bug: 4064]
* * generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtrhobbs2000-04-041-0/+26
| | | | | | | | | | | | | | | | | | | 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]
* * generic/tclGet.c (Tcl_GetDouble): Added additional conditions toericm2000-03-314-7/+39
| | | | | | | | | | | | | | | | | 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.)