Commit Graph

40 Commits

Author SHA1 Message Date
Richard Newman
3ab45d953b Bug 1047549 - Copy libraries out of the APK when they're missing. r=blassey 2014-08-06 11:38:06 -07:00
Chris Kitching
0a4691f9c7 Bug 1049105: Prevent application of annotations to incorrect entity types. r=kats 2014-08-05 21:13:49 -07:00
Chris Kitching
6c62798b21 Bug 1049105: Remove generateStatic option from JNI wrapper generator r=kats 2014-08-05 15:04:38 -07:00
Chris Kitching
e34153973d Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
Richard Newman
733432ef3e Bug 1046369 - Add architecture to logged library load errors. r=blassey 2014-08-01 15:07:00 -07:00
Richard Newman
c3fab8bf47 Bug 1042984 - Add extensive logging and descriptive crash data for library load errors. r=mfinkle 2014-07-24 09:39:48 -07:00
Mike Hommey
84f52a3c51 Bug 1043033 - Allow to override on-demand decompression blocklist. r=snorp 2014-07-24 13:44:11 +09:00
Richard Newman
061636b0f1 Bug 1017242 - Part 1: remove API 8 code from mozglue. r=mfinkle 2014-07-18 16:47:07 -07:00
Brad Lassey
6c6fe8361b bug 1019836 - Support narrow char strings in android bridge r=snorp 2014-06-04 15:04:12 -04:00
Richard Newman
fc8ef9e2f8 Bug 990130 - Fall back to full path of library on failure. r=mfinkle 2014-04-16 10:57:59 -07:00
Richard Newman
2e9cd3c95c Bug 949495 - Rework context handling. r=mfinkle 2014-04-02 18:33:24 -07:00
Brad Lassey
d6bf532d53 bug 951782 - Firefox 26 for Android crashes on HTC Desire Z due to on-demand decompression r=mfinkle a=bajaj 2014-01-23 15:00:17 -05:00
Jim Chen
1885b24ceb Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey
ThrowException throws a new exception with the appropriate message, meant for native JNI methods that return to Java code (i.e. methods in AndroidJNI.cpp).

HandleUncaughtException will be called by the generated JNI stubs that C++ code uses. HandleUncaughtException calls the new GeckoAppShell.handleUncaughtException method, which behaves exactly like the normal uncaught exception handler (annotates the crash report and crashes). GeckoAppShell.handleUncaughtException has the noThrow annotation that will be seen by the generated code; as a result, its generated stub will not call HandleUncaughtException and result in a loop.
2014-01-17 23:32:24 -06:00
Michael Comella
e8e777aa4e Bug 938827 - Part 5: Remove querySql reflection. r=rnewman 2013-12-06 11:43:11 -08:00
Chris Kitching
0c652ea063 Bug 709230 - Part 4: annotate members referenced by WebRTC's JNI code. r=gcp,rnewman 2013-11-18 17:27:00 -08:00
Chris Kitching
ae8356f784 Bug 709230 - Part 3: annotate the remaining Robocop entry points. r=gbrown,rnewman 2013-11-18 21:09:00 -08:00
Chris Kitching
94e5b48291 Bug 709230 - Part 1: annotate by hand the JNI entry points not covered by the code generator. r=rnewman 2013-11-21 14:44:00 -08:00
Chris Kitching
c47d9f7dc4 Bug 913985: Part 2 - Add annotations to all remaining JNI entry points, marking them for generations. r=kats 2013-11-12 10:41:00 -08:00
Chris Kitching
d522296441 Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats
--HG--
rename : mobile/android/base/mozglue/OptionalGeneratedParameter.java => mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java
rename : mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java => mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java
2013-11-12 10:40:59 -08:00
Ryan VanderMeulen
99217d0d2e Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
34f0ac2169 Bug 913985 - Part 2: add annotations to all remaining JNI entry points, marking them for generations. r=kats 2013-11-12 10:41:00 -08:00
Chris Kitching
862dd3de5f Bug 913985 - Part 1: introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats
--HG--
rename : mobile/android/base/mozglue/OptionalGeneratedParameter.java => mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java
rename : mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java => mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java
2013-11-12 10:40:59 -08:00
Chris Kitching
c39ee0c5d6 Bug 794981 - Part 1: Annotate Java methods that are to have JNI wrappers generated. r=kats 2013-09-09 08:57:36 -04:00
Mike Hommey
ab5c5faa99 Bug 889236 - Cleanup GeckoLoader.loadMozGlue after bug 850875. r=kats 2013-07-04 10:31:10 +09:00
Chris Kitching
d1c2df92fc Bug 888074 - Replacing single-threaded uses of StringBuffer with StringBuilder. r=rnewman 2013-07-02 08:12:17 -04:00
Mike Hommey
51a78ca8e7 Bug 874708 - Backout changeset 4655d7317a03 (part of bug 875824) now that the linker itself has a mitigation that works on the SGS4 2013-06-09 09:24:56 +02:00
Mike Hommey
518ec69f08 Bug 875824 - Disable on-demand decompression of the linker on devices where it is known to cause crashes. r=kats 2013-05-29 16:18:29 +02:00
Chris Peterson
b2c84d28fb Bug 864339 - Fix "New Private Tab" crash when unzipping a bitmap resource. r=glandium 2013-04-23 15:58:45 -07:00
Chris Peterson
33d1c318d1 Bug 849589 - Add more descriptive error messages to NativeZip exceptions. r=glandium 2013-04-18 11:08:07 -07:00
Chris Peterson
f07c5af503 Bug 859229 - Part 2: Remove redundant Java imports. r=kats 2013-04-08 00:24:40 -07:00
Kartikaya Gupta
38752ce47e Bug 850875 - Set the intent-specified gecko environment variables in setupGeckoEnvironment rather than loadMozglue. r=blassey 2013-03-14 23:47:35 +01:00
Brian Nicholson
2d98f0cf71 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats
--HG--
extra : rebase_source : 376574e0c41b91c16a6be335584a4a61768bb4a9
2013-03-13 13:20:57 -07:00
Mike Hommey
e45fb58e0b Bug 842681 - Use the linker Zip code through JNI for GeckoJarReader. r=kats 2013-03-08 19:20:13 +01:00
Mike Hommey
37f3858edc Forgot to hg rm the files that changeset 0616a4ae8aa2 (bug 842681) had added. DONTBUILD 2013-03-08 13:39:32 +01:00
Mike Hommey
4e6348be60 Bug 842681 - Use the linker Zip code through JNI for GeckoJarReader. r=kats 2013-03-08 09:27:52 +01:00
James Willcox
37ec83527b Bug 837114 - Don't leak Flash shared objects while private browsing on Android r=bsmedberg
--HG--
extra : rebase_source : 68a58f6338d375093f5908a8c13fef7888c24462
2013-03-04 13:18:20 -05:00
Gian-Carlo Pascutto
f7b849ee42 Bug 844832. r=blassey 2013-02-28 19:12:14 +01:00
Kartikaya Gupta
21d8277af9 Bug 794982 - Extract non-libxul native JNI functions from GeckoAppShell. r=glandium, cpeterson 2013-02-07 09:37:06 -05:00
Vladimir Vukicevic
9fb7842237 b=779826; fix Invalid size exception in DirectBufferAllocator (Android nightly bustage fix); r=snorp,kats 2012-08-02 11:14:32 -04:00
Chris Peterson
f1e7ec6bd4 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00