Commit Graph

558477 Commits

Author SHA1 Message Date
Markus Stange
1ab17d08e0 servo: Merge #18508 - style: Add system colors from bug 1387594 (from mstange:add-fsbgc-system-colors); r=emilio
<!-- Please describe your changes on the following line: -->

These are the necessary servo changes for https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 .

I'm also re-importing the generated Gecko bindings from my object directory:
 - servo/components/style/gecko/generated/structs_debug.rs
 - servo/components/style/gecko/generated/structs_release.rs

But the number of changes to those files surprises me.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're tested by compiling mozilla-central once the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1387594 land - without this patch, Firefox won't compile.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 28b1c3818f81f593e691ded1109cfaab829825ae

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2934de139097f1426e76fe4775a852f67fc9abbe
2017-09-14 14:20:15 -05:00
Valentin Gosu
617da36cf0 Bug 1396307 - Set mCacheAsyncOpenCalled back to flase when AsyncOpenURI fails r=michal
MozReview-Commit-ID: VnwI3ERHVt

--HG--
extra : rebase_source : b0dd35d8dc246edef20c4d6cf220013131366b1e
2017-09-14 22:21:49 +02:00
Valentin Gosu
ec3cf55bec Bug 1396307 - Add null check in nsHttpChannel::OnAuthAvailable r=michal
MozReview-Commit-ID: L9zaroxJ72i

--HG--
extra : rebase_source : 4ae01e3889b5e1cd3708e9a1273b7e0eb79aca51
2017-09-14 21:50:15 +02:00
Valentin Gosu
8b26a0b9b1 Bug 1396307 - Make sure we only set mRaceCacheWithNetwork to true when the feature is enabled r=michal
MozReview-Commit-ID: FrLjfuExmYV

--HG--
extra : rebase_source : 21ec1409444b202fcb73aee8b8d04475c5179679
2017-09-06 10:24:01 +02:00
Miko Mynttinen
c2f4528fa6 Bug 1399977 - Allocate some DisplayClipChains using nsDisplayListBuilder arena r=mattwoodrow
MozReview-Commit-ID: 9TB4S6G4rJR

--HG--
extra : rebase_source : ac7055146039ff9beeac1035adc323ce1d80c730
2017-09-14 11:37:15 -04:00
Mark Striemer
22fefec9be Bug 1393099 - Wrap category titles in about:addons r=rhelmer
MozReview-Commit-ID: I2IOA4u14KY

--HG--
extra : rebase_source : 566a83cada2d41caf569b47952cc3c0fa1d2037a
2017-09-13 19:11:10 -05:00
Michael Comella
d6da7aa96e Bug 1397888 - review: Rename topsite_pin -> as_pin_with_background. r=mcomella
MozReview-Commit-ID: 60KvwxhSmKN

--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-hdpi/as_pin_with_background.png
rename : mobile/android/app/src/photon/res/drawable-xhdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-xhdpi/as_pin_with_background.png
rename : mobile/android/app/src/photon/res/drawable-xxhdpi/topsite_pin.png => mobile/android/app/src/photon/res/drawable-xxhdpi/as_pin_with_background.png
extra : rebase_source : e399ac698285c57c804d8ca3c20c8476f5fecd84
2017-09-14 12:33:52 -07:00
Michael Comella
594582be11 Bug 1397888: Display pin icon in top-left of top sites card if pinned. r=liuche
I don't scale the pin size/margins based on the dynamic tile size. This could
mean we get into situations where the pin crowds out the top site tile but I
don't know if this would happen in practice.

MozReview-Commit-ID: Ct8EP3dPr6N

--HG--
extra : rebase_source : b527cff1faf5a565d1cf309ce3063b8d23553150
2017-09-13 17:16:40 -07:00
Michael Comella
955004429a Bug 1397888: Add top site pin assets. r=liuche
MozReview-Commit-ID: IeBj25W9Jde

--HG--
extra : rebase_source : 66d7af40cd1270ebfbe3c3442b067ce1f1ff1fce
2017-09-13 17:04:15 -07:00
Michael Comella
43c8a4dfe0 Bug 1397888: Remove pin icon from top sites title. r=liuche
MozReview-Commit-ID: GTmfUzvD0k2

--HG--
extra : rebase_source : bd9472e3f6aaa21a9694736afa35fda540b3a0ca
2017-09-13 16:58:39 -07:00
SingingTree
51faf6041e Bug 1385241 - Remove mozilla-build specific rust install. r=ted.mielczarek
The MozillaBuildBootstrapper specific rust install code in not needed as
mozbase already includes genertic code to achieve the same outcome. The
mozilla-build specific code also leads to issues where it tries to add already
existing targets and fails the bootstrap. This changeset removes the
mozilla-build specific step.

MozReview-Commit-ID: G0BqKZrF40A

--HG--
extra : rebase_source : 60e9638afff744c937a9665d6fd5830187835ea4
2017-09-07 17:37:53 +12:00
Josh Matthews
411e869790 servo: Merge #18415 - More codesize reductions for generated code (from jdm:moar-codesize); r=SimonSapin
Bloaty says this shaves off another 20kb from style::properties-based functions. The more limited Debug implementations enable sharing the property name strings between more functions, which saves on code size in the end.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: ddf7ad4814a956ea866cd76da6ccda6b33af438b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 29f7df3b4bbbad15ccfc849cc7638c3ca05846c2
2017-09-14 13:01:00 -05:00
Shane Caraveo
aac2ef44df Bug 1399070 move launchWebAuthFlow to parent to fix opening auth window when remote, r=zombie
MozReview-Commit-ID: GAdlxYUM6rr

--HG--
rename : toolkit/components/extensions/ext-c-identity.js => toolkit/components/extensions/ext-identity.js
extra : rebase_source : eaec4890e559e0c969b6d7721ee94dcbda85c4f6
2017-09-14 09:18:27 -07:00
David Keeler
eae47e2f71 bug 805305 - remove nsIDataSignatureVerifier.verifySignature r=mgoodwin
MozReview-Commit-ID: 9QyN7VzGJN0

--HG--
extra : rebase_source : 8c89004a192291dd0703e3e52f8fb7f36b467bc5
2017-09-01 16:21:37 -07:00
Andrew Swan
d249202ee5 Bug 1391579 Part 4: Handle the in-app extension update flow for Fennec r=jwu,sebastian
The mechanics implemented here involve listening for extension updates that
require new permissions, notifying the user with icons attached to the
top level Add-ons menu and to the individual item in about:addons, and
then showing the permissions dialog when the user asks to update.

The basic plumbing is mostly in ExtensionPermissions.js, this also
required a fair amount of change to aboutAddons to accomodate new UI
elements, and to handle updates gracefully.

MozReview-Commit-ID: Jkgc3OVYtnc

--HG--
extra : rebase_source : 5df3e12df8c422285fbc25c459dc420b395fa824
2017-09-08 16:48:22 -07:00
Andrew Swan
7fa115cedc Bug 1391579 Part 3: Add update indicator to top-level Add-ons menu entry r=jwu,sebastian
MozReview-Commit-ID: 937Zsd6yfBO

--HG--
extra : rebase_source : e54d9942148d5dcba420f119f4acd6e805acea77
2017-09-11 10:31:51 -07:00
Julian_Chu
740dec1693 Bug 1391579 Part 2: Add MenuItemIcon r=jwu,sebastian
GeckoMenu always create view from MenuItemDefault. Now lets adding a
new type for MenuItem which will display a Drawable in right side.

MozReview-Commit-ID: F7zVDze0RaP

--HG--
extra : rebase_source : c913ef385aaf99c948edb252136c2b7f39526730
extra : intermediate-source : 2c098c90a58faee8b928eb1cec5cb841897c57e2
extra : source : b107e0b122445393a804116d763e2f13da6b6036
2017-08-24 01:15:22 -07:00
Julian_Chu
1442ca8565 Bug 1391579 Part 1: add attribute itemType to GeckoMenuItem r=jwu,sebastian
MozReview-Commit-ID: CelYcXveCvO

--HG--
extra : rebase_source : ec74a1e70148ce4a3d37241d26c0ed293abb8cfa
extra : intermediate-source : 6150b75bc69304b66fa16c50c65ac89dad59d453
extra : source : 85f5d95bb32284a8ae589f2019a955f2941d9209
2017-08-24 01:15:04 -07:00
Nan Jiang
5180b6c8bf Bug 1397789 - Tune Places data expiration for page metadata collection. r=mak
MozReview-Commit-ID: Kqq1VNVvnYt

--HG--
extra : rebase_source : 7786159d9c00591151144ad2d5fd1fad7af9365b
2017-09-14 09:59:33 -04:00
Emilio Cobos Álvarez
0dbef207fc servo: Merge #18501 - style: Move DocumentCascadeData::add_stylesheet to CascadeData (from emilio:cascade-data-rebuild); r=nox
More plumbing in preparation for isolating the UA stuff.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2cbd27c83a6974f6d00ccd2873ff1914c3af0614

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bff6f79a1b2250b47d33fd04b2a374591de176d6
2017-09-14 10:49:16 -05:00
Jared Wein
4bce8433a2 Bug 1396062 - Use White as the fill color for the tab loading indicator when the tabs toolbar has brighttext. r=Gijs
MozReview-Commit-ID: BoCSgOEUJUx

--HG--
extra : rebase_source : fa99d59d218ab33081b8b31f39b942253ee6ea59
2017-09-13 17:14:39 -04:00
Ryan VanderMeulen
f6aa0ec620 Merge m-c to autoland. a=merge 2017-09-14 12:14:17 -04:00
Ryan VanderMeulen
749fec75f0 Backed out changeset 4198b9d273b9 (bug 1399541) for causing bug 1399899. 2017-09-14 12:13:38 -04:00
Maya Messinger
11ffb95321 Bug 1398305 - reorder library dropdown items to spec r=Gijs
MozReview-Commit-ID: 912yc4MB5Ap

--HG--
extra : rebase_source : 8393ffa21314fc67784119b319abd0a73b6b3bcd
2017-09-14 11:37:22 -04:00
Ted Campbell
9b5f5a54bb Bug 1398601 - Fix wunused-variable errors when MOZ_DIAGNOSTIC_ASSERT isn't available. a=RyanVM
MozReview-Commit-ID: 1kvKcQBqog9
2017-09-14 06:35:00 -04:00
Nevin Chen
23c6850fa7 Bug 1399014 - Allow 'enable tracking protection in normal browsing' for release and beta channel. r=maliu
In Android,  "privacy.trackingprotection.state" is not a "real" pref name, but it's used in the setting menu and browser.js.
 "privacy.trackingprotection.state" and "privacy.trackingprotection.pbmode.enabled"(deleted) in Android is init in Helper.getPrefs and  passed to browser.js when changed.
The real pref for tacking protection are two Gecko pref in browser.js. They are:
           "privacy.trackingprotection.pbmode.enabled"
           "privacy.trackingprotection.enabled"
All prefs in Android are delegated to them. The Android setting UI simply reflects the single source of truth (Gecko pref).
That's the reason why the two Android perfs use android:persistent="false"

MozReview-Commit-ID: 5ehBhtNM2Tx

--HG--
extra : rebase_source : 02ad1f3f778589ce05529f22d7d7bee03e5970e5
2017-09-14 15:16:55 +08:00
Chris AtLee
ee9c23d822 Bug 1378153 - Add 'a2' to aurora/devedition branding's firstrun page. r=jcristau, a=RyanVM
MozReview-Commit-ID: 8OX4DTO8ofX

--HG--
extra : source : 0ac518ed9fa167c2005fed16b6d20576f96d6978
2017-09-13 09:52:26 -04:00
Sebastian Hengst
65bd75b8f9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6nttXoSo3Fh
2017-09-14 11:04:14 +02:00
Sebastian Hengst
cc8349a4a8 Backed out changeset 951b97610913 (bug 1397058) for almost permafailing reftest box-decoration-break-with-outset-box-shadow-1.html on stylo. r=backout a=backout
MozReview-Commit-ID: BEIOgg69o3W
2017-09-14 10:45:11 +02:00
Sebastian Hengst
b31bbc7d9a Backed out changeset b507473b9b75 (bug 1397060) for almost permafailing reftest box-decoration-break-with-outset-box-shadow-1.html on stylo. r=backout a=backout
MozReview-Commit-ID: FOAcq7soe89
2017-09-14 10:44:03 +02:00
Wes Kocher
ff68b95b87 Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
Wes Kocher
ccf6649c52 Merge autoland to central, a=merge
MozReview-Commit-ID: BptG5xWc5Ax
2017-09-13 23:17:32 -07:00
Stephen Horlander
184f059e3b Bug 1399731 - Fix Developer Edition Branding DMG. r=dolske, a=fixups for m-c 2017-09-13 22:28:53 -07:00
Justin Dolske
93e8f46735 Bug 1399691 - Update Firefox Branding (followup to revert the accidental change I flagged in review, sigh) 2017-09-13 22:28:53 -07:00
Stephen Horlander
35bad76ad7 Bug 1399717 - Update Developer Edition Branding. (Followup to actually land the newer version of the patch, which tweaked this one file) 2017-09-13 22:28:53 -07:00
Stephen Horlander
4827993bbc Bug 1399717 - Update Developer Edition Branding. r=dolske, a=RyanVM for m-c 2017-09-13 21:52:36 -07:00
Stephen Horlander
4746493e72 Bug 1399691 - Update Firefox Branding. r=dolske, sr=dogefox, a=RyanVM for m-c 2017-09-13 21:52:35 -07:00
Kris Maglione
aa71407890 Backed out changeset 71761ab92e6d (bug 1398974) for OS-X bustage. r=backout
MozReview-Commit-ID: 3Lo64wOjraz
2017-09-13 21:14:45 -07:00
steveck-chung
7fbb59b32e Bug 1399402 - Correct "Never Save Credit Cards" string in the credit card door hanger. r=lchang
MozReview-Commit-ID: FLMkaOj1NVh

--HG--
extra : rebase_source : 175bd5cf8a2fd98dc031c41ee807f74baf58c674
2017-09-14 11:36:48 +08:00
Ryan VanderMeulen
3fc86b0be1 Backed out 2 changesets (bug 864845) for causing bug 1399649.
Backed out changeset c991b71d3642 (bug 864845)
Backed out changeset 9e6a4d96cf76 (bug 864845)
2017-09-13 19:23:12 -04:00
Sebastian Hengst
006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Sebastian Hengst
4873dd49d1 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cAKMj5aTV5
2017-09-13 23:56:31 +02:00
Sebastian Hengst
18dfe04431 Bug 1399569 - Use full text for bugzilla component 'CSS Parsing and Computation', not an abbreviated version. r=jmaher NPOTB
MozReview-Commit-ID: B6JdvairGOI

--HG--
extra : rebase_source : b5cabb21ac76cbef2ea3d228d5bde2df17b82477
2017-09-13 20:03:52 +02:00
Francesco Lodolo (:flod)
ad8f411f7d Bug 1399509 - Update search URL and icon for Chambers (en-GB) r=mkaply
MozReview-Commit-ID: AieuY5YKIlk

--HG--
extra : rebase_source : fd73cade96f61ec5ca2103276dc68e11c98427c2
2017-09-13 20:02:01 +02:00
Hiroyuki Ikezoe
aef8a014cd Bug 1399714 - Iterate animation segments for setting start/end values and timing functions just once. r=boris
MozReview-Commit-ID: 7ySuFcSi3cH

--HG--
extra : rebase_source : aef6b905fb34782700fc354905fc0a5d4c72e857
2017-09-14 12:59:06 +09:00
Ben Kelly
10e7aa67d1 Bug 1398942 P2 Convert nsPipe3.cpp NS_ASSERTION() calls to hard assertions. r=froydnj 2017-09-13 10:36:18 -07:00
Ben Kelly
db6fe1b9f4 Bug 1398942 P1 Convert existing nsPipe3.cpp MOZ_ASSERT's to use MOZ_DIAGNOSTIC_ASSERT. r=froydnj 2017-09-13 10:36:15 -07:00
Alexander Surkov
368e47efdb Bug 1360210 - crash in mozilla::a11y::FocusManager::IsFocused const, r=davidb 2017-09-13 12:45:11 -04:00
Ryan VanderMeulen
ce7231a8d6 Backed out changeset a3b2778fa597 (bug 1389470) for leaks. a=oops
MozReview-Commit-ID: 3kkJTmUXdrX

--HG--
extra : source : d9a39e5210d07b16cedf7f6b3afc9a850927b631
2017-09-13 12:36:18 -04:00
Wes Kocher
ad92e51651 Merge autoland to central, a=merge
MozReview-Commit-ID: 8ysO7Q1zYcs
2017-09-13 14:20:49 -07:00