summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
* * unix/configure:hobbs2003-12-092-6/+75
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* #ifdef'd out errno declarations; incompatible with recent glibc. [Bug 852369]dkf2003-12-091-1/+3
|
* Changes from Victor Wagner <vitus@45.free.net> for better DJGPP support.davygrvy2003-11-181-1/+5
|
* Changes from Victor Wagner <vitus@45.free.net> for DJGPP support.davygrvy2003-11-182-4/+13
|
* TIP#138 implementation plus extra test stuff [Patch 731356]dkf2003-11-141-8/+5
|
* * unix/configure:hobbs2003-11-122-81/+79
| | | | | | * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
* added socklen_t typedef for DJGPPdavygrvy2003-11-111-1/+2
|
* * unix/tclUnixInit.c (TclpInitLibraryPath):dgp2003-11-101-2/+21
| | | | | * win/tclWinInit.c (TclpInitLibraryPath): Fix for [Bug 832657] that should not run afoul of startup constraints.
* free path when no longer neededvincentdarley2003-11-031-1/+2
|
* * unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606]andreas_kupries2003-10-231-5/+8
| | | | | | fixing [Bug 813087]. Detection of sockets was off for Mac OS X which implements pipes as local sockets. The new code ensures that only IP sockets are detected as such.
* TIP #156: Language-Neutral Root Locale for MsgcatKevin B Kenny2003-10-211-4/+4
|
* filesystem bug fixesvincentdarley2003-10-132-8/+29
|
* * unix/tclUnixTest.c (TestalarmCmd): don't bother checking returnhobbs2003-10-131-5/+2
| | | | value of alarm. [Bug #664755] (english)
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path sodgp2003-10-061-13/+28
| | | | that alpha and beta releases of Tcl are not favored. [Bug 608698]
* Oops. Missed out on an index line updatedkf2003-09-291-0/+2
|
* Added note that frameworks are a MacOSX feature [Bug 619440]dkf2003-09-292-2/+2
|
* regendkf2003-08-311-4/+36
|
* * unix/Makefile.in: changes to html-tcl & html-tkdas2003-07-231-5/+9
| | | | targets for compatibility with non-gnu makes.
* * unix/Makefile.in: added macosx/README to dist target.das2003-07-231-1/+2
|
* * unix/tclUnixFCmd.c: fix for compilation errors on platforms wheredas2003-07-182-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure detects non-functional chflags(). [Bug 748946] * macosx/Makefile: Rewrote buildsystem for Mac OS X framework build to be purely make driven; in order to become independent of Apple's closed-source IDE and build tool. The changes are intended to be transparent to the Makefile user, all existing make targets and cmd line variable overrides should continue to work. Changed build to only include tcl specific html help in Tcl.framework, the tk specific html help is now included in Tk.framework. Added var to allow overriding of tclsh used during html help building (Landon Fuller). * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to the make driven buildsystem; Tcl.framework is no longer assembled by ProjectBuilder. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed). * tools/tcltk-man2html.tcl: Added options to allow building only the tcl or tk html help files; the default behaviour with none of the new options is to build both, as before. * unix/Makefile.in: Added targets for building only the tcl or tk help. * macosx/README (new): Tcl specific excerpts of tk/macosx/README. * generic/tcl.h: Updated reminder comment about editing macosx/Tcl.pbproj/project.pbxproj when version number changes.
* * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of foundhobbs2003-07-161-2/+3
| | | | and word vars from int to long. [Bug 767578] (hgo)
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-161-3/+1
| | | | | | * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typomdejong2003-07-161-2/+2
| | | | that was causing a crash in load.test.
* * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counteddgp2003-07-151-2/+10
| | | | | strings instead of strcmp (not defined in any #include'd header) and presumed NULL-terminated strings.
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-251-2/+6
| | | | and tricky enough to discourage non-specialists...
* 2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>mdejong2003-06-252-6/+10
| | | | | | | | * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug 748957]
* * unix/tclUnixPort.h: #undef inet_ntoa beforemdejong2003-06-241-1/+2
| | | | | #define to avoid compiler warning under freebsd. [Bug 745844]
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-095-6/+122
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* * unix/mkLinks: Set the var S to "" at the topmdejong2003-05-231-0/+2
| | | | | | of the file to avoid error when user has set S to something. [Tk Bug #739833]
* Corrected a bug in conversion of non-ASCII chars in the format string.Kevin B Kenny2003-05-191-3/+7
|
* * unix/tclUnixTime.c: fixed typo.das2003-05-191-2/+2
|
* * compat/strftime.c: Modified TclpStrftime to return its Kevin B Kenny2003-05-181-10/+23
| | | | | | | | * generic/tclClock.c: result in UTF-8 encoding, and removed * mac/tclMacTime.c: the conversion from system encoding to * unix/tclUnixTime.c: UTF-8 from [clock format]. Needed to * win/tclWinTime.c: avoid double conversion of the timezone name on Windows systems. [Bug 624408]
* Removed one reference to tclDToA.c that shouldn't have been there.Kevin B Kenny2003-05-161-2/+1
|
* Fixed Tcl bug 736425Kevin B Kenny2003-05-151-1/+4
|
* Implementation of TIP 118:das2003-05-145-15/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* fix for [Bug 732477]Joe Mistachkin2003-05-131-6/+6
|
* * generic/tcl.decls:das2003-05-132-5/+12
| | | | | | | | | | | | | | | | | | | | | * macosx/tclMacOSXBundle.c: added extended version of the Tcl_MacOSXOpenBundleResources() API taking an extra version number argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to be able to access bundle resources in versioned frameworks such as Tcl and Tk, otherwise if multiple versions were installed, only the latest version's resources could be accessed. [Bug 736774] * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned bundle resource API to get tcl runtime library for TCL_VERSION. [Bug 736774] * generic/tclPlatDecls.h: * generic/tclStubInit.c: regen. * unix/tclUnixPort.h: worked around the issue of realpath() not being thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on Mac OS X. [Bug 711232]
* Corrected Tcl bug #723502vasiljevic2003-05-121-1/+1
|
* * The changes below fix SF bugs [593810], and [718045].andreas_kupries2003-04-221-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutSockChannel and TclpSpliceSockChannel. * generic/tclInt.h: Declare TclpCutSockChannel and TclpSpliceSockChannel. * unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel): Dummy functions, on unix the sockets are _not_ handled specially. * mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel): * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New functions to handle socket specific cut/splice operations: auto-initi of socket system for thread on splice, management of the module internal per-thread list of sockets, management of association of sockets with HWNDs for event notification. * win/tclWinSock.c (NewSocketInfo): Extended initialization assignments to cover all items of the structure. During debugging of the new code mentioned above I found that two fileds could contain bogus data. * win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before definition because when compiling in debug mode the compiler complains about a redefinition, and this warning is also treated as an error.
* Updated mkLinks for TIP 111 documentationdgp2003-04-161-0/+28
|
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-2/+6
|
* Build support for dicts on Unix and Windows, plus public API (structuredkf2003-04-051-4/+8
| | | | declaration and stubs entries.)
* * unix/configure:mdejong2003-04-042-2/+12
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already set to support use of TCL_LIBS var from tclConfig.sh in the Tk configure script.
* * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-035-33/+25
| | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.
* * unix/configure: Regen.mdejong2003-04-022-71/+71
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
* * unix/configure: Regen.mdejong2003-03-282-4/+4
| | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
* * unix/configure: Regen.mdejong2003-03-272-0/+89
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
* * unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to passdgp2003-03-266-15/+15
| | | | | argument exact = 0, so that rebuilds are not required when Tcl bumps to a new version. [Bug 701926]
* * generic/tclInt.h (tclOriginalNotifier):dgp2003-03-211-5/+6
| | | | | | | | | | | | | | | * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
* * library/auto.tcl: Replaced [regexp] and [regsub] withdgp2003-03-191-1/+1
| | | | | | | | | | | | | | | * library/history.tcl: [string map] where possible. Thanks * library/ldAout.tcl: to David Welton. [Bugs 667456,667558] * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and * library/http/http.tcl: tcltest 2.2.3. * library/http/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: * library/tcltest/tcltest.tcl: * library/tcltest/pkgIndex.tcl: * tools/genStubs.tcl: * tools/tcltk-man2html.tcl: * unix/mkLinks.tcl: