jshin%mailaps.org
f76e3889a4
bug 199237 : fix the rendering of the non-ASCII title of a media/image doc : follow-up (no actual change in the code but just a couple of changes in comment)
2003-07-26 05:54:42 +00:00
jshin%mailaps.org
b6b1c25129
bug 199237 : fix the rendering of the non-ASCII title of a non-text doc(image, media) opened in a new tab/window (r=bryner, sr=bz)
2003-07-26 05:17:26 +00:00
bzbarsky%mit.edu
d05c67bce3
Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
...
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
9a4b8706ea
Remove unused variable.
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
92f086becd
Don't bother loading scripts from the network when scripts are disabled. Bug
...
66857, r=sicking, sr=jst
2003-07-24 23:22:45 +00:00
caillon%returnzero.com
ec640a5d82
Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
...
r=bzbarsky@mit.edu sr=jst@netscape.com
2003-07-24 20:38:08 +00:00
bzbarsky%mit.edu
d0666152a5
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu
f306ab9f52
Don't load the image for image inputs till we have all of our attributes. Bug
...
209242, r=caillon, sr=jst
2003-07-24 17:10:14 +00:00
caillon%returnzero.com
91b7c60bee
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
47183725c7
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu
ed18fdd23b
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
a92e4e109b
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
jaggernaut%netscape.com
6ab6643eee
Fix bustage
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
9819e5e8fa
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
bzbarsky%mit.edu
aad8c26a95
Fixing build bustage.
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
7495519180
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
840b81c0cd
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
bzbarsky%mit.edu
e6f3eb1465
Fix bug 212277. r=caillon, sr=darin
2003-07-15 07:01:16 +00:00
bzbarsky%mit.edu
ddba83b841
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
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
0f8da4d057
A little selector matching cleanup. b=212603 r+sr=bzbarsky
2003-07-13 23:09:10 +00:00
jaggernaut%netscape.com
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
9a8abe477b
Relanding bug bug 212133 (again), since last backout seemed to not affect Tp.
2003-07-12 22:32:20 +00:00
dbaron%dbaron.org
0fdf690be7
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
679ed391c9
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
c9311f5c07
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
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
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
dbaron%dbaron.org
2fec18446c
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
2003-07-11 20:44:25 +00:00
bzbarsky%mit.edu
462ea831db
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
5518559ede
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
0add7f8317
Oops, didn't mean to back out this part.
2003-07-09 09:57:04 +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
bzbarsky%mit.edu
4ee83f7ab9
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
bzbarsky%mit.edu
a4eefedfc9
Move inheritance around to reduce size of nsHTMLMappedAttributes by a word.
...
Bug 163215, r+sr=dbaron
2003-07-08 19:19:37 +00:00
jaggernaut%netscape.com
6ca349f43f
Bug 210834: Bogus comparison in nsCSSParserImpl::ParseURL. r=bzbarsky, sr=jst
2003-07-08 11:49:48 +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
bzbarsky%mit.edu
10600c0acd
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
bzbarsky%mit.edu
a44b082965
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
ccf7f1204b
Follow-up tweak to bug 211030, r+sr=jst
2003-07-03 02:52:29 +00:00
bzbarsky%mit.edu
ddefad53cd
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
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
dbaron%dbaron.org
29254c752a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
b10e90f02b
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
76858d0dcb
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
648fe5ca55
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
bzbarsky%mit.edu
e03846f19f
removing unused string var
2003-07-01 14:59:12 +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
97c994908a
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
ef811ed02b
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
a835d37852
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
2003-06-27 21:06:45 +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
dbaron%dbaron.org
1ce98378e3
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
06bb24f863
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
6a1ab46ff2
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
2003-06-24 05:34:30 +00:00
bzbarsky%mit.edu
61a6512de2
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
f75f9017d9
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
1a9cab373f
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
46701a74ea
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
10e1d18eaf
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
d208f051a7
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
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
35e16c1704
Backing out these last two checkins to see whether this is the cause of Tp troubles.
2003-06-22 01:13:59 +00:00
bzbarsky%mit.edu
a786eb9afb
Only make the check for sameness if there are listeners or if we plan to fire
...
notifications. Trying to fix small Tp regression. Bug still 209634, r=caillon,
sr=jag
2003-06-21 07:29:52 +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
bzbarsky%mit.edu
f6e49f740f
Check that we are HTML, in addition to checking namespace, before going
...
case-insensitive. Bug 209271, r+sr=dbaron
2003-06-20 20:23:17 +00:00
dwitte%stanford.edu
eb7529542c
removing some unused default ctors now that nsDerivedSafe can handle it.
...
no bug, r+sr=bz
2003-06-20 02:20:34 +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
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
146a7a98ed
OOM check. r+sr=bzbarsky b=188803
2003-06-18 03:02: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
bryner%netscape.com
97504df874
Remove unused content code. Bug 207021, r=jst, sr=alecf.
2003-06-17 17:53:06 +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
dbaron%dbaron.org
4b4e411eac
Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
2003-06-17 16:22:51 +00:00
bzbarsky%mit.edu
ce4d5d65e4
Backing out fix for bug 22480 to fix regression bug 209504.
2003-06-16 23:40:13 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
aaronl%netscape.com
33acdf0fed
Bug 174910. Mutation events inside anchors not propogated up tree. r=bryner, sr=jst
2003-06-16 10:37:59 +00:00
bzbarsky%mit.edu
07e5c2b8d1
Prevent <font>'s color attribute from wiping out its text-decoration style.
...
Bug 149106, r+sr=dbaron
2003-06-15 02:06:25 +00:00
bzbarsky%mit.edu
62e2add875
Make <form><p></form> actually close out the form, since <p> has an optional
...
end tag. Bug 22480, r=harishd, sr=heikki.
2003-06-15 00:49:57 +00:00
dbaron%dbaron.org
39d390d27f
Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
e49f24690b
CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
...
r+sr=dbaron
2003-06-14 20:44:26 +00:00
dbaron%dbaron.org
9be8a64b7e
Fix crash introduced by changes earlier today. b=209087
2003-06-14 03:47:13 +00:00
caillon%returnzero.com
831a474d17
Fixing some bustage for cocoa and debug builds
2003-06-13 22:02:42 +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
samuel%sieb.net
f18000519f
Bug 205850 - add "rightmargin" and "bottommargin" keywords
...
r+sr=bz
2003-06-13 05:00:35 +00:00
harishd%netscape.com
85570db892
Grant access to SOAP response document's properties and also allow the document to be serializable. b=193953, r=heikki@netscape.com, sr=jst@netscape.com
2003-06-12 20:18:34 +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
dbaron%dbaron.org
73cdfadc6a
Fix silly mistake. b=209091 r+sr=bzbarsky
2003-06-12 00:03:32 +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
dbaron%dbaron.org
4919c99863
Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky
2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
439819ce83
Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
2003-06-10 22:08:40 +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
brade%netscape.com
38615ac8d3
add functionality to gethtml (cmd_getContents) using queryCommandValue; r=mkaply, sr=smfr, bug=208467
2003-06-10 21:12:29 +00:00
dbaron%dbaron.org
fffd412151
Add nsILink back to the QueryInterface implementation to fix :link matching LINK. b=208588 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
2003-06-08 19:53:55 +00:00
dbaron%dbaron.org
f8f9bcc4be
Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
2003-06-08 19:52:22 +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
mkaply%us.ibm.com
ff0ac05a9a
#158610
...
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
2003-06-04 13:15:37 +00:00
ere%atp.fi
db0628f8e9
Fix for bug 207413: Midas: designMode = "on" fails for a newly created iframe
...
patch by jst
r=ere
sr=kin
2003-05-30 20:04:50 +00:00
brade%netscape.com
2680d775ff
handle insertHTML and fix fontface to support 2-byte font strings; r=mkaply; sr=kin; bug=184509
2003-05-30 15:02:12 +00:00
jaggernaut%netscape.com
756d8ef907
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
2003-05-30 00:21:01 +00:00
alecf%flett.org
34f90f2ace
big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument
2003-05-29 22:11:23 +00:00
jst%netscape.com
2883ab5eea
Fixing build bustage.
2003-05-29 02:07:35 +00:00
jst%netscape.com
7eb19aa001
Fixing bug 203345. Making image maps work correctly in XHTML documents. r=heikki@netscape.com, sr=bzbarsky@mit.edu
2003-05-29 00:53:03 +00:00
timeless%mozdev.org
229365c4c4
Bug 207330 nsHTMLDocument::TryChannelCharset should use do_GetService (like everyone else) to get @mozilla.org/intl/charsetalias;1
...
r=bz sr=bz
2003-05-28 22:34:22 +00:00
danm%netscape.com
2f7009ad7a
make wyciwyg urls unique across all documents. bug 172251 code=radha r=nisheeth,jst i'm just the monkey boy.
2003-05-28 22:12:16 +00:00
bzbarsky%mit.edu
2d8c24058a
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de
8dc2f15ba0
patch by tenthumbs@cybernex.net r+sr=bz bug 206864
...
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00
brade%netscape.com
4d15443e23
handle fontname and other commands which respond with non-cstrings; r=mkaply, sr=smfr, a=asa; bug 204053
2003-05-23 13:26:46 +00:00
mkaply%us.ibm.com
9449870c9f
#206317
...
r=ere, sr=jst, a=mkaply
Set a default content type to text/html when doing document.write()
2003-05-22 22:39:04 +00:00
bzbarsky%mit.edu
d8f4088d90
Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
...
<elawrenc69@yahoo.com>, r+sr=bzbarsky, a=asa
2003-05-21 02:06:01 +00:00
bzbarsky%mit.edu
74f7ffbdb3
Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
...
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu
b84cf009ec
Make font-size:larger and font-size:smaller smarter about interpolating and
...
extrapolating font sizes. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r=bzbarsky, r+sr=dbaron, a=asa
2003-05-17 16:11:51 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bryner%netscape.com
8dc3ad3076
Fixes for a number of focus problems:
...
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)
Summary of the changes:
- Don't require a frame to be present for focus events. This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent. We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().
r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
mstoltz%netscape.com
d1c91d31e2
Bug 204682 - do not allow document.domain to be set to the empty string. r=heikki, sr=darin, a=blizzard
2003-05-09 23:56:04 +00:00
jst%netscape.com
9214f83b1a
Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org
2003-05-09 01:42:13 +00:00
bzbarsky%mit.edu
e7e97a4c97
Minor tweak to never match in an error case we better not be hitting anyway.
...
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
darin%netscape.com
41280f92f9
fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
...
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
bzbarsky%mit.edu
d7f20053f9
HTMLImageElement.complete should be true if the load failed (eg broken image).
...
Bug 190561, r=mstoltz, sr=jst, a=sspitzer
2003-05-03 02:32:43 +00:00
varga%netscape.com
7967318ca3
Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
...
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
aaronl%netscape.com
7ae87df2aa
Bug 149654. Send accessibility events for DOM mutations, invalidate appropriate parts of accessibility cache based on DOM mutation events. Also fixes bug 74218, implement DOMSubtreeModified event. r=kyle, sr=jst
2003-04-28 10:24:52 +00:00
bzbarsky%mit.edu
04d9b57f42
Make sure to flush reflows before trying to scroll so that frame coordinates
...
will be up-to-date. Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
hpradhan%hotpop.com
c5ee21461e
bug 145577: scrollHeight/scrollTop not supported on textareas r=jkeiser sr=jst
2003-04-22 03:38:16 +00:00
hpradhan%hotpop.com
3304c29388
bug 172298: onselect="this.select();" in textarea causes crash r=jkeiser sr= kin
2003-04-22 03:27:24 +00:00
bzbarsky%mit.edu
724a6d8835
Make nsHTMLContentSink respond to BeginUpdate and EndUpdate even when not in
...
script, since the script could be running in some other frame/window.
Removes mInScript, since it's no longer used. Bug 155504, r=heikki, sr=jst
2003-04-21 23:51:17 +00:00
varga%netscape.com
80b4bed5ce
Fix for bug 195481. Automatic image resize: Image status should be reflected in document title bar and Tab marker.
...
r=bz, sr=jag
2003-04-21 22:45:28 +00:00
bzbarsky%mit.edu
de68c0523a
Move document.lastModified up onto nsIDOMNSDocument; refactor the
...
RetrieveRelevantHeaders stuff a bit. Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
jst%netscape.com
f1b9b87862
Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com
2003-04-19 00:28:09 +00:00
bzbarsky%mit.edu
b36c8bbbf8
Make sure to always add base tag info before setting any other attributes. Bug
...
201998, r=jkeiser, sr=jst
2003-04-17 23:15:21 +00:00
bryner%netscape.com
989ec207ee
Fixing windows orange -- null-terminate the AttributeImpactArray or the while loop can keep going forever.
2003-04-17 02:50:58 +00:00
alecf%netscape.com
20384007c3
ok, reland bug 174802 after addressing jst's comments - gotta remember to check in from the right tree!
...
change to a table-based GetMappedAttributeImpact for footprint and performance wins
r=dbaron, sr=jst
2003-04-16 20:54:20 +00:00
alecf%netscape.com
9b8874c8d0
argh, back myself out - I'm crashing on startup now! :(
2003-04-16 18:55:56 +00:00
alecf%netscape.com
d0ed272eb9
fix for bug 174802 - simplify GetMappedAttributeImpact, buy making a simple attribute->reflow style map and providing a single helper which walks the map
...
r=dbaron,sr=jst
2003-04-16 18:11:45 +00:00
bryner%netscape.com
fdfc0fdc0b
Oops, meant to check this in as part of my last checkin. nsIBookmarksService.h is in the bookmarks module for phoenix. Fixing bustage.
2003-04-15 07:34:15 +00:00
dbaron%dbaron.org
1d027cdecd
Remove extraneous |inline| to fix bustage.
2003-04-15 04:19:27 +00:00
dbaron%dbaron.org
743dbe34c1
Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
2003-04-15 03:07:34 +00:00
bryner%netscape.com
2b3a78e0aa
fixing _more_ phoenix bustage - different REQUIRES for phoenix
2003-04-15 02:06:55 +00:00
bzbarsky%mit.edu
97c2f70759
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org
736898499e
bug 198598 Update the window title bar and doc. charset for nsMediaDocument
...
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
bryner%netscape.com
3a3ec0cbd5
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
52c518fcd8
Remove lines that do nothing except leak. r+sr=bzbarsky
2003-04-10 23:26:36 +00:00
dbaron%dbaron.org
3232789770
Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst
2003-04-09 21:16:39 +00:00
bzbarsky%mit.edu
31b73ec09c
Some random code cleanup:
...
1) Make SetContentSink and SetParserFilter not claim to return stuff
2) Clean up nsIParser to use NS_IMETHOD_() where needed. Sync up with nsParser
3) Removed some never-used code
Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
hpradhan%hotpop.com
ab79cda8b9
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
2003-04-05 07:19:09 +00:00
bzbarsky%mit.edu
8219f428d6
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
seawood%netscape.com
410d28b951
Remove unneeded xp_path.h reference
...
Bug #171883
2003-04-04 08:26:27 +00:00
peterlubczynski%netscape.com
caadf9a40a
Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz
2003-04-04 00:26:33 +00:00
heikki%netscape.com
b6ee57a69a
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
2003-04-03 18:57:33 +00:00
harishd%netscape.com
d36e03ff94
Hack fix: Close the head context before loading a linked style sheet because the CSSLoader can sometimes call ContinueParsing on the parser even if the parser is not blocked and that causes the sink to go crazy. b=197015, r=heikki@netscape.com, sr=jst@netscape.com
2003-04-03 18:32:58 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
locka%iol.ie
ce2b1f846b
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 14:31:43 +00:00
locka%iol.ie
ad68ec86af
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 13:59:09 +00:00
locka%iol.ie
e2df34009e
Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
2003-04-02 11:18:00 +00:00
alecf%netscape.com
c8aef61acf
fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
2003-04-02 04:51:07 +00:00
bzbarsky%mit.edu
b4ecec8c75
Make sure not to call LoadImage before LoadImageWithChannel for standalone
...
images. Bug 121084; also fixes bug 34165. r=pavlov, sr=jst
2003-04-02 03:27:20 +00:00
timeless%mozdev.org
b54b6f9240
Bug 199768 document.referrer is empty
...
patch by keeda@hotpop.com r=sicking sr=peterv a=asa
2003-03-31 20:58:02 +00:00
jkeiser%netscape.com
2a40d9927c
Fix onclick=form.submit(); onsubmit=return false to submit again (bug 192170), r=alexsavulov@netscape.com, sr=bzbarsky@mit.edu, a=asa
2003-03-27 15:59:31 +00:00
jkeiser%netscape.com
595a99124d
Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com
2003-03-27 15:38:12 +00:00
jst%netscape.com
b4cc5d4695
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
2003-03-26 07:41:30 +00:00
dbaron%dbaron.org
ceb1e7d23b
Fix leak of mValue. b=199184 r=jkeiser sr=jst
2003-03-25 23:59:26 +00:00
alecf%netscape.com
8c50d0242a
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
jfrancis%netscape.com
d65a91cf65
fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
...
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org
f7a4afe32b
Make mkaply's bustage fix a little safer.
2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com
47fa9fd754
Ports bustage - someone please correct me if I have done something horribly wrong
2003-03-22 14:31:19 +00:00
peterlubczynski%netscape.com
b5850784ea
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com
07b7bbfa07
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 02:22:03 +00:00
alecf%netscape.com
b6584a77fb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
f7cd8fcae5
argh fix darwin bustage.. :(
2003-03-21 16:06:20 +00:00
alecf%netscape.com
3cb283cc78
just one theory on the Ts slowdown, before I back myself out completely
2003-03-21 13:31:34 +00:00
alecf%netscape.com
ecf24a2b78
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
de9e5df295
Fix crash when viewing standalone images if images are blocked in mailnews.
...
Bug 198301, r=jkeiser, sr=jst
2003-03-20 02:03:13 +00:00
bzbarsky%mit.edu
2c56e0638e
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
mkaply%us.ibm.com
b306dde0df
#198036
...
r=blizzard, sr=kin
Uninitialized variable
2003-03-18 22:18:10 +00:00
brade%netscape.com
a61e8c4ffa
use member command manager; r/sr=dbaron; bug 197583
2003-03-18 14:47:17 +00:00
bzbarsky%mit.edu
8055eacac8
s/floorf/floor/. Fixes solaris/AIX/whatever bustage
2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
1aff4d7ac8
Add math.h too
2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
4a3702559a
Fix build bustage -- looks like not all platforms have round(). r=timeless
2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu
4cc14b7073
Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
...
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017. r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu
68d36409fc
Don't parse "string" values for text-align till we actually support them in
...
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu
2884e64d50
Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
...
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu
8c4fcee132
Fix regression bug 197823 -- scrolling state restoration broken during history
...
navigation if URL includes anchor name. Remove unnecessary and deleterious
flush. r+sr=dbaron
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu
bd5dec2fa1
AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
...
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst
2003-03-17 23:24:27 +00:00
bzbarsky%mit.edu
605874dcea
Make imgRequestProxy hold a weak ref to its listener, to prevent reference
...
cycles. Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu
1b837cdd65
Make the CSS parser not throw on attempts to parse lengths with unknown units
...
(bug 197212). Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423). r+sr=dbaron
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu
c9fb653ad8
Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron
2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu
9161a95441
Make all CSSStyleSheets have a useful mDocument so that they can pass change
...
notifications properly. Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date. Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
dbaron%dbaron.org
4861ed4f67
Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277
2003-03-16 01:03:20 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com
0b5cb41238
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
9dfc1961ec
Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
2003-03-14 06:18:20 +00:00
bzbarsky%mit.edu
caefc412a3
Make :target work for history loads too. Bug 197277, r+sr=dbaron
2003-03-14 01:16:31 +00:00
dbaron%dbaron.org
46b12ccdd6
Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky
2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
3069e2548c
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
78169362cd
Fix bug 197090; foo.style.background="" would throw instead of just doing
...
nothing. r+sr=dbaron
2003-03-12 21:54:50 +00:00