summaryrefslogtreecommitdiffstats
path: root/generic/tclIntPlatDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directlyjan.nijtmans2011-03-251-0/+2
|\ | | | | FossilOrigin-Name: 24d1308684e4e185e36b78c8c7b11d1c80078972
| * fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan.nijtmans2011-03-251-8/+10
| |\ | | | | | | | | | | | | | | | Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directly Some more void -> VOID transitions FossilOrigin-Name: 491f6fe449c2ef63b57947741bc65d1fe3a57c72
| | * Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directlyjan.nijtmans2011-03-251-6/+9
| | | | | | | | | | | | | | | Some void -> VOID transitions FossilOrigin-Name: 288986ffb15e74b3f2d3e22669389773aa5d47c2
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | | | | | | | cause more harm than good. Purged them (except in zlib files). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * * generic/tclInt.decls: Yet another round of attemptingkennykb2007-04-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: to get the correct type signature * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime. * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST' * win/tclWinTime.c: and not a 'CONST time_t*'! * generic/tclIntDecls.h: [Bug 1677275] * generic/tclIntPlatDecls.h: Regenerated. FossilOrigin-Name: c109ead7b6580bc2ed9f05a731312bd0eaa13272
| | * added CONST to TclpLocaltime and TclpGmtime param throughoutkennykb2004-10-281-5/+6
| | | | | | | | | FossilOrigin-Name: d3a95fedcf2ad46a35b1d719f1c4e6ffa1179c42
| | * * generic/tclDecls.h: Regenerated on a unix box.andreas_kupries2004-06-101-593/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: The Win/DOS EOLs from the * generic/tclIntPlatDecls.h: last regen screwed up compilation * generic/tclPlatDecls.h: with an older gcc. * generic/tclStubInit.c: FossilOrigin-Name: be14957e2ee1f852e0a258ae7df3725d23687241
| | * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw kennykb2004-06-051-585/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722] FossilOrigin-Name: a45bf99c8eb11742f802731d5583009c4b6f5e28
| | * commit genstubs generated files with unix line endingsdgp2004-05-171-585/+585
| | | | | | | | | FossilOrigin-Name: cf62c7e8ba19e91d408c0655da27ba97c2540735
| | * * generic/tclInt.decls: Restored TclpTime_t kludge to all kennykb2004-05-171-585/+585
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146] FossilOrigin-Name: 23544a04acf874fd6bb7713a65d633fb0d84d351
| | * 2004-05-14 Kevin B. Kenny <kennykb@acm.org> kennykb2004-05-141-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls. FossilOrigin-Name: 27f78ca91bc1b33c909fb1eac370a3d41c65fa59
| * | Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing. FossilOrigin-Name: 1b43842ad6d704ba329a6651740638c9b05a2e4e
| * | Backport various formatting (spacing)nijtmans2010-02-071-128/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!) FossilOrigin-Name: abe54e99af3c4b88b5abeeef8c9f5da2531ec826
| * | Various CYGWIN-related fixesnijtmans2010-01-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail. FossilOrigin-Name: ad7cfb6ee36931026975da528ab9dbb097c78aa8
| * | * macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allowdas2009-04-101-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: FossilOrigin-Name: 7a6749806adf64476f7846b9827f788132534266
* | | Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-101-5/+5
| | | | | | | | | | | | | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit. FossilOrigin-Name: 5d5c5e198a0641ec2e5d6daa98947ff0efe13877
* | | [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:nijtmans2010-08-211-9/+9
| | | | | | | | | | | | | | | | | | Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes. FossilOrigin-Name: f2adcb56845991be7a0f3f9125e2dd67311a6959
* | | [Patch 3034251] backport ttkGenStubs.tcl features to genStubs.tcl, partly: ↵nijtmans2010-08-191-290/+9
| | | | | | | | | | | | | | | remove unneeded ifdeffery and put C++ guard around stubs pointer definition. FossilOrigin-Name: 6f6d53c30a1cbbdedcc7618d4bec0ec592b0e3a5
* | | Follow-up to [2010-01-29] commit:nijtmans2010-02-051-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings FossilOrigin-Name: 98e1b94811e5566833ed547424b86dd3e7fc9a2d
* | | - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-85/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions. FossilOrigin-Name: 92924901357b4846fa668b6f5122abf37979693a
* | | Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-221-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures. FossilOrigin-Name: 835f8e1e9d351430ae770c9e2b24bc78ad766eca
* | | * macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allowdas2009-04-101-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c: FossilOrigin-Name: ec1a5f86861b3736515526ad66b50887844b676b
* | | Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-72/+72
| | | | | | | | | | | | | | | | | | broken since 8.4 and no-one complained about it. FossilOrigin-Name: dc58eb7219d241ac91b3404382fe30280fced6a1
* | | fix line-endingsdas2008-07-221-705/+705
| | | | | | | | | FossilOrigin-Name: 7352e913603a2710129d8cd7c5fcdc6178c78ca7
* | | TIP #304 implementationferrieux2008-07-211-705/+705
| | | | | | | | | FossilOrigin-Name: 6cf782df528871911ae551e4bdf83fdbe052c3fa
* | | * generic/tclDecls.h: make genstubsdas2008-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h: FossilOrigin-Name: 2841879955fce934d9a7964b8db0a2f9a7372828
* | | * generic/tclDecls.h: make genstubsdas2008-04-021-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: FossilOrigin-Name: 489dbbd13d87c7411970721d840ca53e44ea8bbc
* | | * README: Bump version number to 8.6a0dgp2008-04-011-1/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h: FossilOrigin-Name: b76be03521619e41d68101547228a6b69c44ccd3
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| | | | | | FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
* | * generic/tclDecls.h: regen with new genStubs.tcl.das2007-12-101-16/+168
| | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: [Bug 1834288] * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: FossilOrigin-Name: 903771a2c00885a1977874198504c6cee7cee625
* | * tools/genStubs.tcl: Updated script to no longer produce thedgp2006-11-151-125/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _ANSI_ARGS_ wrapper in generated declarations. Also revised to accept variadic prototypes with more than one fixed argument. (This is possible since TCL_VARARGS and its limitations are no longer in use). * generic/tcl.h: Some reordering so that macro definitions do not interfere with the now _ANSI_ARGS_-less stub declarations. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h: FossilOrigin-Name: 40a5f13181379887fbe3db5ef8d7977393700b19
* | * generic/tclInt.decls: implement globbing for HFS creator & typedas2006-03-211-1/+14
| | | | | | | | | | | | | | | | | | | | | | * macosx/tclMacOSXFCmd.c: codes and 'hidden' flag, as documented in * tests/macOSXFCmd.test: glob.n; objectified OSType handling in [glob] * unix/tclUnixFile.c: and [file attributes]; fix globbing for hidden files with pattern==NULL arg. [Bug 823329] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs FossilOrigin-Name: c72a1b963bebae88298ba81a6d1a67515c913790
* | Export stubs for libtommath; fix mingw compiler warningskennykb2005-12-131-5/+5
| | | | | | FossilOrigin-Name: 3842b9c46803a8677c011078725b04cff7adff2d
* | * generic/tclInt.decls:das2005-05-141-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs FossilOrigin-Name: 7ff2693241fa7879db699d629adeab83f4711017
* | * generic/tcl.h: Moved the preprocessor logicdavygrvy2004-11-031-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: from tclInt.h of setting the * generic/tclInt.h: TCL_STORAGE_CLASS macro to the * generic/tclIntDecls.h: tcl*Decls.h files now that no * generic/tclIntPlatDecls.h: use of EXTERN is left in tclInt.h. * generic/tclPlatDecls.h: Proto for Tcl_Main moved in tcl.h * win/tclWinPort.h: to prior the inclusion of the Stubs headers as they are now resetting TCL_STORAGE_CLASS. Removed extrainious reset from tclWinPort.h. [Patch 1055668] FossilOrigin-Name: 89bb140d4a01d066769a412119bb9e78ce2a9a00
* | Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-071-552/+552
| | | | | | FossilOrigin-Name: 480d71ecd2cfd341d214955bece4ace2f6d692d2
* | * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw kennykb2004-06-051-541/+552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722] FossilOrigin-Name: ac070357cfc92bba541d74fda91796cb2ea52143
* | 2004-05-14 Kevin B. Kenny <kennykb@acm.org> kennykb2004-05-141-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls. FossilOrigin-Name: 44753d7a62927a3ae318a223fb94a8f35b69bf08
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-296/+4
| | | | | | FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
* | Regendkf2003-08-251-1/+205
| | | | | | FossilOrigin-Name: 15743b65bef07841a0c237223db14da06558162b
* | Implementation of TIP 118:das2003-05-141-1/+45
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. FossilOrigin-Name: a25df0d3d994f84ae358d728b146f05dae415a83
* * generic/tclStubInit.c: regenhobbs2002-12-061-1/+8
| | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: regen * generic/tclInt.decls: added TclWinResetInterface * win/tclWin32Dll.c (TclWinResetInterfaces): * win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup): add exit handler that resets the encoding information to a state where we can reuse Tcl. Following these changes, it is possible to reuse Tcl (following Tcl_FindExecutable or Tcl_CreateInterp) following a Tcl_Finalize. FossilOrigin-Name: e4ec3dc36c57ea2690faeb643e2e47eac6bc6520
* * generic/tclInt.decls:das2002-08-061-1/+29
| | | | | | | | | | | | | * unix/tclUnixThrd.c: Added stubs and implementations for non-threaded build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime, TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded extensions that include tclUnixPort.h and use any of the procs readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: Regen. FossilOrigin-Name: 23c61ff933ad9195a371f74b16e29fad852f61c1
* 2002-04-20 Daniel Steffen <das@users.sourceforge.net>das2002-04-191-1/+9
| | | | | | | | | | | | | | | | * generic/tclInt.decls: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacUtil.c: Modified TclpObjNormalizePath to be alias file aware, and replaced various calls to FSpLocationFrom*Path by calls to new alias file aware versions FSpLLocationFrom*Path. The alias file aware routines don't resolve the last component of a path if it is an alias. This allows [file copy/delete] etc. to act correctly on alias files. (c.f. discussion in Bug #511666) FossilOrigin-Name: 9a1332b8f123537d15b41b398ad86e08bf252943
* * generic/tclInt.decls:das2002-01-271-3/+3
| | | | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: * mac/tclMacSock.c: TIP 27 CONSTification induced changes * tests/event.test: * tests/main.test: added catches/constraints to test that use features that don't exist on the mac. FossilOrigin-Name: 02f6dcb5d2e40852b7e678559c5f3964c826593e
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-251-9/+9
| | | | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath. FossilOrigin-Name: fceed15544ad472b748cdf463c3b4005e83b5e8f
* * generic/tclIntPlatDecls.h: 'make genstubs' after changesdgp2001-11-261-4/+5
| | | | | | in 2001-11-23 commit from Daniel Steffen. FossilOrigin-Name: f48952a972dcabf7d181df09c193a6b13d384be8
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-23/+27
| | | | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details FossilOrigin-Name: 2211e7f47d524b40b088c25aae6fabdd9e704dca