567 Commits

Author SHA1 Message Date
bryner%brianryner.com
2097395338 Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
dwitte%stanford.edu
32492a98fc removing redundant variable as a result of my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@148848 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 23:15:22 +00:00
dwitte%stanford.edu
ee1a82264b remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).


git-svn-id: svn://10.0.0.236/trunk@148845 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 22:44:51 +00:00
caillon%returnzero.com
e64c44f945 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:01:25 +00:00
dwitte%stanford.edu
55a5a686dc remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@148522 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:59:31 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
e081726408 Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@148205 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:16:42 +00:00
dbaron%dbaron.org
b4f655f45c Bustage fixes for bug 221316 no longer needed thanks to bug 221525.
git-svn-id: svn://10.0.0.236/trunk@147721 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 23:21:50 +00:00
cls%seawood.org
75faa3566d what dbaron said
git-svn-id: svn://10.0.0.236/trunk@147716 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:43:54 +00:00
dbaron%dbaron.org
2419d717b2 Fix HP-UX and AIX bustage. b=221316
git-svn-id: svn://10.0.0.236/trunk@147712 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:15:26 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
jst%mozilla.jstenback.com
b678c75d2c Fixing bug 217000. Make sure the content sink gets a docshell even if we don't have a script global object (fixed document.write in some javascript: [i]frame cases). r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@147070 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 20:00:24 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mkaply%us.ibm.com
d854af2a64 #198036
r=blizzard, sr=kin 
Uninitialized variable


git-svn-id: svn://10.0.0.236/trunk@139702 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 22:18:10 +00:00
brade%netscape.com
3777665ab9 use member command manager; r/sr=dbaron; bug 197583
git-svn-id: svn://10.0.0.236/trunk@139671 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 14:47:17 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00