Commit Graph

49 Commits

Author SHA1 Message Date
Tom Tromey
ed86e23220 Bug 1142206 - Let GetSubpropertiesForCSSProperty handle custom property. r=heycam, r=pbrosset 2015-07-20 16:25:00 -04:00
Masatoshi Kimura
eed4479c2c Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
Masatoshi Kimura
af0110bbd1 Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Tom Tromey
403554c877 Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz 2015-05-04 10:28:00 -04:00
Tom Tromey
b4c837a439 Bug 1112014 - Avoid false negatives in CssPropertySupportsType. r=heycam
IGNORE IDL
2015-05-04 07:39:00 -04:00
Mike Hommey
b673a97a25 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Boris Zbarsky
ef887403cb Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Nathan Froyd
b5966ed356 Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Cameron McCormack
80f6b98f27 Bug 1121768 - Part 2: Give CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES an nsCSSProps::EnabledState argument. r=dbaron 2015-01-17 15:55:07 +11:00
Cameron McCormack
fcc6ac77b1 Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2015-01-17 15:16:02 +11:00
Phil Ringnalda
5cc5a1f24c Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Cameron McCormack
26febeb99d Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Michael Ratcliffe
4cb4071cf2 Bug 1112700 - Fix assertion failure: aPropID != eCSSPropertyExtra_variable r=me 2014-12-18 09:31:28 +00:00
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Gabor Krizsanits
eb20a2444f Bug 1079185 - Using GetFlattenedTreeParent in GetParentForNode. r=bz 2014-11-03 12:16:41 +01:00
L. David Baron
82e1493c16 Bug 1082899 patch 1 - Add a flags field to the CSS_PSEUDO_CLASS and related macros. r=birtles 2014-10-23 12:57:27 -04:00
Olli Pettay
1f448a88c4 Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Paul Rouget
aca1e4c415 Bug 1046140 - bail if getSubpropertiesForCSSProperty param is a CSS variable. r=bz 2014-07-31 22:33:17 +10:00
Brian Grinstead
a4b54ccb8b Bug 1037519 - Allow matching pseudo-elements in inIDOMUtils.selectorMatchesElement. r=bz 2014-07-18 14:30:00 -04:00
Michael Ratcliffe
4969ae2773 Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz 2014-07-17 15:08:07 +01:00
Birunthan Mohanathas
ad2cce83e8 Bug 591303 - Part 2: Add getCSSRule function to nsIDOMCSSRule. r=bz 2014-07-14 15:57:46 -07:00
Michael Ratcliffe
33bc59c54c Bug 1006595 - Add some APIs on inIDOMUtils to allow determining the subproperties of a CSS shorthand, whether a property is a shorthand, and whether a given property supports a given type of value. r=dbaron 2014-05-06 16:46:34 +01:00
Ms2ger
45efada15c Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
1ab8344d82 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
530bc74c8d Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Olli Pettay
2672babef6 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Neil Rashbrook
c16e751e37 Bug 1018324 Add scrollElementIntoView to inIDOMUtils as inIFlasher is going away r=roc 2014-06-09 08:35:13 +01:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Cameron McCormack
2777b01fc9 Bug 992488 - Return false early from inDOMUtils::SelectorMatchesElement if the selector is for a pseudo-element. r=bzbarsky 2014-04-15 12:28:57 +10:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Nicolas E. Bordenabe
dad7f1a2e1 Bug 973345 - Include gradient values in the return value of getCSSValuesForProperty() for properties that can have an <image> value specified. r=bz 2014-03-25 11:36:48 -04:00
Benoit Jacob
162c30b16f Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Peter Chang
1e4d8e1868 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Benoit Jacob
9c93a3d8aa Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
02ecb5a5d6 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
323054beb0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Robert O'Callahan
70770254da Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam
--HG--
extra : rebase_source : 94cf09d0d96dd3c8e2a9528f5d242e36e85fcf75
2014-02-06 00:10:44 +13:00
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
ebd358dfd7 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
8287d4f96a Bug 773296 - Part 28: Avoid some crashes in the inspector when variables are present. r=roc 2013-12-12 13:09:47 +11:00
Robert O'Callahan
ae14b92cc6 Bug 945091. Part 1: Flatten inspector/public and inspector/src into inspector. r=glandium
--HG--
rename : layout/inspector/src/inCSSValueSearch.cpp => layout/inspector/inCSSValueSearch.cpp
rename : layout/inspector/src/inCSSValueSearch.h => layout/inspector/inCSSValueSearch.h
rename : layout/inspector/src/inDOMUtils.cpp => layout/inspector/inDOMUtils.cpp
rename : layout/inspector/src/inDOMUtils.h => layout/inspector/inDOMUtils.h
rename : layout/inspector/src/inDOMView.cpp => layout/inspector/inDOMView.cpp
rename : layout/inspector/src/inDOMView.h => layout/inspector/inDOMView.h
rename : layout/inspector/src/inDeepTreeWalker.cpp => layout/inspector/inDeepTreeWalker.cpp
rename : layout/inspector/src/inDeepTreeWalker.h => layout/inspector/inDeepTreeWalker.h
rename : layout/inspector/src/inFlasher.cpp => layout/inspector/inFlasher.cpp
rename : layout/inspector/src/inFlasher.h => layout/inspector/inFlasher.h
rename : layout/inspector/public/inICSSValueSearch.idl => layout/inspector/inICSSValueSearch.idl
rename : layout/inspector/public/inIDOMUtils.idl => layout/inspector/inIDOMUtils.idl
rename : layout/inspector/public/inIDOMView.idl => layout/inspector/inIDOMView.idl
rename : layout/inspector/public/inIDeepTreeWalker.idl => layout/inspector/inIDeepTreeWalker.idl
rename : layout/inspector/public/inIFlasher.idl => layout/inspector/inIFlasher.idl
rename : layout/inspector/public/inISearchObserver.idl => layout/inspector/inISearchObserver.idl
rename : layout/inspector/public/inISearchProcess.idl => layout/inspector/inISearchProcess.idl
rename : layout/inspector/src/inLayoutUtils.cpp => layout/inspector/inLayoutUtils.cpp
rename : layout/inspector/src/inLayoutUtils.h => layout/inspector/inLayoutUtils.h
rename : layout/inspector/src/inSearchLoop.cpp => layout/inspector/inSearchLoop.cpp
rename : layout/inspector/src/inSearchLoop.h => layout/inspector/inSearchLoop.h
rename : layout/inspector/src/moz.build => layout/inspector/moz.build
rename : layout/inspector/src/nsFontFace.cpp => layout/inspector/nsFontFace.cpp
rename : layout/inspector/src/nsFontFace.h => layout/inspector/nsFontFace.h
rename : layout/inspector/src/nsFontFaceList.cpp => layout/inspector/nsFontFaceList.cpp
rename : layout/inspector/src/nsFontFaceList.h => layout/inspector/nsFontFaceList.h
rename : layout/inspector/public/nsIDOMFontFace.idl => layout/inspector/nsIDOMFontFace.idl
rename : layout/inspector/public/nsIDOMFontFaceList.idl => layout/inspector/nsIDOMFontFaceList.idl
2013-12-04 14:04:23 +13:00
Carsten "Tomcat" Book
7bd597dc19 Backed out changeset 1dcb339812d1 (bug 945091) for mochitest-8 bustage on a CLOSED TREE
--HG--
rename : layout/inspector/inICSSValueSearch.idl => layout/inspector/public/inICSSValueSearch.idl
rename : layout/inspector/inIDOMUtils.idl => layout/inspector/public/inIDOMUtils.idl
rename : layout/inspector/inIDOMView.idl => layout/inspector/public/inIDOMView.idl
rename : layout/inspector/inIDeepTreeWalker.idl => layout/inspector/public/inIDeepTreeWalker.idl
rename : layout/inspector/inIFlasher.idl => layout/inspector/public/inIFlasher.idl
rename : layout/inspector/inISearchObserver.idl => layout/inspector/public/inISearchObserver.idl
rename : layout/inspector/inISearchProcess.idl => layout/inspector/public/inISearchProcess.idl
rename : layout/inspector/nsIDOMFontFace.idl => layout/inspector/public/nsIDOMFontFace.idl
rename : layout/inspector/nsIDOMFontFaceList.idl => layout/inspector/public/nsIDOMFontFaceList.idl
rename : layout/inspector/inCSSValueSearch.cpp => layout/inspector/src/inCSSValueSearch.cpp
rename : layout/inspector/inCSSValueSearch.h => layout/inspector/src/inCSSValueSearch.h
rename : layout/inspector/inDOMUtils.cpp => layout/inspector/src/inDOMUtils.cpp
rename : layout/inspector/inDOMUtils.h => layout/inspector/src/inDOMUtils.h
rename : layout/inspector/inDOMView.cpp => layout/inspector/src/inDOMView.cpp
rename : layout/inspector/inDOMView.h => layout/inspector/src/inDOMView.h
rename : layout/inspector/inDeepTreeWalker.cpp => layout/inspector/src/inDeepTreeWalker.cpp
rename : layout/inspector/inDeepTreeWalker.h => layout/inspector/src/inDeepTreeWalker.h
rename : layout/inspector/inFlasher.cpp => layout/inspector/src/inFlasher.cpp
rename : layout/inspector/inFlasher.h => layout/inspector/src/inFlasher.h
rename : layout/inspector/inLayoutUtils.cpp => layout/inspector/src/inLayoutUtils.cpp
rename : layout/inspector/inLayoutUtils.h => layout/inspector/src/inLayoutUtils.h
rename : layout/inspector/inSearchLoop.cpp => layout/inspector/src/inSearchLoop.cpp
rename : layout/inspector/inSearchLoop.h => layout/inspector/src/inSearchLoop.h
rename : layout/inspector/moz.build => layout/inspector/src/moz.build
rename : layout/inspector/nsFontFace.cpp => layout/inspector/src/nsFontFace.cpp
rename : layout/inspector/nsFontFace.h => layout/inspector/src/nsFontFace.h
rename : layout/inspector/nsFontFaceList.cpp => layout/inspector/src/nsFontFaceList.cpp
rename : layout/inspector/nsFontFaceList.h => layout/inspector/src/nsFontFaceList.h
2013-12-04 09:24:09 +01:00
Robert O'Callahan
2972197828 Bug 945091. Part 1: Flatten inspector/public and inspector/src into inspector. r=glandium
--HG--
rename : layout/inspector/src/inCSSValueSearch.cpp => layout/inspector/inCSSValueSearch.cpp
rename : layout/inspector/src/inCSSValueSearch.h => layout/inspector/inCSSValueSearch.h
rename : layout/inspector/src/inDOMUtils.cpp => layout/inspector/inDOMUtils.cpp
rename : layout/inspector/src/inDOMUtils.h => layout/inspector/inDOMUtils.h
rename : layout/inspector/src/inDOMView.cpp => layout/inspector/inDOMView.cpp
rename : layout/inspector/src/inDOMView.h => layout/inspector/inDOMView.h
rename : layout/inspector/src/inDeepTreeWalker.cpp => layout/inspector/inDeepTreeWalker.cpp
rename : layout/inspector/src/inDeepTreeWalker.h => layout/inspector/inDeepTreeWalker.h
rename : layout/inspector/src/inFlasher.cpp => layout/inspector/inFlasher.cpp
rename : layout/inspector/src/inFlasher.h => layout/inspector/inFlasher.h
rename : layout/inspector/public/inICSSValueSearch.idl => layout/inspector/inICSSValueSearch.idl
rename : layout/inspector/public/inIDOMUtils.idl => layout/inspector/inIDOMUtils.idl
rename : layout/inspector/public/inIDOMView.idl => layout/inspector/inIDOMView.idl
rename : layout/inspector/public/inIDeepTreeWalker.idl => layout/inspector/inIDeepTreeWalker.idl
rename : layout/inspector/public/inIFlasher.idl => layout/inspector/inIFlasher.idl
rename : layout/inspector/public/inISearchObserver.idl => layout/inspector/inISearchObserver.idl
rename : layout/inspector/public/inISearchProcess.idl => layout/inspector/inISearchProcess.idl
rename : layout/inspector/src/inLayoutUtils.cpp => layout/inspector/inLayoutUtils.cpp
rename : layout/inspector/src/inLayoutUtils.h => layout/inspector/inLayoutUtils.h
rename : layout/inspector/src/inSearchLoop.cpp => layout/inspector/inSearchLoop.cpp
rename : layout/inspector/src/inSearchLoop.h => layout/inspector/inSearchLoop.h
rename : layout/inspector/src/moz.build => layout/inspector/moz.build
rename : layout/inspector/src/nsFontFace.cpp => layout/inspector/nsFontFace.cpp
rename : layout/inspector/src/nsFontFace.h => layout/inspector/nsFontFace.h
rename : layout/inspector/src/nsFontFaceList.cpp => layout/inspector/nsFontFaceList.cpp
rename : layout/inspector/src/nsFontFaceList.h => layout/inspector/nsFontFaceList.h
rename : layout/inspector/public/nsIDOMFontFace.idl => layout/inspector/nsIDOMFontFace.idl
rename : layout/inspector/public/nsIDOMFontFaceList.idl => layout/inspector/nsIDOMFontFaceList.idl
extra : rebase_source : 6db93b3110568dcde9236f4ee35e61333d7316f0
2013-12-04 14:04:23 +13:00