Commit Graph

152 Commits

Author SHA1 Message Date
Markus Stange
a6b3fbf7e9 Bug 300904 - Use tracking rects to determine whether the mouse is over a different app and block mouse move events when that's the case. r=josh 2009-10-21 09:04:40 +02:00
Markus Amalthea Magnuson
dd90bc6deb Bug 287162 - Mac Widget code ignores "minimizable=no" window feature, r=mano sr=roc ui-r=faaborg 2009-10-17 21:05:42 -07:00
Markus Stange
b110ccf8a7 Bug 438789 - Roll up popups when the window's key state changes. r=josh
--HG--
extra : rebase_source : ec1d9eb82ffe38c3d53c4199435635f1498d52c7
2009-10-06 15:59:23 +13:00
Robert O'Callahan
7fa763ef88 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh
--HG--
extra : rebase_source : 14ebf24d00378e65e75b75692b9d82a020966db1
2009-09-24 21:32:20 +12:00
Markus Stange
661d06b92c Bug 420339 - SetCursor doesn't work on popup windows. r=josh
--HG--
extra : rebase_source : e3d3a0a5a256abe6d2a4b001e2f096ac4ac47b3d
2009-09-28 10:04:16 +13:00
wagerlabs
d5bed3c54b Fix argument type for undocumented API "_setWindowNumber:". b=518546 r=smichaud 2009-09-25 00:00:28 -04:00
Markus Stange
36822e5cf2 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12:00
Markus Stange
7251aeec3a Bug 515003 - Rewrite native mouse event handling. Also add tests for native mouse events (bug 470845). r=josh, sr=roc 2009-09-23 14:31:37 +12:00
Markus Stange
7ac022ab75 Bug 516324 - Remove nativeWindow method and use -[NSView window] directly. r=josh 2009-09-16 09:56:44 +12:00
Markus Stange
411161c562 Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Markus Stange
4ad22e5a56 Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc
--HG--
extra : rebase_source : b69928341cb6402d035fa242dde3c85367d96984
2009-09-08 09:50:22 +12:00
Markus Stange
c85d57a2f7 Bug 514989 - Remove unused OnPaint methods. r=josh
--HG--
extra : rebase_source : becb8d97710a1f13f491689e4a9eba6924f19dca
2009-09-08 09:49:38 +12:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Josh Aas
adb8e4c947 64-bit fixes for nsCocoaUtils and nsCocoaWindow. b=510428 r=mstange 2009-08-14 02:35:32 -04:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Markus Stange
cc53731e31 Bug 429954 - Windows that open already maximized will un-maximize to a teeny-tiny window in upper left.
Disallow zooming of windows that already have the zoomed size but have never been zoomed, because otherwise bad things happen to the window size. Moreover, reflect the window's zoom state in its size mode as nsSizeMode_Maximized.

r=josh

--HG--
extra : rebase_source : 4cceba9e2d578f576ef9bdde36e3cae4cfa01fd3
2009-08-14 10:02:54 +12:00
Markus Stange
f052c2896a Backed out changeset b52fa2372a3a, bug 429954 because of test_popup_preventdefault_chrome.xul orange.
--HG--
extra : rebase_source : 724563157551de21855c99e3e1ed536100d0ec24
2009-08-13 11:39:40 +12:00
Josh Aas
a62bb5d726 Various 64-bit fixes for Mac OS X widget and plugin code. b=509947 r=mstange 2009-08-12 18:32:41 -04:00
Markus Stange
9966c9d868 Bug 429954 - Windows that open already maximized will un-maximize to a teeny-tiny window in upper left.
Disallow zooming of windows that already have the zoomed size but have never been zoomed, because otherwise bad things happen to the window size. Moreover, reflect the window's zoom state in its size mode as nsSizeMode_Maximized.

r=josh

--HG--
extra : rebase_source : 46b161efcc60cefc9d9eb019d48f595c26eed6af
2009-08-13 09:00:33 +12:00
Markus Stange
4a21877da7 Bug 269410 - Create a new attribute, "toggletoolbar", which can be used to control whether the toolbar pill collapse button is shown on the window. r=Neil, r=josh, sr=roc
If the attribute is not specified, the button is hidden by default.
2009-08-06 08:49:59 +12:00
Markus Stange
85008d4ab8 Bug 507845 - Use [borderView displayRect] instead of [window display] to redraw the titlebar. r=josh
The previous hack was causing dropped repaints on Mac OS 10.4.
2009-08-04 11:13:08 +12:00
Markus Stange
e0f39b7ee6 Bug 507727 - Make unified toolbars work in dialog windows, too. r=josh 2009-08-04 10:39:45 +12:00
Markus Stange
d878d720e2 Bug 507947 - Use CGContextFillRect instead of NSRectFill when drawing toolbars and other grey boxes in native theming. r=josh 2009-08-04 10:27:31 +12:00
Markus Stange
a0540bdbd7 Bug 370857 - Fullscreen on Mac OS X. Properly hide menu bar and Dock when going into fullscreen mode. r=josh 2009-07-22 11:01:37 +02:00
Markus Stange
e70b734a77 Bug 420491 - Implement HideWindowChrome on Mac OS X by creating a new borderless native window and reparenting the content view. r=smichaud, r=josh 2009-07-22 10:57:39 +02:00
Robert O'Callahan
5fa812e479 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
3c281129eb Bug 339548. Part 3: Introduce native widget clip region API. 2009-07-22 12:44:55 +12:00
Markus Stange
549119c6bf Bug 445567 - Disable Cocoa cursor rect handling completely. We don't need it and it messes with our mouse cursor when native view geometry changes. r=smichaud, r=josh 2009-07-21 14:36:56 +02:00
Steven Michaud
872b8911d3 [Mac 10.4] Crash in [@ nsViewManager::IsViewInserted(nsView*)] using Google Toolbar. b=503391 r=josh 2009-07-20 14:44:25 -05:00
Steven Michaud
c0619b0514 Safely iterate parents' children in widget destructors on OS X. b=503196 r=josh 2009-07-20 10:02:31 -05:00
Josh Aas
180bdf8ce3 Formatting cleanup part 2, moving module to 1 blank line between functions/methods. 2009-06-30 14:55:30 -04:00
Markus Stange
1a9fa1b48e Bug 501407 - Restore some lines that were lost during the refactoring in bug 420491. r=josh 2009-06-30 20:41:56 +02:00
Markus Stange
81d0af653f Bug 420491 - Factor out window mask identification from nsCocoaWindow::CreateNativeWindow. r=josh 2009-06-27 15:58:03 +02:00
Markus Stange
73d1a9a799 Bug 420491 - Refactor construction and destruction of native NSWindows. r=josh 2009-06-24 17:15:32 +02:00
Markus Stange
a6294b0904 WindowDataMap doesn't remove data objects for closed windows. b=495710 r=smichaud r=josh 2009-06-17 14:28:21 -04:00
Markus Stange
630bda72e2 Move "ensureWindowData" to the window map, where it belongs. b=420491 r=josh 2009-06-17 14:13:12 -04:00
Neil Deakin
35103edfb3 Bug 497565, only make the window key when visible, r=josh 2009-06-16 14:05:16 -04:00
Neil Deakin
f07c61b0cb Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Josh Aas
67d8d4c00f Add support for "setConsumeRollupEvent" on Mac OS X. b=415440 r=mstange sr=roc 2009-05-14 16:13:22 -04:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Steven Michaud
eb0c52283d Check childrens' type before derefencing pointers to them. b=487393 r=josh sr=roc 2009-04-23 10:54:50 -05:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Jeremy D. Lea
69123ff5af Bug 431634 - Part 2 - remove unused methods from nsIWidget; r+sr=roc 2009-04-08 11:39:58 -07:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Markus Stange
2f5d364501 Bug 485451 - Redraw the titlebar when a *titlebarcolor attribute changes. r=josh, sr=roc 2009-03-28 12:03:50 +01:00
Steven Michaud
38ec188c19 File picker dialog sometimes doesn't close when Open/Save/Cancel is clicked. b=473467 r=josh sr=roc 2009-03-18 17:51:40 -05:00