summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* * unix/mkLinks: Regen'd with new mkLinks.tcl.hobbs2000-08-082-969/+702
| | | | | | | | * 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: 20239e7f734572e63bbbdc24bff595ad34ae8e82
* * unix/Makefile.in: add tclsh.ico and tcl.spec to dist targethobbs2000-08-071-4/+4
| | | FossilOrigin-Name: 56dc3a4959fb57ef960b4d1d496f90ccbc6f441e
* * unix/tclUnixInit.c (TclpSetInitialEncodings): attempt tohobbs2000-08-071-14/+9
| | | | | | | correct setlocale calls for XIM support and locale issues. [BUG: 5422 3345 4236 2522 2521] FossilOrigin-Name: 608c7a9a5a8c42cd594f0ea92be17219af12b622
* * merged core-8-3-1-io-rewrite back into core-8-3-1-branch.hobbs2000-07-273-8/+12
| | | | | | The core-8-3-1-io-rewrite branch should now be considered defunct. FossilOrigin-Name: 4a5dd63d1f5efaf30ac7fb5f31fafb9893f69100
* 2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-05-312-654/+969
| | | | | | | | | | | | | | | | | * 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/library.n: Added entries for auto_qualify and auto_import [Bug: 1271].ericm2000-04-281-0/+8
| | | | | | | | | * 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
* * doc/memory.n: Man page for Tcl "memory" command, which isericm2000-04-271-0/+8
| | | | | | | | | | | | | | | | | | | | 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
* * unix/mkLinks: Regen'd with new mkLinks.tcl.ericm2000-04-262-971/+640
| | | | | | | | | | | | | * unix/mkLinks.tcl: Fixed indentation, made link setup more intelligent (only do one existance test per man page, instead of one per function). * doc/library.n: Fixed .SH NAME macro to include each function documented on the page, so that mkLinks will know about the functions listed there, and so that the Windows help file index will get set up correctly [Bug: 1898, 5273]. FossilOrigin-Name: 04f453e64fd8cecce95c1a19a07c98baa1ef8c57
* Fixed bad crosslink command.ericm2000-04-261-1/+1
| | | FossilOrigin-Name: e316983b70c579576d59c0f83979ab1bf0561756
* * README:hobbs2000-04-262-6/+9
| | | | | | | | | | | * 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
* LogCommandInfo man entry.ericm2000-04-261-0/+4
| | | FossilOrigin-Name: a6e79bb9c4ea88ba1255c4ddf7fc9c80eb8bb688
* * unix/Makefile.in:hobbs2000-04-251-13/+19
| | | | | | | | * 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
* * unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZERhobbs2000-04-251-3/+3
| | | | | | [Bug: 5254] FossilOrigin-Name: aa8d40b8f16a649414345d9cda8887137a120e25
* * unix/tclLoadDyld.c (TclpLoadFile): removed use of interp->resulthobbs2000-04-251-9/+12
| | | FossilOrigin-Name: 390ae98d859e9f4833c90c4da7c2e190da9058f3
* * unix/mkLinks:ericm2000-04-251-0/+4
| | | | | | * doc/OpenFileChnl.3: Added man entry for Tcl_Ungets [Bug: 1834]. FossilOrigin-Name: 09b093392507d6544d540c98c113f9a87bcd12f0
* * unix/mkLinks:ericm2000-04-251-0/+4
| | | | | | * doc/SourceRCFile.3: Man page for Tcl_SourceRCFile [Bug: 1833]. FossilOrigin-Name: e1c7b67772b21dc2463584a2139958f9ce9d6d14
* * unix/mkLinks:ericm2000-04-241-0/+4
| | | | | | * doc/ParseCmd.3: Added documentation for Tcl_ParseVar [Bug: 1828]. FossilOrigin-Name: b374c024927a3bf8e289e5c86ffcd5903a046a15
* * unix/tclUnixNotfy.c (Tcl_FinalizeNotifier, NotifierThreadProc):hobbs2000-04-242-13/+31
| | | | | | | | | 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
* * generic/tclAlloc.c: wrapped caddr_t define to not be done on Unixhobbs2000-04-211-1/+12
| | | | | | | * unix/tclUnixPort.h: added Tclp*Alloc defines to allow the use of USE_TCLALLOC on Unix. [Bug: 4731] FossilOrigin-Name: 618011d0b22f7d1d6ad7a5e0ae9caa838f721e89
* have to allow for strchr being a macro in TtyParseProchobbs2000-04-191-5/+6
| | | FossilOrigin-Name: 8e5dea52531e71d9738f66897426029786436634
* * README:hobbs2000-04-196-81/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets thehobbs2000-04-181-18/+5
| | | | | | | library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage. FossilOrigin-Name: 7545f3c2fcddbdb1625b3fb7160a2c076243b0a0
* * unix/tclUnixChan.c (TtyParseMode): Only allow setting mark/spacehobbs2000-04-151-3/+18
| | | | | | parity on platforms that support it [Bug: 5089] FossilOrigin-Name: 64dd87f4a7a03359e960cb857660fbcf574a0f76
* * 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] FossilOrigin-Name: 720c60af3fbde49674283426cb3c22f32af90666
* Fixed compiler warningswelch2000-04-111-3/+3
| | | FossilOrigin-Name: 7f42a656b65b2754b0cb13def2e9f8294b5e93e1
* * unix/tclUnixThrd.c (Tcl_CreateThread): moved TCL_THREADS ifdefhobbs2000-04-091-1/+5
| | | | | | | | 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
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-093-22/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Added dependency of tclStubInit.c on the stubs tableswelch2000-04-051-2/+7
| | | FossilOrigin-Name: b0e8d28f5d57b4df4165bcafdd80ea79565d9c52
* 2000-04-03 Andreas Kupries <a.kupries@westend.com>kupries2000-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * unix/dltest/pkg[a-e].c: Cleaned up test packages [Bug: 2293]hobbs2000-04-045-129/+133
| | | FossilOrigin-Name: b0a1e49e5b291f858f2bc7e4948dea3e2c278a4d
* * 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. FossilOrigin-Name: 45165c0e6db05da01e3f68dc83608da8e8d68808
* * generic/tclGet.c (Tcl_GetDouble): Added additional conditions toericm2000-03-311-4/+10
| | | | | | | | | | | | | | | | | | | 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
* * unix/tclUnixChan.c: Added (off_t) type casts in lseek() callericm2000-03-273-9/+9
| | | | | | | | | | [Bug: 4409]. * unix/tclLoadAout.c: * unix/tclUnixPipe.c: Added (off_t) type casts in lseek() calls [Bug: 4410]. FossilOrigin-Name: 30a242b059029eb7c6e354ef874565872499766c
* Updated file list.ericm2000-03-241-3/+5
| | | FossilOrigin-Name: e19dc38d8e4f0bf7f0c07c5f16c2e662c200465b
* * unix/Makefile.in: Added rpm target to generate Tcl binary RPM.ericm2000-02-142-2/+68
| | | | | | * unix/tcl.spec: RPM specification file for a Tcl binary RPM for Linux. FossilOrigin-Name: 442aaf884c5b22db6edef62dc7115e53c3bb6e52
* * unix/README:hobbs2000-02-106-430/+35
| | | | | | | | | | | | | | | | | | * unix/Makefile.in (dist): removed porting.notes and porting.old from distribution and CVS. The information was very outdated. Now refer to http://dev.scriptics.com/services/support/platforms.html * tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549] * unix/configure.in: * unix/tcl.m4: correct CFLAG_WARNING setting, fixed gcc config for AIX, added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998] * win/tclWinLoad.c (TclpLoadFile): improved error message for load failures, could perhaps be even more intelligent. FossilOrigin-Name: 94b6c133d50b3679ba9b9ae19bcf1aa7169e772a
* * unix/configure.in:hobbs2000-02-082-5/+5
| | | | | | | | | | | * win/configure.in: * win/README: * win/README.binary: * generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel * unix/tcl.m4: changed all -fpic to -fPIC FossilOrigin-Name: 6b327fb3d21be04e0fcc2404bb42a023b204a772
* Removed references to struct1.0 dir.ericm2000-02-071-5/+5
| | | FossilOrigin-Name: 3758c5b56da44f6add7319ad0d7a99366d226c77
* * unix/README: fixed notes about --enable-shared and add notehobbs2000-02-051-2/+6
| | | | | | about --disable-shared. FossilOrigin-Name: 9e1610ece1e8641a0e2a41d5acc758d691a712b1
* * doc/tree.n:ericm2000-02-051-5/+5
| | | | | | | | | | | | | | | | | | | | | * 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 FossilOrigin-Name: 1955d2e8a3fd2d099d37801ba806677eb3ea8562
* improved OSF1 thread build flagshobbs2000-02-011-2/+2
| | | FossilOrigin-Name: 1eb3f9bc2e48253db393c07833a687aff0b4f943
* * generic/tclNamesp.c: Undid fix for #956, which broke backwardsericm2000-01-261-0/+8
| | | | | | | | | | | | | | | 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. FossilOrigin-Name: 234fd734e8d4daeaea295834d47f4f7b419321d5
* * unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET forhobbs2000-01-262-8/+15
| | | | | | | | | | OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min stack size for OSF1-V* when building with threads. [Bug: 4063] * unix/tclUnixChan.c (CreateSocketAddress): changed comparison with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit systems. [Bug: 3878] FossilOrigin-Name: 4eda7886fc3ad99a10f0a580e51c6fa1a0f73763
* * unix/tclUnixPort.h: moved include of <utime.h> lower since somehobbs2000-01-242-4/+8
| | | | | | | | | | systems (UTS) require sys/types.h to be included first [Bug: 4031] * unix/tclUnixChan.c (CreateSocketAddress): changed comparison with -1 to 0xFFFFFFFFFFFFFFF, which is the pedantic way to say -1 for both 32 bit and 64 bit systems. [Bug: 3878] FossilOrigin-Name: 383590b98af9e385b1ea8a9796635b8a72835b26
* * unix/mkLinks:ericm2000-01-211-0/+4
| | | | | | * doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817). FossilOrigin-Name: 516c1ca14215f6777c31049b293172c10836a342
* * unix/tclUnixNotfy.c (Tcl_InitNotifier): added cast for tsdPtrhobbs2000-01-211-3/+4
| | | FossilOrigin-Name: e486883673f183be36a3c9340671897a93c3a267
* Fixed typowart2000-01-191-3/+3
| | | FossilOrigin-Name: fdbd74224b684984ccaf8feb8f6a61592bc632d5
* made install less verbosehobbs2000-01-161-17/+20
| | | FossilOrigin-Name: 436cdac5d787a2f176a8198a2acfc73b95a4eecc
* * unix/tclUnixTime.c: New clock format format.ericm2000-01-141-1/+12
| | | | | | | | * compat/strftime.c: New clock format format. * generic/tclGetDate.y: New clock scan format. FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
* * README:core-8-3-b2hobbs2000-01-142-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 FossilOrigin-Name: c857d530775c8be8a18a424919aac862920168cf