Commit Graph

1714 Commits

Author SHA1 Message Date
Craig Topper
3e0e604d67 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Craig Topper
58622d8961 Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron 2010-05-17 21:00:39 -07: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
Peter Van der Beken
75ccb33e1a Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Peter Van der Beken
80ceab0c8a Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz. 2010-05-06 21:26:35 +02:00
Olli Pettay
4a3dab214e Additional fix for Bug 559315
--HG--
extra : rebase_source : e09aba953df55469b3b147e363e773308c679031
2010-05-11 17:05:11 +03:00
Phil Ringnalda
868e9c4db9 merge for backout of changeset e074757a15aa (bug 533891) 2010-05-10 21:40:01 -07:00
Phil Ringnalda
fa9669c2e2 Backed out changeset e074757a15aa (bug 533891) due to xpcshell orange after a clobber 2010-05-10 21:38:56 -07:00
Josh Aas
a987bef855 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-10 20:21:31 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
430d846a2f Bug 564435. Use iterative tree traversals in nsContentList so as to speed it up. r=sicking 2010-05-10 21:12:34 -04: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
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
2b2bd4076f Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Brandon Sterne
ff6f070e4e Bug 515460 - check GetCsp return value, r=sstamm, a=developers 2010-04-26 12:14:49 -07:00
Mounir Lamouri
21c25202c6 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
Masayuki Nakano
edd928ad58 Bug 545775 part.7 remove an assertion from nsContentIterator r=roc 2010-06-19 19:40:27 +09:00
Olli Pettay
b74fc9cde6 Bug 562681, add error handler to CC 2010-06-19 12:00:57 +03:00
wfernandom2004@gmail.com
f8e8fddd2c Bug 562681, tests and small fixes, r=smaug
--HG--
extra : rebase_source : 0b4bb2f3c4b11101a0d97b546549c605297639c4
2010-06-18 23:48:42 +03:00
wfernandom2004@gmail.com
eac77c5f8b Bug 562681, websockets (protocol v76), r=smaug
--HG--
extra : rebase_source : 3fd1b153d688eba6fa6ffb499bc704dd9ca2a3c2
2010-06-17 21:36:01 +03:00
wfernandom2004@gmail.com
7b192188c1 Bug 472529, websockets (protocol v75), r=smaug+biesi
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
extra : rebase_source : 44e45b23f85ec0095677233cdbd970c33b0c87b4
2010-06-17 21:34:24 +03:00
wfernandom2004@gmail.com
e1b3b326b5 Bug 472529, websockets (content patch)
--HG--
extra : rebase_source : 831a44f14acffa793cd3814d40a0d44bf152decb
2010-06-17 14:27:52 +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
f4cb58ddb5 Bug 479655 part 1.5. Free up two more element bits. r=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
044abc53b6 Bug 479655 part 1. Add some assertions to catch it if we add too many flags. r=jst 2010-06-18 12:23:04 -04:00
Mounir Lamouri
acf70f5ddb Bug 571139 - text-decoration should be an atom even if SVG is disabled. r=jonas 2010-06-17 12:53:05 +02:00
Ehsan Akhgari
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Neil Deakin
6d6ff9188a Bug 379745, add some additional template sort hint options to sort case-insensitive, sort by integers, and skip natural sort order, r=neil,sr=sicking 2010-06-16 13:09:51 -04:00
Shawn Wilsher
f1d155f2bc Bug 551838 - Adding empty href attribute doesn't add link styling
r=bz
2010-06-16 09:59:26 -07:00
Saint Wesonga
5fcfe77b22 Bug 571736 - warning: comparison between signed and unsigned integer expressions in NameSpaceManagerImpl::AddNameSpace(const nsAString_internal&, PRInt32). r=roc 2010-06-16 18:54:27 +02:00
Olli Pettay
cb4704d113 Bug 568975 - m-c message manager slowed down event handling a bit, r=jst 2010-06-16 14:42:42 +03: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
Ben Turner
f01104db34 Bug 560959 - 'Update Structured Clone for recent spec changes'. r=sicking. 2010-04-28 18:32:16 -07:00
Ben Turner
0edf1180b5 Bug 559476 - Do a fast copy of dense primitive arrays when making a structured clone. r=mrbkap+jst. 2010-04-28 18:32:13 -07:00
Daniel Holbert
c240503b49 Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Blake Kaplan
453d23ad35 Fix bug 532730. r=jst sr=sicking
--HG--
extra : rebase_source : 0188a1388b4c82a55d29a54e08c91568b1ff817f
2010-04-27 15:39:52 -07:00
Mats Palmgren
f5cdcbb5d5 Call EnsureTextRun() and null-check GetTextRun() return value before using it. b=560780 r=roc 2010-04-28 19:47:23 +02:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Olli Pettay
0640f45817 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=hsivonen 2010-04-21 14:53:57 +03:00
Olli Pettay
00eb3e8d19 Backout Bug 559311 for now 2010-04-19 16:21:19 +03:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Olli Pettay
f61e2208ef Bug 557892 - Crash [@ nsGenericElement::SetAttr], r=sicking
--HG--
extra : rebase_source : 55eae64fcad1d2ad4343b5ac0e70a26e67021722
2010-04-15 14:07:30 +03:00
Olli Pettay
09746cd281 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser, r=hsivonen 2010-04-15 12:40:30 +03:00
Josh Matthews
a31149e931 b=545237 Notify PIFrameEmbedding's owner on actor deletion r=bsmedberg 2010-04-12 12:34:02 +12:00
Josh Matthews
af3e5b062a b=545237 Keep track of the ContentProcessParent singleton's life and recreate it if necessary r=bsmedberg 2010-04-12 12:24:45 +12:00
Geoff Lankow
9f6ee2918a Skip -moz-user-select=none only when copying. Follow-up to bug 166235. b=558726 r=roc 2010-04-14 16:55:16 +02:00
timeless@mozdev.org
ec2da51d62 Bug 555692 - mEnabled is never used in CSPService, r=bsterne
--HG--
extra : rebase_source : 943559708654622bcc26d684afecf8e9556d7bcd
2010-03-29 05:33:00 -07:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Ehsan Akhgari
2989d30bcc Merge backout of bug 221820 2010-04-06 21:10:47 -04:00
Ehsan Akhgari
a7ebcd12b9 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
L. David Baron
519717b298 No need to null-check aRuleWalker. (Bug 557154) r=bzbarsky 2010-04-06 15:32:51 -07:00
Olli Pettay
b4a11d8557 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-29 23:29:45 +03:00
Olli Pettay
de7b07408d backout Bug 554941 again 2010-03-28 20:07:16 +03:00
Olli Pettay
9a1e450904 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-28 19:02:05 +03:00
Olli Pettay
d0ab5348f1 Backout Bug 554941 2010-03-28 00:58:49 +02:00
Olli Pettay
7dbad85a52 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-27 18:54:57 +02:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Benedict Hsieh
dfa9ca21a4 Bug 51470 - [E10s] The tab browser should inform the chrome process during navigation. r=smaug,
sr=bsmedberg
2010-03-26 11:39:39 -07:00
Josh Matthews
b60190028f Bug 554835 - Build fixes for undefined MOZ_IPC. r=bnewman,joe 2010-03-25 12:10:14 -04:00
Timothy Nikkel
d0c1cab2a9 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Olli Pettay
b27dd3c583 Bug 571390, add a comment
--HG--
extra : rebase_source : 5960b90841cfa37decfb48d61e904c97c9d4f91e
2010-06-14 10:32:41 +03:00
Olli Pettay
77e8c01739 Bug 571390 - classList is always empty on xul elements, r=bz
--HG--
extra : rebase_source : 00d58d4fa7e0bffe2bf6b60b4d8a74fd0e27eebe
2010-06-14 10:29:54 +03:00
Josh Aas
9213b9561a Backed out changeset 558df3e5b094 due to talos master issue. 2010-05-13 15:56:19 -04:00
Josh Aas
eb08772da3 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-13 14:54:26 -04:00
Timothy Nikkel
73ae4c7afd Bug 563407. Cast to unsigned int to fix warning. r=sicking 2010-05-11 19:30:42 -05:00
timeless@mozdev.org
1d241c39dc Bug 563303 useless check of !data.index in nsContentUtils::ReparentClonedObjectToScope
r=bent
2010-05-13 11:11:24 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Boris Zbarsky
490ac49f2e Bug 564079. Check that we have a parent before checking whether it's an Element. r=peterv 2010-05-06 09:59:55 -04:00
L. David Baron
d94024525a Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron
05044197f6 Add debugging code for random assertion bug 563980. 2010-05-05 12:39:47 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
e19f8c4e1a Bug 562137. Use the UTF-8 decoder to decode UTF-8 instead of just assuming that it really is UTF-8. r=sicking 2010-05-05 14:18:04 -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
922c155511 Part 11 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move nsIDOMNSElement implementation to nsGenericElement. r=jst.
--HG--
extra : rebase_source : 6b39d2cbb5b6462b0d1e65ee0f204fb1804a468e
2010-04-19 17:41:37 +02:00
Peter Van der Beken
ae0b1a86f6 Part 10 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNodeSelectorTearoff for nsDocument. r=jst.
--HG--
extra : rebase_source : 46ef0b39acee4c05de40a575826f11281101f5d0
2010-04-19 17:41:37 +02: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
199b861a9e Part 4 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsGenericTextNode base class for nsIDOM3Text implementations. r=jst.
--HG--
extra : rebase_source : 007e331ff47f994a27e3105e6e787d91a88137d6
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
d737cb78c2 Part 2 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move some code around. r=jst.
--HG--
extra : rebase_source : 1ee5a236e881f4478965ea4a05c18d862fd04c1d
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
Peter Van der Beken
3fcb7546e7 Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
Masayuki Nakano
6aa99dc4be Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
Olli Pettay
611286756a Bug 562321 - De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 16:19:54 +03:00
Olli Pettay
8f9fc8c4d8 backout Bug 562321 2010-05-04 12:46:37 +03:00
Olli Pettay
0805824f19 De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 11:39:47 +03:00