Commit Graph
35 Commits
Author SHA1 Message Date
Blake Kaplan d8846cdcec Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky 2013-05-01 15:50:08 -07:00
Gijs Kruitbosch 99687314bc Bug 125082 - use GetChildren in inDOMUtils and inDeepTreeWalker to get native anonymous content, too. r=roc 2013-04-14 11:47:31 -07:00
Gaurav Pruthi faeb8b22d5 Bug 672190 - Remove declaration and definitions of 'expandEntityReferences' from NodeIterator and TreeWalker. r=Ms2ger 2013-01-20 17:53:48 +05:30
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
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Zack Weinberg 3e3bff664d Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h. 2011-04-07 18:04:40 -07:00
Boris Zbarsky 8da6878451 Bug 522601. Make inDeepTreeWalker closer to spec behavior and implement various unimplemented methods. r=sicking,sdwilsh 2009-10-20 13:27:46 -04:00
Arpad Borsos 67a98b077f Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc 2009-03-12 08:26:29 +01:00
Karl Tomlinson 3509c4e0ce backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos 3ef565c040 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc 2009-03-11 15:26:36 +13:00
Arpad Borsos af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
945f8bd434 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
46f0a1f41c reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
56b16d9b10 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07: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] 7a41bbf68d Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
[email protected] cf64e18629 Bug 344396 domi crashes inspecting something [@ nsBindingManager::GetContentListFor]
r=jst sr=jst
2006-07-14 12:08:59 +00:00
[email protected] e090db101a Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-05-17 02:38:56 +00:00
[email protected] 023efa5470 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2006-05-17 02:38:46 +00:00
[email protected] 3698e90e44 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:38:30 +00:00
[email protected] a662a74f7a General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. [email protected] 2006-05-17 02:38:16 +00:00
[email protected] ca778a7166 Free remaining stack items in destructor to fix leaking pretty much everything. b=230264 r=caillon sr=bryner 2006-05-17 02:38:15 +00:00
[email protected] 64fbeaa2c8 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2006-05-17 02:38:09 +00:00
[email protected] 6f246a1b8a Show #document nodes in iframes. Fix up various code that assumed they would
_not_ be shown.  Minor cleanup of various sorts (nsCOMArray, etc).  Bug 201585,
r=caillon, sr=alecf
2006-05-17 02:38:00 +00:00
[email protected] 6f889f5d72 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-05-17 02:37:49 +00:00
[email protected] 55bc027bca 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2006-05-17 02:37:36 +00:00
[email protected] 59467ab00b DOM Inspector update - tons of crash fixes, js error fixes, performance and usability improvements, r=jag, sr=hyatt 2006-05-17 02:33:42 +00:00
[email protected] 0d3defd4b0 License changes, take 2. Bug 98089. mozilla/extensions/. 2006-05-17 02:33:34 +00:00
[email protected] bf823dc6ce Oops. 2006-05-17 02:33:32 +00:00
[email protected] 24cfc674e6 bug #98089: ripped new license 2006-05-17 02:33:31 +00:00
[email protected] 1592d62ebb 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:12 +00:00
[email protected] cde5f6bb3e 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:04 +00:00