summaryrefslogtreecommitdiffstats
path: root/generic/tclPlatDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge trunkjan.nijtmans2014-02-111-3/+3
|\
| * Fix execute permission bit (should not be set) for *Decls.h filesjan.nijtmans2014-02-111-0/+0
| |
| * Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-3/+3
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | merge trunkjan.nijtmans2013-11-041-3/+5
|\ \ | |/
| * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
| |\ | | | | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h and tclOODecls.h it was no problem, because tcl.h and tclOO.h already contain those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
| | * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
| | | | | | | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* | | merge trunkjan.nijtmans2013-10-171-0/+0
|\ \ \ | |/ /
* | | Eliminate TclOOInitializeStubs() completely. This fixes [dfc08326e3], at ↵jan.nijtmans2013-10-171-0/+0
| | | | | | | | | | | | | | | | | | | | | least the TclOOInitializeStubs() surprise part of it. Further refactoring is possible, eliminating tclOOStubsPtr and/or tclOOIntStubsPtr. A discussion about that is opened on the Tcl Core List. This is fully source compatible for TclOO extensions (e.g. Itcl, tdbc) but binary incompatible. TODO: update documentation, but that can wait until the refactoring is complete.
* | | Destroy all the TCL_STORAGE_CLASS and associated nonsense.dgp2012-11-291-18/+4
|/ /
* | Simplification: don't declare struct types that are never used.jan.nijtmans2012-11-151-1/+1
| |
* | revert part of [8f9c16848b] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-25/+3
|\ \ | |/ | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| * Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-35/+3
| |\ | | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| | * revert part of [9922ac54e8]: remove Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-141-30/+30
| | | | | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table, instead let cygwin make use of the win32 stub table
* | | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-1/+1
|\ \ \ | |/ / | | | so it can be used for the Plat* interfaces as well
| * | move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,jan.nijtmans2012-05-071-11/+8
| |\ \ | | |/ | | | so it can be used for the Plat* interfaces as well
| | * move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h, jan.nijtmans2012-05-071-11/+8
| | | | | | | | | so it can be used for the Plat* interfaces as well
| | * move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-3/+1
| | |
| | * make genstubsdgp2012-04-031-36/+35
| | |
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+22
|\ \ \ | |/ /
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-0/+32
| |\ \ | | |/
| | * implement Tcl_WinUtfToTChar and Tcl_WinTCharToUtf for cygwinjan.nijtmans2012-03-191-27/+27
| | |
* | | 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).
| * | 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/tclDecls.h: Regenerated on a unix box.andreas_kupries2004-06-101-197/+197
| | | | | | | | | | | | | | | | | | | | | * 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:
| | * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-197/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
| | * commit genstubs generated files with unix line endingsdgp2004-05-171-197/+197
| | |
| | * * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-171-197/+197
| | | | | | | | | | | | | | | | | | | | | * 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]
| | * * generic/tcl.decls:das2003-05-131-1/+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]
| * | [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-161-1/+5
| | |
| * | installData.tcl: Make sure that copyDir only receives normalized paths.nijtmans2010-05-211-9/+3
| | | | | | | | | | | | | | | | | | tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
| * | Backport various formatting (spacing)nijtmans2010-02-071-17/+17
| | | | | | | | | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* | | [Patch 3034251] backport ttkGenStubs.tcl features to genStubs.tcl, partly: ↵nijtmans2010-08-191-25/+9
| | | | | | | | | | | | remove unneeded ifdeffery and put C++ guard around stubs pointer definition.
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-1/+14
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | Move inclusion of <tchar.h> from tclPlatDecls.hnijtmans2010-04-151-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | to tclWinPort.h, where it belongs. Add fallback in tcl.h, so at least TCHAR typedef is always available in win32, even without <tchar.h> Tk already did the same in tkWinPort.h, now Tcl does it the same (correct) way.
* | | Follow-up to [2010-01-29] commit:nijtmans2010-02-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix TCL_LL_MODIFIER for Cygwinnijtmans2010-01-131-4/+4
| | | | | | | | | | | | | | | and various other minor CYGWIN compilation problems
* | | Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-4/+4
| | | | | | | | | | | | not enabled yet, but at least it is a step in the right direction.
* | | Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-14/+14
| | | | | | | | | | | | broken since 8.4 and no-one complained about it.
* | | fix line-endingsdas2008-07-221-137/+137
| | |
* | | TIP #304 implementationferrieux2008-07-211-137/+137
| | |
* | | * generic/tclDecls.h: make genstubsdas2008-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* | | * generic/tclDecls.h: make genstubsdas2008-04-021-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h:
* | | * 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:
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclDecls.h: regen with new genStubs.tcl.das2007-12-101-13/+13
| | | | | | | | | | | | | | * generic/tclIntDecls.h: [Bug 1834288] * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c:
* | * tools/genStubs.tcl: Updated script to no longer produce thedgp2006-11-151-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _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:
* | * 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]
* | Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-071-128/+128
| |