Commit Graph

475 Commits

Author SHA1 Message Date
Wes Johnston
5f19ca1260 Bug 963208 - Use a factory for GeckoEvents. r=kats 2014-02-28 12:25:30 -08:00
Kartikaya Gupta
bbc791dbf4 Bug 912238 - Ignore exceptions that are thrown after calling System.exit. r=mfinkle 2014-02-27 08:49:51 -05:00
Richard Newman
728522129d Bug 975774 - Part 17: clean up imports in GeckoAppShell. r=trivial 2014-02-22 19:52:59 -08:00
Eugen Sawin
1366bb6340 Bug 971012 - Use onConfigurationChange for screen orientation change. r=snorp 2014-02-20 18:50:18 +01:00
Wes Johnston
4aac969462 Bug 970506 - Break up FilePicker and ActivityHandlerHelper. r=lucasr
--HG--
rename : mobile/android/base/ActivityHandlerHelper.java => mobile/android/base/FilePicker.java
2014-02-14 12:02:05 -08: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
Martyn Haigh
9a4b59904c bug 958358 - make webapp capitalisation consistent; r=wesj
--HG--
rename : mobile/android/base/WebApp.java.in => mobile/android/base/Webapp.java.in
rename : mobile/android/base/WebAppAllocator.java => mobile/android/base/WebappAllocator.java
rename : mobile/android/base/WebAppFragmentRepeater.inc => mobile/android/base/WebappFragmentRepeater.inc
rename : mobile/android/base/WebAppImpl.java => mobile/android/base/WebappImpl.java
rename : mobile/android/base/WebAppManifestFragment.xml.frag.in => mobile/android/base/WebappManifestFragment.xml.frag.in
rename : mobile/android/base/WebAppsFragment.java.frag => mobile/android/base/WebappsFragment.java.frag
rename : mobile/android/base/webapp/WebAppImpl.java => mobile/android/base/webapp/WebappImpl.java
rename : mobile/android/chrome/content/WebAppRT.js => mobile/android/chrome/content/WebappRT.js
2014-02-11 23:41:05 -08:00
Richard Newman
1d23267f4b Bug 961499 - Return correct size favicons for Top Sites' add to home screen functionality. r=bnicholson 2014-02-04 17:58:15 -08:00
Jim Chen
21f2bd4395 Bug 964813 - Make HandleUncaughtException JNI wrapper multithreaded; r=kats 2014-01-28 18:32:28 -06:00
Martyn Haigh
14abcba732 Bug 957070 - move webapp event listeners/handlers from GeckoAppShell to webapp/ class; r=wesj
--HG--
rename : mobile/android/base/webapp/WebAppAllocator.java => mobile/android/base/webapp/Allocator.java
rename : mobile/android/base/webapp/WebAppDispatcher.java => mobile/android/base/webapp/Dispatcher.java
extra : rebase_source : a7e66abdf7738d1ae96a167bf6df7a58c208efa1
2014-01-24 21:57:13 -08:00
James Willcox
f1b39c9f82 Bug 957694 - Disable Flash on Tegra devices running KitKat r=blassey 2014-01-24 08:50:47 -06: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
Myk Melez
7ed59e75c8 bug 934756 - implement install/launch/uninstall flows for webapps on Android using synthetic APKs; r=wesj, fabrice
--HG--
extra : rebase_source : d97be65ec4c033f5eca37bc0b6f94979398fcf02
2014-01-09 10:18:55 -08:00
Mark Finkle
440052463b Bug 957037 - Pull in Android's ProxySelectorImpl code so we can bypass creating Uri objects r=blassey 2014-01-07 18:46:44 -05:00
Richard Newman
70b9f2a6ef Bug 952799 - GeckoAppShell.getProxyForURI can be expensive during a pageload. r=mfinkle 2013-12-23 11:09:25 -08:00
Ryan VanderMeulen
cb5b5eee51 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
James Willcox
9a9278242c Bug 948003 - Mark GeckoAppShell.loadPluginClass() as used from JNI r=blassey 2013-12-11 15:53:06 -06:00
Brad Lassey
b4b8665da8 bug 944043 - security exception on start up for GeckoView app r=mfinkle 2013-11-27 18:37:44 -05:00
Michael Comella
73bb85c991 Bug 938827 - Part 10: Remove remaining reflection from FennecNativeActions. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella
856538ad58 Bug 938827 - Part 9: Remove unregisterEventListener reflection. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella
0e46eddbbd Bug 938827 - Part 6: Remove BroadcastEvent reflection. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella
02fc2ef104 Bug 938827 - Part 3: Call registerEventListener directly. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella
6c6b346d45 Bug 910859 - Part 4: Add Proguard annotations. r=ckitching 2013-12-04 18:32:53 -08:00
Richard Newman
9ca672e19b Bug 936756 - Switch locales via pref, not via system locale setting. r=mfinkle,sriram (relanded as one patch) 2013-12-03 15:05:43 -08:00
Mark Finkle
1a77654367 Backout 9ebed437d78f, 606c4b4ab77f, 686b4b5a5be3, c46514ce6886, 9cbe6533c480 due to critical breakage in bug 945723 2013-12-03 10:15:26 -05:00
Richard Newman
c5cb9498a2 Bug 936756 - Part 2: implement loading of locale from prefs. r=mfinkle 2013-12-01 21:53:17 -08:00
Richard Newman
6551ad2e27 Bug 936756 - Part 1: remove locale setting from AndroidBridge. Java owns this, not Gecko. r=mfinkle 2013-12-01 21:53:16 -08:00
Richard Newman
1aa35ff3cf Bug 936756 - Part 0: refactor prefs access in GeckoApp. r=mfinkle 2013-12-01 21:53:16 -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
Richard Newman
37d1bbca44 Bug 943073 - Consolidate GeckoAppShell.isHighMemoryDevice and HardwareUtils.isLowMemoryPlatform. r=mcomella 2013-11-27 21:17:13 -08:00
Brad Lassey
c0e0017fe4 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
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
Mark Finkle
06028442a6 Bug 939680 - Implement nsINetworkLinkService.linkType on Android r=blassey 2013-11-18 23:43:09 -05: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
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
Benoit Jacob
5480ece61e Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Errietta Kostala
c9e3fef940 Bug 910768 - Add a link to the marketplace in the "No apps installed for this url" toast; r=wesj 2013-11-04 16:29:07 -08:00
Richard Newman
57b4695f4a Bug 931843 - Part 2: rewrite OnFaviconLoadedListeners to hold fewer references. r=bnicholson 2013-11-04 11:48:58 -08:00
Richard Newman
b4fc1fec43 Bug 922694 - Part 4: grab Accept-Locale pref in FHR. r=mcomella 2013-10-16 18:56:27 -07:00
Wes Kocher
bb2827303b Backed out 5 changesets (bug 922694) for Android rc3 orange
Backed out changeset 51185a26a7b7 (bug 922694)
Backed out changeset 3d0582ab0417 (bug 922694)
Backed out changeset d333b85c805d (bug 922694)
Backed out changeset a78a707ba721 (bug 922694)
Backed out changeset 34e48f8bac52 (bug 922694)
2013-10-15 18:32:31 -07:00
Richard Newman
63220a1d6c Bug 922694 - Part 4: grab Accept-Locale pref in FHR. r=mcomella 2013-10-15 16:53:45 -07:00
Wes Johnston
3ebb9492d4 Bug 920170 - Move Android prompt service components to their own namespace. r=margaret
--HG--
rename : mobile/android/base/Prompt.java => mobile/android/base/prompts/Prompt.java
rename : mobile/android/base/PromptInput.java => mobile/android/base/prompts/PromptInput.java
rename : mobile/android/base/PromptService.java => mobile/android/base/prompts/PromptService.java
2013-10-02 11:18:16 -07:00
Ryan VanderMeulen
fb2d6dc1a4 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (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-09-27 17:02:09 -04:00
Chris Kitching
58120e8c34 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-09-27 10:08:43 -04:00
Kartikaya Gupta
7f22c5c405 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--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-09-27 10:25:23 -04:00
Kartikaya Gupta
70140541b7 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-09-27 10:08:43 -04:00
Federico Paolinelli
69f3833cf8 Bug 815202 - Add Pause and Cancel actions to download notifications. r=wesj
--HG--
rename : mobile/android/base/resources/drawable-hdpi/ic_menu_close_all_tabs.png => mobile/android/base/resources/drawable-hdpi/close.png
rename : mobile/android/base/resources/drawable-mdpi/ic_menu_close_all_tabs.png => mobile/android/base/resources/drawable-mdpi/close.png
rename : mobile/android/base/resources/drawable-xhdpi/ic_menu_close_all_tabs.png => mobile/android/base/resources/drawable-xhdpi/close.png
2013-09-24 13:53:55 -07:00
Margaret Leibovic
872e35892f Bug 905262 - Create a JS add-on API for adding content to the promotional banner. r=wesj 2013-08-19 17:22:47 -07:00
Mina Almasry
5ef5c9ada3 Bug 890253 - Change widget/android/nsWindow.cpp GetDefaultScaleInternal() to use actual device DPI. r=mbrubeck, r=kats 2013-09-17 20:45:03 -04:00