Commit Graph

79 Commits

Author SHA1 Message Date
Jonathan Watt
5ed095fa50 Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow 2014-06-10 07:02:21 +01:00
Steven Michaud
b9f66f47e7 Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Masayuki Nakano
f2734aa16b Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Markus Stange
6208c95ab3 Bug 968838 - Refuse reentrant calls to nsCocoaWindow::DoResize. r=smichaud 2014-03-13 13:21:56 +01:00
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Markus Stange
f4515552a7 Bug 958674 - Paint popup synchronously when showing the window, like we do for normal windows. r=smichaud
--HG--
extra : rebase_source : f0c62a48c4410ad293f8a9ed0b4a1b30abe349e9
2014-02-03 17:54:55 +01:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Markus Stange
b1e09791ca Bug 957192 - Ignore unnecessary invalidations from NSView / NSWindow. Improves scrolling performance with plugins. r=smichaud 2014-01-08 10:37:59 +01:00
Markus Stange
ed8dbc7427 Bug 932656 - Use CGSSetWindowBackgroundBlurRadius for blurring the background behind context menus. r=smichaud 2014-01-03 16:53:41 +01:00
Markus Stange
2e8c31eda8 Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud 2013-12-17 17:11:13 +01:00
Markus Stange
fd0ddbb873 Bug 942913 - Make sheets return YES from isVisibleOrBeingShown while the sheet opening animation runs so that we don't refuse to composite them during the animation. r=smichaud 2013-11-25 19:00:55 +01:00
Gijs Kruitbosch
16224718cf Merge mozilla-central and ux 2013-11-12 09:27:50 +01:00
Birunthan Mohanathas
58a91e67d8 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Markus Stange
b13425b166 Bug 914437 - Don't composite windows that are not open. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Markus Stange
f2115d6bbf Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
--HG--
extra : rebase_source : 4936bfc62a4712871caa5d767b1dd2e496e0826c
2013-06-12 23:42:00 +02:00
Gijs Kruitbosch
b3de82cf5d Merge mozilla-central and ux 2013-10-23 00:37:14 +02:00
Gijs Kruitbosch
953958e052 Merge mozilla-central and ux 2013-10-02 20:41:14 +02:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Matthew Noorenberghe
d79cbda60c Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
a349f6bc93 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
Timothy Nikkel
ea8b9e98de 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
3eff19be90 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
e4dfd6d1e1 Backed out changeset a6b9f94bf21b (bug 891424) for assertions. 2013-07-09 17:15:41 -04:00
Timothy Nikkel
ff2fcf3cf0 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
Mike Conley
ad9596b630 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-27 11:19:45 -04:00
Markus Stange
e3ca87e242 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
ccc05c79b0 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
55d5150bd3 Bug 676241 - Back out _drawTitleBar swizzling from UX (originally landed in bug 865374 and bug 868211) because it's no longer necessary. 2013-05-23 19:53:03 +02:00
Markus Stange
15e3945951 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Masayuki Nakano
db93e5e899 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
fb14551e52 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Markus Stange
0f6c6dbcbb 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
e61aece191 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
ea03392fcc Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Mike Conley
5c6a1c3ca3 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-13 13:04:32 -04:00
Markus Stange
977ecaeb2a Bug 868211 - Simplify Mac implementation of -moz-window-button-box. r=smichaud 2013-05-03 19:31:01 +02:00
Mike Conley
bb41d7794a Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
Mike Conley
3bbe526646 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-02 12:41:21 -04:00
Mike Conley
cda58872ff Automated merge with https://hg.mozilla.org/mozilla-central 2013-04-25 17:55:05 -04:00
Nicolas Silva
391cf268bb 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
Markus Stange
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
7343081400 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Mike Conley
36c82dbc9f Bug 625989 - Always draw in the titlebar on OSX. r=josh,dao f=mstange 2013-03-01 13:48:18 -05:00
Timothy Nikkel
d9afbfd672 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
Ryan VanderMeulen
1ccc84a275 Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
61d8c4586d Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
--HG--
extra : rebase_source : b534eb4c339392c4a2ad60424510c7d264f13d3a
2013-10-09 10:39:22 -04:00
Brandon Waterloo
c7a4bb383f 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
Andre Reinald
86c8786005 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
ef387dacc0 Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud 2013-03-06 15:14:34 +09:00
Josh Aas
895a771a33 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