Commit Graph

4704 Commits

Author SHA1 Message Date
Chris Lord
968ce32698 Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.

Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.

This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.

This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.

--HG--
extra : rebase_source : 671c5a48d7bc08b3b452ed7eea228eb22843c1ce
2012-04-26 13:45:31 -04:00
Jeff Muizelaar
0816fa076e Bug 748832. Remove dead paint supression code. r=kats
Bug 732564 disabled the painting suppression code in browser.js. This removes
the caller and the interface.

--HG--
extra : rebase_source : 236f81abcf980c41ffdb6c29dc4290a6a7671d14
2012-04-25 12:49:43 -04:00
Eitan Isaacson
346ee076d0 Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson 2012-04-25 17:09:12 -07:00
Kan-Ru Chen
d2c2829225 Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only 2012-04-25 11:59:01 +08:00
Matt Brubeck
2702248b0c Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson] 2012-04-24 20:47:46 -07:00
Masayuki Nakano
456f0af028 Bug 630811 part.6 Support new modifiers on all events derived from nsInputEvent on Cocoa r=smichaud 2012-04-25 12:00:02 +09:00
Masayuki Nakano
b39db536e9 Bug 630811 part.5 Support new modifiers on all events derived from nsInputEvent on GTK r=karlt 2012-04-25 12:00:02 +09:00
Masayuki Nakano
de19de310c Bug 630811 part.4 Support new modifiers on all events derived from nsInputEvent on Windows r=jimm 2012-04-25 12:00:02 +09:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
e93419bd4b Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
b91de9d3b6 Bug 731878 part.5 Set modifiers and buttons of nsMouseEvent on Mac r=smichaud 2012-04-25 12:00:01 +09:00
Masayuki Nakano
9725533383 Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt 2012-04-25 12:00:01 +09:00
Masayuki Nakano
6986e662ea Bug 731878 part.3 Set modifiers and buttons of nsMouseEvent on Windows r=jimm 2012-04-25 12:00:01 +09:00
Masayuki Nakano
faa22dcf29 Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Masayuki Nakano
4d9504c5e9 Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
Oleg Romashin
9a0b02a97f Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Oleg Romashin
f52b8f1aba Bug 744112 - Qt QGL context conflict with WebGL context current states. r=dougt 2012-04-24 09:23:26 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Brad Lassey
3222823138 Bug 747642 - Followup to fix xul android bustage 2012-04-24 23:53:57 +01:00
Brad Lassey
017428cde1 bug 747642 - cleanup AndroidJNI.cpp r=mwu 2012-04-21 11:41:03 -04:00
Brad Lassey
142a463d8e bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
--HG--
extra : rebase_source : d6de0327a46393cd4cfc327dea5689364744a71d
2012-04-24 15:13:36 -04:00
Kartikaya Gupta
1acb7a1d78 Bug 748189 - Call GetJNIForThread less often on a hot code path. r=blassey a=blassey 2012-04-23 21:06:41 -04:00
Kartikaya Gupta
0f88200e66 Bug 747759 - Insert missing break statement. r=blassey a=blassey 2012-04-23 21:05:23 -04:00
Joe Drew
7f29dc336a Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
James Willcox
4e5222e0f7 Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec
--HG--
extra : rebase_source : ca2da8fe9689fa702444cd6da7b4841d9ef12ec4
2012-04-20 09:49:50 -07:00
Ali Juma
c40c713688 Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec 2012-04-20 11:46:30 -04:00
Jeff Muizelaar
36817c47c9 Backout c048eb7cc728 for checkerboarding regresions
http://graphs.mozilla.org/graph.html#tests=[[175,63,20]]&sel=none&displayrange=7&datatype=running
http://graphs.mozilla.org/graph.html#tests=[[201,63,20]]&sel=none&displayrange=7&datatype=running
2012-04-20 00:50:07 -04:00
Chris Peterson
5c13ad58f8 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : c5cd6ba353970c1ba2f3315c55730957d1a306b9
2012-04-19 10:49:31 -07:00
Chris Peterson
e91824d463 Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : 64059f8f6a31446d7ba0d23fe6e89cfc4716dd23
2012-04-19 13:55:33 -07:00
Chris Peterson
51967b09ef Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
--HG--
extra : rebase_source : 58b581eb97d82bea46f238213599b7bea2f6a78f
2012-04-19 13:34:03 -07:00
Jeff Muizelaar
6dd88cabce Bug 745315. Draw as soon as we get a Viewport:Changed r=kats a=joe
This should reduce some unpredictibility from our drawing
code and I don't see any negative concequences.
2012-04-17 20:23:35 -04:00
Ed Morley
e5e627a993 Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Jeff Muizelaar
368f1d4fbe Bug 745864 - Add profiling labels relevant for Fennec event performance. r=bgirard a=blassey
--HG--
extra : rebase_source : e4ba8a8b6f4bdad1dcd6fe076e3262a6e07aeba2
2012-04-16 15:07:56 -04:00
Chris Peterson
92cf464bf4 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : 0cedf764055dba59a8c55a468b5a6dc60e20dbae
2012-04-19 10:49:31 -07:00
Chris Peterson
0bdc38f132 Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : 8ff6cd6d3e4688570b41fe9e5233ea26fdf417ed
2012-04-19 09:56:04 -07:00
Chris Peterson
af050bf07c Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
--HG--
extra : rebase_source : 8c8e8fbf4dd6bd0bfc67e621a1f24788d93ec5b1
2012-04-18 10:15:15 -07:00
Brian Nicholson
d43f6811b0 Bug 746548 - Fix NPE for cache service in pause/resume. r=mfinkle a=blocking-fennec 2012-04-18 13:08:36 -07:00
Brian Nicholson
2feaf84692 Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal 2012-04-17 10:29:52 -07:00
Timothy Nikkel
c512b3f366 Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00
Karl Tomlinson
c24bdc6592 b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc
--HG--
extra : rebase_source : 4c6d856abbe49913b74da4d9640d47a9870c2210
2012-04-17 13:00:26 +12:00
Karl Tomlinson
a917a512f2 b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc
--HG--
extra : rebase_source : 418991e220b53a3254179bf45e18ab90a1124dff
2012-04-17 13:00:26 +12:00
Karl Tomlinson
38c69e4e9d b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc
--HG--
extra : rebase_source : 7bddb51489d329bbe403228bf15306a896823749
2012-04-17 13:00:26 +12:00
Karl Tomlinson
779da2993e b=497498 split drag event dispatch code from GTK signal handling methods r=roc
--HG--
extra : rebase_source : f8d7a93c9ca2f11fdc46587585aec6fb0bcfd091
2012-04-17 13:00:26 +12:00
Karl Tomlinson
1e071381e5 b=497498 use a helper method for dispatching destination drag events r=roc
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson
908a1f6f0d b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9635333852 b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson
89750d568a b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson
6d38f25d46 b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9d71843903 b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson
ebaf6ea2db b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00