Граф коммитов

20362 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Jan Henning 88f8f117d7 Bug 1274390 - Include isPrivate and desktopMode in the session store data used for initialising new tabs. r=sebastian
Restoring a tab from the Recent Tabs panel, which goes via the session store's _restoreTabs() function and ultimately via BrowserApp.addTab() and a Tab:Added message back to the Java UI requires the value for isPrivate to be present in the session store data for the respective tab - if it isn't, we end up sending isPrivate as "undefined", which breaks the process of adding the new tab in our UI.

When the session store collects the full tab data for a browser, it always includes the values for isPrivate and desktopMode, therefore we now include those values in the basic session store data we use in initialising a new tab object, too.

MozReview-Commit-ID: 5BZ9PL7xDWA

--HG--
extra : transplant_source : %01%8B%E7%1Asg%FF%D8%DC%07%21Ly%F4%9A9Q%B9%00O
2016-05-21 19:41:07 +02:00
Bhavin Dave 1dd6ff80f3 Bug 893836 - Update Android menu contents to sentence case. r=margaret 2016-05-23 09:20:00 -04:00
Andrzej Hunt 82b51acd43 Bug 1246159 - Add histogram probe for disk space used by reader view cache r=mcomella
MozReview-Commit-ID: 4r1yvWZ4lid

--HG--
extra : rebase_source : 7e7e66460409e51884e409713db2b7b30d88d48f
2016-05-12 13:37:58 -07:00
Andrzej Hunt 177caafc15 Bug 1246159 - Pre: implement SavedReaderViewHelper.getBytesUsed r=mcomella
MozReview-Commit-ID: EJ81q6f515q

--HG--
extra : rebase_source : 98902d97e0495d132be3eaffb6ba36a2a7a8a10b
2016-05-24 15:01:17 -07:00
Andrzej Hunt 2b97ce68b0 Bug 1246159 - Pre: import cleanup r=me
MozReview-Commit-ID: 9PxTKEV2pH5

--HG--
extra : rebase_source : 3f54b9697a8b69c8dcf42a93e93e89d2009dbb9c
2016-05-23 08:11:42 -07:00
Andrzej Hunt c1794a0e7c Bug 1267467 - Strip about:reader when storing URIs in history r=margaret
MozReview-Commit-ID: JbUBMVNFdU9

--HG--
extra : amend_source : 5f2a41567dd1155188e09f691ae6099892ea3a09
2016-05-10 15:33:33 -07:00
Ray Lin e084e2d68f Bug 1091241 - Make add-on details look like a page. r=Margaret
MozReview-Commit-ID: CrTHzKYrxU6

--HG--
extra : rebase_source : 074cf6cc004811f389c02efcb314e9972e0791d4
2016-05-12 14:43:50 +08:00
James Willcox f583ffbc0e Bug 1270522 - Guard against a null view in GeckoLayerClient.sendResizeEventIfNecessary(). r=rbarker
--HG--
extra : rebase_source : 4bd7b70151e4593391b91e41eeb5c9f8532feef1
2016-05-23 06:41:00 -04:00
Mike Hommey b47ba46ecf Bug 1274497 - Avoid running adb every time we run make on Android builds. r=gps
As seen in bug 1274273, the build system is running adb uselessly.
Moreover, on automation, adb doesn't even run, because it requires a
more recent glibc than available, adding confusing error messages to the
logs.
2016-05-25 08:43:49 +09:00
Andrzej Hunt 21ccc189ed Bug 1267467 - Don't filter out reader view pages when storing history r=jchen
MozReview-Commit-ID: VnQuAMAkBL

--HG--
extra : amend_source : 02ed08bd5febc68ea63ff067009d3f1782686088
2016-05-06 13:46:24 -07:00
Andrzej Hunt da861c32d2 Bug 1270880 - Make first reader-view prompt independent of first reader-view-bookmark prompt r=sebastian
MozReview-Commit-ID: 34MmPdoZCzL

--HG--
extra : rebase_source : 8bc9e24c1bd3e3198beaccdd65f87acd6973ea9e
extra : amend_source : d5a16a28549e65ea1336bbf8b1ec48ad5a27cc88
extra : histedit_source : 3d2d17a2406a8d23c53a956884c03ad626db7953
2016-05-10 10:50:06 -07:00
Andrzej Hunt 52a27309a0 Bug 1270880 - Show bookmarking helper UI first time reader view is used r=sebastian
Note: this is currently an experiment, which was previousl de-facto disabled.

MozReview-Commit-ID: 3BfyMD6E3b3

--HG--
extra : rebase_source : 60513a9e78ab88c51f5c28f6ac8d26d0c52b72b7
extra : histedit_source : ff3c66aa8740df5c0fc873f60adb16819265a431
2016-05-10 10:36:47 -07:00
Andrzej Hunt b002b31088 Bug 1270880 - Check switchboard when showing experiment, not in onCreate r=sebastian
Switchboard might not have any data during onCreate, instead we should query
switchboard when actually deciding whether to show the prompt.

MozReview-Commit-ID: DdulFoWHiF9

--HG--
extra : rebase_source : 0f47a6ae7bccbe0b6ccd88396aa6467df9945ba6
extra : histedit_source : 092b80cf6b096b5b175c24f5d35377aecceaf168
2016-05-10 10:58:22 -07:00
Andrzej Hunt 4ac8128302 Bug 1270880 - Pre: import cleanup r=me
MozReview-Commit-ID: 5dcnr3WZ3Me

--HG--
extra : rebase_source : a0ffda2f98ff50227b8edfcc5b0df30acaccea8d
2016-05-10 10:37:02 -07:00
Michael Comella fc9ec09c75 Bug 1269924 - Move telemetry upload to NetworkUtils.isConnected. r=grisha
The concept of "background data" (as it exists in the Android options menu)
doesn't exist in the Android APIs - I think it should be covered under
isConnected. Thus, I removed our `isBackgroundDataEnabled` method.

One other network consideration, however: we may want to consider stopping
uploads on roaming.

In the previous implementation, we did not queue the ping for upload if
the network was not connected (in order to conserve disk space). However,
this doesn't allow us to see all of the days the user interacted with
the device (e.g. for engagement) so in this implementation, we always
queue the ping and stop in the UploadService if we're not connected.

MozReview-Commit-ID: 1mjnHq3l7Jj

--HG--
extra : rebase_source : 4640aad21783f8e8edc568ea341a6e910a066d01
2016-05-19 11:54:54 -07:00
Michael Comella ee1be4d654 Bug 1268606 - Correct action bar style for url bar. r=liuche
MozReview-Commit-ID: 7mCwUzR7rqE

--HG--
extra : rebase_source : 59a68f638154b2f9b722a79a6238a47a74262657
2016-05-23 19:15:46 -07:00
Carsten "Tomcat" Book 3cab03a461 Merge mozilla-central to fx-team 2016-05-24 15:15:55 +02:00
Carsten "Tomcat" Book cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Michael Comella 252b6ec614 Bug 1274727 - Use toString method for search engine identifiers. r=bnicholson
These values are what are actually used UI telemetry (perhaps because the enums were added after the strings?). They're also a little less obnoxious than the enum names.

MozReview-Commit-ID: K5i2Hr4DR4J

--HG--
extra : rebase_source : 5750fe71960616ad8014b473c6a5d99c2d3b2dc3
2016-05-23 15:26:26 -07:00
Michael Comella f42408cb87 Bug 1274433 - Construct TelemetryDispatcher on background thread. r=ahunt
MozReview-Commit-ID: 6H5Wp4uzNQb

--HG--
extra : rebase_source : 108d30fed9802bf7e2bfb3d35aca1126c808e1b6
2016-05-20 18:00:22 -07:00
Jim Chen 7ff874f7ba 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 236d468faf Bug 1270870 - Fix testGeckoProfile; r=snorp
Fix testGeckoProfile to compile and pass following the guest profile
changes.
2016-05-24 01:11:16 -04:00
Jim Chen 635b1b611a 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 b2f8c1d77f 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 953c2c7b71 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 9159053a5b 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 2c5e3332f6 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 cd71b8ee5b Bug 1264599 - "GeckoPreferences: Remove CheckBoxPrefSetter and TwoStatePrefSetter". r=sebastian 2016-05-23 03:41:00 +02:00
Victor Ng 649e0d92c0 Bug 1272057 - "API17 guard is required to use Location::getElapsedRealtimeNanos()". sr=hschlichting
--HG--
extra : rebase_source : 94560988dd664c9ae2d680c6f5963e951967fdd5
2016-05-19 13:27:00 +02:00
Nick Alexander 3eed392f10 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

--HG--
extra : rebase_source : 3b817c815043e0339e65125f6d6963ddd3f4570e
2016-05-23 13:42:09 +02:00
Sebastian Kaspari 68ecc4e66c Bug 1271352 - Update static catalog to match online version. r=margaret
MozReview-Commit-ID: 9ZKk95zHmrd

--HG--
extra : rebase_source : c9d3eedaccfcbe49118a102af9acea4072d59c01
extra : histedit_source : eb8f7a3a9b0ccf4fdaf0d627975d9810c67ff87e
2016-05-16 10:15:18 -07:00
Sebastian Kaspari 7d64948770 Bug 1271352 - DLC Sync: Update kinto endpoint and CDN base domain. r=margaret
MozReview-Commit-ID: 8TbsANSzpZZ

--HG--
extra : rebase_source : b28399a5da495258a8abc67c01dc90e9803a6a01
extra : histedit_source : a1e41e7779f9701f11dc31b37296a4929632d9be
2016-05-16 09:59:14 -07:00
Sebastian Kaspari e670771049 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

--HG--
extra : rebase_source : d23c2d2d2392be9ae6e9fdaf8d560d5af07f387d
2016-05-13 10:57:57 +02:00
billel 02e5be4023 Bug 1271577 - FloatingToolbarTextSelection: Remove Log.w() call. r=sebastian
MozReview-Commit-ID: CQPeFsjJmfk

--HG--
extra : amend_source : 899352c7894660d068f746b3d64affd5167d14a1
2016-05-23 09:56:04 +02:00
Grigory Kruglov d5ec6fbd7b Bug 1258428: If activity is active, always listen for network status updates r=sebastian
MozReview-Commit-ID: HwTmnOReUBb

--HG--
extra : rebase_source : d12318a244bada2ce5c648662305437ba96e8f34
2016-05-06 17:31:52 -07:00
Andrzej Hunt 8a222627a2 Bug 1267580 - Hide Reading List smartfolder if empty r=mcomella
MozReview-Commit-ID: HIGkK9Z19aq

--HG--
extra : amend_source : ad64e390ccacfd5f4f725d587dc396d511804ae7
2016-05-18 08:59:56 -07:00
Andrzej Hunt 5d2d2e7bf7 Bug 1272659 - Revert additional padding for the share icon r=mcomella
We were experimenting with this on phones, however we decided this
was unnecessary.

MozReview-Commit-ID: LSJILxFO3a

--HG--
rename : mobile/android/base/resources/drawable-hdpi/ic_menu_share_icon.png => mobile/android/base/resources/drawable-hdpi/ic_menu_share.png
rename : mobile/android/base/resources/drawable-xhdpi/ic_menu_share_icon.png => mobile/android/base/resources/drawable-xhdpi/ic_menu_share.png
rename : mobile/android/base/resources/drawable-xxhdpi/ic_menu_share_icon.png => mobile/android/base/resources/drawable-xxhdpi/ic_menu_share.png
extra : rebase_source : a889bf9e1faf5c3c894c28950e8ef7654f38fbb1
extra : amend_source : 130383a287249d0b67701b7d6a1815c7c88fbc5c
2016-05-18 10:13:32 -07:00
Wes Kocher fa48509cda Merge fx-team to central, a=merge 2016-05-20 14:14:00 -07:00
Ryan VanderMeulen 5337e6e882 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-19 21:43:31 -04:00
bzrd_Sdn 42695329a2 Bug 1266199 - Rename BrowserApp.searchEngineManager to mSearchEngineManager. r=mcomella 2016-05-19 21:38:38 -04:00
Ryan VanderMeulen 65843654f3 Merge m-c to fx-team. a=merge 2016-05-19 12:50:27 -04:00
Ryan VanderMeulen 4cffb5461e Merge inbound to m-c. a=merge 2016-05-19 12:46:54 -04:00
Michael Comella f089edd104 Bug 1243595 - Add session measurement hooks for record and retrieval. r=ahunt
MozReview-Commit-ID: AuZ6WEN6aCH

--HG--
extra : rebase_source : bd588a0a0b404aee3e8ef6c0798e42e86ad81917
2016-05-17 15:00:41 -07:00
Michael Comella 36ea09ba64 Bug 1243595 - Add session measurements to core ping builder & update version. r=ahunt
MozReview-Commit-ID: Erwd83PZ57k

--HG--
extra : rebase_source : 7279a86fc027a665f824b647fd8d8540d2b906f6
2016-05-17 17:13:35 -07:00
Michael Comella cd62b5cf48 Bug 1243595 - Add SessionMeasurements and tests. r=ahunt
MozReview-Commit-ID: NEKDPblKEE

--HG--
extra : rebase_source : d1a75c6ad5c202718a785b4b99dda27d1a08b7b9
2016-05-17 14:56:00 -07:00
Michael Comella d6c3b6486a Bug 1274051 - Only log telemetry in non-release builds. r=grisha
MozReview-Commit-ID: LXTWSIrSvob

--HG--
extra : rebase_source : 51791b3812d4fc51dbec8cde5ded1b2dc6ab3c12
2016-05-18 14:42:46 -07:00
Michael Comella f1b4c6dac0 Bug 1274052 - Log search engine identifier as extra. r=grisha
For privacy, custom search engines are "other".

MozReview-Commit-ID: GTM7d9k8JFZ

--HG--
extra : rebase_source : c7a1f8ba5694bb05680ea768110eb346dae91be0
2016-05-18 14:54:51 -07:00
Jan Henning fda3775237 Bug 1270543 - Part 2: Enable choosing an app by double tapping in the download prompt. r=liuche
This tells the app chooser dialog that appears when downloading a file to use the "Just once" button when two successive taps in a row on the same app have been detected.

MozReview-Commit-ID: Iejs1ROvt6n

--HG--
extra : transplant_source : %D3Y%C4%5D%DB%BC%26%C1Tr%8D%82%1Cmy%A5B%08g%D8
extra : histedit_source : e0e0eb9e7d0a64d86384515c2d93ac527d45e967
2016-05-05 19:01:05 +02:00
Jan Henning 222df1171c 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

--HG--
extra : transplant_source : %85Td%83%0D%DD%D0%1D%F48a%5D%A0%CF%B4%A5%CE%5E%22%7E
extra : histedit_source : 190cf52e481b637172ea3b49ccec606f31dc86cf
2016-05-17 22:52:59 +02:00