226 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
62c2420626 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
bzbarsky%mit.edu
af8ba69ee3 Make charset-detection code work with just a BOM (no @charset rule) in the
sheet.  Bug 218915, r=smontagu, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147288 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:57:28 +00:00
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
edbe6382af Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@145875 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:16:48 +00:00
bsmedberg%covad.net
f24d69bc30 Fix assertion from bug 211470, rs=bz
git-svn-id: svn://10.0.0.236/trunk@145261 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3ae54818a4 Forgot a review nit from bug 211470.
git-svn-id: svn://10.0.0.236/trunk@145254 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
2c2c23dd44 Bug 211470 - need a common nsURIHashKey r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@145253 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:20:11 +00:00
jaggernaut%netscape.com
e9505aff6f Fix bustage
git-svn-id: svn://10.0.0.236/trunk@144993 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
40f122a577 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +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
7c1787f026 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


git-svn-id: svn://10.0.0.236/trunk@144934 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 00:35:49 +00:00
bzbarsky%mit.edu
43571b323e Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
noticing.


git-svn-id: svn://10.0.0.236/trunk@144613 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 01:48:20 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
bzbarsky%mit.edu
fe3f1277a3 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


git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00
bzbarsky%mit.edu
889c257b53 Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
git-svn-id: svn://10.0.0.236/trunk@144060 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
e51a020a30 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)


git-svn-id: svn://10.0.0.236/trunk@144048 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 05:04:43 +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
aaronl%netscape.com
290c0f8aa6 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +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
caillon%returnzero.com
fb75cd3bbb 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


git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 02:54:16 +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
bryner%netscape.com
0c66a2052e 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.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
bzbarsky%mit.edu
27037022c0 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@140730 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 23:57:06 +00:00
sfraser%netscape.com
6f87b85c6b Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
bzbarsky%mit.edu
b8de299d37 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@138277 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
a99c8b3055 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@138219 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:36:32 +00:00
bzbarsky%mit.edu
212842b87c Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches.  Bug 185891, r=sicking, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136487 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
6f77aecc51 fix a crash that could happen if a child import met with an error (eg failed to
open a channel).  Bug 186606, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135919 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
4f71cabdd3 asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135915 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 00:37:19 +00:00
bzbarsky%mit.edu
e8d6ddcbea Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135861 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:00:18 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
9f1c84eb30 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?


git-svn-id: svn://10.0.0.236/trunk@135121 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
9bee87fcca relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...


git-svn-id: svn://10.0.0.236/trunk@135112 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
e69b0ba88c Backing out bug 182124 because I think it caused Ts to go up...
git-svn-id: svn://10.0.0.236/trunk@135109 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
d1a0c8d1d1 Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135096 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
499000aebc Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135083 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:28:47 +00:00
bzbarsky%mit.edu
7b2de6a1f3 Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@134869 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
669a5e13af I meant 8192 and typed 8092. r/sr/a=brendan
git-svn-id: svn://10.0.0.236/trunk@134831 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
c54400e68f UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron


git-svn-id: svn://10.0.0.236/trunk@134779 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
3519a9924e Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst


git-svn-id: svn://10.0.0.236/trunk@134777 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
efa23d95ee Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin


git-svn-id: svn://10.0.0.236/trunk@134712 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
e47b242a89 ugh. Forgot this one line...
git-svn-id: svn://10.0.0.236/trunk@134675 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
fbeccbf189 Change nsICSSLoader to nsAString instead of nsString (build bustage).
git-svn-id: svn://10.0.0.236/trunk@134673 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
darin%netscape.com
b59017f198 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
bzbarsky%mit.edu
8fd8d79350 Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin


git-svn-id: svn://10.0.0.236/trunk@133205 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 22:29:17 +00:00
bzbarsky%mit.edu
47c119bdef CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@132995 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 03:45:28 +00:00
heikki%netscape.com
5bee27e8e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
darin%netscape.com
e56625b347 fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@130569 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 04:22:13 +00:00