122 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
2d59fcc183 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115324 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:26:26 +00:00
alecf%netscape.com
f85a67075e 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


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
bzbarsky%mit.edu
ad1fb22926 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
jst%netscape.com
901f0df3ef Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111649 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 05:56:43 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
bzbarsky%mit.edu
d8dc8592bc Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110201 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:48:49 +00:00
dp%netscape.com
e1a23ad8a5 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110132 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 16:14:02 +00:00
alecf%netscape.com
728ab648ca fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
alecf%netscape.com
104971899d part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt


git-svn-id: svn://10.0.0.236/trunk@109558 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu
945c775af1 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


git-svn-id: svn://10.0.0.236/trunk@108487 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au
5553e08c9e bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
git-svn-id: svn://10.0.0.236/trunk@108341 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:36:05 +00:00
kin%netscape.com
9673ca95ec 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


git-svn-id: svn://10.0.0.236/trunk@106834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 19:03:46 +00:00
glazman%netscape.com
8c9c7abf8d Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin
git-svn-id: svn://10.0.0.236/trunk@106832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 15:53:25 +00:00
bzbarsky%mit.edu
c180e28886 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


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
bzbarsky%mit.edu
316ec70207 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


git-svn-id: svn://10.0.0.236/trunk@104060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:38:36 +00:00
dp%netscape.com
ad73acbae3 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@102599 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 22:01:22 +00:00
dp%netscape.com
eb731f9c5d bug# 98786 Eliminating url cloning r=gagan,sr=jst
git-svn-id: svn://10.0.0.236/trunk@102596 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 21:13:20 +00:00
rjesup%wgate.com
0202c4da49 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102509 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:44:33 +00:00
rjesup%wgate.com
977fe6eac8 Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:38:20 +00:00
rjesup%wgate.com
3d0a34aaca 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


git-svn-id: svn://10.0.0.236/trunk@102430 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:16:03 +00:00
dbaron%fas.harvard.edu
3485888237 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
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
cathleen%netscape.com
f541238cb0 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 02:03:34 +00:00
cls%seawood.org
3b8b92a2e8 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


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
bzbarsky%mit.edu
8cca381b47 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100358 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 21:19:53 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
peterv%netscape.com
b5b28ccdae Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95596 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 13:01:41 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
nhotta%netscape.com
a630ef95fb 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.


git-svn-id: svn://10.0.0.236/trunk@94921 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:03:19 +00:00
pierre%netscape.com
ea7430e62c 66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman
git-svn-id: svn://10.0.0.236/trunk@93633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au
4585cb0bec Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@93619 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:53:38 +00:00
hyatt%netscape.com
b942377c6a Fix for 75189. r=jag. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91946 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 03:55:39 +00:00
darin%netscape.com
72047ef03e Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@91265 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:20:46 +00:00