Emilio Cobos Álvarez
2c0c593033
Bug 1600376 - Remove useless namespace qualifications in layout/style. r=jwatt
...
All these things are in the mozilla namespace and such. Clean up a bit.
Differential Revision: https://phabricator.services.mozilla.com/D55319
--HG--
extra : moz-landing-system : lando
2019-11-30 11:57:10 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Cameron McCormack
48fe6dbe69
Bug 1472065
- Initialize mSheet and mParentRule in css::Rule's constructor. r=xidorn
...
MozReview-Commit-ID: JI3cMiJaH3x
--HG--
extra : rebase_source : 3f45a63c8817df9550c5c638ad5b978421fa051c
2018-06-29 12:56:09 +10:00
Emilio Cobos Álvarez
5cb9f4328b
Bug 1457920: Remove DidDirty. r=xidorn
...
MozReview-Commit-ID: 54sVDiRkLze
2018-05-02 04:13:16 +02:00
Xidorn Quan
65e2284ca0
Bug 1449103 part 3 - Merge ServoGroupRuleRules into GroupRule. r=emilio
...
MozReview-Commit-ID: 83rI7gydEUd
--HG--
extra : rebase_source : 79dcfe8f2fb3839130af1ed5833c6b8c57491e04
2018-03-28 12:25:36 +11:00
Emilio Cobos Álvarez
f7522ae728
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Cameron McCormack
56e5cb8558
Bug 1427512 - Part 19: Remove nsIDOMCSSRuleList. r=xidorn,jryans
...
Also remove the QI to CSSRuleList, since it seems to be unused.
MozReview-Commit-ID: 3mp7qu6hbeU
2018-01-11 16:17:56 +08:00
Cameron McCormack
55dcbea002
Bug 1427512 - Part 16: Remove nsIDOMCSSRule. r=xidorn,jryans,bz
...
MozReview-Commit-ID: GvVdW9w5Cc4
2018-01-11 16:17:56 +08:00
Cameron McCormack
7096fda1ce
Bug 1427512 - Part 4: Remove nsIDOMCSSConditionRule. r=xidorn
...
MozReview-Commit-ID: GRB39ehkA4p
2018-01-11 16:17:55 +08:00
Cameron McCormack
5190a83f78
Bug 1427512 - Part 3: Remove nsIDOMCSSMediaRule. r=xidorn,jryans
...
MozReview-Commit-ID: L62wFJqJcm6
2018-01-11 16:17:54 +08:00
Cameron McCormack
34f22affae
Bug 1427512 - Part 1: Remove nsIDOMCSSMozDocumentRule. r=xidorn
...
MozReview-Commit-ID: 5DtuerpLzru
2018-01-11 16:17:54 +08:00
Xidorn Quan
783034684d
Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
...
MozReview-Commit-ID: Ftg3WMBBNlO
--HG--
extra : rebase_source : 65834280c2ae9736861096172ca3f1d4e789c7a4
extra : source : ecbc4f545e09e969b8212e77d013a6b46b983763
2017-11-28 17:06:51 -06:00
Tiberius Oros
c1f0b328fa
Backed out changeset 5043401c5447 (bug 1412145)for failing layout/style/test/test_any_dynamic.html r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : 7779c8e296c0e8e1a9677608f67d28f171cdf654
2017-11-28 21:50:29 +02:00
Xidorn Quan
80a94641e2
Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
...
MozReview-Commit-ID: Ftg3WMBBNlO
2017-10-24 12:20:50 +11: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
Fernando Jimenez Moreno
f61c37ce13
Bug 1382285 - stylo: initialize missing Servo*Rule with line and column numbers. r=xidorn
...
MozReview-Commit-ID: 7gNTbctHYGh
--HG--
extra : rebase_source : 3a7649155311b89809470dce0121e28a465c630d
2017-07-24 15:07:07 +02:00
Xidorn Quan
3ff8225019
Bug 1379941 - Null-check mRuleList in ServoGroupRuleRules::Clear. rs=bholley
...
MozReview-Commit-ID: 6AvZlm4J9wF
--HG--
extra : source : a682ffe958fdec99f36b90ab1f06a5111709076c
2017-07-12 16:34:03 +10:00
Xidorn Quan
a17c79bc30
Bug 1352968 part 5 - Add a param to ctor of ServoCSSRuleList for top level list. r=heycam
...
@import rules can only exist in top level rule lists, and we need the
stylesheet to construct the import rules.
MozReview-Commit-ID: APCyGW8re8f
--HG--
extra : source : b9b78672249f390d56d71fa46dfa4b4cd49ef182
2017-05-30 11:10:25 +10:00
Xidorn Quan
6d88ee92fc
Bug 1315601 part 16 - Implement ServoMediaRule. r=heycam
...
MozReview-Commit-ID: GcDNr5Lv73m
--HG--
extra : rebase_source : 0266aba01f11f75256535bc03769f8edffec8e5b
2017-03-09 17:37:45 +11:00
Xidorn Quan
7d403bebc2
Bug 1315601 part 11 - Add Servo support to GroupRule. r=heycam
...
MozReview-Commit-ID: HLYRz0hsFWc
--HG--
extra : rebase_source : a1ecece1115d08e3c377d8eb1bcd8f7e34957dc2
2017-03-09 20:52:26 +11:00
Xidorn Quan
5155993e83
Bug 1315601 part 9 - Split Gecko-specific GroupRule logic into a separate struct. r=heycam
...
MozReview-Commit-ID: 7CkGO2KgJN3
--HG--
extra : rebase_source : 04cb9ea11e01a4f57497b4edf148adbd4fc1311b
2017-03-09 22:02:26 +11:00
Xidorn Quan
abbff1ff9a
Bug 1315601 part 7 - Simplify ConditionRule. r=heycam
...
MozReview-Commit-ID: 1Ip53AOirbi
--HG--
extra : rebase_source : 078ee67ece475cbf68f7395624abfa4e17cbc42c
2017-02-24 14:12:23 +11:00
Xidorn Quan
01addcd50e
Bug 1342303 part 6 - Remove nsCOMArray::Enumerate{Forwards,Backwards}. r=erahm
...
MozReview-Commit-ID: GLappWGZdtz
--HG--
extra : rebase_source : 0c191193ff5a6040a809d17ac234b5e9e733656e
2017-02-24 21:37:07 +11:00
Xidorn Quan
6cfb39e127
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
--HG--
extra : rebase_source : ab20efdda8706a3443038abea25a9de6d73a0b60
2017-03-03 15:19:06 +11:00
Wes Kocher
5bb9a497ef
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
1297589623
Bug 1342303 part 6 - Remove nsCOMArray::Enumerate{Forwards,Backwards}. r=erahm
...
MozReview-Commit-ID: GLappWGZdtz
--HG--
extra : rebase_source : 72ebafcbf89b8fce123101d23c3d65bbc8c3bdff
2017-02-24 21:37:07 +11:00
Xidorn Quan
321b99076d
Bug 1342303 part 4 - Remove nsCOMArray::EnumerateForwards uses in layout/style. r=heycam
...
MozReview-Commit-ID: UjIZgeWRwh
--HG--
extra : rebase_source : 87b81a5eccb9744a4edd99e82b309b4910811640
2017-02-27 10:45:45 +11:00
Boris Zbarsky
4ce77bc3a3
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
0da388ba25
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4fe3d0c6dd
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
65f894384a
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Sebastian Hengst
3c9c348769
Backed out changeset 9a4b96c10b23 (bug 851892) for build bustage. r=backout on a CLOSED TREE
2017-01-20 19:31:31 +01:00
Sebastian Hengst
24246c7ba1
Backed out changeset 659550973d4d (bug 851892)
2017-01-20 19:30:37 +01:00
Sebastian Hengst
bcb6968086
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01:00
Sebastian Hengst
927a298938
Backed out changeset 1bbbc436690d (bug 851892)
2017-01-20 19:30:10 +01:00
Boris Zbarsky
85499be2bd
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
4cc8d36e13
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
e1ec75387e
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
e92f7dfbdc
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam,smaug
2016-11-30 18:18:14 -05:00
Phil Ringnalda
686006613e
Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
...
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky
53db7fe244
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
13b4594e28
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
52920d72fc
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
b428dc3b24
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Boris Zbarsky
0c844d909c
Back out bug 851892 for Windows build bustage on CLOSED TREE
2017-01-13 11:47:22 -05:00
Boris Zbarsky
546d9dad1b
Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
c2d6f05094
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
75a4f847c1
Bug 851892 part 7. Push the nsIDOMCSSRule implementation up to css::Rule. r=heycam
2017-01-13 10:41:02 -05:00