Commit Graph

59 Commits

Author SHA1 Message Date
Sebastian Kaspari
f584a74473 Bug 1171213 - Allocator: Suppress deprecation notification for Context.MODE_MULTI_PROCESS. r=mfinkle
--HG--
extra : commitid : 5asluPIg1vv
extra : rebase_source : 37aab7a7a92531b3abaaf49b1ec8a55043770f79
2015-10-06 10:35:08 +02:00
Martyn Haigh
eb5f28c49a Bug 1195721 - Set a home page; r=mfinkle
--HG--
extra : commitid : 7DqD1cuSyVt
extra : rebase_source : 2790a548b80b445ead955a0cea4a7b8898d87dd2
2015-09-14 14:21:14 +01:00
Jim Chen
3c57710825 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Mark Finkle
c9baf340c8 Bug 1183724 - Add more complete telemetry coverage of GeckoApp startup actions r=margaret 2015-07-16 17:41:47 -04:00
Michael Comella
39f6610772 Bug 1162423 - Handle Browser.EXTRA_CREATE_NEW_TAB. r=margaret
I simplified the code by passing an Intent into the loadUrl functions rather
than two arguments.

--HG--
extra : rebase_source : 509865bd053c8d8fca0268fb507876325a81fdb9
2015-05-11 11:11:18 -07:00
Michael Comella
4681dd6149 Bug 840574 - Add applicationId to tabs; use it to open new urls in the correct tabs. r=margaret
Note that I'm not actually sure where delayLoad and selected are used by
Gecko and thus the side effects of changing them (but I did set the flags
as I'd expect for them to work).

--HG--
extra : rebase_source : b4391052df2635f6a4eea82f1f4e7be176c97ae5
2015-05-01 15:04:07 -07:00
Michael Comella
50f0e098c0 Bug 1106935 - Remove references to old tablet sidebar. r=mhaigh
--HG--
extra : rebase_source : 3d9f84589872bfb74c1a1040b525f042c7c9cebb
2015-04-02 10:45:31 -07:00
Richard Newman
a95ff1c7bb Bug 1123688 - Set BrowserDB factory in application startup, not only for GeckoApp subclasses. r=bnicholson
The issue: only by launching GeckoApp (or a subclass) did we specify what kind of DB we wanted. If we don't specify, we get a StubBrowserDB.

The search activity is not a GeckoApp, but it does implicitly access a profile.

The same is true for Sync: a background Sync would eventually cause the CP to touch GeckoProfile to get the profile directory.

Both of these avenues will poison the GeckoProfile cache, storing a profile with a database member that's a StubBrowserDB.

If you subsequently launched the browser you'd get that GeckoProfile instance from the profile cache. StubBrowserDB deliberately returns null for some queries -- such as getTopSites. That causes us to throw here.

The solution I chose: have *GeckoApplication* specify which kind of DB to use, and then have WebappImpl (the only subclass for which we want different behavior) override it.

GeckoView consumers remain unaffected, because they have their own Application class, and so the usual GeckoProfile fallback applies.
2015-01-22 20:23:38 -08:00
Richard Newman
9e5c96b6fd Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.

--HG--
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/LocalTabsAccessor.java
rename : mobile/android/base/db/URLMetadata.java => mobile/android/base/db/LocalURLMetadata.java
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/TabsAccessor.java
2015-01-11 20:45:09 -08:00
Mark Finkle
dbe32ac3c5 Bug 937253 - Make pinned tabs work for Homescreen shortcuts r=bnicholson
--HG--
extra : rebase_source : 115614b5980ef885b6732196607930ad4dd3ce2d
2015-01-07 23:53:28 -05:00
Richard Newman
e85638f19f Bug 1090385 - More robust handling of external intents. r=snorp 2014-10-28 14:28:31 -07:00
Chris Kitching
2425aa80a2 Bug 1081582: Fix spelling. r=rnewman 2014-10-12 00:28:29 +01:00
Chris Kitching
4340f18e97 Bug 1081597: Refactor some branches. r=rnewman
* * *
Bug 1081597: Refactor some branches. r=rnewman
2014-10-12 01:41:42 +01:00
Chris Kitching
214c5a4c82 Bug 1081397: Finalise large numbers of fields. r=rnewman
* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Chris Kitching
656551f5f7 Bug 1081276: Don't use Java assertions. r=rnewman 2014-10-10 20:40:20 +01:00
Chris Kitching
065e335225 Bug 1064644: Remove inner-access comments. r=rnewman 2014-09-08 18:11:51 -07:00
Chris Kitching
d0951a5800 Bug 1051706: Reduce use of proxy methods and generated getters in 'other' code. r=rnewman 2014-07-28 17:32:59 -07:00
Richard Newman
c1f48dce0b Bug 1042383 - Part 2: use optimizable build-time flags for SDK-dependent code. r=mfinkle 2014-07-30 08:19:35 -07:00
Chris Kitching
c73d45de50 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Myk Melez
c4be424f79 Bug 778279 - support multiple apps per origin in Android web runtime; r=mfinkle 2014-07-22 12:52:45 -07:00
Richard Newman
957cdc5c8e Bug 1017242 - Part A: remove API 8 code from webapp Allocator. r=myk 2014-07-18 16:47:10 -07:00
Martyn Haigh
d3a8d4aa06 Bug 974578 - Prevent broadcast receiver from being unregistered twice. r=myk 2014-06-24 13:15:00 +02:00
Nick Alexander
31c474a34c Bug 929865 - Part 4: Move WebApps to webapp.Webapps; rename WebApp<n> to Webapp<n>. r=myk
--HG--
extra : rebase_source : c16aae95aae1145907a4b40d48256f5e9bbaa516
2014-06-24 18:20:14 -07:00
Nick Alexander
dc6617c17c Bug 929865 - Part 1: Reference org.mozilla.gecko directly when handling application/webapp intent. r=myk
--HG--
extra : rebase_source : 093bfcf485bbd4844c3c9a426bb756aef20fdae8
2014-06-24 18:20:12 -07:00
Myk Melez
78814e0a21 Bug 1019054 - re-add uninstallation from about:apps context menu; r=mfinkle,marco 2014-06-10 15:52:47 -07:00
Richard Newman
aa3662b743 Bug 1021342 - Eliminate non-synthetic web app code. r=myk,mfinkle 2014-06-10 10:37:38 -07:00
Richard Newman
53941e1e18 Bug 1021443 - java.lang.IllegalStateException: Already registered Webapps:Postinstall under a different type. r=jchen 2014-06-05 19:38:01 -07:00
Martyn Haigh
5eaf262eda Bug 978143 - Propagate APK install cancellation back to webpage. r=wesj 2014-06-05 02:21:00 -04:00
Martyn Haigh
7ff4704ab2 Bug 957067 - Stop verifying manifestUrl in installApk. r=wesj 2014-06-03 09:19:00 -04:00
James Hugman
d05119d3c9 Bug 995803 - fix crash in java.lang.IllegalStateException: Already registered Webapps. r=mfinkle 2014-05-19 08:36:00 +02:00
Jim Chen
0ff39eef3c Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team 2014-05-02 14:34:40 -04:00
Clemens Wilding
63beef40d9 Bug 920855 - Replace java.net.URL with java.net.URI wherever possible. r=rnewman 2014-04-16 08:42:15 -07:00
Myk Melez
c51d75d2a4 Bug 989294 - release index when app is uninstalled; r=mfinkle 2014-04-07 16:20:16 -07:00
Myk Melez
c5f583bd2b Bug 968129 - load initial tab in WebappImpl:loadStartupTab; r=mfinkle 2014-04-01 23:32:42 -07:00
Wes Johnston
a037e33f84 Bug 933979 - Delete webapp profiles when they're uninstalled. r=myk 2014-03-31 15:40:54 -07:00
Myk Melez
1d5f675f1b Bug 982559 - use intent data to start app from legacy shorcut; r=wesj 2014-03-28 11:27:46 -07:00
Myk Melez
7e43690b0c Bug 973728 - use Editor.commit() on API level 8; r=mfinkle 2014-03-25 17:34:35 -07:00
James Hugman
29b5f4490f Bug 958709 - enable webapps to kill their tasks; r=mfinkle,mhaigh
--HG--
extra : amend_source : d57e9195baa5eaf3d9847fef0a5b9d78ae8d3af4
2014-03-25 11:12:58 -07:00
Myk Melez
2be4bc0d45 Bug 982557 - migrate old prefs and set apkPackageName after updating app via APK; r=mfinkle 2014-03-22 14:26:43 -07:00
Myk Melez
533afe4db0 bug 970300 - singly-stringify JSON message; correct apkPackageName property name; r=mfinkle 2014-03-13 12:01:55 -07:00
Myk Melez
e13a7fbcbd bug 982182 - fix regressions that hang checking for updates for webapps; r=mfinkle 2014-03-12 11:57:45 -07:00
Wes Johnston
974a620ad5 Bug 967254 - Delay Webapp Uninstall code till delayed startup. r=rnewman 2014-03-04 08:35:39 -08:00
Martyn Haigh
4508fad82a Bug 970201 - Change manifestUrl to manifestURL in WebapManager._autoUpdates aData argument. r=wesj 2014-02-18 16:54:08 +00:00
Richard Newman
330674a17c Bug 975774 - Part 4: clean up imports in Allocator. r=trivial 2014-02-22 19:52:55 -08:00
Wes Johnston
dfaa913fc8 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
c1bd2f002f 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
d3e4fe454b bug 965324 - validate data coming in to webapp dispatcher; r=wesj 2014-02-11 23:41:46 -08:00
Martyn Haigh
becdd19ff7 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
Myk Melez
e3e1f9ec39 bug 934760 - implement synthetic APK update flow; r=wesj 2014-02-07 23:50:13 -08:00
Wes Johnston
86277ea8af Backed out changeset 60651784715f (bug 967254) r=margaret 2014-02-06 15:13:27 -08:00