summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
Commit message (Collapse)AuthorAgeFilesLines
* Add (internal) stub entries for TclRegisterLiteral and TclStaticPackage. Not ↵jan.nijtmans2020-04-161-1/+12
| | | | | used in any test-cases yet, but could be used in extensions for testing. Backported from 8.6. New test commands "testbytestring" and "teststringbytes". Also backported from 8.6. Not used in any test-cases yet.
* Last unused internal stub entry from 258 to 259.jan.nijtmans2020-01-231-16/+15
|
* Add more dummy stub-entries, filled with NULL. Stub table size corresponds ↵jan.nijtmans2019-10-151-0/+5
| | | | with stub table size for 8.7, encountering NULL entries is better than accessing outside of array bounds.
* Rename Tcl_Dir to TclDIR, making it clear that this macro is not part of the ↵jan.nijtmans2018-05-111-2/+2
| | | | public API
* amend to [85bcf84100]: replaces DIR with Tcl_Dir (DIR/DIR64 regarding ↵sebres2018-05-091-2/+2
| | | | HAVE_STRUCT_DIRENT64)
* Fix comments at the top of the *.decls files, which are not correct any more ↵jan.nijtmans2015-11-241-3/+2
| | | | for a long long time.
* add TclUnixCopyFile to stub table for Cygwinjan.nijtmans2012-07-011-0/+5
|
* Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-0/+4
|\ | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| * Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-0/+4
| | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* | fix merge problem on Linuxjan.nijtmans2012-05-231-92/+49
|\ \
| * \ Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-94/+51
| |\ \ |/ / / | | _ | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| * Revert most of [ae92de6078], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-100/+32
| | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-1/+1
|\ \ | |/
| * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-4/+7
| | | | | | Simplify stub tables for functions which work on both UNIX and windows
* | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-7/+35
|\ \ | |/ | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-7/+35
| |\ | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * implement TclWinGetSockOpt and TclWinGetServByName for cygwijan.nijtmans2012-04-241-17/+21
| | | | | | | | | (should work, but not yet tested on UNIX)
| | * tclpGetPid signature change (stub entry only, not for macro),jan.nijtmans2012-04-061-2/+2
| | | | | | | | | | | | for win64 compatibility with future cygwin64 correctly use win32 as default when cross-compiling under cygwin
| | * implement TclpGetPid for Cygwinjan.nijtmans2012-04-041-2/+26
| |/
* | some formatting (*.decls)jan.nijtmans2012-04-041-3/+3
|\ \ | |/ | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings
* | [Bug 510001]: TclSockMinimumBuffers needs plat impjan.nijtmans2012-04-041-1/+4
|\ \ | |/
| * [Bug 510001]: TclSockMinimumBuffers needs plat impjan.nijtmans2012-04-041-1/+4
| |\
* | \ Remove the TclpGetTZName implementation for Cygwin (from previous commit)jan.nijtmans2012-04-031-17/+4
|\ \ \ | |/ /
| * | cleanup tclInt.decls to have the same form as Tcl 8.5/8.6,jan.nijtmans2012-04-031-267/+265
| | | | | | | | | | | | so a diff can show us the real signature differences Remove the TclpGetTZName implementation for Cygwin, from previous commit
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-301-5/+5
|\ \ \ | |/ / | | | | | | Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-301-5/+5
| |/ | | | | | | Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin
* | 3 missing stub macros for cygwinjan.nijtmans2012-03-261-448/+336
|\ \ | |/ | | fix merge problem from Tcl 8.4 (old mac stub table got accidently back)
* | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-251-11/+155
|\ \ | |/ | | | | | | | | Implement TclWinConvertError, TclWinConvertWSAError, and various more win32-specific internal functions for Cygwin, so win32 extensions using those can be loaded in the cygwin version of tclsh.
| * add TclGetAndDetachPids and TclpCloseFile to cygwin portjan.nijtmans2012-03-231-0/+2
| |
| * add TclWinConvertError and TclWinConvertWSAError for cygwinjan.nijtmans2012-03-221-2/+10
| |
| * many more cygwin functions presentjan.nijtmans2012-03-221-85/+113
| |
* | Revert some cygwin-related signature changes from [835f8e1e9d] (2010-02-01)jan.nijtmans2012-03-231-7/+7
| | | | | | | | | | They were an attempt to make the cygwin port compile again, but since cygwin is based on unix this serves no purpose any more. Add tclWinError.c to the CYGWIN build.
* | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-1/+9
|\ \ | |/
| * implement Tcl_WinUtfToTChar and Tcl_WinTCharToUtf for cygwinjan.nijtmans2012-03-191-0/+3
| |
| * bug 3508771: load tclreg.dll in cygwin tclshjan.nijtmans2012-03-191-1/+6
| | | | | | (works on cygwin, on other UNIX not yet complete)
* | fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan.nijtmans2011-03-251-1/+1
|\ \ | |/ | | | | Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directly Some more void -> VOID transitions
| * Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directlyjan.nijtmans2011-03-251-5/+5
| | | | | | Some void -> VOID transitions
* | 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.
| * 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.
| * * generic/tclInt.decls: Yet another round of attemptingKevin B Kenny2007-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.
| * replaced 'long' times with wides, to cope with Win64Kevin B Kenny2005-03-151-4/+4
| |
| * added CONST to TclpLocaltime and TclpGmtime param throughoutKevin B Kenny2004-10-281-5/+5
| |
| * Speed up [info <thing> <simplePattern>]dkf2004-10-141-1/+5
| |
| * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
| * * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-171-5/+5
| | | | | | | | | | | | | | * 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]
| * 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-141-3/+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.
* | * generic/tclInt.decls: Backport of Kevin B. Kenny's work onandreas_kupries2010-11-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs. * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them. * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: Regenerated.
* | * generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:hobbs2010-11-301-5/+5
| | | | | | | | | | | | | | * generic/tclStubInit.c: TclFormatInt restored at slot 24 * generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from 2005-07-05 macro-ization. Benchmarks indicate it is faster, as a key int->string routine (e.g. int-indexed arrays).
* | * generic/tclExecute.c (EvalStatsCmd): change 'evalstats' tohobbs2010-10-021-2/+2
| | | | | | | | | | | | | | | | | | return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
* | Backport various formatting (spacing)nijtmans2010-02-071-11/+12
| | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)