Commit Graph

1063 Commits

Author SHA1 Message Date
Jim Chen
29d7e30fb8 Bug 1197957 - Let GeckoView open the nsWindow instead of CLH; r=snorp
Currently, BrowserCLH opens a single new window on startup. Now that
GeckoView is able to open windows through GeckoView.Window, we should
make GeckoView open its own window, which we can do earlier in startup,
and will make it possible to support multiple GeckoView's down the road.
2015-09-21 10:13:32 -04:00
Martyn Haigh
22349a42c7 Bug 1195721 - Set a home page; r=mfinkle 2015-09-14 14:21:14 +01:00
Mark Finkle
69b1e0fc9c Bug 1198009 - Add support to BrowserHealthRecorder for managing active experiment list into ProfileInformationCache r=rnewman 2015-09-12 19:26:45 -04:00
Jim Chen
a7ca9c8efb Bug 1195496 - Move speculative connection from CLH to GeckoApp; r=snorp
Moving speculative connection from CLH to GeckoApp allows us to start
the speculative connection very early in the startup process rather
than later in startup.
2015-08-19 18:14:47 -04:00
Sebastian Kaspari
ad847c3e3b Bug 1189347 - RestrictedProfileConfiguration: Cache restrictions to avoid unnecessary disk reads. r=ally,rnewman 2015-08-21 12:14:12 +02:00
Pawel Golinski
cbe76a14b5 Bug 1171929 - When sharing selected text, also include the current page URL, r=margaret 2015-08-13 18:31:53 -04:00
Martyn Haigh
4e4057079f Bug 1194199 - Enable Tab Queue on Aurora; r=sebastian 2015-08-13 14:31:10 +01:00
Jim Chen
cea34e4151 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
Sebastian Kaspari
c713c67928 Bug 1184190 - Send RESTRICTED startup action when restricted profile is used. r=mfinkle 2015-08-09 19:58:43 +02:00
Chenxia Liu
ed50c7f412 Backed out 2d12d2f2f450 (bug 1138560) for duplication. r=dupe DONTBUILD 2015-08-03 18:30:52 -07:00
Mark Finkle
c9db446049 Bug 1183724 - Add more complete telemetry coverage of GeckoApp startup actions r=margaret 2015-07-16 17:41:47 -04:00
Alexander Ploner
2ff789ac5c Bug 1138560 - Add telemetry for web pages launched from home screen shortcuts. r=liuche 2015-07-13 18:47:45 +02:00
J. Ryan Stinnett
7b08ff9ae6 Bug 1180996 - Remote debugging via WiFi for Android. r=margaret 2015-07-09 10:36:29 -05:00
Geoff Brown
1c6df04bbd Bug 1085591: Move most initialization off of onWindowFocusChanged; r=mhaigh 2015-07-02 15:24:29 -06:00
Eugen Sawin
2a77fc5f6c Bug 1170886 - Suppress WakeLock linter warning for non-function-local locks. r=mcomella 2015-06-29 14:28:11 +02:00
vivek
8327c2c344 Bug 822979 - Bookmark popup notification improvements. r=margaret 2015-05-07 15:07:00 +02:00
Wes Kocher
16029d02b5 Merge fx-team to m-c a=merge 2015-05-14 15:34:39 -07:00
Martyn Haigh
e9dd03bcb4 Bug 1159752 - Visible and selected tab incorrect when tab queue loaded and Fx isn't loaded (r=mcomella) 2015-05-14 14:04:04 +01:00
Michael Comella
7c0556848e 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.
2015-05-11 11:11:18 -07:00
Michael Comella
d632ee27c0 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).
2015-05-01 15:04:07 -07:00
Jim Chen
03f32740e6 Bug 1158309 - Initialize LayerView sooner; r=snorp 2015-04-30 13:01:01 -04:00
Jim Chen
13c9dceb1e Bug 1150693 - Initialize GeckoThread before registering GeckoApp events before launching Gecko; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen
22624920de Bug 1150693 - Register Gecko:Ready earlier in GeckoApp; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen
dcb23a62f6 Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen
d3b4ff35a7 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen
ca630fc55f Bug 1072529 - Only create GeckoEditable once; r=esawin 2015-04-15 15:21:32 -04:00
Andy Pusch
7bee678e63 Bug 1149799 - Move 'Sanitize:ClearHistory' message handler out of GeckoApp. r=margaret 2015-04-13 14:32:00 -04:00
Andy Pusch
231fd499e3 Bug 1139379 - Rename "Form & search history" to "Form history" and add "Search history" under clear private data. r=margaret 2015-03-30 14:20:00 -04:00
Martyn Haigh
cb59cf39df Bug 1146589 - Ensure that tab opened with "open now" action is selected and visible when fennec loads (r=mcomella) 2015-03-30 10:45:03 +01:00
dominique vincent
c80a5883a2 Bug 1134338 - Move ZoomedView inflate in BrowserApp. r=mcomella 2015-02-20 00:16:22 +01:00
Andy Pusch
e337d699c1 Bug 1134015 - Fixes broken button toasts. r=margaret 2015-02-17 15:42:05 -08:00
Andy Pusch
8fc268c9fa Bug 1099500 - Removes the if clause that prevented the release of callback data on ReasonHidden.TOUCH_OUTSIDE and ReasonHidden.REPLACED. r=margaret 2015-02-12 11:12:24 -08:00
Eugen Sawin
b3ab247326 Bug 792992 - Delay update service start. r=rnewman 2015-02-09 20:41:43 +01:00
Eugen Sawin
97bfee226c Bug 792992 - Refactor update service. r=snorp 2015-02-02 18:35:11 +01:00
wesj
5a09cb8548 Bug 909434 - Add ability to drag urlbar, preffed off. r=wesj 2015-01-29 10:43:40 -08:00
dominique vincent
f490139c31 Bug 1117796 - Add zoomed view in a ViewStub and inflate it only with Nightly build. r=mcomella 2015-01-06 14:19:25 +01: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
Mark Finkle
98f8a492a4 Bug 937253 - Make pinned tabs work for Homescreen shortcuts r=bnicholson 2015-01-07 23:53:28 -05:00
Mark Finkle
35dd4aa605 Bug 937253 - Remove old unused WebApp code paths r=wesj 2015-01-07 23:52:31 -05:00
Pierpaolo Calligaris
feee050a3d Bug 1116525 - Remove unused local variables in TextSelection, r=margaret 2015-01-05 19:49:25 -05:00
Jim Chen
35e2ad27cd Bug 1078304 - Call GeckoAppShell.setLayerView early; r=snorp a=topcrasher,tracking-firefox35 2014-10-22 12:51:43 -04:00
Mark Capella
2d43a34363 Bug 1106800 - Rename Selection Handle Names, r=margaret 2014-12-30 16:42:17 -05:00
Wes Kocher
635e154f17 Merge m-c to fx-team a=merge 2014-12-29 17:35:54 -08:00
James Willcox
bea5ae84f9 Bug 1062758 - Try to shutdown gracefully on Android r=mfinkle 2014-12-29 14:04:22 -06:00
Wes Johnston
aafaba876c Bug 1064669 - Use a Viewless Fragment for managing MediaPlayer lifecycle. r=mfinkle 2014-09-19 16:55:18 -07:00
Richard Newman
651ddb739c Bug 1115075 - Part 0: rename HistogramAdd -> addToHistogram. r=mfinkle 2014-12-23 12:58:28 -08:00
Chris Kitching
89b8b2e352 Bug 1081389: Stop overriding abstract methods with more abstract methods. r=rnewman 2014-10-11 00:04:25 +01:00
Richard Newman
526f6d98a5 Backed out changeset 93840f9b5af8 (bug 909434) for causing five new bugs. 2014-12-22 12:40:32 -08:00