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
Josh Aas
3482bb8b78
Back out fix for bug 647216 due to test failures. CLOSED TREE
2013-02-04 10:05:06 -06:00
Josh Aas
5d6290a834
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
aa8404a74a
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
Josh Aas
4c7422ffc4
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00
Robert O'Callahan
12b00cd718
Bug 804062. Move device-pixels-per-CSS-pixel preference logic into nsIWidget::GetDefaultScale. r=jfkthame
...
The only behavior change caused by this patch should be that nsDeviceContexts with no widget
(mainly printing, I think), default to a devpixel-per-CSS-pixel ratio of 1.0, ignoring
any prefs set.
2012-10-31 11:31:35 +11:00
Masayuki Nakano
c25bccd2b0
Bug 801989 part.4 Set InputContext::mNativeIMEContext on Mac r=smichaud
2012-10-27 08:35:21 +09:00