summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* clean tk.pc and make it part of "make dist"jan.nijtmans2013-06-131-3/+3
|
* Some more fixes for Cygwin32/64 in win32 GUI mode. jan.nijtmans2013-06-131-2/+4
| | | | Now that this is fully working, eliminate all usage of WISH_BUILD_LIB_SPEC: TK_BUILD_LIB_SPEC can be used everywhere in stead. Add tk.pc
* merge release to 8.5; revert features not included in releasedgp2013-04-031-1/+1
|
* merge trunkdgp2013-03-221-5/+4
|\
| * Don't compile Tk with -DTCL_NO_DEPRECATED by default any more, it might hurt ↵jan.nijtmans2013-01-161-1/+1
| |\ | | | | | | | | | when we compile Tk 8.x against Tcl 8.y with y > x, because new deprecated constructs might be added in higher Tcl versions (except for Tk 8.6, for now, because there is no higher 8.x yet)
| | * Don't compile Tk with -DTCL_NO_DEPRECATED by defaultjan.nijtmans2013-01-161-4/+4
| | | | | | | | | | | | | | | | | | any more, it might hurt when we compile Tk 8.x against Tcl 8.y with y > x, because new deprecated constructs might be added in higher Tcl versions (except for Tk 8.6, for now, because there is no higher 8.x yet)
| | |
| | \
| | \
| | \
| *---. \ Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-4/+3
| |\ \ \ \ | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | 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_
| | | | * add [file normalize] to UNIX pkgIndex.tcl toojan.nijtmans2013-01-111-1/+1
| | | |/
| | | * wrong end brace locationjan.nijtmans2013-01-111-1/+1
| | |/
| | * Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-4/+3
| | | | | | | | | | | | | | | | | | 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.
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-15/+0
| | | | | | | | | | | | systems.
* | | Set of changes that permits Tk 8.5.14 to build against the releaseddgp2012-12-101-1/+1
|/ / | | | | | | header files of Tcl 8.6.0. Developed and tested only on linux so far. A step in the saga to decouple Tcl and Tk releases.
* | 3584471 Repair `make dist` backport.dgp2012-11-061-4/+5
| |
* | sync nmakehlp.c with Tcl versionjan.nijtmans2012-10-231-29/+45
|\ \ | |/ | | | | <p>purge spaces at end of lines <p>clean-up unix/Makefile.in after carbon removal
* | review remarks, see mail.jan.nijtmans2012-09-121-61/+20
| |
* | Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-55/+70
| |
* | Installer improvements, like [a3b936f0a1].stwo2012-08-071-35/+18
| |
* | don't forget to excape quotesjan.nijtmans2012-07-081-1/+1
| |
* | use "in" operator in steadjan.nijtmans2012-07-081-1/+1
| |
* | [Bug 3532186]: pkgIndex.tcl file complexity that's unwarranted: Test for ↵jan.nijtmans2012-07-081-2/+2
|\ \ | |/ | | | | ::argv variable before trying to use it
| * [Bug 3532186]: pkgIndex.tcl file complexity that's unwarranted: Test for ↵jan.nijtmans2012-07-081-2/+2
| | | | | | | | ::argv variable before trying to use it
* | Link cygwin wish.exe with win32 tk.dll, only in combination with --enable-sharedjan.nijtmans2012-06-281-2/+10
|\ \ | |/
| * Link cygwin wish.exe with win32 tk.dll, only in combination with --enable-sharedjan.nijtmans2012-06-281-2/+3
| |
| * link cygwin wish with tk84.dlljan.nijtmans2012-06-271-6/+13
| | | | | | install tk84.dll
| * Implement TkCygwinMainEx for loading Cygwin's Tk_MainEx from the Tk dlljan.nijtmans2012-06-081-13/+14
| |
| * some more quoting issuesjan.nijtmans2012-06-071-29/+29
| |
* | Backport of [Bug 3532186] fixjan.nijtmans2012-06-151-3/+3
| |
* | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-071-1/+1
|\ \ | |/ | | | | needed for Cygwin
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-102/+110
| | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
| * Change XFillRectangle(s)/XDrawLines(s) signature to match Xorg, needed for ↵jan.nijtmans2012-05-291-7/+8
| | | | | | | | | | Cygwin. Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally useable for both.
* | [Bug 3532186] pkgIndex.tcl file complexityjan.nijtmans2012-06-061-7/+8
| |
* | Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally ↵jan.nijtmans2012-06-051-38/+40
| | | | | | | | useable for both
* | implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-2/+3
|\ \ | |/
* | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-0/+13
|\ \ | |/ | | [Bug 3519917]: Snow Leopard unix/Makefile `make test` fail
| * implement various internal win32 stub functions for cygwinjan.nijtmans2012-04-251-2/+3
| |
* | make loading of tk.dll in cygwin possiblejan.nijtmans2012-04-181-2/+9
|\ \ | |/ | | reduce command table size
| * make loading of tk.dll in cygwin possiblejan.nijtmans2012-04-171-2/+9
| | | | | | reduce command table size
* | [Bug 1945073]: Demo square.tcl cannot run; need package tktestjan.nijtmans2011-11-221-0/+4
|\ \ | |/
| * [Bug 1945073]: Demo square.tcl cannot run; need package tktestjan.nijtmans2011-11-221-0/+4
| |
* | * Add square to DEMOPROGS in unix/Makefile.in. It contains a shebangmax2011-11-081-1/+1
| | | | | | | | | | | | | | and hence should get installed with executable bits. * manpages: Fix the escaping of leading dots in lines that start with a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line.
* | Purge RCS Keywords.dgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
| * * unix/Makefile.in: add support for compile flags specific todas2007-08-071-10/+11
| | | | | | | | | | | | | | | | | | object files linked directly into executables. * unix/configure.in (Darwin): only use -seg1addr flag when prebinding; use -mdynamic-no-pic flag for object files linked directly into exes. * unix/configure: autoconf-2.13
| * * unix/Makefile.in (dist): copy license.terms to dist macosx dir.das2007-04-291-9/+10
| | | | | | | | | | | | * unix/configure.in: install license.terms into Tk.framework; fix tk debug build detection. * unix/configure: autoconf-2.13
| * * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-251-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| * another trydgp2005-12-011-3/+3
| |
| * update `make dist` for the wish.exe.manifest -> wish.exe.manifest.in changedgp2005-12-011-3/+3
| |
| * * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: sync with HEAD. * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * macosx/Makefile: add support for reusing configure cache, build target fixes. * generic/tkMenu.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSubwindows.c: * xlib/xgc.c: declare functions and globals used only in own file as static, #ifdef out a few Xlib and aqua functions that are never called (sync with HEAD). * macosx/tkMacOSXPort.h: * generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. * generic/tkTextDisp.c: * generic/tkTextBTree.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXTest.c: sync with HEAD. * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: regen.
| * * macosx/tkMacOSXCarbonEvents.c (new): moved carbon events code intodas2005-08-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXHLEvents.c: new file like on HEAD, * macosx/tkMacOSXInit.c (TkpInit): initialize carbon event handlers * macosx/tkMacOSXInt.h: in TkpInit(), add new source * unix/Makefile.in: file to Makefile.in. * macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon events sent directly to application event target via the general TkMacOSXProcessEvent() in the same way as events posted to the event loop. Moved existing app event handlers to tkMacOSXWindowEvent.c. (TkMacOSXInitCarbonEvents): register our application event handler for kEventWindowExpanded events to deal with uncollapsing from the dock. * macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added * macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for use by app event handler. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve current window, partCode, modifiers and local cursor position from carbon mouse event if possible. Use new static GenerateButtonEvent() taking a MouseEventData struct instead of TkGenerateButtonEvent() to avoid recomputing already known values. Move process activation on MouseDown into BringWindowForward() to allow clicking on window titlebar widgets without activating process. Move code dealing with clicks in window titelbar into separate function HandleWindowTitlebarMouseDown() to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow() by storing result in MouseEventData struct. (TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier state from currently processed carbon event (to avoid unnecessary IPC with the window server), otherwise use modern carbon API to get this info instead of Button() and GetKeys(); only retrieve info caller asks for (via non-NULL ptr passed to XQueryPointer). (ButtonModifiers2State): new static function converting carbon button and modifier state into tk state, allows detection of more than 3 mouse buttons (tk supports up to 5) and of NumLock and Fn modifier keys (NumLock is mapped to Mod3 and Fn to Mod4). * macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle kEventWindowExpanded event to deal with window uncollapsing from the dock by generating tk Map event, handle kEventAppHidden and kEventAppShown events (moved here from tkMacOSXCarbonEvents.c). * macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when it is not iconified to avoid window flashing on collapse. * macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle(). (TkMacOSXZoomToplevel): remove call to TrackBox(), now done in HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c. (TkpWmSetState): avoid window flashing on collapse by unmapping after calling CollapseWindow(); only uncollapse window if it is collapsed. * generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature. * generic/tkIntPlatDecls.h: * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call GetMenuItemCommandID() on KeyDown or KeyRepeat events. * macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to obsolete AppendResMenu() API. * macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive * macosx/tkMacOSXMenu.c: GetMouse() and TkMacOSXButtonKeyState() * macosx/tkMacOSXMenus.c: APIs by calls to XQueryPointer() * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: replaced use of FrontNonFloatingWindow() * macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as * macosx/tkMacOSXMenu.c: recommended by Carbon docs. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDialog.c: fixed warnings * macosx/tkMacOSXTest.c: * macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXEmbed.c: replaced all uses of panic() with Tcl_Panic() * macosx/tkMacOSXFont.c: (sync with HEAD). * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXInt.h: sync with HEAD changes of 2005-03-14. * macosx/tkMacOSXSubwindows.c: * macosx/tclets.r (removed): sync with HEAD. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXPort.h: * library/demos/menu.tcl: removed errant '}'.