dbaron@fas.harvard.edu
78c757e211
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
37c9946fdf
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
506cfd7258
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
d7ebbb7e37
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
69b39f5c52
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
89a1fd9abb
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
6a73e05779
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
9808f7ca98
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
darin@netscape.com
fc6d5e4b32
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
bzbarsky@mit.edu
390b743613
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
9433386f20
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
0ca954f0d6
Relanding the Compare --> Equals conversion. a=mcafee
2002-02-10 15:49:46 +00:00
bzbarsky@mit.edu
e83d408339
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
3f6adfa582
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
13c031b53f
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
23c809d090
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
33e3e06f9e
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
6f3584fd20
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
52c9d25f9e
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
e7f2f08e47
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
f49275bd79
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
f3e897725c
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
8c329ae83d
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
32cfe74450
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
b33f180184
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
88543d81df
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
90ec49776d
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
f89422ce49
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
bzbarsky@mit.edu
07955e8016
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
55f676110b
Fixing build bustage.
2001-09-08 22:01:22 +00:00
dp@netscape.com
0861abecc8
bug# 98786 Eliminating url cloning r=gagan,sr=jst
2001-09-08 21:13:20 +00:00
rjesup@wgate.com
19fe134691
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
5d87b30863
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
63a3bd792d
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
4c647ea08a
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
aaab752d86
enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
2001-08-17 02:03:34 +00:00
cls@seawood.org
1fc88a4abc
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
4a02ef7311
Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
2001-08-04 21:19:53 +00:00
jaggernaut@netscape.com
c2bcad0b73
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
jaggernaut@netscape.com
baba14c5c8
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
25d35ad1df
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
519fe64e10
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
101758d7be
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
cd30083d15
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
5a1cf6e355
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
f1dd7cd921
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
e154373e41
Fix for 75189. r=jag. sr=attinasi
2001-04-11 03:55:39 +00:00
darin@netscape.com
8de62f9322
Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson
2001-04-04 07:20:46 +00:00
hyatt@netscape.com
709100e5be
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
bd416c3471
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