Commit Graph
102 Commits
Author SHA1 Message Date
Kartikaya Gupta 14282ffff3 Bug 752539 - Pass in the AutoLocalJNIFrame to some methods that implicitly require it. r=blassey 2012-05-08 09:35:59 -04:00
Kartikaya Gupta e3e3033e52 Bug 748531 - Guard against exceptions in JNI. r=blassey 2012-05-04 11:08:47 -04:00
Kartikaya Gupta 398a73b449 Bug 748531 - Propagate the JNIEnv through DrawWindow*lay helpers instead of unnecessarily re-calling GetJNIForThread everywhere. r=blassey 2012-05-04 11:08:46 -04:00
Ed Morley 66cfb2bdeb Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Ali Juma 531b73c690 Bug 748048 - Part 2: Don't restrict invalidation to the widget's boundaries on Android. r=roc 2012-05-03 12:34:02 -04:00
James Willcox 307974778f Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey 2012-04-27 16:04:47 -04:00
Jeff Muizelaar 606fd8b9fa 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.
2012-04-25 12:49:43 -04:00
Eitan Isaacson e0e8218bf0 Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson 2012-04-25 17:09:12 -07:00
Masayuki Nakano e91ef46b82 Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson 2012-05-03 17:35:02 +09:00
Matt Brubeck f9b3bba3c0 Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson] 2012-04-24 20:47:46 -07:00
Masayuki Nakano 7537069ed1 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
James Willcox 3c4b6ba088 Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec 2012-04-20 09:49:50 -07:00
Ali Juma cd6dda579d 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 177ab1c229 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 d875d47fe6 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec 2012-04-19 10:49:31 -07:00
Chris Peterson 91d63078b6 Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec 2012-04-19 13:34:03 -07:00
Jeff Muizelaar e3044b8b97 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 1189e8be47 Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Chris Peterson 305ef55494 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec 2012-04-19 10:49:31 -07:00
Chris Peterson f8f8a51ad8 Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec 2012-04-18 10:15:15 -07:00
Eitan Isaacson 467fa86445 Bug 739493 - Add "Accessibility:IsEnabled" message for Android 2012-03-15 10:38:27 -04:00
Kartikaya Gupta bc371e9e38 Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj 2012-04-07 03:09:26 -04:00
Veeraya Pupatwibul 054cc031c2 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ali Juma ee6e4e172a Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Eitan Isaacson 3c3617d482 Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck 2012-03-28 22:11:55 +02:00
Kartikaya Gupta 3f7e787fc5 Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta 32390aef67 Bug 727966 - Remove an unnecessary paint on rotation. r=blassey 2012-03-19 10:06:24 -04:00
Kartikaya Gupta a47d6f09d0 Bug 725095 - Address review comments in the widget code. r=blassey
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Benoit Girard 5b49ecf494 Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Kartikaya Gupta c72c152027 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Benoit Girard 7ecb84135e More render trace. r=debug_only 2012-02-28 11:24:24 -05:00
Kartikaya Gupta a9ae7da188 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta 92f7200fe7 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard ae4c8791c8 Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal f605eeb680 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08:00
Kartikaya Gupta f63794afa3 Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Benoit Girard 623e14f95b Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Kartikaya Gupta 1c1e19a713 We were allocating and re-allocating a view-sized buffer and then claiming it was 32x32. Cut that down to stop wastage. Also drop unused method. 2012-02-24 12:11:32 -05:00
Kartikaya Gupta eb0c3d23f3 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta 4352728c3b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Kartikaya Gupta cb302a5c1b Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta 2e203803af Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Chris Lord 9e4f92e0d7 Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari 6989e0184d Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta 0a466af8b4 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta d82e6e4e91 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta 6154f5beb3 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner 33f900dc57 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Benoit Girard 253aa084ba Fix one shutdown crash 2012-02-15 11:29:14 -05:00
Patrick Walton aba8a71e48 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00