Commit Graph

35 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Simon Montagu
4842b65418 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, content part, r=bz 2012-04-17 07:03:10 +03:00
Matt Brubeck
3697f5b568 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Simon Montagu
4d0ef903c3 Add support for :dir(ltr/rtl) CSS selector, content part, Bug 562169, r=bz 2012-04-17 07:03:10 +03:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Aryeh Gregor
3881decf87 Bug 563659 part 5 - Move things from FragmentOrElement to nsGenericElement; r=bz 2012-07-24 11:10:25 +03:00
Aryeh Gregor
c29a19dfd3 Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Rafael Ávila de Espíndola
4debe00c73 Bug 774021 - Remove extra ;. r=n.nethercote 2012-07-15 00:11:10 -04:00
Olli Pettay
86b93c2844 Bug 730639 - Blast DOM owned subtrees during canSkip, r=mccr8 2012-06-28 01:09:15 +03:00
David Zbarsky
bde771192d Bug 661746 - Part of part 2: Introduce a const AsElement(). r=bzbarsky 2012-06-23 08:57:57 +02:00
Aryeh Gregor
3d44ac4532 Bug 763283 part 3 - Change nsINode::AsElement from NS_ASSERTION to MOZ_ASSERT; r=mounir 2012-06-11 18:07:49 +03:00
Jignesh Kakadiya
5f54555c47 Bug 744157 - Return nsICSSDeclaration from Element::GetSMILOverrideStyle 2012-06-09 15:19:25 -07:00
Mounir Lamouri
02d0bbfe97 Bug 762434 - Allow any element to be labelable. r=bz 2012-06-07 20:41:23 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
cb0259bd68 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
d1716a2167 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Nicholas Nethercote
9d7b189319 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Heather Arthur
427ed3f6af Bug 708874 - API for locking pseudo-class state of an element. r=bz 2012-02-08 10:42:38 -08:00
Chris Pearce
c2405549e1 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Fabien Cazenave
b7979f1599 Bug 690372 - Give an IID to dom::Element. r=ehsan 2011-11-21 16:32:14 +01:00
Ed Morley
a65b13a742 Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz 2011-11-14 18:10:22 +00:00
David Zbarsky
ee37d5cfa8 Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky 2011-11-14 16:30:08 +13:00
David Zbarsky
4a23b35179 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Mounir Lamouri
0dfc533aac Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
7867f56859 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky
35d9b78644 Bug 598833 part 5. Store focus and focusring state directly on elements. r=smaug,enn 2011-05-31 21:46:56 -04:00
Boris Zbarsky
ea4a3c7f36 Bug 598833 part 2. Create basic infrastructure for letting the ESM store states on elements. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
142a55fcd8 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Boris Zbarsky
8f5ac05aaf Bug 479655 part 2. Add element restyle flags. r=dbaron, sr=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
350834e088 Bug 562688 part 2. Create a mozilla::dom::Element class sitting between nsGenericElement and nsIContent. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00