Commit Graph

106 Commits

Author SHA1 Message Date
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Peter Van der Beken
1de207af3c Fix for bug 565742 (too much QIing/Addrefing/Releasing under NativeInterface2JSObject). r=smaug, a=bsmedberg. 2010-07-13 17:44:51 +02:00
Markus Stange
2ea78354c5 Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc 2010-08-13 15:31:31 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Boris Zbarsky
f4cb58ddb5 Bug 479655 part 1.5. Free up two more element bits. r=jst 2010-06-18 12:23:04 -04:00
Ms2ger
991ef5697d Bug 566776 - Some nsINode methods defined in nsGenericElement.cpp return nsnull as an nsresult. r=jst 2010-05-20 10:41:00 -04:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Jonas Sicking
c46348bf73 Bug 564591: Speed up BindToTree/UnbindFromTree by only doing accesskey related work if the accesskey attribute is set. r=smaug 2010-06-03 18:08:57 -07:00
Boris Zbarsky
618860a145 Bug 564979. Get rid of nsINode::GetSibling and just use GetNext/PreviousSibling instead. r=peterv, sr=sicking 2010-05-17 14:18:25 -04:00
Boris Zbarsky
9f46f37b84 Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests. 2010-05-17 14:59:49 -04:00
Boris Zbarsky
f830440dab Bug 564979. Get rid of nsINode::GetSibling and just use GetNext/PreviousSibling instead. r=peterv, sr=sicking 2010-05-17 14:18:25 -04:00
L. David Baron
ade6177e17 Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky 2010-05-14 22:01:46 -07:00
L. David Baron
a464130609 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Doug Turner
2225a94f11 Bug 564402 - slots #define in Qt, prevents Qt builds on trunk. r/sr=jst
--HG--
extra : rebase_source : 5f7ac6c449ea03e4be8ab6834d3f1880cb7d9c80
2010-05-11 16:32:17 -07:00
Boris Zbarsky
6d68f7887f Bug 564432 part 2. Give nsINode a first-child pointer r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
2a6505321c Bug 564432 part 1. Give nsINode next/previous sibling pointers. r=jst, sr=sicking 2010-05-10 21:12:33 -04:00
Boris Zbarsky
4625aac0dd Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
Peter Van der Beken
d062d2ec2d Part 9 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNode3Tearoff for all nodes. r=jst.
--HG--
extra : rebase_source : 4f073ae38036328091d2d4cf1e0ffbac2a06e98b
2010-04-19 17:41:37 +02:00
Peter Van der Beken
b480e94b8d Part 8 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetTextContent. r=jst.
--HG--
extra : rebase_source : b4d9121b6a883d8c5f3ed526b630f2facc94a21e
2010-04-19 17:41:33 +02:00
Peter Van der Beken
60b38d0d40 Part 7 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::IsEqualNode/CompareDocumentPosition/IsSameNode. r=jst.
--HG--
extra : rebase_source : d4722a28e8c913dcb6f9a1e7bf13261a12b60525
2010-04-19 17:40:17 +02:00
Peter Van der Beken
68600cb34a Part 6 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetFeature. r=jst.
--HG--
extra : rebase_source : 7b2ef182466615e7b244f7c5e55f327855b3cc6a
2010-04-19 17:40:16 +02:00
Peter Van der Beken
2d92228c9a Part 5 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsIDOM3Node namespace-related methods to nsINode. r=jst.
--HG--
extra : rebase_source : 9f4680ed3d8dec7001503c57f9d4bede74392b2f
2010-04-19 17:40:16 +02:00
Peter Van der Beken
04e42800d3 Part 3 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetUserData. r=jst.
--HG--
extra : rebase_source : a0f3ab12ed0f02dccf4d848fc879ee7c6497986a
2010-04-19 17:40:15 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Boris Zbarsky
5e646b58c9 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -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
Boris Zbarsky
405d564c49 Bug 562688 part 1. Add a new non-virtual IsElement API on nsINode. r=jst, sr=sicking 2010-04-30 09:12:04 -04:00
Peter Van der Beken
6fe7a598df Fix for bug 558973 ("ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!"). r=jst.
--HG--
extra : rebase_source : 6d9f76e94457823bb425f546053f4d24e80aec5c
2010-04-15 10:28:57 +02:00
Robert O'Callahan
a982d52092 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00
Timothy Nikkel
3f76f48e84 Bug 502937. Part 2. Add bits to nsINode.h. r=bzbarsky sr=sicking 2010-01-18 03:26:28 -06:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Robert Longson
c6f98571f9 Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc 2010-03-19 11:17:49 +00:00
Peter Van der Beken
75418d48ea Rev IID (follow-up from bug 540848).
--HG--
extra : rebase_source : 193c4ec222412dc014b850002078d060ec0227e0
2010-03-18 19:26:30 +01:00
Peter Van der Beken
3e3654ffca Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Boris Zbarsky
1ca5801f4b Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Masayuki Nakano
13ffca5258 Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli 2009-12-12 13:25:21 +09:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Karl Tomlinson
2d82dcbdc4 b=513802 type qualifiers ignored on function return type in nsINode::ChildIterator r=bz
--HG--
extra : rebase_source : da95ee41a254aea7356d8c86a61d0ba38b7e07e6
2009-09-03 08:48:41 +12:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Olli Pettay
6ddf70029c Bug 388422 - Avoid checks for editability in BindToTree, r+sr=peterv
--HG--
extra : rebase_source : 06eae0083f9b620e6a7ee2fe63a22c974b29608c
2009-06-23 15:57:56 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Olli Pettay
e64efde796 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00