Emilio Cobos Álvarez
4b8b5e1717
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
d8f914643f
Bug 1463386: Remove eCSSUnit_Image. r=heycam
...
MozReview-Commit-ID: 9OX6iW7Lr5Q
2018-05-22 13:34:17 +02:00
Xidorn Quan
f0a638fcfa
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
c6bbb5991e
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
6540b4d185
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 15:00:50 +10:00
Jonathan Watt
bd03a860aa
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
9243470005
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
2018-04-13 20:34:37 +01:00
Sebastian Hengst
d91e9954eb
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
270ee683be
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Emilio Cobos Álvarez
e2d66e585e
Bug 1452987: Simplify ImageValue. r=heycam
...
MozReview-Commit-ID: 5LRaaEPSSdY
2018-04-10 16:54:57 +02:00
Emilio Cobos Álvarez
a3d8e5383d
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
8d4e3122a2
Bug 1448763 part 9 - Remove nsCSSRect. r=emilio
...
MozReview-Commit-ID: BOsjszpdKwt
2018-04-05 18:27:33 +10:00
Xidorn Quan
ed2c54ec09
Bug 1448763 part 7 - Remove nsCSSCornerSizes. r=emilio
...
MozReview-Commit-ID: jjSjoskIB8
2018-04-05 18:27:33 +10:00
Xidorn Quan
efd3cd2675
Bug 1448763 part 6 - Remove nsCSSValueTriplet. r=emilio
...
MozReview-Commit-ID: 29GtK1gtreU
2018-04-05 18:27:33 +10:00
Xidorn Quan
bdbc065c2a
Bug 1448763 part 5 - Remove all color stuff from nsCSSValue. r=emilio
...
MozReview-Commit-ID: DQX0HOr8R8
2018-04-05 18:27:33 +10:00
Xidorn Quan
77ef20f203
Bug 1448763 part 4 - Remove nsCSSValueGradient and its friends. r=emilio
...
MozReview-Commit-ID: JoYZyud2Wtu
2018-04-05 18:27:33 +10:00
Xidorn Quan
1f5e0cdd52
Bug 1448763 part 3 - Remove nsCSSValueTokenStream. r=emilio
...
MozReview-Commit-ID: 79CPOfWbo7t
2018-04-05 18:27:33 +10:00
Xidorn Quan
9d17ff4010
Bug 1448763 part 2 - Remove serialization code for specified value. r=emilio
...
MozReview-Commit-ID: 2DTGHb7GH4T
2018-04-05 18:27:33 +10:00
Emilio Cobos Álvarez
9bb6583fdb
Bug 1442246: Copy less URLs on stylo. r=jdm
...
MozReview-Commit-ID: NmHue1mGDq
2018-03-03 20:37:52 +01:00
Brad Werth
c09778c518
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
2018-01-25 14:56:39 -08:00
Brad Werth
f982f5ccce
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
2018-01-29 13:55:38 -05:00
Andreea Pavel
d12d04aff1
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
a7fcc3822e
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
2018-01-29 13:55:38 -05:00
Gajanan
b7352b61dc
Bug 1325940 part 1 - Added a constructor for nsCSSValue to accept enumerations. r=xidorn
...
MozReview-Commit-ID: 5Vns9QGA8c5
2017-12-21 12:23:36 +11:00
Emilio Cobos Álvarez
c4bd75ce44
Bug 1416564: Remove mozmm CSS unit. r=heycam
...
MozReview-Commit-ID: AU4CUq09tw4
2017-11-14 16:14:17 +01:00
Daniel Holbert
8fea3c215f
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
2017-10-27 10:33:53 -07:00
Nicholas Nethercote
7dbfdaf890
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
2017-10-03 09:05:19 +11:00
Cameron McCormack
0adc428de6
Bug 1397626 - Part 3: Use SharedFontList to store font-family specified and computed values. r=xidorn
...
MozReview-Commit-ID: J3MNO2un2ov
2017-10-03 12:27:45 +08:00
Cameron McCormack
4ad8de31f3
Bug 1397626 - Part 2: Replace uses of FontFamilyListRefCnt with SharedFontList. r=xidorn
...
MozReview-Commit-ID: 7HoBae9UOks
2017-10-02 10:24:25 +08:00
Cameron McCormack
a44995e756
Bug 1403073 - stylo: Fix some bindgen object layout issues. r=xidorn
...
MozReview-Commit-ID: CnW4J2ZlmfJ
2017-09-26 15:06:33 +08:00
Nicholas Nethercote
5089385c78
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
41a5468e25
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
2017-09-15 14:37:12 +10:00
Josh Matthews
64ccd9b6c6
Bug 1397971 - Share strings in URLDataValue with Rust. r=heycam
2017-09-15 13:11:37 -07:00
Sebastian Hengst
bee1310a1f
Backed out changeset 1536fa69bad4 (bug 1399758) for Hazard failures. r=backout
2017-09-15 10:00:52 +02:00
Nicholas Nethercote
fb472f685b
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
2017-09-14 18:48:19 +10:00
Brad Werth
52b929d34a
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
2017-07-21 17:26:35 -07:00
Brad Werth
06ba7cea12
Bug 1302513 Part 4: Remove the nsCSSValue::Serialization eAuthorSpecified enum, which is no longer used. r=dholbert
...
MozReview-Commit-ID: 1gmiFyULMsZ
2017-07-21 14:26:36 -07:00
Cameron McCormack
677003b8bf
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
2017-07-22 10:11:06 +08:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Boris Chiou
4e6b87296a
Bug 1373712 - Part 1: Fix ParseHue() for inf value. r=dholbert
...
MozReview-Commit-ID: C9dCbbnFP3j
2017-06-21 12:50:11 +08:00
cku
c6499b81da
Bug 1310885 - Part 4. (gecko) Allow ImageValue::Intialize be called more then once, but only LoadImage in the first call.
...
MozReview-Commit-ID: IjL2e2LIy0f
2017-05-04 16:49:30 +08:00
Phil Ringnalda
c80de42a91
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
f6d604f05a
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
2017-05-04 16:49:30 +08:00
Xidorn Quan
45a9721391
Bug 1362302 part 1 - Use nsIAtom for counter style names. r=dbaron
...
MozReview-Commit-ID: 5VK6BgGRVRs
2017-05-06 11:34:35 +10:00
Anthony Ramine
382c17706f
Bug 1361985 - Add Servo bindings for GridTemplateAreasValue. r=Manishearth
...
MozReview-Commit-ID: fi5j076kwH
2017-05-04 12:24:01 +02:00
Daniel Holbert
b2b5cf7068
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
2017-04-25 11:48:39 -07:00
Eric Rahm
6021db5857
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
b1c9fe3f9f
Bug 1354772 - Part 2. Compute URLValueData::mMightHaveRef when need. r=heycam
...
MozReview-Commit-ID: 8t5tKrjB1cz
2017-04-10 16:41:51 +08:00
cku
c77e7448d3
Bug 1354772 - Part 1. Compute URLValueData::mIsLocalRef when need. r=heycam
...
MozReview-Commit-ID: 77pcTcaScF0
2017-04-10 17:25:48 +08:00