Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Emilio Cobos Álvarez
72476926ed
Bug 1463386: Remove eCSSUnit_Image. r=heycam
...
MozReview-Commit-ID: 9OX6iW7Lr5Q
--HG--
extra : rebase_source : 07dad9bfab62b24668737751386567359806d07d
2018-05-22 13:34:17 +02:00
Xidorn Quan
8af9d264aa
Bug 1456364 part 1 - Reduce dependencies to nsCSSProps.h. r=emilio
...
So that hacking on this header can be less painful...
MozReview-Commit-ID: LmpMnF7q9RG
2018-04-26 16:24:30 +02:00
Andreea Pavel
87bf18c74d
Backed out 4 changesets (bug 1456364) for build bustages at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/AnimationEffectReadOnlyBinding.h:35 on a CLOSED TREE
...
Backed out changeset 020151240bb8 (bug 1456364)
Backed out changeset bc0aa5224d91 (bug 1456364)
Backed out changeset d919bbe7440c (bug 1456364)
Backed out changeset ab1472823e8a (bug 1456364)
2018-04-26 08:27:45 +03:00
Xidorn Quan
0d91cc33ac
Bug 1456364 part 1 - Reduce dependencies to nsCSSProps.h. r=emilio
...
So that hacking on this header can be less painful...
MozReview-Commit-ID: LmpMnF7q9RG
--HG--
extra : source : b68215ade7403ae9c6fbf20cb64a64c04a67ee66
2018-04-26 15:00:50 +10:00
Jonathan Watt
156c4af1ec
Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
...
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Andreea Pavel
29ba7b4974
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Emilio Cobos Álvarez
9ab1873cd3
Bug 1452987: Simplify ImageValue. r=heycam
...
MozReview-Commit-ID: 5LRaaEPSSdY
--HG--
extra : rebase_source : 2654a870e2a985bf7a609ee436ba1800bf6033a3
2018-04-10 16:54:57 +02:00
Emilio Cobos Álvarez
7e8faed759
Bug 1452947: Remove useless PtrHolder / PtrHandle stuff now that URIs are thread-safe. r=heycam
...
MozReview-Commit-ID: 5f2B8bqBnDp
2018-04-11 08:41:49 +02:00
Xidorn Quan
3356a5f95f
Bug 1448763 part 9 - Remove nsCSSRect. r=emilio
...
MozReview-Commit-ID: BOsjszpdKwt
--HG--
extra : rebase_source : 7061396323ec4e851517a7be2027447e16e8e77f
2018-04-05 18:27:33 +10:00
Xidorn Quan
3248eb765c
Bug 1448763 part 7 - Remove nsCSSCornerSizes. r=emilio
...
MozReview-Commit-ID: jjSjoskIB8
--HG--
extra : rebase_source : a6d939852f06e595ad5e2c4ca7115872d30eca8e
2018-04-05 18:27:33 +10:00
Xidorn Quan
7d3cec4977
Bug 1448763 part 6 - Remove nsCSSValueTriplet. r=emilio
...
MozReview-Commit-ID: 29GtK1gtreU
--HG--
extra : rebase_source : 9b6b5c0a729228112260d3ae51db1207d003111b
2018-04-05 18:27:33 +10:00
Xidorn Quan
71bc0f3fb7
Bug 1448763 part 5 - Remove all color stuff from nsCSSValue. r=emilio
...
MozReview-Commit-ID: DQX0HOr8R8
--HG--
extra : rebase_source : 7018509d53f36009f7866b6632235b79f6f8c6b5
2018-04-05 18:27:33 +10:00
Xidorn Quan
ede8ad70e2
Bug 1448763 part 4 - Remove nsCSSValueGradient and its friends. r=emilio
...
MozReview-Commit-ID: JoYZyud2Wtu
--HG--
extra : rebase_source : 15bae5f8bc52253383d5149090a3bbd333bdc1a9
2018-04-05 18:27:33 +10:00
Xidorn Quan
e54445e81c
Bug 1448763 part 3 - Remove nsCSSValueTokenStream. r=emilio
...
MozReview-Commit-ID: 79CPOfWbo7t
--HG--
extra : rebase_source : 825c8b23f7cb2660f57b3d068375dc08cb8351f1
2018-04-05 18:27:33 +10:00
Xidorn Quan
fa7e3f05c4
Bug 1448763 part 2 - Remove serialization code for specified value. r=emilio
...
MozReview-Commit-ID: 2DTGHb7GH4T
--HG--
extra : rebase_source : 585cbb9b7521fede13a22ff61e02baa6af1dcfd1
2018-04-05 18:27:33 +10:00
Emilio Cobos Álvarez
844c66e0c8
Bug 1442246: Copy less URLs on stylo. r=jdm
...
MozReview-Commit-ID: NmHue1mGDq
2018-03-03 20:37:52 +01:00
Brad Werth
2a3479abd5
Bug 1418930 Part 4: Define a CSS property flag to accompany the image preload flag -- to also use anonymous CORS. r=emilio
...
MozReview-Commit-ID: 9iQgT3g1m9J
--HG--
extra : rebase_source : 91ae18a5064c57a8e958fc1f9bbe85c7c62a37a0
2018-01-25 14:56:39 -08:00
Brad Werth
43275caf98
Bug 1418930 Part 3: Update css::ImageValue to carry a parameter that indicates anonymous CORS headers should be used during loading. r=emilio
...
MozReview-Commit-ID: JJ5lZRwS6Be
--HG--
extra : rebase_source : 04f1763498d673bd7b57c1ca415f4669f2634b03
2018-01-29 13:55:38 -05:00
Andreea Pavel
9cd5dfd3a9
Backed out 5 changesets (bug 1418930) for failing web platform tests at /service-workers/service-worker/fetch-request-css-images.https.html on a CLOSED TREE
...
Backed out changeset c0f673033e66 (bug 1418930)
Backed out changeset b39948ba905b (bug 1418930)
Backed out changeset 8008a54aba9a (bug 1418930)
Backed out changeset 105c81284dba (bug 1418930)
Backed out changeset 27eb8c7f8025 (bug 1418930)
2018-02-03 00:18:27 +02:00
Brad Werth
ce53bc893d
Bug 1418930 Part 3: Update css::ImageValue to carry a parameter that indicates anonymous CORS headers should be used during loading. r=emilio
...
MozReview-Commit-ID: JJ5lZRwS6Be
--HG--
extra : rebase_source : 42ee37760478583f7854ddd4a4e2ffa360449846
2018-01-29 13:55:38 -05:00
Gajanan
a3cafec7b7
Bug 1325940 part 1 - Added a constructor for nsCSSValue to accept enumerations. r=xidorn
...
MozReview-Commit-ID: 5Vns9QGA8c5
--HG--
extra : rebase_source : fde6132848ba0c7d5d6e21a8cb063edf2ac10b03
extra : intermediate-source : be602e750e399e19e32a6a06ea22ce090495b4b2
extra : source : 8de1423bee6b7ba9d584419650674a4d4a7ac7b0
2017-12-21 12:23:36 +11:00
Emilio Cobos Álvarez
f9b153f761
Bug 1416564: Remove mozmm CSS unit. r=heycam
...
MozReview-Commit-ID: AU4CUq09tw4
2017-11-14 16:14:17 +01:00
Daniel Holbert
680815cd6e
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Cameron McCormack
0b7960f23a
Bug 1397626 - Part 3: Use SharedFontList to store font-family specified and computed values. r=xidorn
...
MozReview-Commit-ID: J3MNO2un2ov
--HG--
extra : rebase_source : 737943aea3d383669a7103d4e23f109889c09034
2017-10-03 12:27:45 +08:00
Cameron McCormack
7713fdd126
Bug 1397626 - Part 2: Replace uses of FontFamilyListRefCnt with SharedFontList. r=xidorn
...
MozReview-Commit-ID: 7HoBae9UOks
--HG--
extra : rebase_source : c0938e034847e825cab3684b70d097b0e0b8c9f9
2017-10-02 10:24:25 +08:00
Cameron McCormack
57d322dc42
Bug 1403073 - stylo: Fix some bindgen object layout issues. r=xidorn
...
MozReview-Commit-ID: CnW4J2ZlmfJ
--HG--
extra : rebase_source : 1a5318e75b1cde9a48dcdab689c7983a0b0c89b5
2017-09-26 15:06:33 +08:00
Nicholas Nethercote
6217edda82
Bug 1399758 - Measure ImageValue objects. r=heycam.
...
We have about 11,500 of these when loading gmail in a Stylo-enabled build, from
SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and
the strings within them about 2.9 MiB.
We also have a very small number of them on the Gecko side.
2017-09-14 18:48:19 +10:00
Nicholas Nethercote
0e7649f61d
Bug 1400100 - Shrink css::ImageValue. r=njn.
...
This reduces sizeof(ImageValue) from 104 to 96. When heap-allocated, this moves
it from the 112 byte bin to the 96 byte bin. Loading gmail with Stylo, there
are about 11,500 ImageValues on the heap, so this saves about 184,000 bytes.
MozReview-Commit-ID: JLe2cJ54IlL
--HG--
extra : rebase_source : 6c74d1d606db0cb1d09392f5585cc1cbadc92ebd
2017-09-15 14:37:12 +10:00
Josh Matthews
a323bdfe53
Bug 1397971 - Share strings in URLDataValue with Rust. r=heycam
...
--HG--
extra : amend_source : 7946c76a40240baac44db6c1c6c7b0117ced4219
2017-09-15 13:11:37 -07:00
Sebastian Hengst
627dd1e633
Backed out changeset 1536fa69bad4 (bug 1399758) for Hazard failures. r=backout
2017-09-15 10:00:52 +02:00
Nicholas Nethercote
beeb6cb150
Bug 1399758 - Measure ImageValue objects. r=heycam.
...
We have about 11,500 of these when loading gmail in a Stylo-enabled build, from
SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and the
strings within them about 2.9 MiB.
We also have a very small number of them on the Gecko side.
MozReview-Commit-ID: AduCIaDIzGG
--HG--
extra : rebase_source : ee2a20921a17b9091b60a5d9e389a6c6f2fa192b
2017-09-14 18:48:19 +10:00
Brad Werth
d073eb9bda
Bug 1383296 Part 1: Remove all uses of the nsCSSValue::Serialization enum, now that it no longer has multiple values. r=heycam
...
MozReview-Commit-ID: n6px5hNHtB
--HG--
extra : rebase_source : 6269a9d52e0282d0391276dc1b9ee26dbde7b985
2017-07-21 17:26:35 -07:00
Brad Werth
67a09de76f
Bug 1302513
Part 4: Remove the nsCSSValue::Serialization eAuthorSpecified enum, which is no longer used. r=dholbert
...
MozReview-Commit-ID: 1gmiFyULMsZ
--HG--
extra : rebase_source : 1d4220101105e61168eec491a242a74060f7d417
2017-07-21 14:26:36 -07:00
Cameron McCormack
dcfb190586
Bug 1382964 - Part 2: Assert we're on the main thread in nsCSSValueTokenStream::operator==. r=xidorn
...
This helps the heap write analysis believe that the nsCSSValue comparison
that nsStyleUIReset::CalcDifference does (for mSpecifiedWindowTransform,
which won't have nsCSSValueTokenStream values in it) is safe.
MozReview-Commit-ID: 4JvPC735D7i
--HG--
extra : rebase_source : 728f698a97a03b0259d82ea9e418117deda488a4
2017-07-22 10:11:06 +08:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Boris Chiou
430a10180c
Bug 1373712 - Part 1: Fix ParseHue() for inf value. r=dholbert
...
MozReview-Commit-ID: C9dCbbnFP3j
--HG--
extra : rebase_source : 4cc589647577c27434886f8df88c5ef9a9d10412
2017-06-21 12:50:11 +08:00
cku
cf9b91516f
Bug 1310885 - Part 4. (gecko) Allow ImageValue::Intialize be called more then once, but only LoadImage in the first call.
...
MozReview-Commit-ID: IjL2e2LIy0f
--HG--
extra : source : 140629aa3db83ddc1295dc32120ea2ed5b0bfa4a
2017-05-04 16:49:30 +08:00
Phil Ringnalda
0b5026dbf2
Backed out 3 changesets (bug 1310885) for heap write hazard failures
...
Backed out changeset 77352010d8e8 (bug 1310885)
Backed out changeset 9245a2fbb974 (bug 1310885)
Backed out changeset 7c2db290c4b6 (bug 1310885)
MozReview-Commit-ID: 7JWuxt9QDO0
2017-05-11 23:03:31 -07:00
cku
dce4536c2f
Bug 1310885 - Part 4. (gecko) Allow ImageValue::Intialize be called more then once, but only LoadImage in the first call. r=haycam
...
MozReview-Commit-ID: IjL2e2LIy0f
--HG--
extra : rebase_source : 7ba6688ca3ca09f30909014ecc45f182b47a3e69
extra : source : 11fbcc3d133ed19e658c297aaf07d9c96280650c
2017-05-04 16:49:30 +08:00
Xidorn Quan
98f239480d
Bug 1362302 part 1 - Use nsIAtom for counter style names. r=dbaron
...
MozReview-Commit-ID: 5VK6BgGRVRs
--HG--
extra : rebase_source : 104a28eddeb7984bd9f691693cf8debc1387fb87
2017-05-06 11:34:35 +10:00
Anthony Ramine
a2e7b85307
Bug 1361985 - Add Servo bindings for GridTemplateAreasValue. r=Manishearth
...
MozReview-Commit-ID: fi5j076kwH
--HG--
extra : rebase_source : 380b1a60a5385d762ee2f73bb089aaefb86c0c53
2017-05-04 12:24:01 +02:00
Daniel Holbert
4613644133
Bug 1357117 part 2: Add flag to distinguish between -moz & -webkit prefixed gradient expressions. r=heycam
...
This patch doesn't change our behavior -- we won't actually act on the new flag
until the next patch in this series.
MozReview-Commit-ID: EONsLM54eG1
--HG--
extra : rebase_source : cabd4a140d575794a8a656c47692bb9d3a02de88
2017-04-25 11:48:39 -07:00
Eric Rahm
152fcf01fe
Bug 1356060 - Just use nsString in URLValueData. r=heycam
...
This switches over from using nsStringBuffer to nsString for URLValueData's
|mString| member. This avoids various tedious conversions and can provide
potential performance improvements by avoiding length calculations.
MozReview-Commit-ID: 5eRifUZrAso
2017-04-13 15:18:25 -07:00
cku
db1a6cab83
Bug 1354772 - Part 2. Compute URLValueData::mMightHaveRef when need. r=heycam
...
MozReview-Commit-ID: 8t5tKrjB1cz
--HG--
extra : rebase_source : cda9e15dcb51aeedf6bb532dd702247e60e59304
2017-04-10 16:41:51 +08:00
cku
3509778fd7
Bug 1354772 - Part 1. Compute URLValueData::mIsLocalRef when need. r=heycam
...
MozReview-Commit-ID: 77pcTcaScF0
--HG--
extra : rebase_source : 2c609464dd85334b8a7dc747b65d72a646fbebc0
2017-04-10 17:25:48 +08:00