Граф коммитов

818 Коммитов

Автор SHA1 Сообщение Дата
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