Cameron McCormack
6f90b41a9a
Bug 77999 - Part 1: Add nsDocumentRuleResultCacheKey. r=dbaron
2015-06-26 13:52:47 +10:00
Kevin Wern
22b58a71ec
Bug 1148694 patch 2 - Remove interface and implementation of CSSCharsetRule. r=dbaron
2015-04-21 00:08:36 -07:00
Cameron McCormack
eb82fe6bac
Bug 1149042 - Call AttributeWillChange before a style="" attribute gets created when touching element.style. r=smaug
2015-04-10 10:41:35 +10:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
L. David Baron
ff080cde67
Bug 1100773 patch 2 - Convert style rule List methods to use fprintf_stderr. r=heycam
...
Note that getting decent logcat output on Android and B2G requires not
splitting lines of output across multiple fprintf_stderr calls.
2014-11-26 22:29:44 -08:00
L. David Baron
4bd15269cc
Bug 1100773 patch 1 - Fix bracing of indent loops in style rule print functions. r=heycam
2014-11-26 22:29:44 -08:00
Boris Zbarsky
a0c3c5386e
Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv
2014-10-22 11:40:49 -04:00
John Daggett
86582fcf9e
Bug 1079422 - eliminate the ptr to FontFace within @font-face rules. r=heycam
2014-10-09 16:03:56 +09:00
Cameron McCormack
71b2c92f8c
Bug 1028497 - Part 7: Add ability to create a FontFace for a @font-face rule; store it on the nsCSSFontFaceRule. r=jdaggett,bzbarsky
...
Every nsCSSFontFaceRule that is used will get a FontFace object to
reflect it in the FontFaceSet. Here we add storage on the
nsCSSFontFaceRule for its FontFace, although it will be the
FontFaceSet's responsibility to set it. We also add a static
constructor function on FontFace to create one that reflects a rule.
2014-10-02 12:32:06 +10:00
Cameron McCormack
7f1838edce
Bug 1070316 - Factor out descriptor storage from nsCSSFontFaceStyleDecl. r=dbaron
2014-09-25 09:25:40 +10:00
Cameron McCormack
1bb97cae82
Bug 1069761 - Move AppendSerializedFontSrc to nsStyleUtil. r=jdaggett
2014-09-22 10:32:58 +10:00
Cameron McCormack
af3c434b06
Bug 1069065 - Cycle collect ImportRule. r=bzbarsky
2014-09-19 11:12:31 +10:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Birunthan Mohanathas
b89e87846b
Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo
2014-08-25 12:17:32 -07:00
Cameron McCormack
61c6b368fa
Bug 1043181 - Copy mValues and mGeneration in the nsCSSCounterStyleRule copy constructor. r=dbaron
2014-07-25 11:50:24 +10:00
Gabriel Luong
e20cf95928
Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz
2014-07-14 15:57:54 -07:00
Birunthan Mohanathas
f722b4c591
Bug 591303 - Part 2: Add getCSSRule function to nsIDOMCSSRule. r=bz
2014-07-14 15:57:46 -07:00
Benoit Jacob
e530f599fc
Bug 1035394 - Fix dangerous public destructors in layout - r=dbaron
2014-07-08 17:23:18 -04:00
Cameron McCormack
08fbb3c674
Bug 1031153 - Move unicode-range descriptor serialization to nsStyleUtil. r=dbaron
2014-07-04 11:19:33 +10:00
Ms2ger
7f901a51fa
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
2014-06-20 12:32:49 +02:00
Ms2ger
78134e6fa1
Backout revision 308e51eae10c for build bustage.
2014-06-20 13:00:08 +02:00
Ms2ger
f747edc3e4
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
2014-06-20 12:32:49 +02:00
Xidorn Quan
311ef2f9f9
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
Giovanni Sferro
6551a0ab1c
Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz
2014-06-09 22:11:00 -04:00
John Daggett
348e0cd17d
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
Birunthan Mohanathas
9f41043f62
Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
1ebdb921a5
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:50 +03:00
Ms2ger
56b66c2de2
Bug 995664 - Move CSSRuleList to WebIDL; r=bz
...
As CSSRuleList is the last consumer of nsArraySH and nsGenericArraySH, this
also removes those classes.
2014-05-03 09:32:54 +02:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
L. David Baron
00de9736ae
Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam
2014-03-04 20:13:20 -08:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cameron McCormack
f3062c8e72
Bug 731271 - Part 6: Add a chrome-only CSSDeclaration.getAuthoredPropertyValue() method to expose a property value in its original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Cameron McCormack
4afd66d2e7
Bug 731271 - Part 4: Add ability for nsCSSValues to serialize themselves in their original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Ehsan Akhgari
bbdec43a44
Bug 938123 - Build layout/style in unified mode; r=roc
2013-11-14 21:42:57 -05:00
Ms2ger
477105db60
Bug 921718 - Part b: Move MediaList to WebIDL; r=bz
2013-11-11 09:03:17 +01:00
Ms2ger
86b2808da6
Bug 923251 - Part i: Outparamdel nsMediaList::Clone; r=heycam
2013-11-11 09:00:55 +01:00
Masatoshi Kimura
bcb29ee96d
Bug 916871 - Remove classinfo bits for CSSGroupRuleRuleList. r=bz
2013-09-18 07:56:41 +09:00
Ehsan Akhgari
30bea3a588
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ms2ger
29d6d162dc
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
4b8da630f1
Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron
2013-08-02 09:04:31 +02:00
Ms2ger
05eabee20f
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
0dc9c0ef85
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Ms2ger
c630b2d13e
Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz
2013-07-24 09:27:17 +02:00
Catalin Iacob
f88cdc0744
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
2013-06-23 14:03:39 +02:00
Andrew McCreight
f42a11d53a
Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron
2013-06-13 15:13:13 -07:00