Граф коммитов

267 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu d558717301 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 da51a65da5 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 19ad9f37f8 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 2407cfe7f8 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 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu efd070925d 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 5ec5cd62b2 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 e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 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 580e33204e 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 f2a9512382 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 4f0b3cba3a 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 2212861db9 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 ed2ea32c59 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 feff9ce486 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 572e864ce7 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 a9418e11c9 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 3b010bd783 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 875a2f3f41 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 46d52b2fe0 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 3b3a81d15b 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 d6b696191f 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 7f9eeaa84b 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 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
bzbarsky%mit.edu 64fb1452bf 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 874b32a20a Fixing build bustage. 2001-09-08 22:01:22 +00:00
dp%netscape.com dac8082a10 bug# 98786 Eliminating url cloning r=gagan,sr=jst 2001-09-08 21:13:20 +00:00
rjesup%wgate.com ee2b7e971b 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 083d490fea 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 be7d4d271c 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 716f9f4695 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 b6297898fd enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
cls%seawood.org 8405a1984e 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 70d6c75c7c Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 03ab87e4a1 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 bcc4d7040c 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 f72e19a2c3 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 899061aa64 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 040a56f113 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 ffc2d7be8a 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 27b5183dca 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 59c0d9ecc7 Fix for 75189. r=jag. sr=attinasi 2001-04-11 03:55:39 +00:00
darin%netscape.com b117712a15 Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson 2001-04-04 07:20:46 +00:00
hyatt%netscape.com 4c6682bec7 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 2cd62f503b 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 7bc76a76cc 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 539e2f64ec Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
disttsc%bart.nl c353ccb7bf 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 7a97a55d82 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 c81b2c3b26 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
dbaron%fas.harvard.edu f316e0c51b Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com 2000-12-02 15:53:42 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
pierre%netscape.com 543d81b5ef bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
valeski%netscape.com fffc143b83 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
warren%netscape.com 930a05de5a Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org 301746a559 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
dbaron%fas.harvard.edu f5da4c0c85 Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi 2000-08-16 23:04:42 +00:00
dbaron%fas.harvard.edu 578dafb772 Fix huge leak warren introduced last night. Changing the hash keys to have owning pointers caused circular ownership. r=waterson b=48373 (nsbeta3+) 2000-08-10 20:08:30 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu 870692e46a Fix potential leak. r=attinasi a=waterson 2000-08-07 03:06:22 +00:00
pierre%netscape.com b12e49442c attempt to fix the SunOS build 2000-08-05 06:39:42 +00:00
pierre%netscape.com 090a14ef74 46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD) 2000-08-05 04:39:43 +00:00
hyatt%netscape.com 4b0a32018e Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:51 +00:00
mstoltz%netscape.com ab8668d6b4 Fix for 16858 w/o breaking directory browser. r=waterson a=beard 2000-06-01 23:57:48 +00:00
waterson%netscape.com b787e27fe2 #if-0 out mstoltz's changes to fix tinderbox. 2000-05-27 05:22:39 +00:00
mstoltz%netscape.com c54ae2cb3c Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre. 2000-05-26 23:28:40 +00:00
carl.wong%intel.com 25271d3d08 Fixed bug#39134 (reference count leak in SheetLoadData). r=attinasi@netscape.com a=leaf@netscape.com 2000-05-17 18:29:30 +00:00
mkaply%us.ibm.com 5cb009113a # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
attinasi%netscape.com 6056f646c7 Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208 2000-04-27 00:51:06 +00:00
attinasi%netscape.com cced34d609 Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre 2000-04-26 23:36:45 +00:00
scc%netscape.com 7405fe2528 making string conversions explicit 2000-04-23 19:04:37 +00:00
attinasi%netscape.com 7717c427de Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500 2000-04-23 02:01:40 +00:00
braddr%puremagic.com 759c1f59be eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com be4311c49a making string conversions explicit 2000-04-03 11:20:35 +00:00
pierre%netscape.com 0cf6f0ed24 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided. 2000-03-16 11:44:00 +00:00
rickg%netscape.com 7c4f6b3293 landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
pierre%netscape.com c85c38f91f 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar. 2000-03-09 04:37:01 +00:00
valeski%netscape.com ba35ff22b6 r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
sspitzer%netscape.com 920287de74 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com d6a205f1ec Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
vidur%netscape.com 1c8159ed5e For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre. 1999-12-04 01:27:14 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
sspitzer%netscape.com e3a6b820eb fix warning. 1999-11-10 00:09:32 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
warren%netscape.com 2a827fc8c2 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com 3ab567c217 made child sheet loads of agent sheets be optionally synchronous 1999-09-30 01:39:57 +00:00
rpotts%netscape.com 93d54d8076 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
peterl%netscape.com 325d57ad01 removed non-necko code
fixed to not load alternate sheets after document drops reference
1999-09-09 00:42:53 +00:00
peterl%netscape.com c2b8358af5 remove error output for non-error conditions 1999-09-03 23:38:40 +00:00
peterl%netscape.com 9eb750015c added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
peterl%netscape.com 1af7ffd484 remove warnings 1999-07-18 00:26:14 +00:00
beard%netscape.com fad627620a added <iostream.h> 1999-07-17 01:58:38 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
warren%netscape.com 0cd57746e8 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
peterl%netscape.com 251d04536a hook up quirk mode 1999-07-07 01:29:49 +00:00
valeski%netscape.com ff18ce7d6d various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com 2f5289766d Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com 6ae3f48441 fixed UMR
added error output for charset converter failure
1999-06-22 19:21:54 +00:00
valeski%netscape.com 487d9ea921 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
peterl%netscape.com a5e9725c84 dont emit error messages when sheets canceled after doc disconnect 1999-06-16 06:16:53 +00:00
nisheeth%netscape.com 47260c98ab Fixed a crash that resulted from trying to access freed memory in CSSLoaderImpl::DidLoadStyle(). I was trying to access aLoadData to print out an error message after aLoadData had been freed. Moved the error printing code to where aLoadData still has valid content. 1999-06-16 01:29:27 +00:00
peterl%netscape.com 47c181c060 added default namespace id
added safety checks when loading is aborted
1999-06-15 06:19:21 +00:00
nisheeth%netscape.com 055ebfaba1 Fix for bug 7401. Output an error when a URL load fails. 1999-06-11 23:10:59 +00:00
peterl%netscape.com b37990bb21 added modified test for loaded sheets 1999-06-03 01:56:14 +00:00
peterl%netscape.com 1a121d89d6 clone URLs before handing to netlib. "chrome:" and "resource:" urls get munged destroying hash keys... 1999-05-28 06:50:52 +00:00
peterl%netscape.com 0e8ebe075d added load agent sheet
added support for non-blocking inline sheets
1999-05-26 23:52:37 +00:00
peterl%netscape.com cb7284df94 added css loader 1999-05-18 23:15:10 +00:00