bzbarsky%mit.edu
9cb380a7ff
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
fcbabc39e2
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
7cca283eb4
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
0ad19a3a64
Bug 212438 trivial optimization for nsDocument::GetScriptLoader
...
r=jst sr=jst
2003-07-11 21:53:22 +00:00
dbaron%dbaron.org
d85698fd40
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
345bd22f8b
Bug 212438 trivial optimization for nsDocument::GetScriptLoader
...
r=bz sr=bz
2003-07-11 21:08:12 +00:00
rbs%maths.uq.edu.au
c95c35d2ca
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
a3f5ac6f58
Bug 212438 trivial optimization for nsDocument::GetScriptLoader
...
r=bz sr=bz
2003-07-11 20:01:51 +00:00
bzbarsky%mit.edu
dd3b209462
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
d113f9f41e
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
35a6c43f33
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
094e6e3f3a
Make comment change requested by caillon in review that I forgot about
2003-07-08 09:23:32 +00:00
bzbarsky%mit.edu
c0d3c15a88
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
0c5dc097d7
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
caillon%returnzero.com
3659da7f9c
Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug.
2003-07-03 23:33:36 +00:00
bzbarsky%mit.edu
0b0c3f7646
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
a9bfdfc246
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
29254c752a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
timeless%mozdev.org
7146549efc
Bug 211281 optimization for 'rare' oom check
...
r=bz sr=bz
2003-07-01 18:41:39 +00:00
bzbarsky%mit.edu
fd57f310f1
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
c00fbe09c4
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
jkeiser%netscape.com
78ba276e17
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
rbs%maths.uq.edu.au
a3601b3e47
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
51b0528644
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
abefba9053
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
fd98991136
210451 - Implement getting Node.textContent (see the DOM3 WD)
...
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
bzbarsky%mit.edu
938220298d
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
jst%netscape.com
6ec7a0e4d1
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
8d87ec2250
Seems to have no effect on Tp, so relanding. Who knows what btek is
...
thinking....
2003-06-22 06:34:08 +00:00
bzbarsky%mit.edu
16ff7adf5e
Backing the rest of this out to see whether it affects Tp.
2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu
1ba227c7d1
Make sure to fire no mutation events or internal notifications on attribute
...
changes that don't change the attr value. Bug 209634, r=caillon, sr=jst
2003-06-21 04:55:32 +00:00
jst%netscape.com
947ba67a9d
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
2003-06-21 00:26:28 +00:00
caillon%returnzero.com
4cc64cee34
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org
51e6755ccd
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
caillon%returnzero.com
675c637069
When comparing principals, callers should explicitly check if the subject principal is the system principal, if it cares that it is.
...
This fixes bug 209946, Copy doesn't work anymore.
r=bzbarsky, sr=jst
2003-06-19 23:59:24 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
fe7914e2c9
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
kaie%netscape.com
d97ffb1f6e
Follow up patch to bug 183582.
...
This was requested in order to get sr= for the previous checkin.
I'm checking this in as a separate step, to make the real
logic change easier recognizable.
This checkin does not change any logic.
It only moves methods around in the file.
sr=sfraser
2003-06-17 22:35:01 +00:00
kaie%netscape.com
3d5beebcad
b=183582 HTML Drop does not provide contextual info
...
r=jfrancis sr=sfraser
2003-06-17 22:26:07 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon%returnzero.com
cd42d2a397
209494 - use nsCOMPtr::swap() in a few loops
...
r+sr=bzbarsky@mit.edu
2003-06-16 00:14:23 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
c0d2e93d73
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
2003-06-12 02:54:16 +00:00
alecf%flett.org
2751c6b097
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
leon.zhang%sun.com
a0b6278dce
Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
...
r=sfraser sr=kin
2003-06-11 03:29:59 +00:00
varga%netscape.com
91245bd20d
Fix for bug 208912. DOMParser produces documents with about:blank uri.
...
r=heikki, sr=peterv
2003-06-10 23:31:07 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
dbaron%dbaron.org
57174ecf3a
Fix bustage on compilers with broken for loop scoping. b=125246
2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
0a143da53b
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
2003-06-07 22:14:42 +00:00