Commit Graph

476 Commits

Author SHA1 Message Date
Margaret Leibovic
e3bd7a344e Bug 982461 - Support launching an intent to the current application package. r=wesj 2014-03-12 08:57:29 -07:00
Wes Johnston
33f83c1758 Bug 963208 - Use a factory for GeckoEvents. r=kats 2014-02-28 12:25:30 -08:00
Kartikaya Gupta
34865cf049 Bug 912238 - Ignore exceptions that are thrown after calling System.exit. r=mfinkle 2014-02-27 08:49:51 -05:00
Richard Newman
6f7ba894cf Bug 975774 - Part 17: clean up imports in GeckoAppShell. r=trivial 2014-02-22 19:52:59 -08:00
Eugen Sawin
50d8a2fbf3 Bug 971012 - Use onConfigurationChange for screen orientation change. r=snorp 2014-02-20 18:50:18 +01:00
Wes Johnston
bc5686d9c3 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
b86214b50f 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
84e63b5e40 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
fcebec6381 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
1250baa3a1 Bug 964813 - Make HandleUncaughtException JNI wrapper multithreaded; r=kats 2014-01-28 18:32:28 -06:00
Martyn Haigh
8cd9011a43 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
797dc5fb5f Bug 957694 - Disable Flash on Tegra devices running KitKat r=blassey 2014-01-24 08:50:47 -06:00
Jim Chen
29cc16d495 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
8bea8e6d63 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
a4891217e9 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
5fa00edc9a Bug 952799 - GeckoAppShell.getProxyForURI can be expensive during a pageload. r=mfinkle 2013-12-23 11:09:25 -08:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
James Willcox
38e0cfd321 Bug 948003 - Mark GeckoAppShell.loadPluginClass() as used from JNI r=blassey 2013-12-11 15:53:06 -06:00
Brad Lassey
69d394213f bug 944043 - security exception on start up for GeckoView app r=mfinkle 2013-11-27 18:37:44 -05:00
Michael Comella
2660081718 Bug 938827 - Part 10: Remove remaining reflection from FennecNativeActions. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella
be30179d74 Bug 938827 - Part 9: Remove unregisterEventListener reflection. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella
d4412b007b Bug 938827 - Part 6: Remove BroadcastEvent reflection. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella
507154379e Bug 938827 - Part 3: Call registerEventListener directly. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella
f89bf49487 Bug 910859 - Part 4: Add Proguard annotations. r=ckitching 2013-12-04 18:32:53 -08:00
Richard Newman
c34e10b816 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
22beeb2c6b Backout 9ebed437d78f, 606c4b4ab77f, 686b4b5a5be3, c46514ce6886, 9cbe6533c480 due to critical breakage in bug 945723 2013-12-03 10:15:26 -05:00
Richard Newman
9a54791062 Bug 936756 - Part 2: implement loading of locale from prefs. r=mfinkle 2013-12-01 21:53:17 -08:00
Richard Newman
a0d728e2e6 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
b4b02b1714 Bug 936756 - Part 0: refactor prefs access in GeckoApp. r=mfinkle 2013-12-01 21:53:16 -08:00
Chris Kitching
ac10c2668c Bug 709230 - Part 3: annotate the remaining Robocop entry points. r=gbrown,rnewman 2013-11-18 21:09:00 -08:00
Chris Kitching
d6f805c544 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
57201662da Bug 943073 - Consolidate GeckoAppShell.isHighMemoryDevice and HardwareUtils.isLowMemoryPlatform. r=mcomella 2013-11-27 21:17:13 -08:00
Brad Lassey
e9b56df61d 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
5637605ef4 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
0468e71b8a Bug 939680 - Implement nsINetworkLinkService.linkType on Android r=blassey 2013-11-18 23:43:09 -05:00
Ryan VanderMeulen
51ab56ef96 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
7ae9637d82 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
49366dcf8c 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
85a2adf3b3 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
55808f7a19 Bug 931843 - Part 2: rewrite OnFaviconLoadedListeners to hold fewer references. r=bnicholson 2013-11-04 11:48:58 -08:00
Richard Newman
e1e1a77170 Bug 922694 - Part 4: grab Accept-Locale pref in FHR. r=mcomella 2013-10-16 18:56:27 -07:00
Wes Kocher
62c0def927 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
ea182a559c Bug 922694 - Part 4: grab Accept-Locale pref in FHR. r=mcomella 2013-10-15 16:53:45 -07:00
Wes Johnston
13aba9ae77 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
0cfa34ad65 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
441776404e 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
9a58f0b9f9 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
4b0d5ef228 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
8b097bbf9e 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
93f401fd87 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