Commit Graph

136 Commits

Author SHA1 Message Date
Jim Chen
d96ece071c Bug 1192082 - Get rid of GeckoAppShell.nativeInit; r=snorp
Instead of letting AndroidBridge be constructed separately, we'll let
Gecko construct AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
dfcf5a84c5 Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Jim Chen
2986b3f565 Bug 1187088 - Use UNIFIED_SOURCES in widget/android; r=snorp
Fix some compiling errors in unified mode due to header dependency
issues.
2015-08-04 17:47:28 -04:00
Jim Chen
9fba788ad2 Bug 1182641 - Implement new native methods for ANRReporter; r=snorp 2015-07-29 15:11:15 -04:00
Robert O'Callahan
a33364b916 Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
2015-06-12 03:20:04 +12:00
Tom Tromey
3ce2900136 Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Shu-yu Guo
cdf2319b67 Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Jim Chen
13969fb4ad Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-27 20:52:52 -04:00
Kartikaya Gupta
f582602f77 Bug 1077559 - Rename APZCCallbackHandler to AndroidContentController. r=botond 2015-04-24 22:26:51 -04:00
Ryan VanderMeulen
177d63cb25 Backed out changesets a486dcc9c233 and 7164a2488b28 (bug 1157908) for various Android test failures.
CLOSED TREE
2015-04-24 16:01:17 -04:00
Jim Chen
b537669366 Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-24 14:40:55 -04:00
Danilo Cesar Lemes de Paula
aff0cd1ce8 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Randall Barker
c2f98c668e Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-10 22:14:00 -04:00
Ryan VanderMeulen
3ebe8fe436 Backed out changeset 9271d92ee0e2 (bug 1148149) for robocop crashes. 2015-04-10 14:52:50 -04:00
Randall Barker
842481bc9c Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-08 16:00:00 -04:00
Danilo Cesar Lemes de Paula
c13bbaf851 Bug 1146020 - Make APZCCallbackHandler extend from ChromeProcessController. r=kats
This is one of the first steps to implement use APZC on Fennec.
2015-03-27 15:18:19 -04:00
Jim Chen
60b2a7d4b1 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Kartikaya Gupta
0b12b07fa8 Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
James Willcox
0f01d3f5f9 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert 2014-10-21 08:53:00 -05:00
Wes Kocher
fc6c88a0cd Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
James Willcox
20e61c9ede Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert 2014-10-17 10:35:10 -05:00
Jim Chen
ad5bfd549c Bug 1013004 - Allow more time for ANR reports; r=snorp 2014-10-16 15:46:41 -04:00
Jim Chen
a66b1501d1 Bug 888482 - Send event to set layer client; r=snorp 2014-09-30 18:20:58 -04:00
Jim Chen
1afd2343a0 Bug 1066175 - Only crash when crash reporting annotation succeeds; r=snorp 2014-09-17 12:59:21 -04:00
Jim Chen
26a020e6ca Bug 1063120 - Add synchronous method to notify Gecko observer; r=snorp 2014-09-11 18:31:32 -04:00
Kartikaya Gupta
0f0869d9a4 Bug 1049136 - Add native-code awareness of the Java UI thread so we can do thread assertions. r=snorp 2014-08-08 18:15:38 -04:00
Kartikaya Gupta
33d3a7d2ff Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Kartikaya Gupta
29230db1be Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Jim Chen
f38953cc66 Bug 1048500 - Wait longer to get native stack for ANR; r=blassey 2014-08-05 12:41:10 -04:00
Kartikaya Gupta
f4d422b2dc Bug 1035356 - Make ReceiveInputEvent(InputData...) do in-place modifications of the event to DOM space. r=mstange r=botond 2014-07-08 14:55:52 -04:00
snigdha
724d084f99 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Ryan VanderMeulen
86af8bac61 Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
238d3a6bf5 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Jim Chen
e5e6a5ab67 Bug 959214 - Use unwinder when getting ANR native stack; r=blassey 2014-02-05 12:37:54 -06:00
Jim Chen
d1f525e06a Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Birunthan Mohanathas
49ae16d483 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan 2014-01-06 10:06:04 -05:00
Kartikaya Gupta
cadff49718 Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Brad Lassey
d6c76fa76a bug 744519 - mplement memory-pressure flag to react quicker to memory pressure, without waiting for event loop r=gsvelto 2013-11-27 06:52:05 -05:00
Chris Kitching
69fdb42135 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Botond Ballo
74712328fc Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Jim Mathies
03ba649a43 Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Birunthan Mohanathas
c4438f4272 Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan 2013-10-10 16:42:52 -04:00
Benoit Jacob
0f0c75c711 Bug 919219 - Trim gfxASurface more - r=jrmuizel 2013-09-24 16:45:13 -04:00
Chris Kitching
0247b949ec Bug 794981 - Part 2: Don't pass GeckoAppShell class to Init as a parameter - find it in the usual way. r=kats 2013-09-09 08:57:36 -04:00
Kartikaya Gupta
3ec1235fe0 Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
49c90b2de0 Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
Chris Kitching
cf37dadec5 Bug 897123 - Make GeckoAppShell.pumpMessageLoop waste less CPU time r=jchen 2013-07-26 12:02:00 -07:00
Botond Ballo
781cd6089a Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Botond Ballo
f86aff9b42 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Jim Chen
637b9e9acd Bug 889881 - Use IdleHandler to make MessageQueue.next() not block; r=blassey 2013-07-09 16:25:55 -04:00