Commit Graph

22660 Commits

Author SHA1 Message Date
Wes Kocher
53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Dale Harvey
4514045d96 Bug 1352099 - Ensure manifest can be read on resume. r=sebastian 2017-04-03 14:26:17 +01:00
Dale Harvey
c3024a1b20 Bug 1352726 - Ensure missing fields dont halt theming. r=sebastian 2017-04-03 14:26:03 +01:00
Kris Maglione
0bde08bed9 Bug 1350522: Part 3 - Convert android APIs to lazy loading. r=aswan
MozReview-Commit-ID: GaxLICqzdXz

--HG--
extra : source : 42015d3bfe49a09a28435ca3691358848c9dc2e5
2017-03-31 18:45:45 -07:00
Sebastian Hengst
990055a490 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjvlThqFc40
2017-04-02 18:52:13 +02:00
Sebastian Hengst
37b9c6c8e5 Bug 1324045 - Move mobile searchplugins into mozilla-central. Whitelist wikipedia-pt.xml to fix fennec nightlies. r=bustage-fix a=bustage-fix
MozReview-Commit-ID: DQn5IDdoJ3P
2017-04-02 16:08:31 +02:00
Michael Kaply
0e74c46640 Bug 1324045 - Move mobile searchplugins into mozilla-central. r=flod reland because fennec nightlies have a different bustage with this backed out
MozReview-Commit-ID: 1IpUCM2EW6U

--HG--
rename : mobile/locales/en-US/searchplugins/amazondotcom.xml => mobile/locales/searchplugins/amazondotcom.xml
rename : mobile/locales/en-US/searchplugins/bing.xml => mobile/locales/searchplugins/bing.xml
rename : mobile/locales/en-US/searchplugins/duckduckgo.xml => mobile/locales/searchplugins/duckduckgo.xml
rename : mobile/locales/en-US/searchplugins/google-nocodes.xml => mobile/locales/searchplugins/google-nocodes.xml
rename : mobile/locales/en-US/searchplugins/google.xml => mobile/locales/searchplugins/google.xml
rename : mobile/locales/en-US/searchplugins/qwant.xml => mobile/locales/searchplugins/qwant.xml
rename : mobile/locales/en-US/searchplugins/twitter.xml => mobile/locales/searchplugins/twitter.xml
rename : mobile/locales/en-US/searchplugins/wikipedia.xml => mobile/locales/searchplugins/wikipedia.xml
rename : mobile/locales/en-US/searchplugins/yahoo.xml => mobile/locales/searchplugins/yahoo.xml
2017-04-02 16:06:09 +02:00
Sebastian Hengst
b28b985219 Backed out changeset f6bba83342c4 (bug 1324045) for breaking Android nightlies (multilocale builds in general?). r=backout a=backout
MozReview-Commit-ID: BqhaShsqOEF

--HG--
rename : mobile/locales/searchplugins/amazondotcom.xml => mobile/locales/en-US/searchplugins/amazondotcom.xml
rename : mobile/locales/searchplugins/bing.xml => mobile/locales/en-US/searchplugins/bing.xml
rename : mobile/locales/searchplugins/duckduckgo.xml => mobile/locales/en-US/searchplugins/duckduckgo.xml
rename : mobile/locales/searchplugins/google-nocodes.xml => mobile/locales/en-US/searchplugins/google-nocodes.xml
rename : mobile/locales/searchplugins/google.xml => mobile/locales/en-US/searchplugins/google.xml
rename : mobile/locales/searchplugins/qwant.xml => mobile/locales/en-US/searchplugins/qwant.xml
rename : mobile/locales/searchplugins/twitter.xml => mobile/locales/en-US/searchplugins/twitter.xml
rename : mobile/locales/searchplugins/wikipedia.xml => mobile/locales/en-US/searchplugins/wikipedia.xml
rename : mobile/locales/searchplugins/yahoo.xml => mobile/locales/en-US/searchplugins/yahoo.xml
2017-04-02 12:52:40 +02:00
Dale Harvey
f9e45a8cf7 Bug 1351834 - Give webapp tabs correct type when launched. r=janh 2017-04-01 15:23:18 +01:00
Sebastian Hengst
948595ff2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-01 13:12:04 +02:00
Sebastian Hengst
58d7b72241 Backed out changeset 42015d3bfe49 (bug 1350522) 2017-04-01 12:38:23 +02:00
Dale Harvey
cb99a6a79e Bug 1337341 - Show url when navigating out the scope of pwa. r=walkingice 2017-04-01 09:34:23 +01:00
Kris Maglione
f69db5c102 Bug 1350522: Part 3 - Convert android APIs to lazy loading. r=aswan
MozReview-Commit-ID: GaxLICqzdXz

--HG--
extra : rebase_source : ef8f08bbb31d16caa2f0fe464cd3c4ebb7992221
2017-03-31 18:45:45 -07:00
Wes Kocher
483fea00ef Merge inbound to central, a=merge 2017-03-31 17:48:18 -07:00
Munro Mengjue Chiang
8c7e3d6e57 Bug 1265755 - Support encoder case for CodecProxy; r=jolin
MozReview-Commit-ID: 4cEZQs8spo7

--HG--
extra : rebase_source : 33989d576cbd15194c5d740745fd5ddf35958346
2017-03-30 08:51:12 +08:00
Munro Mengjue Chiang
0d0b538b3e Bug 1265755 - separate JavaCallbacksSupport class declaration to a different header file; r=jolin
MozReview-Commit-ID: 7Vj3G47n2bu

--HG--
extra : rebase_source : 9dac50f9a4c405b2461e7f677c58beef7f634f6e
2017-03-30 08:30:23 +08:00
Francesco Lodolo (:flod)
c539d3ed0f Bug 1352690 - Remove exceptions for mobile/searchplugins from filter.py r=Pike
MozReview-Commit-ID: Em6BzWM4lqn

--HG--
extra : rebase_source : db9616ec978c4563f840182236d24b5c881abeaf
2017-04-01 16:02:33 +02:00
Jan Henning
a4d0b0a000 Bug 1352433 - Part 1 - Don't clear all preferences when all you need to remove is a few keys. r=sebastian
MozReview-Commit-ID: DELmDbTHNLk

--HG--
extra : rebase_source : c01a32a5db5064ffe3bf9ba9e22cb9581e13d998
2017-04-01 23:02:54 +02:00
Jan Henning
715265a62e Bug 1352433 - Part 0 - Change variable name casing for constants. r=sebastian
The shared preferences keys used for storing/retrieving the activity list data are constants, so it is a bit disconcerting to see them named like normal member variables.

MozReview-Commit-ID: GivVloU0pFv

--HG--
extra : rebase_source : e26bcabd1cdf549e8a0ee54f0e6333c76484ca24
2017-04-01 22:51:51 +02:00
Eugen Sawin
fd51be56ce Bug 1346542 - [3.0] Change setState to checkAndSetState to avoid updated state override. r=me 2017-03-31 19:27:46 +02:00
Sebastian Hengst
d4679cd05d Backed out changeset 15e815413234 (bug 1351980) for asserting on Android, e.g. in test_pseudoElement-get-animations.html. r=backout 2017-03-31 18:39:46 +02:00
Ehsan Akhgari
a3580de587 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 09:54:28 -04:00
Sebastian Hengst
e3bcc5dcd8 Backed out 2 changesets (bug 1351980) for asserting in Android tests, e.g. test_hc_noderemovechildnode.html. r=backout
Backed out changeset fbc8e05e5251 (bug 1351980)
Backed out changeset 1c7c92033bb1 (bug 1351980)
2017-03-31 15:38:38 +02:00
Carsten "Tomcat" Book
4ac9c2ffb1 Merge mozilla-central to mozilla-inbound 2017-03-31 14:47:54 +02:00
Sebastian Hengst
d722cb70d6 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own: Replace RESPATH with BINPATH to fix mobile builds. r=bustage-fix 2017-03-31 14:22:25 +02:00
Ehsan Akhgari
af1cabba18 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 07:37:59 -04:00
Eugen Sawin
4573e30ad0 Bug 1346542 - [2.1] Fix code style. r=jchen 2017-03-31 13:12:21 +02:00
Eugen Sawin
80710c9297 Bug 1346542 - [1.2] Move state holder to GeckoView::Window and set ready state when reattaching to window. r=jchen 2017-03-31 13:12:21 +02:00
Grigory Kruglov
a8810d8865 Bug 1352608 - Close a cursor after we're done with it r=eoger
Removed "final" because "safeQuery" provides terrible developer ergonomics.

MozReview-Commit-ID: 2F0XZnBM3Yv

--HG--
extra : rebase_source : 634c6f8cfc14cce8d15e2911d474086dc85c6db4
2017-03-31 20:22:06 -04:00
Wes Kocher
985bcdea84 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
Wes Kocher
8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Ralph Giles
e734305b80 Bug 1351031 - Update builders to rust 1.16.0. r=mshal
Repacks of upstream builds.

For release notes see https://blog.rust-lang.org/2017/03/16/Rust-1.16.html or
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1160-2017-03-16

MozReview-Commit-ID: 9dHGKGSbelG

--HG--
extra : rebase_source : 0fb93f9d7cc6e663f3c7eb662e29f4f0061244db
2017-03-27 13:39:15 -07:00
Ryan VanderMeulen
f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Nevin Chen
f5182bc344 Bug 1295675 - Allow app level preferences. r=mkaply,sebastian
MozReview-Commit-ID: yv97PSkL5n

--HG--
extra : rebase_source : 6231b68a2d8e9a734f639006cf48939f3087a9aa
2017-03-23 10:57:20 +08:00
Dale Harvey
7b024ea9c8 Bug 1347605 - Ensure standalone pwa's are singletons 2017-03-29 18:44:30 +01:00
Ehsan Akhgari
f2a992e41a Bug 1347425 - Part 3: Remove the site-specific user agent service; r=baku,jchen
This used to be the glue layer between DOM and Necko which is no longer
being used.
2017-03-28 22:10:53 -04:00
Grigory Kruglov
7443c95aab Bug 1350196 - Part 2: Perform PRNGFixes earlier. r=rnewman, r=nalexander
MozReview-Commit-ID: 18jnRRFhyPq

--HG--
extra : rebase_source : 703dd7ab2d67e522d36130fe1815c5d2610827de
2017-03-27 18:32:54 -07:00
Grigory Kruglov
719d2c720d Bug 1350196 - Part 1: Generate IV ourselves. r=rnewman, r=nalexander
MozReview-Commit-ID: 5rR8BQRcJoR

--HG--
extra : rebase_source : 0d474e3818f8b5abfd6c5904473cf3801a98b1cb
2017-03-27 18:40:02 -07:00
Dale Harvey
f36bbc62c5 Bug 1347616 - Fall back to bookmark when manifest invalid. r=sebastian 2017-03-28 21:42:22 +01:00
Edouard Oger
466b73fea5 Bug 1346061 part 3 - Trigger a sync/email-verification-check on empty FxA push message. r=Grisha,nalexander
MozReview-Commit-ID: ABUm6LZij4M

--HG--
extra : rebase_source : 4818f95bf7dbe3f1c9891f3aeb7ade4c83d58870
2017-03-22 13:10:09 -04:00
Edouard Oger
965ba52d24 Bug 1346061 part 2 - Register device on FxA on Engaged state. r=Grisha,nalexander
MozReview-Commit-ID: 3HrXePgBxg6

--HG--
extra : rebase_source : ba6f805c4f313a8c317dd71fa34511c4544f0a54
2017-03-22 13:11:34 -04:00
Edouard Oger
b2e227a8e3 Bug 1346061 part 1 - Expose getSessionToken() on State. r=Grisha,nalexander
We need to access sessionToken in the Engaged state in order to perform device
registration. We expose getSessionToken() on the base State class, to allow
customers to get the sessionToken easily instead of having to downcast the
TokensAndKeysState/Engaged states.

MozReview-Commit-ID: 8s2C350noUG

--HG--
extra : rebase_source : e0bc8bf7ebfdcb7a31bb4a6ddb5b928acf7baba9
2017-03-22 13:07:00 -04:00
Julian_Chu
351526c469 Bug 1348716 - Long click to copy URL in custom tabs r=sebastian
If user long click text area of ActionBar(URL or Title), then copy
current URL to clipboard.

MozReview-Commit-ID: EdVoMiX0Gt3

--HG--
extra : rebase_source : eecd78325162bb5c0a41436b90d0e10f5669030c
2017-03-21 11:16:28 +08:00
Jan Henning
40056ad049 Bug 1349793 - Speculatively swap history clearing test order. r=sebastian
This assumes that the observed test failure was caused by the async file delete triggered by the history sanitisation in test_sessionStoreClearTabHistory being somehow delayed long enough to only take place after we had already started test_sessionStoreClearFiles.

MozReview-Commit-ID: FenpPyb4sGZ

--HG--
extra : rebase_source : 3f14e1053b043a03aac1680ee56483243b5a4045
2017-03-25 18:36:33 +01:00
Phil Ringnalda
e7905e8e6d Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Alastor Wu
7509784040 Bug 1348803 - part2 : modify event name to lower case letter. r=sebastian
Other events in browser.js are all lower case letter, also change these two to make them consistent.

MozReview-Commit-ID: LkzYUo6OrEA

--HG--
extra : rebase_source : 8b134332e32cae29a1f963e604f2507433c694b8
2017-03-28 10:58:32 +08:00
Alastor Wu
31d5fff67b Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV

--HG--
extra : rebase_source : fc26c98ed7b33552b4eba5b20168394b1b1a4390
2017-03-28 10:57:50 +08:00
maliu
612509973d Bug 1350661 - Extract layout attributes into styles in order to separate api 15 and 17 style tree, r=sebastian
__Device_Configuration__|__o_Applied_Style_______________
      ldrtl-v17    v17   v15 |
             o      o     o  |  UrlBar.Entry
              \     |     |  |
               -----o     |  |  UrlBar.V17.Entry(start/end)
                     \    |  |
                      \   o  |  UrlBar.V15.Entry(left/right)
                       \  |  |
                        --o  |  UrlBar.Base.Entry(original style)

Though Android support RTL since API level 17(JB_MR1), it's really buggy at that moment.
This patch fix a severe UI layout attribute bug, which only happen on android 4.2 in RTL language context:
  If view attributes "start/end" and "left/right" are both written in a view layout xml, they will both be applied and cause UI abnormal. In API 18 and above, "left" will be ignored if "start" also exist.

For example, as below show, alignLeft and alignStart are both exist in ImageView. On android 4.2 with RTL context, it's width will both align Left and Start(Right), cause the symptom that ImageView have the same width and cover on the view "back."
```
<ImageView android:id="@+id/url_bar_entry"
  android:layout_alignLeft="@+id/back"
  android:layout_alignStart="@+id/back"
```

MozReview-Commit-ID: JptLuWX2w15

--HG--
extra : rebase_source : ef89a31f77f56f6f4e936e20644c243abfa7239f
2017-01-16 15:32:59 +08:00
Delphine Lebédel
407f92e9cf Bug 1036978 - Localization of un-used toolkit strings shouldn't be reported by compare-locales, r=Pike
Change filter_py to only report on toolkit files referenced in
mobile/locales/jar.mn.

We ignore netwerk, security/manager, devtools/shared, services/sync
on the module level.

MozReview-Commit-ID: 4YRwZHUD1gE

--HG--
extra : rebase_source : 2613456c9c3442ba2d27468fdc106c1778273f6f
2017-03-31 11:59:28 +02:00
Wes Kocher
23ba88918a Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00