Commit Graph

202 Commits

Author SHA1 Message Date
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
dbaron%fas.harvard.edu
7ccca40aab 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
cd56c0575b 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
9a6d92a433 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
f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
pierre%netscape.com
c9409e6184 bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
rayw%netscape.com
0257791053 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
a0ab5edcee 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
a94aa1aa52 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
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
dbaron%fas.harvard.edu
74fd1f046f 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
370ac10052 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
84b5fd67e3 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
a0923a0d16 Fix potential leak. r=attinasi a=waterson 2000-08-07 03:06:22 +00:00
pierre%netscape.com
e85c205893 attempt to fix the SunOS build 2000-08-05 06:39:42 +00:00
pierre%netscape.com
f807d71a05 46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD) 2000-08-05 04:39:43 +00:00
hyatt%netscape.com
dccf9dcff0 Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:51 +00:00
mstoltz%netscape.com
e0c61ab51a Fix for 16858 w/o breaking directory browser. r=waterson a=beard 2000-06-01 23:57:48 +00:00
waterson%netscape.com
9d7267c466 #if-0 out mstoltz's changes to fix tinderbox. 2000-05-27 05:22:39 +00:00
mstoltz%netscape.com
40dc18d415 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
76a6d4348a 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
23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
attinasi%netscape.com
3bc70b17e4 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
aaef34704e Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre 2000-04-26 23:36:45 +00:00
scc%netscape.com
1177150f2e making string conversions explicit 2000-04-23 19:04:37 +00:00
attinasi%netscape.com
31410d2cca 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
857f0905f7 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com
c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
pierre%netscape.com
9b423612d8 #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
194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
pierre%netscape.com
7674bfdbfa 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
a567c875bb 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
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ea798addcb 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
62f646032b 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
2db26922a6 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
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
sspitzer%netscape.com
3c1562a510 fix warning. 1999-11-10 00:09:32 +00:00
dmose%mozilla.org
5312eacf8c 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
332749d6fa 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
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com
efe3761c38 made child sheet loads of agent sheets be optionally synchronous 1999-09-30 01:39:57 +00:00
rpotts%netscape.com
69eebbead3 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
peterl%netscape.com
e230741d8f 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
e9991bb140 remove error output for non-error conditions 1999-09-03 23:38:40 +00:00
peterl%netscape.com
4d52afc607 added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
peterl%netscape.com
3df2d71720 remove warnings 1999-07-18 00:26:14 +00:00
beard%netscape.com
06085c800b added <iostream.h> 1999-07-17 01:58:38 +00:00
warren%netscape.com
84bd74a4fd 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
61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
peterl%netscape.com
ac97bf4bb2 hook up quirk mode 1999-07-07 01:29:49 +00:00
valeski%netscape.com
32de4bf808 various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com
62e9153f02 fixed UMR
added error output for charset converter failure
1999-06-22 19:21:54 +00:00
valeski%netscape.com
e23b3c673c 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
3e70c0acb6 dont emit error messages when sheets canceled after doc disconnect 1999-06-16 06:16:53 +00:00
nisheeth%netscape.com
8f16f22564 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
eb378fd080 added default namespace id
added safety checks when loading is aborted
1999-06-15 06:19:21 +00:00
nisheeth%netscape.com
c62e745099 Fix for bug 7401. Output an error when a URL load fails. 1999-06-11 23:10:59 +00:00
peterl%netscape.com
8f09b8d9aa added modified test for loaded sheets 1999-06-03 01:56:14 +00:00
peterl%netscape.com
ba0cf76c6a 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
87f3c44c23 added load agent sheet
added support for non-blocking inline sheets
1999-05-26 23:52:37 +00:00
peterl%netscape.com
0b7d088e69 added css loader 1999-05-18 23:15:10 +00:00