Chris Peterson
d09123f248
Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: DE5HkIhsZ6D
--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08: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
Boris Zbarsky
b48329cce4
Bug 1434390. Mostly get rid of GetCssTextImpl. r=emilio
...
MozReview-Commit-ID: 5fejArxQckq
2018-01-30 16:30:08 -05:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Cameron McCormack
32554d99d3
Bug 1427512 - Part 17: Remove nsICSSStyleRuleDOMWrapper. r=xidorn
...
This interface is unused since bug 1427419.
MozReview-Commit-ID: HJH628fhfK6
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
242feb15c7
Bug 1427512 - Part 15: Remove nsIDOMCSSStyleRule. r=xidorn,jryans
...
MozReview-Commit-ID: 7riPO9da5KL
2018-01-11 16:17:56 +08: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
Cameron McCormack
6e9ab08423
Bug 1408311 - Part 2: Add GetDeclarationBlock method to BindingStyleRule. r=xidorn
...
MozReview-Commit-ID: 5adkbeTOHQU
--HG--
extra : rebase_source : 67d196ac36b5f6daca8e20f6ec6063b3f2f8c84d
2017-10-19 15:55:42 +08: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
Nicholas Nethercote
dfd3b7e7aa
Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
...
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.
These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.
- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>
- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
- Count() --> Length()
- ObjectAt() --> ElementAt()
- AppendObject() --> AppendElement()
- RemoveObjectAt() --> RemoveElementAt()
- ns*Hashtable<nsISupportsHashKey, ...> -->
ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>
- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
- This requires adding a Get() method to nsRefPtrHashtable that it lacks but
nsInterfaceHashtable has.
- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
- nsArrayBase::Create() --> nsTArray()
- GetLength() --> Length()
- do_QueryElementAt() --> operator[]
The patch also has some changes to Rust code that manipulates nsIAtom.
MozReview-Commit-ID: DykOl8aEnUJ
--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Fernando Jimenez Moreno
31a637df14
Bug 1367615 - Part 1: Move inDOMUtils style rules related functionality to BindingStyleRule. r=emilio
...
MozReview-Commit-ID: 7d96KT2yYBF
--HG--
extra : rebase_source : ebfff1ea39b8c360c731fa721fd0d67127fb23f3
2017-06-07 17:48:49 +02:00
Boris Zbarsky
2daa8920fe
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
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
0591cf1be7
Bug 851892 part 5. Get rid of DOMCSSStyleRule. r=heycam,smaug
2017-01-13 10:41:02 -05:00
Boris Zbarsky
637e48e6e3
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv,smaug
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
6e795d159b
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. 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
c2dff8d692
Backed out changeset 795ebf4423ba (bug 851892)
2017-01-20 19:30:59 +01:00
Sebastian Hengst
63caf1fba9
Backed out changeset 3be6690b9f0a (bug 851892)
2017-01-20 19:30:50 +01:00
Sebastian Hengst
1c3bfd1016
Backed out changeset 2c2afe732553 (bug 851892)
2017-01-20 19:30:46 +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
d4070f77eb
Backed out changeset 31103a03f2c2 (bug 851892)
2017-01-20 19:30:14 +01:00
Boris Zbarsky
2132f0075d
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
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
bae3c90b82
Bug 851892 part 5. Get rid of DOMCSSStyleRule. r=heycam,smaug
2017-01-13 10:41:02 -05:00
Boris Zbarsky
ec2fad773f
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv,smaug
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
5bb4a84030
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. 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
12d9bfeec4
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
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
1bde6ae3c2
Bug 851892 part 5. Get rid of DOMCSSStyleRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
56e3ade4f8
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
ff9df2fc65
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. 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
440a3a3356
Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
...
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
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
Boris Zbarsky
2f515d8b8a
Bug 851892 part 5. Get rid of DOMCSSStyleRule. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
d4570e4e2e
Bug 851892 part 4. Make css::Rule wrappercached. r=heycam,peterv
...
Note that this increases the size of css::Rule by three words, unfortunately.
2017-01-13 10:41:02 -05:00
Boris Zbarsky
87ecdeb643
Bug 851892 part 2. Remove the now-unused GetExistingDOMRule method. r=heycam
2017-01-13 10:41:02 -05:00
Boris Zbarsky
b775cd73c7
Bug 851892 part 1. Make all CSS rules cycle-collected. r=heycam
2016-11-30 18:18:14 -05:00
Xidorn Quan
9be0143f3a
Bug 1307357 part 1 - Make css::Rule hold StyleSheet rather than CSSStyleSheet. r=heycam
...
MozReview-Commit-ID: JsJa4YqpCZy
--HG--
extra : source : b2ad813e35665e9bfede2753f19de3730869fc2f
2016-11-23 10:26:20 +11:00