Commit Graph

853 Commits

Author SHA1 Message Date
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