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

7956 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 0c05923e45 Make the loop actually deal with observers removing themselves. Bug 213611,
patch by riceman+bmo@mail.rit.edu (Tim), r+sr=bzbarsky
2003-07-23 23:09:33 +00:00
dbaron%dbaron.org f61c45ed1a Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu 75f97d4fb0 Avoid having to call SetAttr for each attribute we set by just looping
backwards over the attributes in the parser node instead.  Bug 213347, r+sr=jst
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu 4fc2fdc1a9 Sync up the attribute-adding code in the fragment sink to the HTML sink to
avoid stripping quotes too many times.  Bug 212805; r=jkeiser; sr=jst
2003-07-22 01:31:34 +00:00
mkaply%us.ibm.com 6fe32627a5 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-21 22:10:08 +00:00
caillon%returnzero.com dd8f6dba2b Comment update. rs=jst@netscape.com. No bug. 2003-07-21 21:40:52 +00:00
brade%netscape.com 5e9420f33f patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
brade%netscape.com ceee5b5c28 use atom version of parser method to reduce string usage; r/sr=dbaron, bug=213101 2003-07-21 13:12:11 +00:00
varga%utcru.sk 3aab060321 Fix for bug 152209. unnecessary distinction between "content" and "treeitem" template conditions
r=neil, sr=bienvenu
2003-07-20 10:35:41 +00:00
jaggernaut%netscape.com 94d1d5f102 Fix bustage 2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 024a2adbb2 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
brade%netscape.com 6e740ccad6 reduce string usage by using atom version of method; r/sr=dbaron, bug=213101 2003-07-19 08:34:31 +00:00
bzbarsky%mit.edu 2fdcf613e0 Fixing build bustage. 2003-07-18 02:00:01 +00:00
caillon%returnzero.com 01645eaf4b Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu 9421911eb3 Make the URI of a sheet be its final URI after all the redirects, not the URI
linked to from the original document.  Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
chanial%noos.fr c057ca60fd bug 210196 Fix use of bookmarks root / top root as a target and correct caller of CanDropBeforeAfter
r=varga, sr=jag
2003-07-17 11:08:07 +00:00
mkaply%us.ibm.com 26fbdc30e1 #212695
r=sicking, sr=bzbarsky
Make scrolling to anchors work the first time in chrome XHTML
2003-07-16 20:15:46 +00:00
bzbarsky%mit.edu 5b000ba0c0 Fix bug 212277. r=caillon, sr=darin 2003-07-15 07:01:16 +00:00
bzbarsky%mit.edu 70a7eb44a5 Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst
2003-07-15 02:07:55 +00:00
timeless%mozdev.org 26a54f482e Bug 211284 SetOrRemoveObject doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:26:24 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu a33f58cdd0 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
dbaron%dbaron.org 0fa0c71366 A little selector matching cleanup. b=212603 r+sr=bzbarsky 2003-07-13 23:09:10 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 9fa353f6aa Fix crash in malformed XBL. Bug 210298, patch by enndeakin@sympatico.ca (Neil
Deakin), r=bryner, sr=bzbarsky
2003-07-13 07:19:28 +00:00
bzbarsky%mit.edu a0ffc4e6d2 Relanding bug bug 212133 (again), since last backout seemed to not affect Tp. 2003-07-12 22:32:20 +00:00
dbaron%dbaron.org 9cd77bae71 Make WalkContentStyleRules work correctly for XHTML tables without row groups. b=68061 r+sr=bzbarsky 2003-07-12 22:12:59 +00:00
bzbarsky%mit.edu 6352e3b131 Make elements deal better with a no-op SetDocument call. Bug 212262,
r=caillon, sr=jst
2003-07-12 18:01:58 +00:00
bzbarsky%mit.edu 8d2f0d7e00 Backing out yet again (bug 212133) since Tp is being weird again.... Let's hope
it's not this patch.  :(
2003-07-12 04:14:03 +00:00
dbaron%dbaron.org eb3194e32e Fix bustage. b=211308 2003-07-11 23:53:22 +00:00
bzbarsky%mit.edu 9fad3e7dfe Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
bzbarsky%mit.edu 38297174ab Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
bzbarsky%mit.edu 0cd190ffee Random array stuff in nsScriptLoader; fix a leak. Bug 212271, r=caillon, sr=jst 2003-07-11 22:47:17 +00:00
caillon%returnzero.com f32e4950ff Bug 212218
Start supporting bits and pieces of the additions to |Document| in DOM Level 3 Core.
r=jst@netscape.com sr=bzbarsky@mit.edu
2003-07-11 22:32:25 +00:00
timeless%mozdev.org b4fae80195 Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=jst sr=jst
2003-07-11 21:53:22 +00:00
dbaron%dbaron.org 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
timeless%mozdev.org af4f62e783 Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=bz sr=bz
2003-07-11 21:08:12 +00:00
dbaron%dbaron.org 46c0acbc49 Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky 2003-07-11 20:44:25 +00:00
dbaron%dbaron.org 402d8bf9b4 Attempt to fix warning by ensuring one path is always used, even for invalid ids. b=210550 r+sr=bzbarsky 2003-07-11 20:42:59 +00:00
rbs%maths.uq.edu.au b5e2cec742 Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst 2003-07-11 20:19:34 +00:00
timeless%mozdev.org 191f7d3925 Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=bz sr=bz
2003-07-11 20:01:51 +00:00
bzbarsky%mit.edu 572ba4e27c Bug 212133 take two. Make images load only after they get a parent if they are
coming from the sink.  Hopefully with better perf this time.  r=caillon, sr=jst
2003-07-11 20:00:31 +00:00
bzbarsky%mit.edu 4f363de0c1 Backing out the other part of the patch for bug 212133, to test perf issues. a=dbaron 2003-07-09 20:27:27 +00:00
bzbarsky%mit.edu 2a97203f6e Oops, didn't mean to back out this part. 2003-07-09 09:57:04 +00:00
bzbarsky%mit.edu 52e8bb5fa3 Backing out part of patch to test whether this is causing the perf regression.
Bug 212133, a=dbaron to back out of tree if I do it before morning builds and
such.
2003-07-09 09:47:13 +00:00
bzbarsky%mit.edu c94df0d9d2 Make <html:img> nodes correctly work with xml:base on ancestors by deferring
the load till after we know who our parent is.  Bug 212133, r=caillon, sr=jst
2003-07-09 06:57:14 +00:00
dbaron%dbaron.org 4288eb04b0 Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky 2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu 0b27cc8a6f Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
noticing.
2003-07-09 01:48:20 +00:00
varga%netscape.com 287a44d567 Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
bzbarsky%mit.edu 462fea1771 Move inheritance around to reduce size of nsHTMLMappedAttributes by a word.
Bug 163215, r+sr=dbaron
2003-07-08 19:19:37 +00:00
varga%netscape.com 16f19f36b0 Fix for bug 145309. [turbo] On exit after unloading accts we are again loading accts because we are rebuilding tree
r=varga, sr=jag, patch by waterson
2003-07-08 13:56:58 +00:00
jaggernaut%netscape.com aebdd4c93a Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst 2003-07-08 11:49:48 +00:00
bzbarsky%mit.edu fb6c2bde9f Make comment change requested by caillon in review that I forgot about 2003-07-08 09:23:32 +00:00
bzbarsky%mit.edu be4cbac5c8 Removing no longer used files. 2003-07-08 07:35:03 +00:00
bzbarsky%mit.edu 198e46107d Update comments to reflect the fact that there is no longer a change hint
passed to the macros.
2003-07-08 07:12:17 +00:00
bzbarsky%mit.edu 80f18b18c8 DOM properties that return URIs should return absolute URIs when they
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu 874126b90f Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu 23e8590dc2 Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968).  Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug).  Patch in bug 62843.  r+sr=dbaron
2003-07-04 01:33:10 +00:00
caillon%returnzero.com 9ae39b6952 Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug. 2003-07-03 23:33:36 +00:00
bzbarsky%mit.edu dc8e5b98a8 Pass the right document to ParseColor() even when the node is not in a
document.  Bug 211440, r=jkeiser, sr=jst
2003-07-03 20:37:04 +00:00
bzbarsky%mit.edu 1bdfbda8b2 Return already_AddRefed instead of a raw addrefed pointer. Bug 211195, r+sr=bryner 2003-07-03 20:34:52 +00:00
bzbarsky%mit.edu 6a547d6a42 Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu 0000906617 Follow-up tweak to bug 211030, r+sr=jst 2003-07-03 02:52:29 +00:00
bzbarsky%mit.edu ae2b1aeab0 Fix crash on fetching rowIndex of a row that's not in a table. Bug 211357, r+sr=jst 2003-07-03 02:47:33 +00:00
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
caillon%returnzero.com 9a00b94017 Bug 210556 - Plaintext serialization with no formatting whatsoever should be possible.
This makes Node.textContent behave as defined in the DOM Level 3 draft.
r=harishd@netscape.com sr=jst@netscape.com
2003-07-03 00:34:34 +00:00
dbaron%dbaron.org 509bbcc446 Remove hints from CSS property list. b=158713 r+sr=bzbarsky 2003-07-02 22:17:23 +00:00
dbaron%dbaron.org adcaf8d572 Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky 2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu 73bb5159df Adjust hack dealing with the root scrollable frame to only map <body> to it in
quirks mode and to map <html> to it in both quirks and standards mode.  This is
more or less compatible with what IE6/Windows does.  Bug 211030, r+sr=jst
2003-07-01 23:47:27 +00:00
bzbarsky%mit.edu 8770362dce Make it possible to set attrs in a non-null namespace on (X)HTML elements. Bug
211296, r+sr=jst
2003-07-01 23:32:18 +00:00
bryner%netscape.com 6d59e7a395 Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
timeless%mozdev.org c7c42203cb Bug 211281 optimization for 'rare' oom check
r=bz sr=bz
2003-07-01 18:41:39 +00:00
bzbarsky%mit.edu 3d08b98089 removing unused string var 2003-07-01 14:59:12 +00:00
bzbarsky%mit.edu 10e836c35b Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org 107c5d16aa Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky 2003-06-30 21:48:56 +00:00
dbaron%dbaron.org d322964941 Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky 2003-06-30 21:39:22 +00:00
dbaron%dbaron.org 9b78be8799 Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky 2003-06-30 21:31:25 +00:00
dbaron%dbaron.org b75ecd009f Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc 2003-06-27 21:06:45 +00:00
jkeiser%netscape.com 63f24a78b5 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
jst%netscape.com 59652ebfd8 Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me. 2003-06-25 23:59:34 +00:00
neil%parkwaycc.co.uk 537927df37 Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag 2003-06-25 08:46:31 +00:00
rbs%maths.uq.edu.au 677dc71376 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky 2003-06-25 01:14:25 +00:00
caillon%returnzero.com 2c67074440 210451 - Make Node.textContent settable, followup to earlier checkin.
r+sr=jst@netscape.com
2003-06-24 23:05:59 +00:00
jst%netscape.com 2e8edec781 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
caillon%returnzero.com c0dd16f7be 210451 - Implement getting Node.textContent (see the DOM3 WD)
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
roc+%cs.cmu.edu 7928e4930c deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron 2003-06-24 13:39:15 +00:00
bzbarsky%mit.edu e5462134b5 Add asserts on people attempting to fetch attributes in the
kNamespaceID_Unknown namespace or call HasAttr on such.  Bug 210314, r+sr=jst
2003-06-24 06:45:34 +00:00
dbaron%dbaron.org 4d14f9afbe Fix windows bustage. b=188803 2003-06-24 06:20:18 +00:00
dbaron%dbaron.org 440c73cd8f Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2003-06-24 05:40:37 +00:00
dbaron%dbaron.org 120e9a5ee9 Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky 2003-06-24 05:34:30 +00:00
jst%netscape.com 9d32883569 Fixing bug 210443. Cut down on the malloc's done when loading images. r=caillon@aillon.org, sr=bzbarsky@mit.edu. 2003-06-24 05:32:59 +00:00
bzbarsky%mit.edu 3a04d8e51b Fix matching when attribute selectors with "*" as a namespace are involved.
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu f802347f6c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu d1447d9cc1 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
bsmedberg%covad.net a77fdd7bd4 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
bzbarsky%mit.edu c1d40be04e Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever 2003-06-23 18:34:02 +00:00
alecf%flett.org 5644ccd470 fix for bug 209780 - do UTF16->UTF8 conversion outside the recursion, so that we don't constantly convert the string we're looking for
r=dbaron, sr=jst
2003-06-23 18:32:10 +00:00
jshin%mailaps.org 7afb380aa7 bug 206379 : additional patch : get rid of ResolveCharset() (static) and
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
caillon%returnzero.com aa1b5d6b2a [Bug 210254] nsEventListenerManager::mPrincipal is unused. Also reorganizes some members to better align them.
r+sr=bzbarsky.
2003-06-22 13:12:14 +00:00