Commit Graph

222 Commits

Author SHA1 Message Date
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jim Chen
762de3b81a Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
9f3701ed76 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
Richard Newman
8a9323212f Bug 1135281 - Correctly bind null parameters in SQLiteBridge.cpp. r=sebastian 2015-08-07 21:43:47 -07:00
Jim Chen
633ea676cd Bug 1186467 - Update generated JNI bindings; r=me 2015-08-04 17:47:28 -04:00
Jim Chen
a01650d99f Bug 1182641 - Update autogenerated code; r=me 2015-07-29 15:11:15 -04:00
Robert O'Callahan
a40be7876e 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
Gabriele Svelto
4b943d4ca3 Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj 2015-07-06 18:01:09 +02:00
Jim Chen
29356f58dd Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-27 20:52:52 -04:00
Ryan VanderMeulen
34f0cf5f19 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
61592b4feb Bug 1157908 - Optimize pumpMessageLoop call to use less JNI; r=snorp 2015-04-24 14:40:55 -04:00
Randall Barker
4cf16d8497 Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-10 22:14:00 -04:00
Ryan VanderMeulen
e53514c1ac Backed out changeset 9271d92ee0e2 (bug 1148149) for robocop crashes. 2015-04-10 14:52:50 -04:00
Randall Barker
e2dcaca95b Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert 2015-04-08 16:00:00 -04:00
James Willcox
156a79ed55 Bug 1127464 - Assert when we unexpectedly unload libraries on Android r=glandium 2015-03-09 08:33:22 -05:00
James Willcox
d27a8f46ef Bug 1108709 - Don't chdir on Android r=glandium 2015-02-02 17:49:44 -06:00
Jim Chen
c02561a822 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Eugen Sawin
8c1910db20 Bug 1101583 - Remove unused variables. r=glandium 2014-11-19 17:17:28 +01:00
Chris Pearce
a9c8867440 Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium 2014-11-14 21:26:24 +13:00
Nick Alexander
4b1bd40609 Bug 976699 - Place architecture specific assets in assets/$(ANDROID_CPU_ARCH). r=glandium 2014-11-03 20:04:20 -08:00
Jim Chen
0060658fc5 Bug 888482 - Send event to set layer client; r=snorp 2014-09-30 18:20:58 -04:00
Ryan VanderMeulen
79910dd5bf Merge m-c to inbound. a=merge
CLOSED TREE
2014-09-24 16:08:33 -04:00
Jim Chen
c665929ae2 Bug 1066760 - Redirect mozalloc_abort through Java exception handling; r=snorp 2014-09-24 14:12:54 -04:00
Michael Comella
0b2c30bc40 Bug 915312 - Followup: Replace NULL with nullptr. r=glandium 2014-09-23 13:47:35 -07:00
Jim Chen
dffe40277e Bug 1063120 - Add synchronous method to notify Gecko observer; r=snorp 2014-09-11 18:31:32 -04:00
Jim Chen
4704c6b1da Bug 1056941 - Remove extract libs parameter; r=glandium 2014-08-26 15:08:00 -04:00
Bill McCloskey
6b7be2d5f6 Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
Kartikaya Gupta
3e2507009f 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
6a8c4a4b31 Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Kartikaya Gupta
1eb1f9970b Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Nicholas Nethercote
8ea1b7923f Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Jim Chen
c5ae95c1bf Bug 992357 - b. Add array support stubs; r=blassey 2014-05-16 18:25:29 -04:00
Jim Chen
270a97c29f Bug 992359 - b. Add skeletal NativeJSObject.toBundle; r=blassey 2014-05-12 12:50:46 -04:00
Robert O'Callahan
949537330f Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Jim Chen
08b3ed07e3 Bug 984458 - f. Add NativeJSObject opt getters; r=blassey 2014-04-01 15:16:56 -04:00
Jim Chen
7e177c1c5f Bug 984458 - e. Add NativeJSObject object getter; r=blassey 2014-04-01 15:16:55 -04:00
Jim Chen
825979accf Bug 984458 - d. Add NativeJSObject property getters; r=blassey 2014-04-01 15:16:55 -04:00
Jim Chen
9d87ae6802 Bug 984458 - c. Add skeletal NativeJSObject implementation; r=blassey 2014-04-01 15:16:54 -04:00
Jim Chen
31867cebc4 Bug 984458 - b. Add threading support to NativeJSContainer; r=blassey 2014-04-01 15:16:53 -04:00
Jim Chen
1e7149f865 Bug 984458 - a. Add NativeJSContainer implementation; r=blassey 2014-04-01 15:16:52 -04:00
Michael Comella
e2a9e2ac3b Bug 915312 - Part 2: Build native crypto into mozglue. r=glandium,kats,rnewman 2014-03-06 12:10:54 -08:00
Michael Comella
f72d7bc1cb Bug 915312 - Part 1: Import sha files. r=rnewman 2014-03-06 12:10:54 -08:00
Ehsan Akhgari
bf09c6f469 Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
a375fb3668 Bug 973389 - Move the LOCAL_INCLUDES in mozglue to moz.build; r=glandium 2014-02-18 01:02:32 -05:00
Wes Johnston
8de37ce524 Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Carsten "Tomcat" Book
58429da813 merge fx-team to mozilla-central 2014-02-06 12:51:21 +01:00
Jim Chen
f52fb57d99 Bug 967553 - Restore to using __wrap_free. r=gcp 2014-02-05 13:39:48 -05:00
Jim Chen
33607bb122 Bug 964859 - Refactor SQLite bridge exception handling; r=gcp 2014-01-31 20:18:55 -06:00
Jim Chen
36ec38752c Bug 959214 - Use unwinder when getting ANR native stack; r=blassey 2014-02-05 12:37:54 -06:00
Ehsan Akhgari
37b2774903 Bug 956783 - Stop using NULL in Fennec's JNI code; r=jchen 2014-01-06 15:21:27 -05:00