Commit Graph

397 Commits

Author SHA1 Message Date
Gijs Kruitbosch
6a4e83eb90 Merge mozilla-central and ux 2013-09-23 17:59:41 +02:00
Gijs Kruitbosch
0170a75b83 Merge mozilla-central and ux 2013-09-18 14:54:29 +02:00
Steven Michaud
81e7acabff Bug 909678 - Send right-mouse-dragged and other-mouse-dragged events to plugins. r=spohl,roc 2013-09-17 18:36:03 -05:00
Masayuki Nakano
9586dcc4ba Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc 2013-09-24 19:04:16 +09:00
Stephen Pohl
75c952b1e8 Bug 926274: Allow swipe gestures to navigate history even when scrollbars are visible on OSX. r=masayuki 2013-10-16 09:07:42 -04:00
Anthony Jones
50b5f8ebf4 Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow 2013-09-23 15:28:16 +12:00
Matthew Noorenberghe
a0cabb6051 Merge mozilla-central to UX 2013-09-04 23:31:53 -07:00
Gijs Kruitbosch
4896af5c23 Merge m-c to UX 2013-08-26 19:05:49 +02:00
Matt Woodrow
8ec094aa7c Bug 908822 - Disable azure content on windows for now. r=nrc 2013-08-26 21:06:37 +12:00
André Reinald
d6cc051cc7 Bug 868648: Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. Credits to Markus for his help getting this right. r=mstange,masayuki,smichaud 2013-08-16 23:17:40 +02:00
Stephen Pohl
570cf67704 Bug 673875: Reproduce the bounce behavior when reaching the top/bottom of the page on OSX. r=smichaud,felipe,masayuki 2013-10-11 15:48:53 -04:00
Stephen Pohl
541e6b6e33 Backout 751bcb37cdb6 for bustage on a CLOSED TREE. r=me 2013-10-11 10:50:25 -04:00
Stephen Pohl
019ca3ff5d Bug 673875: Reproduce the bounce behavior when reaching the top/bottom of the page on OSX. r=smichaud,felipe,masayuki 2013-10-11 10:02:31 -04:00
André Reinald
aecacdd464 Bug 868648 - Make window overlay scrollbars appear/disappear when 2 fingers down/up trackpad. r=mstange, r=masayuki
Credits to Markus for his help getting this right.
2013-08-16 23:17:40 +02:00
Markus Stange
b65bd73829 Bug 886999 - Wait until composition has finished before tearing down our NSView. r=mattwoodrow
--HG--
extra : rebase_source : 82e6860fa376bf8f411cc2c8c4bc12a43e584bbf
2013-10-09 10:39:23 -04:00
Markus Stange
e0c8ddfcfd Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow
--HG--
extra : rebase_source : 60930a858a5d52205703d14317312540387f269f
2013-10-09 10:39:23 -04:00
Markus Stange
a797027c67 Bug 914437 - Also refuse to render when our view is not attached to a window. r=mattwoodrow
--HG--
extra : rebase_source : 099a424e86b5d8bf7043bce4680091009e30aec7
2013-10-09 10:39:23 -04:00
Markus Stange
4b5edb1be9 Bug 886999 - Only call setView and update on the GL context when necessary. r=mattwoodrow
--HG--
extra : rebase_source : 5f8b7163cb234e39a4d39bd49e73c3c75017a674
2013-10-09 10:39:22 -04:00
Markus Stange
7fbb9be1ad Bug 923133 - Remove unneeded main thread GL context management in -[ChildView lockFocus]. r=mattwoodrow
--HG--
extra : rebase_source : 5098476ad30f13f2ea99e91ed0120b535ae53e78
2013-10-09 10:39:22 -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
Benoit Jacob
590564045c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Masayuki Nakano
f7bfa6a1db Bug 920377 part.14 Get rid of nsSimpleGestureEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
8330b5b7f1 Bug 920377 part.4 Get rid of nsContentCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
73500fb45e Bug 920377 part.2 Get rid of nsPluginEvent r=roc 2013-09-27 15:20:54 +09:00
Gijs Kruitbosch
0b4bb84c4a Merge m-c to ux 2013-08-22 00:07:23 +02:00
Stephen Pohl
adbadb868e Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
Stephen Pohl
e6d6c030c7 Revert fd6c7792b048 from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:21:59 -04:00
Matthew Noorenberghe
f84d7b3761 Merge mozilla-central to UX 2013-08-19 14:49:03 -07:00
David Anderson
6ef84f269e Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Mike Conley
104ab62e44 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-09 19:24:40 -04:00
Gijs Kruitbosch
f6ec1e3db6 Merge m-c to UX 2013-08-07 21:09:10 +02:00
Masayuki Nakano
ca913f7546 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
Gijs Kruitbosch
60fd73b747 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Steven Michaud
18b270f9c2 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes, rev1. r=masayuki 2013-08-01 20:35:34 -05:00
Matthew Noorenberghe
63923e35da Merge mozilla-central to UX 2013-07-31 17:48:12 -07:00
Ehsan Akhgari
af8538eb88 Backed out changeset 197b12188f3a (bug 893973) for causing bug 9000007 2013-07-31 17:06:38 -04:00
Matthew Noorenberghe
d79cbda60c Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
529434a919 Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch
4bb8eed883 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
d5583b2521 Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
Matt Woodrow
77af187390 Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13:00
Gijs Kruitbosch
1d7de5b7fa Merging m-c to UX 2013-07-17 21:02:17 +02:00
Mike Conley
de1cc8b10b Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Masayuki Nakano
cc77e38068 Bug 893973 Check if the keydown event received view actually has focus and separate the MOZ_CRASH() for each case r=smichaud 2013-07-17 11:08:44 +09:00
Gijs Kruitbosch
37fa9266f9 Merge mozilla-central and ux 2013-07-15 14:13:14 +02:00
Matthew Noorenberghe
8a675cd703 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
Matt Woodrow
9da84efe22 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Phil Ringnalda
8dcbf36c38 Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
CLOSED TREE
2013-07-12 16:39:36 -07:00
Matt Woodrow
386a557051 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Gijs Kruitbosch
a349f6bc93 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
Steven Michaud
ba912c8709 Bug 893973 - crash in -[ChildView keyDown:], log debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 16:21:25 -05:00
Ryan VanderMeulen
39a22d9675 Backed out changeset 01d5bde15738 (bug 893973) for OSX bustage.
CLOSED TREE
2013-07-19 13:56:36 -04:00
Steven Michaud
69eef6348f Bug 893973 - crash in -[ChildView keyDown:], add debugging info to Breakpad's app notes. r=ted,masayuki 2013-07-19 12:08:18 -05:00
Matt Woodrow
1acb6b69b1 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Matt Woodrow
24fa947ddd Bug 894891 - Move texture transform from the RGBATextureLayerExternal shader into the vertex shader, and combine the two GL_TEXTURE_EXTERNAL shaders. r=jrmuziel 2013-07-18 23:05:06 -04:00
Jared Wein
a1f9619073 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-07 21:35:26 -04:00
Gijs Kruitbosch
8cfbf4606e Backout the second part of bug 877767 ( 0d4883c469e6 ) per bug 888615 comment 4, rs=backout 2013-06-29 11:22:25 -04:00
Stephen Pohl
b88be8811b Bug 917761: Reland improvements for bug 678392 that were backed out along with bug 673875. r=smichaud,felipc 2013-09-23 09:02:55 -04: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
Steven Michaud
19dbe2b725 Bug 893973 - crash in -[ChildView keyDown:], log more debugging info to Breakpad's app notes. r=masayuki 2013-07-30 10:42:29 -05:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
0ffb387490 Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Wes Kocher
8bea1820c7 Back out cd6b4a1ef09c (bug 886988) for mochitest failures on a CLOSED TREE
--HG--
extra : amend_source : d9bada346fa6179452d28a49633badef0de79e47
2013-07-03 15:33:37 -07:00
David Anderson
c1f7b92b42 Bug 886988 - Reset the nsChildView layer manager when we change the transparency mode. r=roc 2013-07-03 16:35:50 -04:00
Ryan VanderMeulen
8bf46962c6 Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow
cf4c3b2638 Bug 892467 - Draw cocoa titlebar using correct shader. r=mstange 2013-07-11 22:32:49 -04:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Markus Stange
6014da66f4 Bug 888458 - Don't assume there's a focusView during viewWillDraw; always get the dirty region from our own view. r=smichaud 2013-06-29 03:05:07 +02:00
Markus Stange
f04f579d34 Bug 885405 - Don't override wantsDefaultClipping, use default clipping in -[ChildView drawRect:]. r=mattwoodrow 2013-06-29 03:04:02 +02:00
Markus Stange
89fd639f44 Bug 877767 - Draw window title on top of everything in drawintitlebar mode. r=smichaud 2013-06-29 03:02:53 +02:00
Markus Stange
34152bcc63 Bug 877767 - Set NSGraphicsContext flippedness properly in nsChildView::UpdateTitlebarImageBuffer(). r=smichaud 2013-06-29 02:59:07 +02:00
Alexander Surkov
2b718e66fb Bug 670087 - AccessibleObjectFromPoint returns incorrect accessible for popup menus, r=tbsaunde, sr=roc 2013-06-27 11:03:58 -04:00
David Zbarsky
62f88e5762 Bug 895116: Use RGBARectProgram in nsChildView r=mattwoodrow 2013-07-17 23:54:09 -07:00
Nicholas Cameron
9e2dfb13aa Bug 901382. Don't fall back to basic OMTC. r=mattwoodrow 2013-08-09 11:32:26 +12:00
Stephen Pohl
160820c8f3 Bug 868498: Enable switching between overlay and regular scrollbars without browser restart on Mac OSX. r=roc 2013-07-16 08:58:44 -04:00
Ed Morley
b0b384ebfc Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE 2013-11-01 15:51:32 +00:00
Andreas Gal
07faf96a6d Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical 2013-11-01 09:29:20 -04:00
J. Ryan Stinnett
e68ccaf3d5 Bug 282097 - Part 7: Simulate native events for testing. r=masayuki 2013-07-10 09:12:40 -05:00
Masayuki Nakano
2fd1774231 Bug 875674 part.7 Implement setMarkedText:selectedRange:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:36 +09:00
Masayuki Nakano
58405280c4 Bug 875674 part.6 Implement insertText:replacementRange: of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
1d9e2a0619 Bug 875674 part.5 Implement attributedSubstringForProposedRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
e4cd688d65 Bug 875674 part.4 Implement firstRectForCharacterRange:actualRange: of NSTextInputClient r=roc+smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
47b3d4363e Bug 875674 part.3 Implement windowLevel of NSTextInputClient r=smichaud 2013-07-11 16:46:35 +09:00
Masayuki Nakano
fbca6df20f Bug 875674 part.2 Cache selection for improving the performance r=smichaud 2013-07-11 16:46:35 +09:00
Markus Stange
efec9b8981 Bug 880620 - Don't allocate a scratch buffer for mTitlebarImageBuffer texture upload. r=mattwoodrow 2013-07-08 21:21:06 -07:00
Markus Stange
5e73252a64 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Matt Woodrow
d426585dce Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Phil Ringnalda
c509981eb8 Back out 37c7fcfdb186 (bug 885580) on suspicion of causing linux32 Cipc timeouts 2013-06-26 23:21:15 -07:00
Matt Woodrow
97e1b181e6 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Ehsan Akhgari
5827b2e86b Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
a7c3879a87 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Matt Woodrow
48aa80f20f Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Markus Stange
fb22daa8da Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow 2013-06-20 15:01:20 +02:00
Markus Stange
e36fb39fa8 Bug 875335 - Call NotifyDirtyRegion during viewWillDraw. r=mattwoodrow 2013-06-20 14:59:16 +02:00
Matt Woodrow
5dcae950c4 Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc 2013-06-18 19:59:00 +12:00
Ehsan Akhgari
0cae3ba5bd Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
JosiahOne
7537f55f0e Bug 881713 - Use onClick: for double-click actions in drawInTitlebar windows. r=smichaud 2013-06-11 13:33:32 -04:00
Evan Wallace
337f06d856 Bug 879374 - Add mozPressure support for OS X. r=smichaud 2013-06-07 08:40:28 -04:00
Markus Stange
970bda8200 Bug 866027 - Recreate window corner mask when window resolution changes. r=bgirard 2013-06-07 11:50:25 +02:00
JosiahOne
2d855a9726 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
af71451b2c Bug 807893 part.3 Add tests for secure input mode of Cocoa widget r=smichaud 2013-05-25 01:27:52 +09: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
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Markus Stange
c1f38a9837 Bug 875441 - Don't keep reapplying the 2x scale in HiDPI mode when drawing the titlebar buttons. r=mattwoodrow 2013-05-24 08:12:27 +02:00
Markus Stange
66fb5cfd84 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02: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
323a20cb6f Bug 676241 part 5: Don't invalidate unnecessarily in OMTC mode. r=mattwoodrow 2013-05-23 16:55:50 +02:00
Markus Stange
893a9122a4 Bug 676241 part 3: Remove titlebar drawing. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
8d7ccf203f Bug 676241 part 2: Remove titlebar event redirection. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
ea03392fcc Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Markus Stange
82b48366b9 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
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
Markus Stange
c53450ff86 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
Matt Woodrow
5ae991f717 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
198135213b Bug 756601 - Call PaintWindow with OMTC so we still get a DidPaint event. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
088dbe8514 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Josh Aas
b4dc5afa74 Bug 869091: Fix a couple of build warnings in Cocoa widgets. r=smichaud 2013-05-08 00:06:18 -05:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Matt Woodrow
89f2a66432 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
6ea227e7a6 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12: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
Nicolas Silva
09da7b8c04 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
39bd320f11 Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
b614d323b6 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Ehsan Akhgari
59d207fa64 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Steven Michaud
b70a7ad0dc Bug 851128 - Backout patch because it caused bug 862417 and bug 864053. r=bgirard 2013-04-22 16:41:50 -05:00
Nicolas Silva
a3f33bc40f Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Matt Woodrow
6a644b8e27 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Steven Michaud
6c6038ecfd Bug 861317 - nsChildView::WillPaint terribly inefficient when drawing to titlebar. r=bgirard 2013-04-18 18:40:40 -05:00
Nicholas Cameron
b4a36f6da1 Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Stephen Pohl
5ebdaafac5 Bug 673875 - Reenable guard for bug 770626 when swipe animations are disabled. r=smichaud 2013-04-12 23:04:52 -04:00
Stephen Pohl
43efc4af6e Bug 673875 - Reproduce bounce behaviour when reaching top and bottom of documents. r=smichaud, r=felipc 2013-04-12 23:04:52 -04:00
Guilherme de Araujo ext:(%2C%20Brandon%20Waterloo%20%3Cbrandon.waterloo%40gmail.com%3E)
ef248673de Bug 851128 - Introduce custom recognition for the double-tap gesture. r=smichaud
Cocoa does not implement the double-tap gesture by default, so the gesture had to be recognized manually.
2013-04-10 14:38:26 -04:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Stephen Pohl
21bdf5ab95 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Markus Stange
2ca4c98925 Bug 849157 - Keep calling drawUsingOpenGLCallback even when a native menu is open. r=bgirard
--HG--
extra : rebase_source : b7383e1d07406bed7e45bdf750eb72fa9c6e7dde
2013-04-05 10:18:06 +02: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
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Frank Yan
61b4e7cee5 Bug 631473 - Don't consume mouse scroll events outside arrow panels on OS X. r=mstange r=enndeakin 2013-03-08 11:48:48 -08:00
Jonathan Kew
af8cb68fe5 bug 799523 pt 2 - convert device pixels to Cocoa display pixels when synthesizing native mouse event. r=smichaud 2013-03-06 17:16:44 +00:00
Masayuki Nakano
ef387dacc0 Bug 558976 part.3 Implement nsIWidget::NotifyIME() on Cocoa r=smichaud 2013-03-06 15:14:34 +09:00
Markus Stange
081bef1620 Bug 676250 - Make OpenGL painting bypass the Cocoa setNeedsDisplay/drawRect machinery. r=bgirard. 2013-03-05 10:21:28 -05:00
Jim Mathies
c689c82355 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Matt Woodrow
9d871b957c Bug 841308 - Make WillPaintWindow be called for cocoa popups. r=roc 2013-02-26 10:18:48 +13:00
Chris Pearce
638fd4ded3 Bug 805261 - Implement nsChildView::GetScreenBounds() (MacOSX). r=BenWa 2013-02-11 11:31:00 +13:00
Robert Strong
5c07fa06f7 Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
e5e20d9c36 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08: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
Robert O'Callahan
05e24fd045 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
d9789d372b Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Robert O'Callahan
1ada24c301 Bug 826817. Part 1: Send WillPaintWindow/DidPaintWindow from all widget implementations. r=tnikkel 2013-01-28 13:34:03 -06:00
Matt Woodrow
7c9fcbfaef Bug 831829 - Fix OSX titlebar painting from being upside-down and tiled. r=roc 2013-01-19 14:07:32 +13:00
Matt Woodrow
23cabe0437 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
Timothy Nikkel
b548056d5c Bug 829886. Implement GetClientBounds for nsChildViews on Mac so that it returns correct values. r=smichaud
This has the side effect of making clicks on transformed select dropdowns to work.
2013-01-15 14:47:42 -06:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Steven Michaud
bd6bb3095c Bug 825734 - Plugins stop rendering when top half of plugin scrolled off top of page, in HiDPI mode. r=jfkthame 2013-01-04 16:39:22 -06:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -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
Trevor Saunders
580ff17032 bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00
Jeff Gilbert
f650527ca3 Bug 811958 - Move TextureImage into its own files - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
9c9ac2fca3 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
144687e59c Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
cdb418accb Bug 811958 - Move TextureImage to its own files - r=bgirard 2012-11-26 12:51:58 -08:00
Jeff Gilbert
7cf8b80673 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
Alexander Surkov
681c1939e2 Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva
48a06e31e4 Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa 2012-11-15 19:55:15 +01:00
Masayuki Nakano
0f83ed44e6 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Josh Aas
bea5389ef5 Bug 801601: Remove code specific to OS X 10.5 in Cocoa widgets. r=smichaud 2012-11-09 05:22:36 -05:00
Steven Michaud
624f03204c Bug 770626 - 'Back' swipe triggers several onbeforeunload popups, causes "hang". r=bgirard 2012-11-07 13:00:56 -06:00
Jonathan Kew
d3fa09cf89 bug 803383 - scale quartz surface properly to ensure full-resolution backing store is used when compositing xul:panels. r=smichaud 2012-11-06 17:01:58 +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
Josh Aas
99e96d604f Bug 647216: Add ability to handle mouse events in the title bar on OS X. Work started by Markus Stange and Paul O'Shannessy. r=mstange 2012-10-26 15:42:50 -04:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Steven Michaud
8277c61b0f Bug 802856 - Plugins don't always get focused in HiDPI mode if you click on them. r=jfkthame 2012-10-18 10:53:32 -05:00
Jonathan Kew
e175980db4 bug 794038 followup - add #include "nsIPresShell.h" to nsChildView.mm to avoid relying on fragile indirect inclusion. rs=Ms2ger 2012-10-17 20:50:06 +01:00
Steven Michaud
5038f543ad bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Jonathan Kew
d0245b58c2 bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud 2012-10-16 20:41:20 +01:00
Josh Aas
da0ff685ab Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Matt Woodrow
a4e84a9c8e Bug 797431 - Add 'alternate paint' flag to PaintWindow, and don't clear ForcedRepaint on the view when it is set. r=roc 2012-10-15 17:53:37 +13:00
Matt Woodrow
32f9e8cdc6 Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Jonathan Kew
2cf5d23c2c bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Aas
402428750a Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Hubert Figuière
375b0b1377 Bug 781090 - Preserve minimum a11y support when we don't have Voice Over. r=dbolter 2012-08-20 07:27:01 -07:00