Commit Graph

1008 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
b93abe4bf4 Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
peterv@propagandism.org
f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
bcfbc64387 Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu
75d0ec2b2f Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
3cbd119e85 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
peterv%propagandism.org
e5d3f5db52 Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst. 2007-03-19 09:19:16 +00:00
bzbarsky%mit.edu
098348b001 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
peterv%propagandism.org
12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
372e1553c0 Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
448ba1fa30 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
4407b113f5 Add testcase for bug 232004 2007-03-02 07:39:53 +00:00
tor%cs.brown.edu
cc98317542 Bug 370210 - SVG onload attribute broken since incremental XML landing.
r=hsivonen, sr=sicking
2007-02-28 17:28:17 +00:00
jonas%sicking.cc
073b1fd3fe 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
jonas%sicking.cc
ccd6aa3575 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst 2007-02-13 21:18:25 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
Olli.Pettay%helsinki.fi
d56070112f Bug 369753, remove nsIXMLContent, r+sr=bz 2007-02-09 00:15:14 +00:00
bzbarsky%mit.edu
e13ee4cb9b Make sure to process any pending exceptions the security manager has set if
we're not called from JS.  Bug 369157, r+sr=brendan.
2007-02-04 22:06:49 +00:00
bzbarsky%mit.edu
6587f6e68c Add test for bug 355213. 2007-02-03 01:37:48 +00:00
bzbarsky%mit.edu
0b8624e346 Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking 2007-02-03 00:48:29 +00:00
bzbarsky%mit.edu
9db5bfa7c8 Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking 2007-02-02 02:12:48 +00:00
jonas%sicking.cc
a9f34ee020 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
jwatt%jwatt.org
bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
12344f6606 Fix build bustage. Still bug 363406 2006-12-18 04:06:21 +00:00
bzbarsky%mit.edu
93e4db1532 Fix bug 363406, patch by Nickolay Ponomarev <asqueella@gmail.com>,
r+sr=bzbarsky
2006-12-18 03:59:46 +00:00
bzbarsky%mit.edu
8a1b6c5e34 Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking
2006-11-22 18:27:54 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
0a3a624149 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
2006-11-10 23:49:08 +00:00
sayrer%gmail.com
8372e94e34 Bug 348447. feed sanitizer whitelist accessibility and i18n. 2006-11-08 18:20:55 +00:00
cvshook%sicking.cc
17ded5692c Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz 2006-11-04 05:45:02 +00:00
ted.mielczarek%gmail.com
4d389ef1ef bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst 2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
38126837d0 Bug 221335: Speed up output by using internal methods and interfaces rather than nsIDOMNode and friends. r/sr=peterv 2006-10-03 02:22:22 +00:00
dbaron%dbaron.org
9c06bcb5b2 Null out mListenerManager before we call ResetToURI and restore it, so ResetToURI doesn't Disconnect it. b=354865 r+sr=bzbarsky 2006-09-30 01:53:47 +00:00
bzbarsky%mit.edu
60d105a0c2 Remove unneeded notification on node creation. Bug 351910, r+sr=sicking 2006-09-12 04:48:12 +00:00
cvshook%sicking.cc
31700bfd9f Bug 324092: Allow XSLT output handlers to fail. r/sr=peterv 2006-09-08 21:09:43 +00:00
peterv%propagandism.org
64ec124ee5 Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz. 2006-09-05 10:22:54 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6 Bug 350846, Combine NS_***_LOAD events, r+sr=jst 2006-08-31 19:33:01 +00:00
bzbarsky%mit.edu
3514212c00 Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
sayrer%gmail.com
6fa03a1730 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst 2006-08-12 04:46:43 +00:00
bzbarsky%mit.edu
80ced31c79 Allow anonymous box selectrors in catalog sheets loaded via our doctype. Bug
347303, r+sr=roc
2006-08-04 15:02:28 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
peterv%propagandism.org
090f2dd5c1 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz. 2006-06-15 20:30:44 +00:00
peterv%propagandism.org
54c2159acf Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking. 2006-06-02 13:28:14 +00:00
bzbarsky%mit.edu
5c970102ff Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
benjamin%smedbergs.us
d0ed0a1295 Sweeping up after irresonsible content hackers who break the tree and go to lunch... ;-) 2006-05-19 10:51:56 +00:00
cvshook%sicking.cc
017d0269ea Bug 194387: Support parameter-passing in PI XSLT transformations. r/sr=peterv 2006-05-19 10:29:43 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org
28fa63a8f5 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz
2006-05-06 22:09:20 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
e69e268856 Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst
2006-04-21 01:24:44 +00:00
mrbkap%gmail.com
f36ff98d32 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
cvshook%sicking.cc
b91a0159cd Bug 314985. Merge adjacent textnodes when the document is going to be transformed by XSLT. r/sr=peterv 2006-04-06 06:17:51 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
gerv%gerv.net
a54a4e6372 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:10 +00:00
gerv%gerv.net
af20ee45fb Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:05 +00:00
cvshook%sicking.cc
e26140ab7d Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
peterv%propagandism.org
59c12dfe1f Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz. 2006-03-17 14:38:57 +00:00
peterv%propagandism.org
d52a61880f Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org
3efee8b1f4 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz. 2006-03-16 13:47:42 +00:00
Olli.Pettay%helsinki.fi
9a528f9417 Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz 2006-03-14 19:57:33 +00:00
cvshook%sicking.cc
9f4b50c028 Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst 2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
a83eba463b Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst
2006-02-20 18:57:32 +00:00
bzbarsky%mit.edu
fc0b0f2bea Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing.  Bug 323810, r=bsmedberg, sr=jst
2006-02-07 20:46:39 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
jwatt%jwatt.org
45ee567dc0 Tweak fix checked in for bug 300868 (use nsLayoutAtoms instead of nsGkAtoms) for parity between 1.8 branch and trunk. r=jst on IRC 2006-02-02 00:31:32 +00:00
mrbkap%gmail.com
c4f20f9306 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
jwatt%jwatt.org
6fdafae9b3 Fixing bug 300868. The 'target' attribute is not supported on SVG's <a> element. r=bugmail@sicking.cc, sr=jst@mozilla.org 2006-01-28 13:12:28 +00:00
mrbkap%gmail.com
fb3f80349e bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst 2006-01-21 02:02:02 +00:00
bzbarsky%mit.edu
b64fcb4a39 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
bzbarsky%mit.edu
b688dbf9f0 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv
2005-12-09 19:20:42 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
peterv%propagandism.org
0a629d03bb Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
f7e2b45942 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky 2005-10-18 20:33:35 +00:00
peterv%propagandism.org
513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bryner%brianryner.com
48082c9284 Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron. 2005-10-08 23:06:27 +00:00
bzbarsky%mit.edu
09570513a5 Fix bug 310650. Patch by peterv, r+sr=bzbarsky 2005-10-02 14:40:30 +00:00
peterv%propagandism.org
a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu
b10d301a22 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst
2005-09-22 02:33:36 +00:00
bzbarsky%mit.edu
818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
8bcf86354a Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu
84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
jwatt%jwatt.org
db8d96505a Fixing bug 282217. SVG <title> doesn't have the same effect as <html:title>. r+sr=bzbarsky@mit.edu 2005-09-06 02:17:22 +00:00
jwatt%jwatt.org
59e42c6cd2 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org 2005-08-25 21:31:09 +00:00
bzbarsky%mit.edu
3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
f4c380c572 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
mrbkap%gmail.com
6664814803 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa 2005-06-16 18:59:59 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
8388d47b5d Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
not-yet-parsed script is removed from the document.  Bug 294274, r+sr=peterv,
a=chofmann
2005-06-02 02:38:20 +00:00
bzbarsky%mit.edu
89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bsmedberg%covad.net
b31eebf62d Move xmlprettyprint stylesheets to "global" package, noticed this during bug 281988, r+sr=bzbarsky a=drivers 2005-05-20 16:42:15 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
479cc410ea Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
b9663c2904 Disable loading of images in data documents on the document level, not on the
node level.  Bug 251354, r=sicking, sr=peterv, a=asa
2005-04-11 00:29:36 +00:00
bzbarsky%mit.edu
26f679cfe3 Fix crash regression bug 289180. r=mrbkap, sr=roc 2005-04-06 06:28:28 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
a825de62a2 Fix content teardown in ReportError to also get rid of our buffered-up text
content.  Bug 288674, r=mrbkap, sr=jst
2005-04-05 03:40:36 +00:00
dbaron%dbaron.org
4b1913ff77 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
tor%cs.brown.edu
4ed8801383 Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky 2005-03-25 14:50:05 +00:00
bzbarsky%mit.edu
debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
gandalf%firefox.pl
06f479dff9 bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move 2005-03-08 17:21:36 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bryner%brianryner.com
708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
4be07d28cc Checked in from wrong tree, backing out, sorry. 2005-02-18 21:28:20 +00:00
doronr%us.ibm.com
b15c0e8b75 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:20:27 +00:00
mrbkap%gmail.com
76f3ff6fb1 bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky 2005-02-18 19:18:39 +00:00
tor%cs.brown.edu
78c6985172 Bug 252631 - allow multiple onloads in svg content. r=sicking, sr=jst 2005-01-26 14:28:21 +00:00
bryner%brianryner.com
a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
8b54631a06 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
d77a12e38a Correct function signature to fix Solaris bustage. 2004-12-21 13:25:31 +00:00
peterv%propagandism.org
26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
peterv%propagandism.org
a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bryner%brianryner.com
6d1dd410b1 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
danm-moz%comcast.net
bd1155b88d single window mode aviary branch merge. bug 172962 r=jst,peterv 2004-12-07 16:08:57 +00:00
darin%meer.net
18aa14a423 fixes bug 272814 "beginAddingChildren notification should be called before attributeSet." patch by smaug@welho.com r=darin sr=bryner 2004-12-06 23:09:32 +00:00
bzbarsky%mit.edu
6b0b8501f3 Make setting innerHTML in XHTML not crash on malformed content and throw an
exception instead.  Bug 272011, patch by steve.swanson@mackichan.com,
r+sr=bzbarsky
2004-12-04 17:51:12 +00:00
bzbarsky%mit.edu
61af48a328 Fix XBL error-handling to not close tags that shouldn't be closed yet (and thus
crash when a PR_Assert in the XML content sink is hit).  Bug 265184, r=bryner,
sr=jst
2004-12-02 02:15:37 +00:00
bzbarsky%mit.edu
1c87a03f1e Make sure to call DoneCreatingElement/DoneAddingChildren on the relevant HTML
nodes in XML so that form state restoration works.  Bug 206695, r+sr=peterv
2004-12-01 22:41:20 +00:00
bzbarsky%mit.edu
6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
bryner%brianryner.com
d37af99b29 Add a beginAddingChildren notification to XTF (bug 268691). r+sr=jst 2004-11-09 23:59:24 +00:00
jst%mozilla.jstenback.com
05e17f4cd7 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
bzbarsky%mit.edu
5c966fc888 Make XSLT stylesheet loads check content policy. Bug 203211, r=sicking,
sr=peterv
2004-10-24 17:25:58 +00:00
Stefan.Borggraefe%gmx.de
850ac4164e Bug 264477: Use proper minus character for XML document tree display
r=sicking, sr=bzbarsky
2004-10-16 10:42:02 +00:00
peterv%propagandism.org
1716f47e5d Fix for bug 264309 (Consolidate CloneNode implementation macros). r/sr=jst 2004-10-15 14:42:14 +00:00
bzbarsky%mit.edu
976f8eab47 Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv
2004-10-11 16:14:27 +00:00
alex%croczilla.com
1fce2c4058 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
a4d8e15629 Fix some IsFocusable methods to do the right thing. Bug 261707, r=aaronl, sr=jst 2004-10-07 01:15:40 +00:00
bzbarsky%mit.edu
e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
f440132946 Make the XUL content sink store the right namespace for "xmlns" attributes.
Bug 256165, r=peterv, sr=jst
2004-09-16 18:38:07 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
gerv%gerv.net
ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
e628e82cc1 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
cbiesinger%web.de
da701f865c Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
r+sr=bz
2004-07-17 21:45:37 +00:00
jst%mozilla.jstenback.com
23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
jst%mozilla.jstenback.com
e3726ac002 Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org 2004-07-15 05:24:40 +00:00
tor%cs.brown.edu
be84fdf585 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst
2004-07-06 22:52:03 +00:00
cbiesinger%web.de
2bb5f1d3a1 replace EqualsWithConversion by EqualsLiteral where possible
bug 248687 r+sr=roc
2004-06-26 14:32:11 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
2416426a01 Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu 2004-05-18 20:58:12 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
peterv%propagandism.org
752b71ca12 Correct comments (mozilla/htmlparser -> mozilla/parser/htmlparser). 2004-05-05 14:08:34 +00:00
bzbarsky%mit.edu
32a4619a53 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
silver%warwickcompsoc.co.uk
022d627b12 Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
r+sr=bzbarsky
2004-05-02 19:48:54 +00:00
jst%mozilla.jstenback.com
77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
6dbe4b7af8 Pretttyprinted "special root" documents shouldn't load styleshets or execute
scripts.  Bug 230579, r=sicking, sr=peterv
2004-04-20 17:12:48 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu
1a3232906d Clear the namespace stack on a well-formedness error, since we're clearing our
state then.  Bug 239546, r=sicking, sr=peterv
2004-04-14 19:31:33 +00:00
jst%mozilla.jstenback.com
3b9482b945 Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org. 2004-04-13 03:21:50 +00:00
sicking%bigfoot.com
9614803598 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
sicking%bigfoot.com
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
sicking%bigfoot.com
a24b8a0c5a Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
bzbarsky%mit.edu
80f670494e Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
up to nsDocument so they're available in XHTML documents.  Bug 69840, r+sr=jst
2004-03-02 22:39:46 +00:00