Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Jim Chen
5ed47b1c4f
Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
...
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04:00
Jim Chen
1a98b320ee
Bug 1294479 - Add native methods in PresentationMediaPlayerManager; r=snorp
...
Put presentation surface native methods in PMPM Instead of in
GeckoAppShell, and also make these methods work with multiple GeckoViews
by having them take a GeckoView parameter if necessary. This also lets
us eliminate the static nsWindow reference in nsWindow.cpp.
2016-08-19 17:17:24 -04:00
Jim Chen
596e7c053f
Bug 1294077 - Move reportJavaCrash out of AndroidJNI.cpp; r=snorp
...
Move reportJavaCrash out of AndroidJNI.cpp and re-implement it as a
native method in GeckoAppShellSupport.
2016-08-18 18:04:11 -04:00
Jim Chen
d4e1b42fc2
Bug 1294482 - Move onFullScreenPluginHidden out of AndroidJNI.cpp; r=snorp
...
Move onFullScreenPluginHidden out of AndroidJNI.cpp and into a new-style
native method in nsAppShell.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
73e0f51a47
Bug 1294071 - Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
...
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
2016-08-18 18:04:11 -04:00
Jim Chen
1671e63e09
Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp
...
Move notifyBatteryChange out of GeckoAppShell and AndroidJNI.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
0f6e2b3262
Bug 1294710 - Move UI thread methods out of GeckoAppShell; r=snorp
...
Move methods to run callbacks on UI thread out of GeckoAppShell and into
GeckoThread.
2016-08-18 18:04:11 -04:00
Randall Barker
7045fbd83c
Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen
2016-08-16 14:33:43 -07:00
Jim Chen
f681b8818c
Bug 1292323 - Move Java UI thread registration to mozglue; r=snorp
...
We need to register the Java UI thread in native code very early in the
startup process, before libxul registers its JNI entry points. So it
makes sense to register the Java UI thread in mozglue.
2016-08-12 23:15:52 -04:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Kartikaya Gupta
699100d029
Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
...
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Makoto Kato
66fe04ad33
Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
...
MozReview-Commit-ID: 2dFvgwxavgx
2016-07-15 11:02:04 +09:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jim Chen
dde137fc0d
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book
26a9134e8a
Backed out changeset 48d6faa3bf0f (bug 1257319)
2016-03-23 10:55:06 +01:00
Jim Chen
8e1f418443
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-22 22:24:32 -04:00
Jim Chen
aa61485159
Bug 1238761 - Remove obsolete APZ code; r=rbarker
...
With APZC supporting multiple nsWindows, this patch removes some
obsolete APZ code, including the previous implementation of
NativePanZoomController native methods in AndroidJNI.cpp, and the
various static members of nsWindow.
2016-01-15 13:05:45 -05:00
Jim Chen
e56235cd4f
Bug 1233812 - Fix possible race in accessing nsAppShell instance; r=snorp
...
When getting nsAppShell from another thread, there could be a race with
nsAppShell being destroyed on the main thread. This patch makes the raw
nsAppShell pointer only accessible from the main thread, and use a
static mutex to coordinate accessing nsAppShell from other threads.
2015-12-23 22:03:35 -05:00
Jim Chen
73881b6aa8
Bug 1233812 - Remove obsolete methods in GeckoAppShell; r=snorp
...
These methods were from the XUL Fennec days and are obsolete.
2015-12-23 22:03:35 -05:00
Jim Chen
6032b19e9b
Bug 1227706 - Remove unused GLController calls and events; r=snorp
...
Remove GLController calls and events in GeckoAppShell and GeckoEvent
that were made obsolete by the new native calls.
2015-12-23 22:03:34 -05:00
Kartikaya Gupta
ef12ba95b0
Bug 1230522 - Make some unimplemented functions not be native. r=rbarker
2015-12-10 17:23:07 -05:00
Randall Barker
5561d3ec23
Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
2015-11-10 12:47:48 -05:00
Reuben Morais
b653b039b4
Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp
2015-10-06 19:40:38 -03:00
Wes Kocher
943b98bde3
Backed out changeset 3f9ca060b8d0 (bug 1197010) for android build failures
2015-10-06 16:18:13 -07:00
Reuben Morais
b663e80bd8
Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp
2015-10-06 19:40:38 -03:00
Dylan Roeh
7b7381148a
Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen
2015-09-17 16:17:26 -05:00
Carsten "Tomcat" Book
41382ade14
Backed out 1 changesets (bug 1189881) for bustage on a CLOSED TREE
...
Backed out changeset e0b666c198dd (bug 1189881)
2015-09-17 14:07:04 +02:00
Dylan Roeh
651c3c008b
Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen
2015-09-15 11:54:56 -05:00
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