summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [600b72bfbc789]: Unnecessary inclusion of tclInt.h in tkMain.c in ↵jan.nijtmans2015-10-061-3/+12
| | | | | Windows build The only thing needed from tclInt.h is the definition of TclIntPlatStubs. Including just a tiny part of this struct is enough to make it compile, without the need for tclInt.h
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-4/+4
| | | | | 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]
* Add support for X11 GUI-mode on Cygwin64jan.nijtmans2013-06-061-1/+1
|\
| * Add support for X11 GUI-mode on Cygwin64jan.nijtmans2013-06-061-1/+1
| |
| * merge release to 8.5; revert features not included in releasedgp2013-04-031-7/+1
| |
| * Easier solution, with proper protection and configure warnings.jan.nijtmans2013-03-281-1/+1
| |
| * Make compiling/running Tk8.5 against 8.6 headers work on Windows as well.jan.nijtmans2013-03-271-0/+6
| | | | | | In dynamic builds, Tcl_FindExecutable should always be taken from the stub table, even though the 8.6 headers tell otherwise. That's why in Tcl 8.6, the Tcl_FindExecutable() call moved from Tk_MainEx to the Tk_Main() macro.
* | Eliminate last use of Tcl_GetStringResultjan.nijtmans2013-02-151-1/+1
| |
* | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-3/+3
| | | | | | | | to work with "novem"
* | Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-4/+7
|\ \ | |/ | | | | fails, in stead of simply abort()
| * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-3/+6
| |\ | | | | | | | | | fails, in stead of simply abort()
| | * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-3/+6
| | | | | | | | | | | | fails, in stead of simply abort()
| * | fix commentjan.nijtmans2013-01-151-1/+1
| | |
* | | More flexible search for win32 tclConfig.sh, backported from TEA. jan.nijtmans2013-01-151-1/+1
|\ \ \ | |/ / | | | | | | | | | Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
| * | Don't use deprecated "case" any more.jan.nijtmans2013-01-151-1/+1
| |\ \ | | |/ | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.5.x to be loaded in any Tcl 8.5 alpha release.
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-1/+1
| | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-1/+1
|\ \ \ | |/ / | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-5/+1
| | | | | | | | | | | | systems.
| * | eliminate some ANSI_ARGSjan.nijtmans2012-06-081-1/+1
| |\ \ | | |/
| | * function def in frontjan.nijtmans2012-06-081-1/+1
| | |
* | | it's no longer necessary to set _USE_32BIT_TIME_T in Tkjan.nijtmans2012-08-091-5/+0
| | |
* | | fix broken build on Visual Studio 9+10jan.nijtmans2012-08-051-1/+6
| | |
* | | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-4/+10
|\ \ \ | |/ / | | | | | | needed for Cygwin
| * | Implement TkCygwinMainEx for loading Cygwin's Tk_MainEx from the Tk dlljan.nijtmans2012-06-081-4/+9
| |\ \ | | |/
| | * Implement TkCygwinMainEx for loading Cygwin's Tk_MainEx from the Tk dlljan.nijtmans2012-06-081-15/+20
| | |
| | * Change XFillRectangle(s)/XDrawLines(s) signature to match Xorg, needed for ↵jan.nijtmans2012-05-291-2/+0
| | | | | | | | | | | | | | | Cygwin. Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally useable for both.
* | | Implement XFlush and various others for win32 as stubs, so win32 extensions ↵jan.nijtmans2012-05-311-1/+9
| | | | | | | | | | | | | | | using those can run under CYGWIN as well. Allow tk86.dll to cooperate with the cygwin console.
* | | Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-311-0/+22
|\ \ \ | |/ / | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
| * | merge core-8-4-branch, still to be tested on Unixtobetestedjan.nijtmans2012-05-291-36/+68
| |\ \ | | |/
| | * Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-251-35/+70
| | | | | | | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll. Fix "make genstubs" when cross-compiling on UNIX
* | | minor clean-up of tkInt.declsjan.nijtmans2012-04-121-1/+1
|\ \ \ | |/ / | | | | | | disallow colors like xellow configure changes for cygwin
| * | disallow colors like xellowjan.nijtmans2012-04-121-1/+1
| |\ \ | | |/ | | | | | | cleanup tkInt.decls configure changes for cygwin
| | * sync tcl.m4 with Tcl, format tkInt.decls like Tk8.5/8.6jan.nijtmans2012-04-111-1/+1
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkMain.c (Tk_MainEx): replicate macosx-specific code fromdas2007-03-071-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TkpInit() that ensures the console window appears when wish is started from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24 change rendered the corresponding code in TkpInit() ineffective in wish because Tk_MainEx() sets tcl_interactive before calling TkpInit(). * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): add fix for libraries loaded with a DYLD_IMAGE_SUFFIX. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.13
| | * * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: For compat reason the Tcl core will not change * generic/tkWindow.c: the registered version to include the patchlevel, * library/tk.tcl: making the changes to Tk unnecessary. * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkMain.c: Added Tcl_Preserve() call on the masterdgp2006-06-091-1/+3
| | | | | | | | | | | | | | | interp as crash protection against any Tcl_DeleteInterp() call that might happen.
| | * * generic/tkMain.c: Rewrote code that sets the ::argv valuedgp2005-10-181-16/+21
| | | | | | | | | | | | | | | | | | to be sure conversion from the system encoding is complete before any processing sensitive to list-special characters is done. [Bug 1328926].
| | * * generic/tkMain.c:das2004-11-111-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD. * macosx/tkMacOSXMouseEvent.c: endianness fixes. * macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework. * macosx/Makefile: prevent parallel make from building several targets at the same time. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present.
| * | Fix CYGWIN warning: "fd_set and assiciated.macros have been defined in ↵nijtmans2010-05-311-9/+1
| | | | | | | | | | | | sys/types. This may cause runtime problems with W32"
| * | * generic/tkConsole.c: Relax the runtime version requirements on Tcldgp2009-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: so that Tk 8.5.8 can [load] into Tcl 8.6 (and * generic/tkWindow.c: later 8.*) interps. * library/tk.tcl * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
* | | refactor isatty() function for Windowsnijtmans2010-12-171-35/+21
| | | | | | | | | | | | Let TkpDisplayWarning() send the message directly to the debugger, if available, otherwise do as before
* | | [Patch #3124683]: platform specific stuff in (tcl|tk)Main.cnijtmans2010-12-151-116/+92
| | |
* | | Change "Application initialization failed" to "application-specific ↵nijtmans2010-12-131-2/+2
| | | | | | | | | | | | initialization failed", for consistency with Tcl.
* | | Remove unused strrchr, combine outChannel/errChannel variables to a single ↵nijtmans2010-11-241-19/+19
| | | | | | | | | | | | variable
* | | reverted previous commit: it has effect on the Windows consolenijtmans2010-11-151-28/+38
| | |