1195 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
c0bc42c584 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
bzbarsky%mit.edu
8f8f987c9c Don't override earlier attrs on <body> with later ones from a separate <body>
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@145423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu
91bfd993dc Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145410 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
67e7a64c5d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
jshin%mailaps.org
7e66fe9290 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)
git-svn-id: svn://10.0.0.236/trunk@145223 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 05:54:42 +00:00
jshin%mailaps.org
e931489539 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)
git-svn-id: svn://10.0.0.236/trunk@145221 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 05:17:26 +00:00
caillon%returnzero.com
cd46cbbaad 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)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
20a7c5ebb1 Remove unused content quality stubs. b=111346 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu
153da6cfa1 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


git-svn-id: svn://10.0.0.236/trunk@145059 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu
b1597b655e 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


git-svn-id: svn://10.0.0.236/trunk@145042 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 01:31:34 +00:00
caillon%returnzero.com
e69f301e32 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
c6ed9701dd Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144869 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 02:07:55 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
c6000cf3a8 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


git-svn-id: svn://10.0.0.236/trunk@144639 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:57:14 +00:00
caillon%returnzero.com
056169e55b 210451 - Implement getting Node.textContent (see the DOM3 WD)
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@144107 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:39:39 +00:00
alecf%flett.org
30f0244a1c 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


git-svn-id: svn://10.0.0.236/trunk@144059 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 18:32:10 +00:00
jst%netscape.com
45f72e0474 Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +00:00
dwitte%stanford.edu
832efaccb6 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@143973 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 02:20:34 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
906d582953 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
git-svn-id: svn://10.0.0.236/trunk@143831 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 01:59:57 +00:00
alecf%flett.org
71e5d724e5 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


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu
573909f5fc Backing out fix for bug 22480 to fix regression bug 209504.
git-svn-id: svn://10.0.0.236/trunk@143777 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 23:40:13 +00:00
bzbarsky%mit.edu
87c48ba870 Make <form><p></form> actually close out the form, since <p> has an optional
end tag.  Bug 22480, r=harishd, sr=heikki.


git-svn-id: svn://10.0.0.236/trunk@143719 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:49:57 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
harishd%netscape.com
893e8e41f1 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
git-svn-id: svn://10.0.0.236/trunk@143644 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 20:18:34 +00:00
alecf%flett.org
1c89787dc0 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


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
brade%netscape.com
0b236edca0 add functionality to gethtml (cmd_getContents) using queryCommandValue; r=mkaply, sr=smfr, bug=208467
git-svn-id: svn://10.0.0.236/trunk@143526 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:12:29 +00:00
ere%atp.fi
f7a65f0fc8 Fix for bug 207413: Midas: designMode = "on" fails for a newly created iframe
patch by jst
r=ere
sr=kin


git-svn-id: svn://10.0.0.236/trunk@143115 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 20:04:50 +00:00
brade%netscape.com
6a7c4be3cc handle insertHTML and fix fontface to support 2-byte font strings; r=mkaply; sr=kin; bug=184509
git-svn-id: svn://10.0.0.236/trunk@143101 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 15:02:12 +00:00
jaggernaut%netscape.com
fd04e5bb85 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
alecf%flett.org
56320c5c9a big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument
git-svn-id: svn://10.0.0.236/trunk@143055 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 22:11:23 +00:00
jst%netscape.com
af9678d61c Fixing bug 203345. Making image maps work correctly in XHTML documents. r=heikki@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@143012 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 00:53:03 +00:00
timeless%mozdev.org
e4477711d0 Bug 207330 nsHTMLDocument::TryChannelCharset should use do_GetService (like everyone else) to get @mozilla.org/intl/charsetalias;1
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@143002 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 22:34:22 +00:00
danm%netscape.com
6c64f8bd54 make wyciwyg urls unique across all documents. bug 172251 code=radha r=nisheeth,jst i'm just the monkey boy.
git-svn-id: svn://10.0.0.236/trunk@142996 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 22:12:16 +00:00
brade%netscape.com
bf900c168e handle fontname and other commands which respond with non-cstrings; r=mkaply, sr=smfr, a=asa; bug 204053
git-svn-id: svn://10.0.0.236/trunk@142817 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 13:26:46 +00:00
mkaply%us.ibm.com
ea1230a8b5 #206317
r=ere, sr=jst, a=mkaply
Set a default content type to text/html when doing document.write()


git-svn-id: svn://10.0.0.236/trunk@142771 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 22:39:04 +00:00
dbaron%dbaron.org
69da9d4a19 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
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
mstoltz%netscape.com
78812a2acd Bug 204682 - do not allow document.domain to be set to the empty string. r=heikki, sr=darin, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@142288 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 23:56:04 +00:00
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
varga%netscape.com
9a018ee06d Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142076 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 22:23:55 +00:00
bzbarsky%mit.edu
08127292d1 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


git-svn-id: svn://10.0.0.236/trunk@141548 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:51:17 +00:00
varga%netscape.com
3cda5b98f6 Fix for bug 195481. Automatic image resize: Image status should be reflected in document title bar and Tab marker.
r=bz, sr=jag


git-svn-id: svn://10.0.0.236/trunk@141536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 22:45:28 +00:00
bzbarsky%mit.edu
6f3d8509a0 Move document.lastModified up onto nsIDOMNSDocument; refactor the
RetrieveRelevantHeaders stuff a bit.  Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@141452 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 16:53:44 +00:00
jst%netscape.com
4132f747e7 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
git-svn-id: svn://10.0.0.236/trunk@141424 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:28:09 +00:00
bzbarsky%mit.edu
2869a0b14d Make sure to always add base tag info before setting any other attributes. Bug
201998, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@141344 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 23:15:21 +00:00
bryner%netscape.com
25088eda3b Oops, meant to check this in as part of my last checkin. nsIBookmarksService.h is in the bookmarks module for phoenix. Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@141166 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 07:34:15 +00:00
bryner%netscape.com
d151aa5a06 fixing _more_ phoenix bustage - different REQUIRES for phoenix
git-svn-id: svn://10.0.0.236/trunk@141148 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 02:06:55 +00:00