161 Commits

Author SHA1 Message Date
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
darin%netscape.com
8fa070e5cd fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
for freezing" r=dougt sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@130442 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:28:53 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
axel%pike.org
6f2a873b95 fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
git-svn-id: svn://10.0.0.236/trunk@128334 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
8b530edf64 Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream.  Use this in the CSSLoader instead of
allocating a single big buffer for the sheet.  Clean up the way we look
for the @charset charset in the sheet data.

r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.


git-svn-id: svn://10.0.0.236/trunk@128310 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:47:25 +00:00
bzbarsky%mit.edu
c2ec1d4ec6 dynamically adding @import rules does not trigger all the updates it
should.  Bug 160065, r=peterv, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@126440 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:08:47 +00:00
dbaron%fas.harvard.edu
8b645001a0 Guess at fixing orange builds. b=148046
git-svn-id: svn://10.0.0.236/trunk@124467 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 03:56:08 +00:00
dbaron%fas.harvard.edu
d829c90453 For stylesheet loads with text/css or empty advisory type, end error message to error console when we don't load a stylesheet (standards mode) or warning message when we do load it (quirks mode). b=154942 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124461 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 03:11:57 +00:00
dbaron%fas.harvard.edu
a2358254b9 Allow page to display when @import-ing a malformed URL by incrementing mPendingChildren only if LoadSheet succeeds. b=148046 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124457 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 02:34:57 +00:00
bzbarsky%mit.edu
e9887172a9 Make the scriptloader check the HTTP status and not load 404 pages and
such as scripts.  Bug 139040, r=jst, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@124438 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:12:13 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
adea31703d Check the status code of HTTP channels before blindly loading the
sheet.  Bug 112644, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@123493 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:46:11 +00:00
smontagu%netscape.com
2d59d4d21b Make stylesheet loading recover from decoding errors. Bug 128896, r=ftang, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@118504 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:29:03 +00:00
dbaron%fas.harvard.edu
b447eec349 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00