Commit Graph

1175 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
99037d7097 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


git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +00:00
jshin%mailaps.org
b32399e610 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)


git-svn-id: svn://10.0.0.236/trunk@141073 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:40:26 +00:00
dbaron%dbaron.org
ad3dfeb1ed Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst
git-svn-id: svn://10.0.0.236/trunk@140927 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:16:39 +00:00
bzbarsky%mit.edu
7812a1f039 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


git-svn-id: svn://10.0.0.236/trunk@140868 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:23:34 +00:00
hpradhan%hotpop.com
12f1dc7f84 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
peterlubczynski%netscape.com
aee9075d9a Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@140662 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 00:26:33 +00:00
harishd%netscape.com
8685d66b92 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
git-svn-id: svn://10.0.0.236/trunk@140644 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:32:58 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
locka%iol.ie
32a3b4490f Attempt to fix pedantic bustage caused by checkin for b=191023
git-svn-id: svn://10.0.0.236/trunk@140590 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 14:31:43 +00:00
locka%iol.ie
25a3fd42bf Attempt to fix pedantic bustage caused by checkin for b=191023
git-svn-id: svn://10.0.0.236/trunk@140587 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 13:59:09 +00:00
locka%iol.ie
945fbd5fb9 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
git-svn-id: svn://10.0.0.236/trunk@140583 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 11:18:00 +00:00
bzbarsky%mit.edu
e57396db96 Make sure not to call LoadImage before LoadImageWithChannel for standalone
images.  Bug 121084; also fixes bug 34165.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@140540 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:27:20 +00:00
timeless%mozdev.org
066f57a5fe Bug 199768 document.referrer is empty
patch by keeda@hotpop.com r=sicking sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@140463 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-31 20:58:02 +00:00
jst%netscape.com
08e9d026e0 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
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
alecf%netscape.com
f24ccb3da0 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


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
jfrancis%netscape.com
0965f05259 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


git-svn-id: svn://10.0.0.236/trunk@140108 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org
127b75c575 Make mkaply's bustage fix a little safer.
git-svn-id: svn://10.0.0.236/trunk@140078 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com
71c5b15ad9 Ports bustage - someone please correct me if I have done something horribly wrong
git-svn-id: svn://10.0.0.236/trunk@140059 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 14:31:19 +00:00
peterlubczynski%netscape.com
48cef544f1 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com
b713e3e0ca Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@140019 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 02:22:03 +00:00