Commit Graph
494 Commits
Author SHA1 Message Date
Brad Lassey 9e68fd2c17 bug 1016747 - add android protocol handler to proxy input streams to Gecko r=snorp 2014-06-04 15:28:04 -04:00
Matthew Ostrowski 5e0eb0b153 Bug 1006824 - Don't log command line at start-up in official builds. r=nalexander 2014-05-19 14:11:00 +02:00
Wes Johnston 293f40d05b Bug 990642 - Try harder to find an extension to use when sharing images. r=mfinkle 2014-05-12 10:13:45 -07:00
Wes Johnston 12e8da2b8e Bug 990642 - Reinsert code to share images instead of just urls. r=mfinkle 2014-05-12 10:13:44 -07:00
Nick Alexander 6db24235b2 Bug 976216 - Part 2: Purge startup caches when starting Gecko in developer builds. r=mfinkle
This change only impacts developer builds.  A developer build is one
where MOZILLA_OFFICIAL is not set.

The startup cache is invalidated when the buildid changes; see [1] for
details.  For MOZILLA_OFFICIAL builds, the buildid is always bumped, so
the startup cache is always fresh on a package re-deploy to device.

Most developers re-deploy using |mach build mobile/android && mach
package && mach install| or similar.  This does not bump the buildid.
The re-deployed package will read the out-dated startup cache, leading
to frustrating inconsistencies when developing Javascript, especially
chrome content and module JSMs.

This change purges the startup caches every time Gecko is started in
developer builds.  This keeps the running Javascript consistent (which
is good for development), but incurs a startup performance
penalty (since the cache must be purged, and since the cached files must
be recompiled, etc).

[1] http://hg.mozilla.org/mozilla-central/file/901d300bb441/toolkit/xre/nsAppRunner.cpp#l2350
2014-05-05 11:27:55 -07:00
Jim Chen e4d1c9a6fc Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team 2014-05-02 14:34:40 -04:00
Ted Mielczarek 8115881654 bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Clemens Wilding f2ee4ae94d Bug 920855 - Replace java.net.URL with java.net.URI wherever possible. r=rnewman 2014-04-16 08:42:15 -07:00
Kartikaya Gupta 446fee130d Bug 995316 - Make GeckoLayerClient package-scoped. r=snorp 2014-04-11 20:49:46 -04:00
Jim Chen 59f3c35f5a Bug 989046 - c. Support multiple listener types in EventDispatcher; r=mfinkle 2014-04-04 12:33:50 -04:00
Jim Chen 1bcd51a8b8 Bug 989046 - a. Convert Gecko side messaging to use NativeJSContainer; r=blassey 2014-04-04 12:33:49 -04:00
Nick Alexander 93d75d4d81 Bug 990116 - Part 1: Split BROWSER_INTENT_CLASS and BROWSER_INTENT_CLASS_NAME. r=mcomella 2014-04-01 22:00:46 -07:00
Wes Johnston 30a9041e14 backout f1a7f2af1dce (Bug 981852) because its no longer needed. r=backout 2014-04-01 12:23:41 -07:00
Wes Johnston f3493aa1e3 Bug 981852 - Push GeckoEvents to a background thread. r=mfinkle 2014-03-26 21:21:40 -07:00
Wes Johnston ca703d4cad Bug 942270 - Support quickshare in context menus. r=bnicholson 2014-03-26 10:18:01 -07:00
Richard Newman 426edb249b Bug 987415 - Part 1: GeckoAppShell thread-safety. r=bnicholson 2014-03-24 17:44:02 -07:00
Richard Newman 2f4cd7ecb8 Bug 987415 - Part 0: GeckoAppShell cleanup. r=bnicholson 2014-03-24 17:44:01 -07:00
Wes Johnston 4f5353918f Bug 942270 - Add intents to PromptListItems. r=bnicholson 2014-03-14 14:41:10 -07:00
Margaret Leibovic 9d9612a2ff Bug 982461 - Support launching an intent to the current application package. r=wesj 2014-03-12 08:57:29 -07:00
Wes Johnston 470840c145 Bug 963208 - Use a factory for GeckoEvents. r=kats 2014-02-28 12:25:30 -08:00
Kartikaya Gupta ad34caf39f Bug 912238 - Ignore exceptions that are thrown after calling System.exit. r=mfinkle 2014-02-27 08:49:51 -05:00
Richard Newman 0b7cd4ea3d Bug 975774 - Part 17: clean up imports in GeckoAppShell. r=trivial 2014-02-22 19:52:59 -08:00
Eugen Sawin cb25eee83d Bug 971012 - Use onConfigurationChange for screen orientation change. r=snorp 2014-02-20 18:50:18 +01:00
Wes Johnston 5ee1ac3819 Bug 970506 - Break up FilePicker and ActivityHandlerHelper. r=lucasr 2014-02-14 12:02:05 -08:00
Wes Johnston c89afdba0a Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats 2014-02-11 09:16:00 -08:00
Martyn Haigh 32b676b4dd bug 958358 - make webapp capitalisation consistent; r=wesj 2014-02-11 23:41:05 -08:00
Richard Newman 8b44a5c78b 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 cc60043f4a Bug 964813 - Make HandleUncaughtException JNI wrapper multithreaded; r=kats 2014-01-28 18:32:28 -06:00
Martyn Haigh d8e4f1c606 Bug 957070 - move webapp event listeners/handlers from GeckoAppShell to webapp/ class; r=wesj 2014-01-24 21:57:13 -08:00
James Willcox 2c09785fd6 Bug 957694 - Disable Flash on Tegra devices running KitKat r=blassey 2014-01-24 08:50:47 -06:00
Jim Chen dc9f10714f 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 a9536bd3a0 bug 934756 - implement install/launch/uninstall flows for webapps on Android using synthetic APKs; r=wesj, fabrice 2014-01-09 10:18:55 -08:00
Mark Finkle 7238c8579a 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 9a67e99943 Bug 952799 - GeckoAppShell.getProxyForURI can be expensive during a pageload. r=mfinkle 2013-12-23 11:09:25 -08:00
Ryan VanderMeulen bae12afe89 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
James Willcox fcc8580fc3 Bug 948003 - Mark GeckoAppShell.loadPluginClass() as used from JNI r=blassey 2013-12-11 15:53:06 -06:00
Brad Lassey d86351a16b bug 944043 - security exception on start up for GeckoView app r=mfinkle 2013-11-27 18:37:44 -05:00
Michael Comella 00e1b2cff0 Bug 938827 - Part 10: Remove remaining reflection from FennecNativeActions. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella 48cc1c7792 Bug 938827 - Part 9: Remove unregisterEventListener reflection. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella 21ea6c874c Bug 938827 - Part 6: Remove BroadcastEvent reflection. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella 35584204c4 Bug 938827 - Part 3: Call registerEventListener directly. r=rnewman 2013-12-06 11:43:11 -08:00
Michael Comella 33d90ba80f Bug 910859 - Part 4: Add Proguard annotations. r=ckitching 2013-12-04 18:32:53 -08:00
Richard Newman b677ff964c 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 92472d585d Backout 9ebed437d78f, 606c4b4ab77f, 686b4b5a5be3, c46514ce6886, 9cbe6533c480 due to critical breakage in bug 945723 2013-12-03 10:15:26 -05:00
Richard Newman c11f4eadfa Bug 936756 - Part 2: implement loading of locale from prefs. r=mfinkle 2013-12-01 21:53:17 -08:00
Richard Newman 33ae2e16ea 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 718ad1b501 Bug 936756 - Part 0: refactor prefs access in GeckoApp. r=mfinkle 2013-12-01 21:53:16 -08:00
Chris Kitching 068964b99f Bug 709230 - Part 3: annotate the remaining Robocop entry points. r=gbrown,rnewman 2013-11-18 21:09:00 -08:00
Chris Kitching 4e4528e7c4 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 99e18a9262 Bug 943073 - Consolidate GeckoAppShell.isHighMemoryDevice and HardwareUtils.isLowMemoryPlatform. r=mcomella 2013-11-27 21:17:13 -08:00