summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Documented error cases.welch2000-04-091-3/+55
|
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-091-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * doc/binary.n: clarified docs on sign extension in binary scanhobbs2000-04-081-1/+17
| | | | [Bug: 3466]
* 2000-04-03 Andreas Kupries <a.kupries@westend.com>kupries2000-04-041-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * tests/clock.test: Modified some tests that were not robust withericm2000-03-211-1/+3
| | | | | | | | | 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).
* * library/http2.1/http.tcl: Added -querychannel option and alteredsandeep2000-03-191-2/+24
| | | | | | | | | | | | | | | | | | | | | | 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).
* * doc/FindExec.3: fixed doc for declaration of Tcl_FindExecutablehobbs2000-03-031-3/+3
| | | | [Bug: 4275]
* syntax cleanupcore_8_3_0hobbs2000-02-101-3/+3
|
* cleaned up syntax, corrected package:: -> pkg::hobbs2000-02-102-38/+29
|
* * doc/load.n: added notes about dll load errors on Windowshobbs2000-02-101-8/+16
|
* * doc/library.n:hobbs2000-02-081-2/+2
| | | | * library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
* Removing struct namespace stuff.ericm2000-02-073-197/+0
|
* * doc/tree.n:ericm2000-02-053-0/+197
| | | | | | | | | | | | | | | | | | | * doc/stack.n: * doc/queue.n: docs for tree, stack, and queue. * win/Makefile.in: * unix/Makefile.in: Added struct1.0 to list of libraries to install. * tests/stackstruct.test: stack tests * tests/queue.test: queue tests * library/struct1.0/queue.tcl: queue data structure. * library/struct1.0/stack.tcl: stack data structure. * library/struct1.0/pkgIndex.tcl: * library/struct1.0/struct.tcl: data structure package
* Renamed Package.n -> packagens.n to deal with (one of) NT's (many) shortcomings.ericm2000-02-031-1/+1
|
* * tests/regexp.test: added tests for -all and -inline switcheshobbs2000-02-021-18/+38
| | | | | | * 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
* * tests/package.test:ericm2000-02-013-5/+65
| | | | | | | | | | | | | | | | | * library/tclIndex: * library/package.tcl: Added ::package namespace and ::package::create function. * library/init.tcl: Fixed problem with auto_load and determining if commands were loaded. * library/auto.tcl: "Fixed" issues with $ in files to be auto indexed. * doc/Package.n: New man page for package::create function. * doc/pkgMkIndex.n: Added additional information. * doc/library.n: Added additional qualification regarding auto_mkindex.
* * tests/pkgMkIndex.test:ericm2000-01-271-10/+10
| | | | | | | | * 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.
* * generic/tclNamesp.c: Undid fix for #956, which broke backwardsericm2000-01-265-12/+32
| | | | | | | | | | | | | 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.
* * doc/ListObj.3: clarified Tcl_ListObjGetElements docs [Bug: 4080]hobbs2000-01-262-12/+20
| | | | * doc/glob.n: clarified Mac path separator determination docs.
* * unix/mkLinks:ericm2000-01-211-0/+28
| | | | * doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817).
* * doc/lreplace.n: Corrected man page with respect to treatment ofericm2000-01-211-16/+19
| | | | empty lists, and "prettied up" the page. (bug #1705).
* * var.test: Added tests for corrected variable behavior (bug #981).ericm2000-01-211-2/+22
| | | | | | | | | | * upvar.n: Expanded explanation of upvar behavior with respect to variable traces. (bugs 3917 1433 2110). * tclVar.c: Changed behavior of variable command when name refers to an element in an array (ie, "variable foo(x)") to always return an error, regardless of existance of that element in the array (now behavior is consistant with docs too) (bug #981).
* * doc/tclvars.n: added definitions for tcl_(non)wordcharshobbs2000-01-213-10/+29
| | | | | * doc/vwait.n: added notes about requirement for vwait var being globally scoped [Bug: 3329]
* Re-added stuff that CVS lost.ericm2000-01-131-4/+17
|
* Wow! CVS really fucked this one up.ericm2000-01-131-65/+199
|
* * doc/tests/clock.test: Added numerous tests for clock scan.ericm2000-01-121-193/+65
| | | | | | | | | * 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.
* * doc/file.n:hobbs2000-01-121-8/+13
| | | | | | | * tests/unixFCmd.test: * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970]
* removed ^M's from man page - confuses man2tclhobbs1999-12-221-23/+23
|
* * doc/Hash.3: fixed reference to ckfree [Bug: 3912]hobbs1999-12-215-20/+23
| | | | | | | | * doc/RegExp.3: fixed calling params for Tcl_RegExecFromObj * doc/open.n: fixed minor formatting errors * doc/string.n: fixed minor formatting errors * doc/lsort.n: added -unique docs
* * doc/glob.n:hobbs1999-12-121-6/+63
| | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
* * doc/exec.n:hobbs1999-12-092-64/+2
| | | | * doc/open.n: removed references to Win32s
* * doc/load.n: added note about NT's buggy handling of './' withhobbs1999-12-041-1/+8
| | | | LoadLibrary
* * doc/open.n:hobbs1999-11-241-1/+10
| | | | | * win/tclWinSerial.c: adopted patch from Schroedter to handle fconfigure $sock -lasterror on Windows. [RFE: 3368]
* *** empty log message ***hobbs1999-11-191-2/+2
|
* updated to 2.2 in examplehobbs1999-11-191-2/+2
|
* * doc/scan.n:hobbs1999-11-195-24/+66
| | | | | | | | | | | | | | * tests/scan.test: * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers. * doc/http.n: * library/http2.1/http.tcl: added register and unregister commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617] * doc/glob.n: added note about ..../ glob behavior on Win9* * doc/tcltest.n: fixed minor example errors [Bug: 3551]
* * doc/open.n: corrected docs for 'a' open mode.hobbs1999-11-101-3/+4
|
* see loghobbs1999-10-291-20/+23
|
* * tests/tcltest.test:jenn1999-10-191-4/+31
| | | | | | | | | | | * doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842]
* * doc/Encoding.3: corrected docshobbs1999-10-131-5/+6
|
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-218-27/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332] 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * doc/msgcat.n: fixed \\ bug in example [Bug: 2548] * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean)
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-022-101/+10
| | | | remove TclInitStubs.3 - it was duplicate of InitStubs.3
* lintjenn1999-08-311-5/+7
|
* 1999-08-20 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-2117-74/+74
| | | | * doc/*: fixed various nroff bugs in man pages [Bug: 2503 2588]
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-193-12/+37
| | | | | | | | | | | | * doc/Eval.3: fixed doc on input args [Bug: 2114] * doc/OpenFileChnl.3: * doc/file.n: * tests/cmdAH.test: * tclIO.c: * tclCmdAH.c: added "file channels ?pattern?" tcl command, with associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public C APIs (added to tcl.decls as well), with docs and tests.
* Minor tweaks to get these pages through the HTML converterscriptics_tclpro_1_3_0core_8_2_0welch1999-08-133-13/+9
|
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-096-18/+21
| | | | | | | | | * doc/Object.3: clarified Tcl_DecrRefCount docs [Bug: 1952] * doc/array.n: clarified array pattern docs [Bug: 1330] * doc/clock.n: fixed clock docs [Bug: 693] * doc/lindex.n: clarified to account for new end-int behavior. * doc/string.n: fixed formatting errors [Bug: 2188 2189] * doc/tclvars.n: fixed doc error [Bug: 2042]
* 1999-08-05 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-051-13/+13
| | | | | * doc/tclvars.n: Made it clear that tcl_pkgPath was not set for Windows (already mentioned in init.tcl) [Bug: 2455]
* * unix/mkLinks.tcl: Applied patch to avoid linking pack.n toredman1999-07-291-7/+2
| | | | | | | pack-old.n. Patch from Don Porter. [Bug: 2469] * doc/Encoding.n: Applied patch to fix typo in .SH NAME line. Patch from Don Porter. [Bug: 2451]
* * tests/tcltest.test:jenn1999-07-261-145/+211
| | | | | | * library/tcltest1.0/tcltest.tcl: * doc/tcltest.n: Cleaned up code in ::tcltest::PrintError, revised documentation, and added tests for the tcltest package.