bzbarsky%mit.edu
4ee83f7ab9
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
bzbarsky%mit.edu
0b0c3f7646
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
bzbarsky%mit.edu
f75f9017d9
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
2003-06-23 21:00:46 +00:00
bzbarsky%mit.edu
46701a74ea
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
d208f051a7
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)
2003-06-23 05:04:43 +00:00
alecf%flett.org
b7fa256d74
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
2003-06-17 16:40:34 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon%returnzero.com
2df173e9c8
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
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
c0d2e93d73
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
2003-06-12 02:54:16 +00:00
alecf%flett.org
2751c6b097
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
2003-06-11 18:16:03 +00:00
bryner%netscape.com
3a3ec0cbd5
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.
2003-04-11 00:56:27 +00:00
bzbarsky%mit.edu
8219f428d6
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
sfraser%netscape.com
395413772f
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2003-02-28 05:47:36 +00:00
bzbarsky%mit.edu
a47e2fa451
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
9c70577820
Make the parser recycling list in the loader a class static. Bug 190658,
...
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
bzbarsky%mit.edu
7f8f4fdbfc
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
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
48544669f3
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
4cf5754471
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
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
0a01939a36
asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv
2003-01-07 00:37:19 +00:00
bzbarsky%mit.edu
f83b00920f
Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
...
perf impact. r=rjc, sr=darin
2003-01-05 19:00:18 +00:00
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3399eea621
And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
...
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
e81697ce7c
relanding bug 182124 since it looks like comet was just noise and the other Ts
...
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
42d3fc3e74
Backing out bug 182124 because I think it caused Ts to go up...
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
f3c5ef51ac
Chrome protocol handler should not munge URIs on channel open (and remove some
...
workarounds around that behavior). Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
f6f9e3cc70
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
2002-12-11 00:28:47 +00:00
bzbarsky%mit.edu
0bd1bf929d
Fix crash in some icky document.write() cases.. We gotta stop blocking the
...
parser. Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
82b60aea48
I meant 8192 and typed 8092. r/sr/a=brendan
2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
1866641871
UTFInputStream does not do very good error-recovery, so always
...
use nsConverterInputStream instead. Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
02dff0ba15
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
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
229d7e68c8
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
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
13b5c15201
ugh. Forgot this one line...
2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
3e31b94167
Change nsICSSLoader to nsAString instead of nsString (build bustage).
2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
fe53f95e60
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.
2002-12-03 05:48:14 +00:00
darin%netscape.com
d9541f875d
fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
2002-11-22 07:40:16 +00:00
bzbarsky%mit.edu
74a9b1ed3e
Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
...
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
bzbarsky%mit.edu
f83e342a15
CheckLoadURI should use document uri, not base uri. Bug 177237,
...
r=mstoltz, sr=jst, a=blizzard
2002-11-05 03:45:28 +00:00
heikki%netscape.com
919aef29e4
Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
2002-10-11 00:38:29 +00:00
darin%netscape.com
71bb3b05de
fixes bug 170789 "HTTP Accept: header should be tailored to context of the
...
request" r=dougt sr=bzbarsky
2002-09-27 04:22:13 +00:00
darin%netscape.com
2de4f81a70
fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
...
for freezing" r=dougt sr=rpotts
2002-09-25 21:28:53 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
axel%pike.org
311e1be821
fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
d9ea7f8f8f
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.
2002-08-27 23:47:25 +00:00
bzbarsky%mit.edu
485200387c
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
dbaron%fas.harvard.edu
811cf710ba
Guess at fixing orange builds. b=148046
2002-07-02 03:56:08 +00:00
dbaron%fas.harvard.edu
4aba7cc14e
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
2002-07-02 03:11:57 +00:00
dbaron%fas.harvard.edu
8fc5d9db8c
Allow page to display when @import-ing a malformed URL by incrementing mPendingChildren only if LoadSheet succeeds. b=148046 r=bzbarsky sr=waterson
2002-07-02 02:34:57 +00:00
bzbarsky%mit.edu
5a892e5796
Make the scriptloader check the HTTP status and not load 404 pages and
...
such as scripts. Bug 139040, r=jst, sr=rpotts
2002-07-01 23:12:13 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
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
2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
adae42c01e
Check the status code of HTTP channels before blindly loading the
...
sheet. Bug 112644, r=bbaetz, sr=darin
2002-06-18 02:46:11 +00:00
smontagu%netscape.com
b4767102a5
Make stylesheet loading recover from decoding errors. Bug 128896, r=ftang, sr=attinasi, a=asa
2002-04-09 00:29:03 +00:00
dbaron%fas.harvard.edu
a68d8f9629
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:56:05 +00:00
darin%netscape.com
9fbd1028d6
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
f6115a6997
Alternate sheets should be able to import other alternate sheets with no
...
trouble. Bug 52105, r=dbaron, sr=attinasi, a=shaver
2002-02-25 22:26:26 +00:00
alecf%netscape.com
66e767c7b8
one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
...
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
bzbarsky%mit.edu
97aad157b6
Relanding the Compare --> Equals conversion. a=mcafee
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
7fbffdf125
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu
40d60f39ec
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
bzbarsky%mit.edu
ca547b257b
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
jst%netscape.com
d8a5eb795b
Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com
2002-01-09 05:56:43 +00:00
rjesup%wgate.com
2e680f1b17
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
sfraser%netscape.com
169c79e50d
Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
2001-12-14 23:10:42 +00:00
bzbarsky%mit.edu
d58691b835
Add an assertion to the CSS loader for cases when sheet decoding fails.
...
stopgap measure for bug 106843, r=pierre, sr=attinasi
2001-12-11 02:48:49 +00:00
dp%netscape.com
1a3b0b8915
bug 110555 Ignoring error when user css files not found. r=dveditz,
...
sr=hyatt
2001-12-09 16:14:02 +00:00
alecf%netscape.com
917e1454a4
fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
2001-12-04 01:10:43 +00:00
alecf%netscape.com
e2d9c7adee
part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
...
sr=darin, r=dougt
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu
6331a770d6
Check the mimetype on the stylesheet channel and only
...
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au
20f5c3c7d0
bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
2001-11-17 02:36:05 +00:00
kin%netscape.com
a46abef38f
Backout glazman's fix for bug 107567, pending investigation
...
on why it causes the tinderbox Leak count to go up.
a=beard@netscape.com ,jj@netscape.com
2001-10-31 19:03:46 +00:00
glazman%netscape.com
3b65896526
Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin
2001-10-31 15:53:25 +00:00
bzbarsky%mit.edu
27d3c2549e
Improve how we get our charset for stylesheets. Look at HTTP header,
...
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset. Bugs 57164, 72658, 83207. r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
bzbarsky%mit.edu
7a6cc28476
Make setting element.style.foo just parse the value instead of creating
...
a property:value pair and parsing that. Speeds up setting of
element.style.top by about 5%. Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
dp%netscape.com
6ec83539f3
Fixing build bustage.
2001-09-08 22:01:22 +00:00
dp%netscape.com
006dc421cd
bug# 98786 Eliminating url cloning r=gagan,sr=jst
2001-09-08 21:13:20 +00:00
rjesup%wgate.com
f0b7d458d4
Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
...
r=jag, sr=jst
2001-09-07 03:44:33 +00:00
rjesup%wgate.com
f8b915228e
Bug 96710: Misuse of string.Mid() - uses should be string.Right().
...
r=kin, sr=jst
2001-09-06 19:38:20 +00:00
rjesup%wgate.com
9192f1e9a5
Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
...
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
dbaron%fas.harvard.edu
113ad642ae
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
2001-08-21 01:48:11 +00:00
cathleen%netscape.com
be72d98064
enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
2001-08-17 02:03:34 +00:00
cls%seawood.org
a3c1dd1b09
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
bzbarsky%mit.edu
a353a4e9a0
Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
2001-08-04 21:19:53 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
5a6317b8a5
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
peterv%netscape.com
ce83a7c5ff
Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
2001-05-21 13:01:41 +00:00
jst%netscape.com
77aeecc056
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
2001-05-19 11:27:30 +00:00
peterv%netscape.com
d8dc78eb98
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
2001-05-19 02:59:15 +00:00
nhotta%netscape.com
f023e39b47
Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
...
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.
2001-05-15 03:03:19 +00:00
pierre%netscape.com
8585a14bb1
66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman
2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au
651dbbfef2
Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst
2001-05-02 04:53:38 +00:00
hyatt%netscape.com
558eaf3113
Fix for 75189. r=jag. sr=attinasi
2001-04-11 03:55:39 +00:00
darin%netscape.com
aaa5e0e11a
Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson
2001-04-04 07:20:46 +00:00
hyatt%netscape.com
d741df52e2
Fix for 71262 and 71485, r=jag, srs=shaver on 71262 and hewitt on 71485
2001-03-10 01:43:09 +00:00
waterson%netscape.com
9fe59f23f0
Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
2001-02-22 03:01:34 +00:00
harishd%netscape.com
bc2996109d
68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
...
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
2001-02-09 22:36:23 +00:00
harishd%netscape.com
a7c109086e
Use resumeParsing instead of EnableParse().
...
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
disttsc%bart.nl
8d5cb84a07
Replace iostream.h cerr << dependancy with NS_WARNING. bug=67536, r=jst, sr=blizzard
2001-02-03 09:09:24 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00