Mina Almasry
c7a175bba8
Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc
2013-09-17 20:45:19 -04:00
Ryan VanderMeulen
d2e73511c3
Backed out changeset 35575118c650 (bug 912794) for asserts.
2013-09-06 23:08:36 -04:00
Milan Sreckovic
ec49f86c3b
Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
...
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.
--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Masayuki Nakano
161f821bd8
Bug 893973 nsIWidget::SetInputContext() should check it has focus before calling secure event input API r=smichaud
2013-08-07 11:49:21 +09:00
Timothy Nikkel
25d9b92cad
Bug 896053. Unlink sibling/child lists of widgets for nsCocoaWindow's correctly. r=smichaud
2013-08-05 23:32:23 -05:00
Timothy Nikkel
991b1b9a96
Bug 892994. On retina screens cocoa rounds widget coordinates to even pixel values, so account for that when placing widgets so we don't get confused. r=mstange
2013-07-30 11:22:41 -05:00
Timothy Nikkel
3c38237ade
Bug 891424. Hide cocoa window's when they are destroyed, otherwise they can stay on screen, and remove a different fix for the same bug that caused a regression. r=smichaud
...
We also remove a different fix for this same bug that caused some regressions: calling RemoveChild so that the nsCocoaWindow actually dies.
2013-07-19 15:57:59 -05:00
Timothy Nikkel
5f02247d3d
Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
...
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 22:52:19 -05:00
Ryan VanderMeulen
d45025c9de
Backed out changeset a6b9f94bf21b (bug 891424) for assertions.
2013-07-09 17:15:41 -04:00
Timothy Nikkel
f8937eca28
Bug 891424. Directly remove nsCocoaWindow's from their parent in Destroy(). This allows us to stop implementing GetParent because the mac widget code has some assumptions about that always returning null. r=smichaud
...
This reverts implementing GetParent on nsCocoaWindow's (ie back out bug 869151) because the mac widget code has some assumptions about that. Instead we just remove nsCocoaWindow's from their mParent in Destroy() which will still keep bug 869151 fixed.
2013-07-09 15:14:01 -05:00
JosiahOne
489a85aa1e
Bug 853105 - Allow double-click to minimize on windows with drawInTitlebar enabled. r=mstange, r=smichaud
2013-05-20 17:38:54 -04:00
Masayuki Nakano
400296b5fd
Bug 807893 part.2 Cocoa widget should manage secure input mode with input context at changing the context and changing focus r=smichaud
2013-05-25 01:27:52 +09:00
Masayuki Nakano
9f1395d4f8
Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc
2013-05-25 01:27:52 +09:00
Markus Stange
e534890bb4
Bug 676241 part 7: Update comments.
2013-05-23 16:49:17 +02:00
Markus Stange
a9a7f95579
Bug 676241 part 6/9/11: Correct titlebar drawing. r=bgirard, r=smichaud, r=mattwoodrow
2013-05-23 16:49:17 +02:00
Markus Stange
315c1661f4
Bug 676241 part 4: Make the window's contentView cover the whole window in drawsContentsIntoWindowFrame mode. r=smichaud
2013-05-23 16:49:17 +02:00
Markus Stange
57c0f53375
Bug 676241 part 3: Remove titlebar drawing. r=josh
2013-05-23 16:49:16 +02:00
Markus Stange
84efe84c4c
Bug 676241 part 2: Remove titlebar event redirection. r=josh
2013-05-23 16:49:16 +02:00
Markus Stange
8ade205eb2
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
2013-05-22 11:50:57 +02:00
Markus Stange
eb3eb8c485
Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh
2013-05-22 11:48:47 +02:00
Markus Stange
e129b2f0f9
Backed out 2 changesets (bug 871590) CLOSED TREE
2013-05-22 14:10:46 +02:00
Markus Stange
359f366595
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
...
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Markus Stange
9eb8298b72
Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh
...
--HG--
extra : rebase_source : 23f17c9bd93ae34ce171ebe24b3576b4c825795e
2013-05-22 11:48:47 +02:00
Timothy Nikkel
329d8e7644
Bug 869151. Implement GetParent for nsCocoaWindow so that nsBaseWidget::Destroy can find the parent and remove from the child list when destroying. r=smichaud
2013-05-09 18:57:20 -05:00
Timothy Nikkel
80d09dfe38
Bug 870568. Change assertion about destroying an nsCocoaWindow while modal to a warning because the code handles that case. r=smichaud
2013-05-09 18:57:19 -05:00
Brandon Waterloo
6229311711
Bug 863841 - Implement recognition of double-tap gestures with smartMagnifyWithEvent (Mountain Lion and up), and magnifyWithEvent (Lion). r=smichaud, r=masayuki
...
On 10.6 SDK, it was necessary to change nsCocoaWindow.mm/h in order to make it call magnifyWithEvent for double-tap gestures properly.
2013-04-29 11:24:26 -04:00
Nicolas Silva
b18dc950c7
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Ehsan Akhgari
34e21f4536
Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva
e4c0f3bbfd
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Timothy Nikkel
d55f6f92b6
Bug 864219. nsCocoaWindow::DoResize should be explicit about converting doubles to ints. r=jfkthame
2013-04-22 15:18:28 -05:00
Ryan VanderMeulen
4272b0bfcf
Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Steven Michaud
410bdf343c
Bug 861317 - nsChildView::WillPaint terribly inefficient when drawing to titlebar. r=bgirard
2013-04-18 18:40:40 -05:00
Jonathan Kew
cd81db75bf
bug 853252 - check for changed backing scale when we receive a windowDidChangeScreen message. r=smichaud
2013-04-12 08:45:50 +01:00
Andre Reinald
be17edd883
Bug 675410 - Fix bottom rounded corners, hopefully in the same openGL context as the rest of the window. r=mstange, r=bgirard
2013-03-27 11:49:02 -04:00
Masayuki Nakano
1583cc4d22
Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud
2013-03-06 15:14:34 +09:00
Josh Aas
f9fdaae260
Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin
2013-02-05 15:40:34 -06:00
Steven Michaud
e658bf34f2
Bug 740923 - Lion Fullscreen: Black area when opening new windows. r=bgirard
2013-02-05 15:23:55 -06:00
Josh Aas
4240cc1e34
Back out fix for bug 647216 due to test failures. CLOSED TREE
2013-02-04 10:05:06 -06:00
Josh Aas
b046a18143
Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin
2013-02-04 09:00:42 -06:00
Jonathan Kew
eb06678388
Bug 831342 - Quite noisy rollupWidget warnings on OSX, r=smichaud
2013-01-28 15:34:00 -06:00
Matt Woodrow
d880949cfb
Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc
2013-01-19 14:07:32 +13:00
Matt Woodrow
c2fad8e94f
Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc
2013-01-17 11:59:23 +13:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jim Mathies
c88034f894
Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin
2012-12-31 11:27:04 -06:00
Jonathan Kew
b95e1d717a
bug 820327 - work around potentially misleading backingScaleFactor returned by windows with zero area. r=roc
2012-12-14 09:46:16 +00:00
Jonathan Kew
31bd43b8c2
bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc
2012-12-12 09:57:38 +00:00
Jonathan Kew
f41e69bc70
bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud
2012-12-06 17:31:34 +00:00
Jonathan Kew
d5189b4ea2
bug 803030 - convert display to device pixels before creating the popup child view. r=smichaud
2012-10-18 11:38:26 +01:00
Josh Aas
bceb631bc5
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00