Commit Graph
2909 Commits
Author SHA1 Message Date
Michael Comella 97128f7506 Bug 1274433 - Construct TelemetryDispatcher on background thread. r=ahunt
MozReview-Commit-ID: 6H5Wp4uzNQb
2016-05-20 18:00:22 -07:00
Jim Chen 58b120f4d4 Bug 1270870 - Check profile when delivering pending push message; r=nalexander
For pending push messages, we used to check for correct profile when the
message is received, but it's better to check for correct profile when
the message is delivered to Gecko.

This fixes a crash in headless mode that the previous patches
introduced.
2016-05-24 01:11:16 -04:00
Jim Chen 4808abc3f7 Bug 1270870 - Use shared prefs to keep guest mode setting; r=snorp
This patch restores the previous behavior of restoring to guest mode if
Fennec is killed during a guest session. Instead of using a separate
lock file or an Intent argument, this patch uses shared prefs to keep
the guest mode setting.

The patch also introduces the behavior that, for headless mode, the
profile must agree with the guest mode setting. For example, in guest
mode, push messages under a regular profile will not be processed; this
is necessary to avoid profile mismatches.
2016-05-24 01:11:16 -04:00
Jim Chen 51a909d479 Bug 1270870 - Simplify guest profile management; r=snorp
Treat the guest profile as a custom profile with a special profile
directory. This lets us get rid of a lot of the guest profile handling
code. This patch does not attempt to restore to guest mode if Fennec is
killed during a guest session. A later patch will fix that behavior.

Patch renames GeckoProfile.getFromArgs to GeckoProfile.initFromArgs,
because the method now has possible side-effects (i.e. deleting stale
guest profiles). The new name also differentiates the method from the
GeckoProfile.get family of methods. initFromArgs now always returns a
profile (using the default profile if necessary), to make it easier for
its callers.
2016-05-24 01:11:16 -04:00
Jim Chen f2a596ed29 Bug 1270870 - Create specified profile directory if necessary; r=snorp
When getting a profile with a specific profile directory, we used to
require the directory to already exist. This patch makes sure the
directory is created if necessary. It lets us treat the guest profile as
an ordinary custom profile at a specific location.
2016-05-24 01:11:16 -04:00
Jim Chen a08654a95c Bug 1270870 - Don't get profile in GeckoApp when launching; r=snorp
Let GeckoThread manage the active profile, and don't get the profile in
GeckoApp. This also avoids possible main-thread IO.
2016-05-24 01:11:16 -04:00
Cesar Valiente b56a793b34 Bug 1272506 - Change GeckoApp.ONE_DAY_MS to be initialized with the TimeUnit class. r=mcomella 2016-05-14 11:42:04 +02:00
guillaume bd8dd1d58d Bug 1264599 - "GeckoPreferences: Remove CheckBoxPrefSetter and TwoStatePrefSetter". r=sebastian 2016-05-23 03:41:00 +02:00
Nick Alexander 763d618feb Bug 1274956 - Pre: Make it easier to test Adjust locally. r=mcomella
This does a few things.  First, it makes non-official builds use the
Adjust sandbox.  Second, I observe that the fake sandbox key no longer
sends anything, so it's no longer valuable; this patch instead
requires an Adjust token if install tracking is enabled, since we
can't provide a default any more.  Third, it removes a spurious
default in configure.in; without this default, builders can easily
enable Adjust locally using the following in their mozconfig:

ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk.keyfile
export MOZ_INSTALL_TRACKING=1

With the default, the "export" had no impact, because it was
overwritten immediately.

MozReview-Commit-ID: Cn62fmrgwJL
2016-05-23 13:42:09 +02:00
Sebastian Kaspari 98af648867 Bug 1271352 - Update static catalog to match online version. r=margaret
MozReview-Commit-ID: 9ZKk95zHmrd
2016-05-16 10:15:18 -07:00
Sebastian Kaspari fc55c9ca79 Bug 1271352 - DLC Sync: Update kinto endpoint and CDN base domain. r=margaret
MozReview-Commit-ID: 8TbsANSzpZZ
2016-05-16 09:59:14 -07:00
Sebastian Kaspari 52c6cb3df2 Bug 1272340 - ToolbarDisplayLayout: Handle about:reader URLs. r=margaret
This patch changes two things:
* Check if the URL is http/https after stripping the about:reader URL.
* Always call updateAndColorTitleFromFullURL() as fallback for URL formatting (like in previous versions)

MozReview-Commit-ID: 1Zgf12FsOQe
2016-05-13 10:57:57 +02:00
billel 7e0933ff1e Bug 1271577 - FloatingToolbarTextSelection: Remove Log.w() call. r=sebastian
MozReview-Commit-ID: CQPeFsjJmfk
2016-05-23 09:56:04 +02:00
Grigory Kruglov 4c40da0925 Bug 1258428: If activity is active, always listen for network status updates r=sebastian
MozReview-Commit-ID: HwTmnOReUBb
2016-05-06 17:31:52 -07:00
Andrzej Hunt 47dfc983d1 Bug 1267580 - Hide Reading List smartfolder if empty r=mcomella
MozReview-Commit-ID: HIGkK9Z19aq
2016-05-18 08:59:56 -07:00
bzrd_Sdn 8a71111a27 Bug 1266199 - Rename BrowserApp.searchEngineManager to mSearchEngineManager. r=mcomella 2016-05-19 21:38:38 -04:00
Ryan VanderMeulen c6733f96d1 Merge m-c to fx-team. a=merge 2016-05-19 12:50:27 -04:00
Ryan VanderMeulen d50afc71ca Merge inbound to m-c. a=merge 2016-05-19 12:46:54 -04:00
Michael Comella 5a307f1a70 Bug 1243595 - Add session measurement hooks for record and retrieval. r=ahunt
MozReview-Commit-ID: AuZ6WEN6aCH
2016-05-17 15:00:41 -07:00
Michael Comella 2e8f0e893c Bug 1243595 - Add session measurements to core ping builder & update version. r=ahunt
MozReview-Commit-ID: Erwd83PZ57k
2016-05-17 17:13:35 -07:00
Michael Comella 57911e0757 Bug 1243595 - Add SessionMeasurements and tests. r=ahunt
MozReview-Commit-ID: NEKDPblKEE
2016-05-17 14:56:00 -07:00
Michael Comella 143af7123c Bug 1274051 - Only log telemetry in non-release builds. r=grisha
MozReview-Commit-ID: LXTWSIrSvob
2016-05-18 14:42:46 -07:00
Michael Comella 7ce2a86597 Bug 1274052 - Log search engine identifier as extra. r=grisha
For privacy, custom search engines are "other".

MozReview-Commit-ID: GTM7d9k8JFZ
2016-05-18 14:54:51 -07:00
Jan Henning 0b7a9433f1 Bug 1270543 - Part 1: Enable double tapping to select an action in the prompt dialog. r=liuche
On newer Android versions, double tapping an entry in the app chooser is equivalent to tapping it once and selecting "Just once". To enable this functionality for our own app chooser when downloading a file, this patch enables passing a button index to the prompt dialog which will be chosen by default if a double tap has been detected.

To do this, we track the input value we receive in onChange. If we receive the same value twice in a row and a button has been configured, we close the dialogue and pass the result with that button back to the caller.

MozReview-Commit-ID: EVs2x3OtHmB
2016-05-17 22:52:59 +02:00
Jan Henning a518e0b04e Bug 1270543 - Part 0: Fix whitespace. r=liuche
MozReview-Commit-ID: IDsOmws3eWB
2016-05-17 21:26:33 +02:00
Michael Comella de0e96a2f3 Bug 1261210 - Rename omg.mozglue.ContextUtils -> omg.mozglue.SafeIntentUtils. r=mcomella
MozReview-Commit-ID: 99kZNBPmqes
2016-05-18 15:48:07 -07:00
Michael Comella 4989721251 Bug 1273686 - Don't crash on invalid sequence number argument in core ping. r=ahunt
MozReview-Commit-ID: A2nNBgQz5yr
2016-05-17 17:10:56 -07:00
Michael Comella 72d4dee51f Bug 1272431 - Do not use API 19+ method for FileLastModifiedComparator. r=ahunt
MozReview-Commit-ID: 7lN0mJgWYg5
2016-05-16 18:48:42 -07:00
Michael Comella 27ce0ce904 Bug 1272431 - Return pings from getAllPings in guaranteed order. r=ahunt
MozReview-Commit-ID: GDju0fOGATj
2016-05-16 18:45:32 -07:00
Michael Comella 783127e393 Bug 1272431 - Correct order errors in maybePrunePings tests. r=ahunt
MozReview-Commit-ID: CQKjiD5PomF
2016-05-16 18:43:59 -07:00
Grigory Kruglov 3196212ad2 Bug 1271318 - Don't keep context in GeckoNetworkManager, and get it from GeckoAppShell r=mcomella
MozReview-Commit-ID: DX4GOca5IoO
2016-05-16 14:41:09 -07:00
Andrzej Hunt 1cae7e1d0f Bug 1271428 - Use CardView for main menu r=sebastian
MozReview-Commit-ID: BCZ3tmgqY0z
2016-05-09 15:18:07 -07:00
Dylan Roeh e643c94b11 Bug 1262536 - Report minidump success/failure in CrashReporter. r=snorp 2016-05-17 15:53:15 -05:00
Jim Chen bbdd84d17d Bug 1272557 - Delay initializing PushService and DLC; r=snorp
Delay initialization of PushService and DLC in GeckoApplication to after
the Gecko:Ready message. That way, hopefully they give up some CPU time
to other initialization tasks.
2016-05-27 14:29:46 -04:00
SUN Haitao 8e77aec824 Bug 1252650 - Add a 'data' parameter to GeckoThread.createServices. r=kit 2016-04-16 14:19:37 +08:00
Wes Kocher cfe6809dd4 Merge m-c to fx-team, a=merge 2016-05-17 14:18:01 -07:00
Wes Kocher e1a7d9f8c5 Merge fx-team to central, a=merge 2016-05-17 14:15:06 -07:00
Chenxia Liu f5a6421ef9 Bug 1268647 - Add control. r=sebastian
MozReview-Commit-ID: DRWiGxPDFXC
2016-05-11 17:22:31 -07:00
Chenxia Liu a5c4a35d4a Bug 1268647 - Add Tab queue panel. r=sebastian
MozReview-Commit-ID: wac02N7Lh6
2016-05-10 20:46:58 -07:00
Chenxia Liu a6232570a6 Bug 1268647 - Add new sync slide. r=sebastian
MozReview-Commit-ID: 69YpFgmIN80
2016-05-10 19:52:30 -07:00
Chenxia Liu a886f87e9d Bug 1268647 - Add new basic slides. r=sebastian
MozReview-Commit-ID: AA7FWPiSTsc
2016-05-10 19:17:40 -07:00
Chenxia Liu 96da7b6931 Bug 1268647 - Add Switch to layout. r=sebastian
MozReview-Commit-ID: 1CCXAzqVVvO
2016-05-10 17:24:08 -07:00
Chenxia Liu ce66517586 Bug 1268647 - Remove obsolete firstrun. r=sebastian
MozReview-Commit-ID: JCXn9wLMhcV
2016-05-11 17:22:42 -07:00
Michael Comella 16b7aa2fbd Bug 1253319 - Increment core ping version number. r=me
I forgot to do this in landing the initial patch series.

MozReview-Commit-ID: 1nJ7z4y3q75
2016-05-16 15:51:35 -07:00
Andrzej Hunt 3719af4ea2 Bug 1259078 - Post: remove unneeded reading list panel resources and code r=liuche
MozReview-Commit-ID: Yoghq4MQRc
2016-05-04 15:35:57 -07:00
Andrzej Hunt 0bf062cf29 Bug 1259078 - Remove reading list panel from HomePanels r=liuche
MozReview-Commit-ID: C09O3sOmpxq
2016-05-04 15:35:50 -07:00
Michael Comella 6ce82b32a5 Bug 1253319 - getAndZero search counts in core ping builder. r=sebastian
MozReview-Commit-ID: DlVnnKMyxDP
2016-05-11 15:47:07 -07:00
Michael Comella a1867a8d93 Bug 1253319 - Call incrementSearch in BrowserApp. r=sebastian
MozReview-Commit-ID: 26dHCmtsTUq
2016-05-11 16:45:53 -07:00
Michael Comella a7ed9a5f1c Bug 1253319 - Add SearchCountMeasurements & tests. r=sebastian
MozReview-Commit-ID: 1wRAG1oy1d
2016-05-12 17:06:43 -07:00
Michael Comella 817c09c05b Bug 1272817 - Return early if file is empty + regression test. r=sebastian
MozReview-Commit-ID: FPdDr2t1wEy
2016-05-13 18:14:25 -07:00