Commit Graph

20205 Commits

Author SHA1 Message Date
Andrzej Hunt
7bd1fdb79a Bug 1269774 - Fix padding for context menu icons r=sebastian
The icons in the first row require more padding. In the second
row the share icons should have more padding, but only on phones,
and all other icons should remain the same size. (On tablets
the share icon can be shown beside the bookmark star, hence
we use an inset drawable to add padding on phones, and then
provide an alternative 0-inset on tablets to avoid any changes
there.)

MozReview-Commit-ID: 54NzYtUpzuV


--HG--
rename : mobile/android/base/resources/drawable-hdpi/ic_menu_share.png => mobile/android/base/resources/drawable-hdpi/ic_menu_share_icon.png
rename : mobile/android/base/resources/drawable-xhdpi/ic_menu_share.png => mobile/android/base/resources/drawable-xhdpi/ic_menu_share_icon.png
rename : mobile/android/base/resources/drawable-xxhdpi/ic_menu_share.png => mobile/android/base/resources/drawable-xxhdpi/ic_menu_share_icon.png
2016-05-10 20:25:02 -07:00
Andrzej Hunt
e2fd29e204 Bug 1269774 - Fix bookmark star artifacts r=sebastian
These images were incorrectly saved, leading to the loss of the smooth
edges they should have. This commit replaces the edited bookmark stars
with higher quality versions.

MozReview-Commit-ID: 1Z8FfWrvl8H
2016-05-10 20:04:00 -07:00
Matthew Wein
29d46dc602 Bug 1267124 - Implement chrome.pageAction.show on Android. r=kmag, r=margaret
MozReview-Commit-ID: AOwfuuCfhRx

--HG--
rename : browser/components/extensions/extension.svg => mobile/android/components/extensions/extension.svg
rename : browser/components/extensions/schemas/page_action.json => mobile/android/components/extensions/schemas/page_action.json
extra : transplant_source : %13%D1%E2%3Ax3%12%C9%81%E9%1Ct%3E3T%9Br%E0%DBP
2016-04-27 19:06:24 -04:00
Wes Kocher
26012d19b7 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)

--HG--
rename : services/common/blocklist-clients.js => services/common/KintoBlocklist.js
rename : services/common/blocklist-updater.js => services/common/kinto-updater.js
rename : services/common/tests/unit/test_blocklist_clients.js => services/common/tests/unit/test_kintoAddonPluginBlocklist.js
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_kintoCertBlocklist.js
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_kinto_updater.js
2016-05-10 13:46:28 -07:00
Mathieu Leplatre
031d6fbdbb Bug 1266235 - Move blocklist preferences to all.js. r=MattN
Related:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1248557
* https://bugzilla.mozilla.org/show_bug.cgi?id=1259947

MozReview-Commit-ID: H2Eh1oqXeS1

--HG--
extra : transplant_source : %A0%96%22%DB%F3%19%8A%CF%A9%3B%FB%11%27%FB%E7%7B%BCzH%9F
2016-04-29 13:17:09 +02:00
Mathieu Leplatre
34370ce5a8 Bug 1266235 - Use blocklist prefix in preference names. r=Mattn
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : amend_source : bb232bb34c7a25abffac36531d5ab4d8e9c6c7af
extra : transplant_source : K%1A1d%EEc%8FY%030NRb%AFD%00.%40U8
2016-04-29 12:48:45 +02:00
Carsten "Tomcat" Book
e07e80ac43 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Michael Comella
9309f07f19 Bug 1271175 - Backed out changeset 537e8f7a4950 (bug 1258450) for crashes.
MozReview-Commit-ID: HL5glRsq6r9

--HG--
extra : rebase_source : 11b9a9706f1ce85e07a170786b85f630c79931a1
2016-05-09 16:01:03 -07:00
Jim Chen
eb7204d3b6 Bug 1269682 - Always detect guest mode first; r=margaret
Always check for guest mode even if we don't have arguments, because
we can still be in guest mode even if we don't have arguments.
2016-05-09 22:31:18 -04:00
Jim Chen
a66b611509 Bug 1269682 - Don't try to switch to guest profile; r=margaret
BrowserApp has a snippet that tries to restart in guest profile if we're
supposed to be in it, but are currently not. This is vestigial code from
lock screen widget support, and should not be needed anymore.
2016-05-09 22:31:18 -04:00
Jim Chen
af5e39288f Bug 1269682 - Guard against onPause being called without onResume; r=ahunt
When we try to restart Fennec immediately after launching Fennec, it's
possible for onPause to be called without a corresponding onResume being
called first. This patch guards against registering events twice due to
this quirk.
2016-05-09 22:31:18 -04:00
Eugen Sawin
5b93d93294 Bug 1268471 - [2.1] Remove doorhanger bug workround. r=esawin 2016-05-09 22:59:18 +02:00
Eugen Sawin
cc7d011af2 Bug 1268471 - [1.1] Restore doorhanger title after removal. r=liuche 2016-05-09 22:59:17 +02:00
Jorick Caberio
d2fafdf8d7 Bug 1264480 - Moved Distribution.ReadyCallback @WorkerThread annotation to the individual methods. r=mcomella
MozReview-Commit-ID: 9lG2SPyPyP9

--HG--
extra : rebase_source : 20993d9db129261fad804f4d417db9fb44169cb7
2016-04-14 18:13:52 +08:00
Andrzej Hunt
17a2b79f2f Bug 1060544 - Post: add comment explaining how our about:home restoration is incorrect r=liuche
MozReview-Commit-ID: 30Q2KEPFyKL

--HG--
extra : rebase_source : 5a23be37119b4c5247a31618302eea63a34e6923
2016-04-29 16:02:49 +02:00
Andrzej Hunt
361278d3d6 Bug 1060544 - Part 2: persist Bookmarks panel folder r=liuche
This allows us to restore the previously opened bookmarks folder when returning to
the bookmarks panel. I.e. when you open a bookmarks folder (including the smartfolders),
select a bookmark, and then return (via the back button, or quick-history via long-pressing
the back button), we will return to the bookmarks folder that was opened.

We don't persist the scroll position, that's a separate issue, in Bug 993552.

MozReview-Commit-ID: 3EhIvlXOgAU

--HG--
extra : rebase_source : 17e903622d20a922d46c1319191b051cf592a4c0
2016-05-09 09:47:46 -07:00
Andrzej Hunt
a3be820a38 Bug 1060544 - Part 1: allow persisting/restoring home panel state r=liuche
All home panel state is currently discarded when you navigate to another page.
We want to be able to restore state (e.g. to return to the currently opened bookmarks folder,
instead of returning to the root of the bookmarks folder). This commit adds storage and a framework
to allow homepanels to persist data.

MozReview-Commit-ID: GWDX7UZrIZs

--HG--
extra : rebase_source : d0959196e14496b7970ad14df39937c67013624f
2016-05-09 09:12:28 -07:00
Michael Comella
fdc4c5d445 Bug 1253338 - Increment core ping version number. r=ahunt
MozReview-Commit-ID: 4sKaJKagdPd

--HG--
extra : rebase_source : c6a7fc79b3faee3decf5f9f7041ca856ac640ddb
2016-05-06 15:28:17 -07:00
Michael Comella
10aa8212ff Bug 1253338 - Add creation date to core ping. r=ahunt
MozReview-Commit-ID: 69IGlq2Nohd

--HG--
extra : rebase_source : f8902386200f4c820e334fe16b5d3da45f8b7481
2016-05-05 11:43:26 -07:00
Michael Comella
932d3f86b6 Bug 1253338 - Add DateUtil.getTimezoneOffsetInMinutes*. r=ahunt
I initially wrote the "ForGivenDate" variant for testing purposes - so I could
verify the daylight savings time APIs worked the way I expected them to.
However, I ended up using it in my next patch and leaving in the generic "for
current time" variant because it seems useful.

MozReview-Commit-ID: 4hNGD4uDuOj

--HG--
extra : rebase_source : 56cd92c7ef95aa5ca54daa27d93f56a053f7b4df
2016-05-09 11:41:02 -07:00
Michael Comella
3db65a2f2d Bug 1268525 - review: Add test for non GMT time zone. r=me
MozReview-Commit-ID: 1VaPm3ywjZQ

--HG--
extra : rebase_source : 5990a97cfd517352604d2d7a45565f8e14048e6b
2016-05-09 11:20:08 -07:00
Michael Comella
d5cd4d33f2 Bug 1268525 - Add ping submission date to HTTP header. r=sebastian
The format we chose comes from Desktop - bug 1144778.

MozReview-Commit-ID: 9eXb78d70pM

--HG--
extra : rebase_source : 937e121be41bb587764029d8abcc72bd183e7328
2016-05-04 15:06:32 -07:00
Krishna
e9e6a3972d Bug 1209496 - DownloadContentService: Add proxy support. r=sebastian
MozReview-Commit-ID: 8FZpWG9cTVA

--HG--
extra : rebase_source : 2c28b3e8f65c442becee9e46ffcc01f7ada43db7
2016-05-09 19:26:57 +02:00
Andrzej Hunt
821ec6b348 Bug 1270348 - Favicon decoder can return null Bitmaps r=sebastian
MozReview-Commit-ID: LHcx3Ne5nLX

--HG--
extra : rebase_source : 3983b3dda75ae1c53bd97611adb6d48f1c62a0af
extra : amend_source : 00af0aac9f5679de478ad1df4a3f80b4e14ba896
2016-05-05 12:24:41 -07:00
Grigory Kruglov
c3628c3ef1 Bug 1270697: Set LOAD_FROM_CACHE flag when useCache==true, and unset it when useCache==false r=sebastian
MozReview-Commit-ID: Io7AchaTgnb

--HG--
extra : rebase_source : e6b7a93c90c7ba522e6ca4cf5f0e32028f46c82f
2016-05-06 16:11:32 -07:00
Grigory Kruglov
c37f23da81 Bug 1271020: Add a null check before acting upon applicationContext r=sebastian
Pre-rewrite code had a similar check

MozReview-Commit-ID: FGqPCOabkqH

--HG--
extra : rebase_source : b1203f0f16a5a394891debfd5a94dea28868b3d3
2016-05-06 18:35:54 -07:00
Margaret Leibovic
0ae18f321a Bug 1270929 - (Part 2) Create Experiments.setOverride/clearOverride API to allow add-ons to force enable/disable experiments. r=sebastian
MozReview-Commit-ID: 1tCstZwVl9T

--HG--
extra : rebase_source : aac57726bb28454c50b3de2830ba5f8bbc8794fb
extra : histedit_source : b2b287e9fb2254e33fc407db180fd88f13b069c6
2016-05-07 16:44:00 -04:00
Margaret Leibovic
3b0c907df9 Bug 1270929 - (Part 1) Remove support for specifying UUID from intent extra. r=sebastian
MozReview-Commit-ID: XUUkxD7261

--HG--
extra : rebase_source : 8bef3a78401c7ac582c74a7f8f384c94dda52f51
extra : histedit_source : 7fa91428ed1785d3e183e2aef862f865b3074755
2016-05-07 12:54:14 -04:00
Sebastian Kaspari
289587615d Bug 1268455 - Restore <activity-alias> to avoid disappearing home screen shortcuts. r=margaret
This patch restores our previous <activity-alias> with all intent filters. Changing the alias
will cause that existing home screen shortcuts disappear.

I tested this patch with:
* Upgrading old state (2016-02-06) to current state: Icon disappears (expected)
* Upgrading old state to fixed state (this patch): Icon remains

As this patch changes the activity-alias again, releasing this patch will lead to the home
screen shortcut disappearing once more for all released version with the current state:
* Upgrading current state to fixed state: Icon disappears (expected)

MozReview-Commit-ID: 1crKmkp4G1L

--HG--
extra : rebase_source : d6e84902fd8f763676ed315d8da9f9da96eb5c8c
extra : histedit_source : 6e715c605f43a463cc04f069d62f9d4ca17587f4
2016-05-03 11:16:20 +02:00
Carsten "Tomcat" Book
40c39189ef Merge mozilla-central to fx-team 2016-05-09 11:20:26 +02:00
Carsten "Tomcat" Book
56fe0e8f2c merge mozilla-inbound to mozilla-central a=merge 2016-05-09 11:17:59 +02:00
Sebastian Kaspari
ad30ee9e1c Bug 1269832 - Only show base domain for http/https URLs. r=margaret,kats
MozReview-Commit-ID: Dzk6vN2cyVb
2016-05-04 13:30:48 +02:00
Jan Henning
e3e61e5c24 Bug 1268981 - Make sure the bfcache is enabled during the mobile session store form data test. r=margaret
Without the bfcache, the inner value will not be restored after a page navigation, therefore we need to make sure that the bfcache isn't disabled by a stray memory pressure event before or during the test.

MozReview-Commit-ID: 3k1EgGDEPb

--HG--
extra : transplant_source : %E7%C9%BCD%E3%A4P%7F%A8%04%F4%CE%96bw%D6PU%97%01
2016-04-30 16:46:57 +02:00
Mark Finkle
f6cdeb3863 Bug 1267320 - Multiple spellings for telemetry extras. r=liuche 2016-05-07 14:34:45 -04:00
Tristan Martin
db5ec732b8 Bug 974466 - removing unhelpful argument when constructing Prompt in SelectHelper. r=Margaret 2016-05-05 23:34:00 +02:00
Mark Capella
181aea9aa0 Bug 1266322 - Fennec doesn't allow user cut/paste in etherpad, r=TYLin 2016-05-07 14:33:48 -04:00
Margaret Leibovic
9cf32c5c82 Bug 1266163 - Replace FENNEC_READER_VIEW_BUTTON histogram with UI telemetry. r=mfinkle,barbara
MozReview-Commit-ID: 1guxvXp6loC

--HG--
extra : rebase_source : a474fb10ef8e197313debb970640f1243b2dfca1
2016-04-20 15:22:46 -04:00
Wes Kocher
e07d6df737 Merge m-c to fx-team, a=merge 2016-05-06 15:59:00 -07:00
Wes Kocher
b17d7be7c1 Merge fx-team to central, a=merge 2016-05-06 15:57:08 -07:00
Andrzej Hunt
9d953b6fc8 Bug 1269001 - Temporarily add string resources to UnusedResourcesUtil to satisfy lint r=me
MozReview-Commit-ID: CE7RTiG2SOz

--HG--
extra : histedit_source : fc0095cd332c926c6dc0f23559652eaf90186784
2016-05-06 14:59:23 -07:00
Andrzej Hunt
2b23dea0f6 Bug 1251340 - Add probes for entering / exiting bookmark folders r=margaret
MozReview-Commit-ID: 202wvJHy6Qn

--HG--
extra : rebase_source : eb1850f5436380eca1a7774b645482b87c2ab461
extra : histedit_source : d8d1d0d23441f95294f2497cb3675ab72213920a%2Ca78e367465a572245bb667e4070abdafc843559b
2016-05-06 14:57:54 -07:00
Michael Comella
90e0c81bd3 Bug 1270963 - Fix NPE in UploadTelemetryCorePingCallback. r=ahunt
MozReview-Commit-ID: HgdZvuuiGDT

--HG--
extra : rebase_source : 3d0600df737e58d15f32b721613c952bd064db41
2016-05-06 14:17:24 -07:00
Chenxia Liu
698e613289 Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt
MozReview-Commit-ID: 6zkDuGlBsmz

--HG--
extra : rebase_source : c877c51c59322489eca4a807597973b58431b53e
2016-05-06 14:06:01 -07:00
Andrzej Hunt
a816e8565e Bug 1269001 - Pre: Add strings for number of items in folder r=liuche
MozReview-Commit-ID: EvfSPPkUf2G

--HG--
extra : amend_source : 9215d76ce3ecbc438b91f47844ec644387b26cfa
2016-05-06 13:34:09 -07:00
Jan Henning
2bd21731f2 Bug 1268177 - Disable background tab zombifications during tests. r=margaret
During tests that open additional tabs, the main test tab controlling the test is at risk of being zombified if a memory pressure event arrives, which breaks the test and leads to the test timing out. Therefore, we now disable background tab zombifications during tests.

This means that there's a slightly increased risk of being OOM killed instead, however
- the tabs opened by the tests themselves are normally relatively short-lived anyway
- we're no worse off than if the tab containing the test harness code had been zombified.

MozReview-Commit-ID: 1Ntvn4yjWlZ

--HG--
extra : transplant_source : %E78%93%3B%0F%5DnX%BC%E6G%10%B2%B5%1B%3A%9F%CE%F9%DD
2016-04-29 21:19:43 +02:00
Carsten "Tomcat" Book
9b6572bf54 merge mozilla-inbound to mozilla-central a=merge 2016-05-06 14:18:17 +02:00
Grigory Kruglov
3880c530d4 Bug 1236130 - Part 2: Only use cache for tabs when network state is "down" r=mcomella
MozReview-Commit-ID: IC3lmO8cUBa

--HG--
extra : rebase_source : 8641b2f8ba19cb6fce048f070fee6b8ab18d29ef
2016-04-28 15:27:35 -07:00
Grigory Kruglov
a3629c5385 Bug 1236130 - Part 1: Use an explicit state machine to control GeckoNetworkManager r=mcomella
- specifying states, events and transition side-effects explicitely makes this code easier to read/maintain
- move bunch of network state helper methods into NetworkUtils
- ensure to update both network state (up/down/unknown), as well as connection type/subtype every time we need to update network state
-- this should fix the buggy behaviour when we'd miss certain network state transitions
- tests for the FSM transition matrix, and everything in the NetworkUtils

MozReview-Commit-ID: LvrfHyFdkpB

--HG--
extra : rebase_source : 4429d80f78435205915f27e738e4886f1c46d3fa
2016-05-05 01:27:35 -07:00
Jan Henning
12c6e2269e Bug 1267481 - Increase test_session_form_data.html timeout. r=gbrown
Opening/navigating within/restoring a tab seems to be relatively slow on the emulator and as we want to test whether form data is preserved by the session store after closing and restoring a tab, quite a bit of time is accumulated that way.

MozReview-Commit-ID: 3LhLuZIZ2z7

--HG--
extra : transplant_source : %C7%22%90%DFy%97%BCD%B3%17%FE%F0%09%7FQ6V%D4%0E%1B
2016-04-30 18:44:50 +02:00
Ryan VanderMeulen
27ec66e090 Merge m-c to fx-team. a=merge
--HG--
extra : rebase_source : 5fa479be50a4739ccd9f42a799594afa8fcc4f28
2016-05-05 14:58:24 -04:00