Commit Graph
74 Commits
Author SHA1 Message Date
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
Boris Zbarsky 7d9c0f6062 Bug 870566. Make dataset gets faster by spending less time messing with strings. r=smaug 2013-05-10 18:57:58 -04:00
Aryeh Gregor 6714817176 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Trevor Saunders f59ecbf4ab bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
Ehsan Akhgari cfae119983 Backed out changeset 8c95cee5cd9e (bug 801466) because of test failures in mochitest-1 2012-12-06 01:09:30 -05:00
Trevor Saunders 2f59b788ca bug 801466 - part 3.2 remove some usage of prmem in content/ r=mounir, khuey 2012-12-05 17:20:57 -05:00
Boris Zbarsky 4e934f7f8e Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Abhishek Potnis dd0a15b5b8 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Ms2ger efe9740aa0 Bug 798481 - Make IndexOf a little more const-correct; r=mounir 2012-10-06 09:19:46 +02:00
Ms2ger 2184026f82 Bug 784768 - Remove nsresult return value of nsMappedAttributes::SetAndTakeAttr; r=khuey 2012-09-06 09:14:49 +02:00
Ehsan Akhgari 243c878d26 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
Ms2ger ff1ec2f6ef Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Ed Morley a246794e16 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger 6fd13f14fd Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor e3e1225e61 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Boris Zbarsky 8d425d0948 Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
L. David Baron 5e15276248 Back out changeset d49beb57db23 (bug 558516) for causing all Mac builds to crash in nsXULElement::GetAttrValue and for causing a single mochitest-1 failure. 2012-07-13 18:01:25 -07:00
Boris Zbarsky dff2348fc9 Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Boris Zbarsky 0472c274cf Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking 2012-03-22 00:10:51 -04:00
Nicholas Nethercote 4aa40a8b27 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir. 2012-02-01 13:58:01 -08:00
Olli Pettay 43fc2ddb7c Backout Bug 704623, a=dromaeo regression 2012-02-20 14:54:45 +02:00
Johnny Stenback f5d953d699 Bug 704623, part 1. Track orphan DOM nodes so that they can be reported in about:memory. r=smaug 2012-02-14 15:13:19 -08:00
Ms2ger 9ea747117b Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Boris Zbarsky 50734a632b Bug 620122. Make sure, when unlinking, to remove the kids from our child list before unbinding them. r=smaug 2011-11-02 23:36:16 -04:00
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Mounir Lamouri 31550bfc1e Bug 678820 - nsAttrAndChildArray shouldn't ask for a new slot in the mapped attributes object when it is not needed. f=bz r=sicking 2011-08-24 19:27:52 +02:00
Ms2ger a700090ecc Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri 40a245a800 Bug 669904 - Add nsAttrValue size to the DOM Memory Reporter. f=bz r=jst 2011-08-11 00:54:19 +02:00
Mounir Lamouri 74b5d6c957 Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Jonas Sicking 89b835861c Bug 614583: Bail earlier when attempting to SetAttr when we don't have room for more attributes to avoid caching flags and attributes to get out of sync. r=jst a=blocker 2010-12-14 09:16:24 -08:00
Boris Zbarsky 30c115ffb5 Bug 565125 and bug 564974. Make sure to null out our sibling pointers even if our parent goes away due to gc. r=jst 2010-05-11 23:34:49 -04:00
Boris Zbarsky c4647fd159 Bug 564432 part 1. Give nsINode next/previous sibling pointers. r=jst, sr=sicking 2010-05-10 21:12:33 -04:00
L. David Baron 828c047fd4 No need to null-check aRuleWalker. (Bug 557154) r=bzbarsky 2010-04-06 15:32:51 -07:00
Jonas Sicking 6b5d698011 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
a4bb928a0c Bug 504453 nsAttrAndChildArray::GrowBy worries coverity
r=sicking sr=sicking
2009-07-22 17:31:01 -05:00
Boris Zbarsky 79c71131a8 Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Boris Zbarsky 338767598d Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
87036333c7 Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
530901270a Backing out due to test failures 2008-04-08 20:20:39 -07:00
230a81ffc6 Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
53eec62d4c Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
36e749a35a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
606ffe658a Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
[email protected] 016b87784f Fix order of mutation event firing for attribute removals. Bug 339494, r+sr=sicking 2006-11-11 00:04:46 +00:00