Commit Graph
91 Commits
Author SHA1 Message Date
Allison Naaktgeboren bce472fd7c Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-16 17:29:15 -07:00
Wes Kocher b3540caead Backed out changeset 965133e168d9 (bug 1189790) for android build failures CLOSED TREE 2015-08-14 15:30:24 -07:00
Allison Naaktgeboren 1c46065c26 Bug 1189790 - Include bookmarks for Kinderfox.r=sebastian 2015-08-14 13:57:29 -07:00
Mark Capella 7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Allison Naaktgeboren 3140b8c61d Bug 1189447 - No default bookmarks in Kidfox.r=sebastian 2015-07-31 16:19:38 -07:00
Dylan Roeh e97e2e451c Bug 1145192 - Don't spam the logs when retrieving the profile on Android. r=snorp 2015-07-01 15:41:30 -07:00
Dipti Nirmale 494b6a7b7a Bug 1116668 - Don't do file access on every call to getGuestProfile. r=rnewman 2015-05-28 09:17:35 -07:00
Martyn Haigh 6abb148982 Bug 1145579 - Open tab queue file when fennec starts or resumes (r=mcomella) 2015-03-27 11:40:49 +00:00
Richard Newman 47698e1c96 Bug 1147992 - Be paranoid when reading strings from intents, yet again. r=mfinkle 2015-03-26 16:55:45 -07:00
Martyn Haigh d90550a386 Bug 1134235 - Store Tab Queue urls in file (r=rnewman) 2015-03-19 09:17:22 +00:00
Chenxia Liu cc3055b561 Bug 1063844 - [onboarding] Start Pane v1.5. r=mhaigh 2015-01-28 18:41:20 -08:00
Richard Newman 0aaaf6fd0f Bug 1124492 - Allow for distribution intent processing to occur after first use. r=margaret 2015-01-26 10:02:39 -08:00
Richard Newman e03ea96bcf 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 2a10e70efe Bug 1077590 - Part 4: fix profile access in BrowserApp. r=mfinkle 2015-01-12 20:58:01 -08:00
Richard Newman 62fa7b6eee Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.
2015-01-11 20:45:09 -08:00
Wes Johnston 81ffc34c7d Bug 1109165 - "Remove lock screen widget" [r=mark.finkle] 2014-12-15 10:02:00 -08:00
Chenxia Liu 6f4f1675d2 Bug 1093619 - Don't display onboarding screen for Webapp profiles. r=margaret 2014-11-11 18:49:51 -08:00
Chris Kitching 5d126e171c 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
Chenxia Liu 1f68115fac Bug 1059792 - Launching Firefox for the first time through an external intent should not display First Run experience. r=margaret 2014-10-08 17:10:03 -07:00
wesj 69db3f5f76 Bug 1074340 - Keep proguard from changing the access level of createGuestProfile. r=bustage CLOSED TREE 2014-10-08 13:30:38 -07:00
Richard Newman 0b047ad144 Bug 1074340 - Don't initialize guest profile more than once. r=wesj 2014-10-08 11:43:14 -07:00
Jim Chen f01182759b Bug 1062377 - Lock profile and use separate LocalBrowserDB instance for initializing new profile; r=rnewman 2014-09-30 18:19:26 -04:00
Wes Johnston 60df9fc986 Bug 815682 - Lockscreen widget for guest sessions. r=bnicholson, rnewman 2014-09-10 16:32:14 -07:00
Wes Johnston 89a898e347 Bug 897711 - Show a notification when in a guest session. r=bnicholson 2014-09-16 20:22:41 -07:00
Ryan VanderMeulen 928f45cec4 Backed out 2 changesets (bug 815682, bug 897711) for Android S4 failures.
Backed out changeset 14f00ee7be7d (bug 897711)
Backed out changeset 3de21c283716 (bug 815682)
2014-09-10 22:00:26 -04:00
Wes Johnston b92d60cd11 Bug 897711 - Show a notification when in guest mode. r=bnicholson 2014-09-10 16:32:22 -07:00
Wes Johnston 6cc9871409 Bug 815682 - Lockscreen widget for guest sessions. r=bnicholson, rnewman 2014-09-10 16:32:14 -07:00
Mark Finkle cebc6bd05e Bug 1061430 - Change SharedPreferences.Editor commit() to apply() where appropriate (GeckoProfile.java) r=rnewman 2014-09-03 02:00:42 -04:00
Wes Johnston e5a944436e Bug 1045274 - Basic tests for GeckoProfile. r=rnewman 2014-08-25 16:19:16 -07:00
Chenxia Liu e2d899db14 Bug 1042809 - Part 2: Add entrypoints for lightweight first-run. r=lucasr 2014-08-21 17:18:42 -07:00
Chris Kitching 6c49e51198 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Richard Newman 9658db470a Bug 1040806 - Default bookmark favicons are not displayed after browser restart. r=margaret 2014-07-21 12:30:45 -07:00
Richard Newman fd50cd85d7 Bug 1030770 - Initialize new guest mode profile directories. r=mfinkle 2014-07-03 19:37:27 -07:00
Richard Newman a590cb9c1d Bug 1016611 - Part 4: fix testBookmarksPanel. r=margaret 2014-06-20 07:41:05 -07:00
Richard Newman 8717d82816 Bug 1016611 - Part 3: basic thread safety in GeckoProfile. r=margaret 2014-06-20 07:41:05 -07:00
Richard Newman ef8f70848b Bug 1016611 - Part 1: don't process distribution files for webapp profiles. r=margaret 2014-06-16 16:07:43 -07:00
Wes Kocher 7e79b9defc Backed out changeset 62cce2cf895f (bug 1016611) for causing Android bustage on a CLOSED TREE 2014-06-16 17:41:28 -07:00
Richard Newman dc7847ec4d Bug 1016611 - Don't process distribution files for webapp profiles. r=margaret 2014-06-16 16:07:43 -07:00
Myk Melez 7f6b34df45 Bug 991394 - actually rename profiles.ini sections when removing profile; r=mfinkle 2014-05-21 08:12:51 -07:00
Mark Finkle dc67630a64 Bug 1008645 - Add UI telemetry for First-run r=bnicholson 2014-05-12 18:16:51 -04:00
Lucas Rocha aa31f389ef Bug 940575 - Implement scopes for SharedPreferences (r=rnewman) 2014-04-01 15:02:14 +01:00
Wes Johnston 83eca09557 Bug 896109 - Don't log null dir requests in GeckoProfile.java. r=mfinkle 2014-03-26 10:47:15 -07:00
Richard Newman f14b8ae979 Bug 707123 - Part 1: refactor GeckoProfileDirectories out of GeckoProfile. r=nalexander 2014-03-03 15:27:42 -08:00
Wesley Johnston a8fe6d77a8 Bug 957131 - Synced bookmarks appear in guest mode but not in default profile. r=rnewman 2014-01-14 21:45:59 -08: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
Richard Newman de59ea4e5c Bug 953993. 2014-01-03 14:48:28 -08:00
Brian Nicholson d9b2fbbbd8 Bug 937945 - Don't store Context in GeckoProfile. r=rnewman 2013-11-15 22:53:53 -08:00
Brad Lassey 57f00f50d7 bug 930070 - GeckoView should handle not having fennec-specific classes r=mfinkle 2013-10-23 18:33:56 +02:00
Mark Finkle 59cea1798e Bug 927451 - GeckoView profile folder is not created r=blassey r=wesj 2013-10-16 17:02:39 -04:00
Brian Nicholson 2a50012bea Bug 896281 - Part 2: Remove Sync pref for guest session. r=wesj 2013-09-19 13:40:48 -04:00