Chris Peterson
d267159cb3
Bug 756429 - Part 2: Assert sanity of composition string's state changes. r=blassey
2012-06-01 09:48:13 -07:00
Marco Castelluccio
edf400fa52
Bug 703484 - Part 3: Fix android OMTC whitelist. r=ajuma
...
--HG--
extra : rebase_source : e16788c85616fa92bfe724266b60435b446e9124
2012-05-30 14:56:56 -04:00
Kartikaya Gupta
7ca7eb3baa
Bug 753665 - Fix incorrect comment and some formatting of debug output. r=blassey
2012-05-26 11:07:24 -04:00
Kartikaya Gupta
ece9bcc228
Bug 753665 - Add some missing kungFuDeathGrips while dispatching events. r=blassey
2012-05-26 11:06:55 -04:00
Kartikaya Gupta
e60ac0120b
Bug 753665 - Fix possible corruption in the window parent chain. r=blassey
2012-05-26 11:06:25 -04:00
James Willcox
fcfdb3d1b6
Bug 747492 - Don't show vkb when plugin is focused on Android r=cpeterson
2012-05-24 11:03:07 -04:00
Nicolas Silva
2337ceaadf
Bug 722012 - Added a call to XInitThreads before the first call to XOpenDisplay to fix OMTC crashes. r=karlt
...
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0113_general.js => toolkit/mozapps/update/test/unit/test_0110_general.js
rename : toolkit/mozapps/update/test/unit/test_0114_general.js => toolkit/mozapps/update/test/unit/test_0111_general.js
rename : toolkit/mozapps/update/test/unit/test_0115_general.js => toolkit/mozapps/update/test/unit/test_0112_general.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js
extra : rebase_source : f527614c4a5f0b8979bd8bc39dcd3ca739ba9e08
2012-05-22 11:34:34 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Peterson
fbc151ad47
Bug 748590 - Backout adea606b5694 to map KEYCODE_DPAD_CENTER to DOM_VK_RETURN. r=eeejay
2012-05-18 15:51:53 -07:00
Kartikaya Gupta
877a5dbdbc
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
ef85499723
Bug 748531 - Guard against exceptions in JNI. r=blassey
2012-05-04 11:08:47 -04:00
Kartikaya Gupta
61c27458ff
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
8266a4291c
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Ali Juma
0b951e4b74
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
4b0d6b0c67
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
e7a0ca9c70
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
18bf7492f0
Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson
2012-04-25 17:09:12 -07:00
Masayuki Nakano
b4dca62772
Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson
2012-05-03 17:35:02 +09:00
Matt Brubeck
195432d5ee
Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson]
2012-04-24 20:47:46 -07:00
Masayuki Nakano
ba56663cd3
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
42536c7c7a
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
45b0527065
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
6b3607707c
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
e65057dbc4
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
0c00d7ee22
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
30fbc339cd
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
37f4d82a7d
Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout
2012-04-19 12:50:46 -07:00
Chris Peterson
ef807c5b5a
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
2966341f9b
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
Eitan Isaacson
b4734ed7af
Bug 739493 - Add "Accessibility:IsEnabled" message for Android
2012-03-15 10:38:27 -04:00
Kartikaya Gupta
dec4c11b3e
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
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Ali Juma
9d5313030b
Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats
2012-03-28 18:00:32 -04:00
Eitan Isaacson
456274669c
Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck
2012-03-28 22:11:55 +02:00
Kartikaya Gupta
7968d9bc1e
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
5866ce7cc9
Bug 727966 - Remove an unnecessary paint on rotation. r=blassey
2012-03-19 10:06:24 -04:00
Kartikaya Gupta
e15c94493b
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
921124c30e
Bug 733184 - Remove more logging from widget. r=pcwalton
2012-03-05 19:58:18 -05:00
Kartikaya Gupta
8fd5e0c78c
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Benoit Girard
cbad00a72b
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Kartikaya Gupta
bdcc1c59e4
Merge heads
2012-02-27 15:59:56 -05:00
Kartikaya Gupta
bb76282045
Merge m-c
2012-02-27 15:06:35 -05:00
Benoit Girard
9af6bc051d
Added more rendertrace breakdowns
2012-02-27 14:31:29 -05:00
Josh Dhaliwal
b0e6ae9370
Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt
2012-02-26 19:59:22 -08:00
Kartikaya Gupta
4cae639063
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
fce9285b59
Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma
2012-02-24 21:51:14 -05:00
Kartikaya Gupta
8d2fb03b97
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
8a476c9e1c
Remove unused parameters passed to endDrawing
2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b
Pull out tile dimensions being passed around uselessly
2012-02-24 10:51:41 -05:00
Kartikaya Gupta
60d8dbfa9d
Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp
2012-02-23 14:55:15 -05:00
Kartikaya Gupta
04fe7046ae
Completely collapse GeckoGLLayerClient into GeckoLayerClient.
2012-02-22 14:45:44 -05:00
Chris Lord
78e424b0f7
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
364777c0b3
Stop asserting the reverse of what we mean
2012-02-17 11:50:14 -05:00
Kartikaya Gupta
43b2051ae9
Also remove dangling entrails of the layer client type
2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0
Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers.
2012-02-17 09:04:50 -05:00
Kartikaya Gupta
31c5b5c646
Put back some things left out of dougt's merge
2012-02-17 01:36:49 -05:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Benoit Girard
84a8e6d4c5
Fix one shutdown crash
...
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Patrick Walton
dd0a3bbc18
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00
Patrick Walton
118fe2a25d
Integrate the Java compositor. Scroll bars now appear.
2012-02-13 14:52:30 -08:00
Benoit Girard
41f6ac08c7
Make OMTC changes not effect desktop
2012-02-13 17:17:12 -05:00
Patrick Walton
78cb81814f
Uncomment the Java compositor integration, except for the part that causes PowerVR crashes
2012-02-10 23:03:02 -08:00
Patrick Walton
c5f56a495f
Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out.
2012-02-09 23:55:13 -08:00
Patrick Walton
6a14c62d7f
Add a DrawWindowUnderlay() to match DrawWindowOverlay()
2012-02-09 19:47:50 -08:00
Benoit Girard
ea6c7d744f
Merge fixes
2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Josh Dhaliwal
40504ec0e7
Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt
2012-02-27 18:57:28 -05:00
Patrick Walton
050154c500
Shrink the surface size to speed up painting
2012-02-06 15:25:18 -08:00
Patrick Walton
50c7df015c
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
0b4a53c433
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Patrick Walton
cc6fa599ae
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
98bd0828ba
Clean up nsWindow::Draw() a bit
2012-02-02 20:24:49 -08:00
Patrick Walton
2b6bcfedfa
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
39705277e0
Hack the real window dimensions
2012-02-02 18:03:55 -05:00
Benoit Girard
7876b39a69
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Patrick Walton
59e0040294
Turn on OMTC by default; fix crash when acquiring EGL surface
2012-02-01 23:54:01 -08:00
Benoit Girard
7468656545
Move registerCxxCompositor to FlexView
2012-02-01 14:15:52 -05:00
Ali Juma
3be5bdbdb2
Disable direct textures because of crashes.
2012-01-31 15:53:54 -05:00
Benoit Girard
cc153dc324
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Benoit Girard
2a3688a8df
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Benoit Girard
ff97cd2839
Disable sHasDirectTexture because of crash in Nexus S
...
--HG--
extra : rebase_source : 03daaf6a9b7a562d95bf42c34b997ba234eed022
2012-01-26 14:22:26 -05:00
Alex Pakhotin
1dc2fe85f2
Bug 721393 - Virtual keyboard enter key doesn't work correctly in designMode document. r=blassey
2012-02-14 17:08:47 -08:00
Doug Turner
795f79c2bc
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-29 12:39:30 -08:00
Phil Ringnalda
acc2c0c02e
Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange
2012-01-29 00:49:02 -08:00
Doug Turner
3fa071d3e3
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-28 22:38:02 -08:00
James Willcox
c33f090768
Bug 716190 - Retry graphic buffer locks if we get -EBUSY r=pcwalton
...
--HG--
extra : rebase_source : 969aee231df4ac7ac70086fa2fa836c26a090b8e
2012-01-17 15:00:56 -05:00
Chris Lord
583585821b
Bug 724230 - Backout ondemand tiling. r=blassey, kats
...
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.
This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
Matt Brubeck
4ca97964d5
Bug 723772 - Mousemove events broken in XUL fennec [r=wesj]
2012-02-02 17:40:25 -08:00
Wes Johnston
81e2ecb00d
Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt
2012-02-01 15:01:47 -08:00
Phil Ringnalda
27adb9fb63
Back out b35af982b085 (bug 721080) for android-xul bustage
2012-02-01 12:10:53 -08:00
Wes Johnston
0ab3731608
Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt
2012-02-01 10:33:40 -08:00
James Willcox
ced0347f0e
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Boris Zbarsky
403d51ce98
Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds.
2012-01-31 23:38:35 -05:00
James Willcox
9334322db3
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Ed Morley
388e7e6979
Backout b87113ff33ff (bug 721741) for Android build failures
2012-01-31 16:19:00 +00:00
James Willcox
fd3a41a585
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Wes Johnston
a02904d162
Bug 603008 - Android widget multitouch implementation. r=blassey,kats
2012-01-25 01:31:33 +01:00
Chris Lord
cef8ea399b
Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
...
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-24 15:39:53 +00:00
Ed Morley
c4c32df0c4
Backout 91eebc6bdb59 & 7d776b291014 (bug 717283) for Android native reftest crashes
2012-01-22 11:55:18 +00:00
Chris Lord
d70b23ac39
Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
...
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-22 09:40:37 +00:00