summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
Commit message (Collapse)AuthorAgeFilesLines
* Final cleanup of zombie windows in CocoaKevin Walzer2015-03-211-0/+2
|
* Cleanup and simplification of memory management in event loop; now works ↵Kevin Walzer2015-03-211-1/+13
| | | | more smoothly; thanks to Marc Culler for patches
* Cleanup and improvement of tracking of native windows in Cocoa; thanks to ↵Kevin Walzer2015-03-211-43/+36
| | | | Marc Culler for patch
* Remove garbage collections calls as GC is no longer supported on OS X; ↵Kevin Walzer2015-03-211-11/+11
| | | | thanks to Marc Culler for patch
* Merge-mark, and remove some unnecessary end-of-line spacing.jan.nijtmans2015-03-161-1/+1
|\
| * Wish now launches in front when caed from command line, and focus -force ↵Kevin Walzer2015-03-151-13/+25
| | | | | | | | works correctly; thanks to Marc Culler for patch
| * Fix for crash in deleted toplevels when not removed from Cocoa window menu; ↵Kevin Walzer2015-03-061-0/+1
| | | | | | | | thanks to Marc Culler for patch
* | Wish now launches in front when called from command line, and focus -force ↵Kevin Walzer2015-03-151-14/+25
| | | | | | | | works correctly; thanks to Marc Culler for patch
* | Fix for crash in deleted toplevels when not removed from Cocoa window menu; ↵Kevin Walzer2015-03-061-0/+1
| | | | | | | | thanks to Marc Culler for patch
* | Silence some compiler warnings.dgp2015-02-121-2/+2
|\ \ | |/
| * Silence some compiler warningsdgp2015-02-121-3/+2
| |
| * Fix for 3016181, thanks to Tom Goddard for patchKevin Walzer2013-08-251-3/+8
| |
* | Merge core-8-5-branchjan.nijtmans2013-01-241-18/+18
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* | Tk_CancelIdleCall -> Tcl_CancelIdleCalljan.nijtmans2013-01-231-3/+3
|\ \ | |/
| * Tk_CancelIdleCall -> Tcl_CancelIdleCalljan.nijtmans2013-01-231-3/+3
| |
* | Make Aqua Tk build on OSX Leopard againdkf2012-12-171-1/+21
|\ \ | |/
| * Make Aqua Tk build on OSX Leopard again; *I* still use it!dkf2012-12-171-4/+25
| |
* | 3574893 Add overlooked toplevel ref count maintenance in the [wm manage|forget]dgp2012-10-241-0/+6
|\ \ | |/ | | operations that could cause segfaults due to premature free of structs.
| * 3574893 Add overlooked toplevel ref count maintenance in the [wm manage|forget]dgp2012-10-241-0/+6
| | | | | | operations that could cause segfaults due to premature free of structs.
* | consistant use of mode: objc for OSX, strip spaces from the end of linesjan.nijtmans2012-10-231-7/+7
|\ \ | |/
| * remove RCS keywords, use mode: objc consistantlyjan.nijtmans2012-10-231-12/+12
| |
| * Backport of dgp wm-forget and wm-manage fixes; test suite no longer crashesKevin Walzer2012-10-181-6/+17
| |
| * Backport of dgp fixes to trunk for Tk-CocoaKevin Walzer2012-09-251-1/+3
| |
| * Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-1093/+1194
| |
* | Updated branch now stops all segfaults and panics in the test suite.bug_3567786dgp2012-09-161-1/+6
| | | | | | | | | | Not a lot of confidence that other problems haven't been created, including memleaks and broken functionality in areas. A review would be a good idea. So would a trunk that doesn't segfault the test suite.
* | More work in progress. wm-manage tests all work now. still some issuesdgp2012-09-161-2/+6
| | | | | | with wm-forget.
* | Work in progress - make TkWmNewWindow and TkWmDeadWindow more complementarydgp2012-09-161-1/+4
| | | | | | | | and pass in to TkWmDeadWindow from WmForgetCmd a pointer that at least has the right type.
* | merge trunkdkf2012-08-081-50/+12
|\ \
| * | Fixes for menu and wm fullscreen bugs; thanks to Adrian Robert for patchesmistake__off_trunkKevin Walzer2012-08-061-50/+12
| | |
* | | minor improvements to flag handlingdkf2012-07-311-3/+3
| | |
* | | more auditing of error codesdkf2012-07-301-2/+3
| | |
* | | Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-23/+34
| | |
* | | Ttk and Aqua donedkf2012-07-241-199/+251
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-11/+15
| | |
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-60/+55
|/ / | | | | ** WORK IN PROGRESS **
* | Patch for font metrics and colorspace provided by Adrian RobertKevin Walzer2012-02-221-1/+1
| |
* | Minor tweak for wm forgetKevin Walzer2011-07-271-2/+2
| |
* | Minor fix of wm forget implementation on AquaKevin Walzer2011-07-261-2/+2
| |
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkImgPhoto.c: fix leaks discovered with the Mac OS Xdas2009-02-061-1/+7
| | | | | | | | | | | | | | | * generic/tkMenu.c: Instruments.app Leaks tool. * macosx/tkMacOSXWm.c:
| | * * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26das2007-12-181-33/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change to window class of transient toplevels that are not also overrideredirect. [Bug 1845899] * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more * macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient * macosx/tkMacOSXSubwindows.c (XDestroyWindow): behaviour by adding transient windows to a window group owned by the master window, this ensures transients always remain in front of and are collapsed with the master; bring master to front when selecting transient windows; restore default window group of transients if master destroyed. [Bug 1845899]
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-12/+205
| | |
| | * * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): fix window class ofdas2007-10-261-24/+27
| | | | | | | | | | | | transient toplevels that are not also overrideredirect. [Bug 1816252]
| | * * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): manually constrain resizedas2007-10-111-2/+13
| | | | | | | | | | | | | | | limitBounds to maxBounds, works around SectRect() mis-feature (return zero rect if input rect has zero height/width). [Bug 1810818]
| | * * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
| | * * macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros;das2007-06-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c:
| | * * macosx/tkMacOSXMouseEvent.c (GenerateMouseWheelEvent): enabledas2007-06-061-59/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processing of mousewheel events in background windows. * macosx/tkMacOSXScrlbr.c: modernize checks for active/front window. * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXColor.c: factor out verbose #ifdef checks of * macosx/tkMacOSXDraw.c: MAC_OS_X_VERSION_{MAX_ALLOWED,MIN_REQUIRED} * macosx/tkMacOSXEntry.c: and runtime checks of kHIToolboxVersion into * macosx/tkMacOSXEvent.c: new TK_{IF,ELSE,ENDIF}_MAC_OS_X macros. * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c: factor out clip clearing in QD ports; * macosx/tkMacOSXEntry.c: formatting cleanup.
| | * * macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.das2007-06-041-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: sync comment formatting with HEAD. * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: