250 Commits

Author SHA1 Message Date
jwalden%mit.edu
3bc629d7d7 Bug 338003 - imgCache::Init leaks imgCache if do_GetService fails. Patch by Adam Guthrie <ispiked@gmail.com>, r+sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@200052 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 21:59:13 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
pavlov%pavlov.net
f925691d4a remove locks and threadsafe claims from the not-really-threadsafe imagelib. bug 330425. r=mrbkap sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192300 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 06:24:02 +00:00
darin%meer.net
a7e9ed4e7f fixes bug 328903 "Image requests need to cancel properly" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192217 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-11 20:32:47 +00:00
roc+%cs.cmu.edu
f9659c1a5b Bug 328684. Detect multipart channel by QI'ing the request object instead of peeking at the MIME type. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@191446 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 23:43:35 +00:00
cbiesinger%web.de
86be7ed52e bug 325177 r=darin sr=bz
- add a "request" parameter to nsIContentSniffer
- make the unknowndecoder implement nsIContentSniffer
- make nsBaseChannel do type detection via nsIContentSniffer rather than a
  stream converter


git-svn-id: svn://10.0.0.236/trunk@190362 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 16:54:27 +00:00
pavlov%pavlov.net
8fa074463a removing unused files.
git-svn-id: svn://10.0.0.236/trunk@189764 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 06:31:41 +00:00
cbiesinger%web.de
b1fa2e5e4a Bug 309386 Document what a null stream listener from loadImageWithChannel means
r=pavlov sr=bz


git-svn-id: svn://10.0.0.236/trunk@182108 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:42:02 +00:00
bryner%brianryner.com
ddf32f15d6 Don't lose track of image requests that are multipart/x-mixed-replace, so that we can disable bfcache for these documents. Bug 308903, r=pavlov, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@181504 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:27:20 +00:00
dougt%meer.net
25e626563c Backing out Bug 268798 which caused a Tp regression. See bug 305356 for details. r+sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@179471 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 14:33:07 +00:00
dougt%meer.net
9a935d0e25 Bug 268798. fixes not flushing session cache during a memory-pressure notification. r=pavlov, sr=dbaron, a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176616 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:00:20 +00:00
timeless%mozdev.org
3f674c133a Bug 293307 violation of c++ aliasing rules in imgCacheValidator::OnStartRequest() causing crash if compiled with gcc 4.0
r=pavlov sr=bz a=shaver


git-svn-id: svn://10.0.0.236/trunk@173946 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 18:28:20 +00:00
pavlov%pavlov.net
ca37abdac2 add api to allow one to get the mime type and content disposition from imagelib. bug 287286. r=bz sr=shaver
git-svn-id: svn://10.0.0.236/trunk@171069 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 21:09:02 +00:00
darin%meer.net
6e4bb5e6ea fixes bug 284687 "###!!! ASSERTION: index out of range: '0 <= aIndex && aIndex < Count()" r=biesi sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@170154 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:48:58 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
bzbarsky%mit.edu
8268850a60 If AsyncOpen fails, don't leave the imgRequest in the cache, since it will
never deliver any notifications to its listeners.  Bug 281467, r=pavalov,
sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@169249 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 15:26:04 +00:00
bzbarsky%mit.edu
d3b888c49b Make sure imgRequestProxys are added to the loadgroup even if we have a cached
imgRequest for them.  This allows the Stop button to cancel the proxy as
needed.  Bug 268985, r=pavlov, sr=darin


git-svn-id: svn://10.0.0.236/trunk@168885 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 22:21:46 +00:00
bryner%brianryner.com
2040b1004d Change cache interfaces to use ACString for the key. Bug 277627, r+sr=darin.
git-svn-id: svn://10.0.0.236/trunk@167653 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 03:25:28 +00:00
cbiesinger%web.de
085e63e484 Bug 38447 store hotspot information from .cur files on the imgIContainer; and
support storing arbitrary information on image containers (via nsIProperties)
r=pavlov sr=tor


git-svn-id: svn://10.0.0.236/trunk@167627 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 20:16:07 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
roc+%cs.cmu.edu
4e129cd6f5 Bug 265084. Progress towards floating point nscoord: make image interfaces and libpr0n use PRInt32 instead of nscoord. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@165360 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 04:16:07 +00:00
bzbarsky%mit.edu
b08991027b Set the out param to the clone before notifying on the clone. This will help
with callers that expect the variable they are cloning into to be set by the
time notifications happen.  Bug 259139, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162563 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:46:22 +00:00
cbiesinger%web.de
629a502f7b Bug 254586 don't assume cacheToken can be qi'd to nsICacheEntryDescriptor
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@160642 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:57:25 +00:00
bzbarsky%mit.edu
1b426c79f6 Only count proxies with listeners when deciding whether to animate or not. Bug
252730, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@160055 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 17:09:42 +00:00
cbiesinger%web.de
93911f8605 Bug 247981 necko depends on libpr0n
r=pavlov sr=darin


git-svn-id: svn://10.0.0.236/trunk@159487 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 18:53:02 +00:00
cbiesinger%web.de
5999fe7ca6 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@158580 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 16:45:07 +00:00
tor%cs.brown.edu
66f9a5f6a8 Bug 236313 - handle javascript URLs as img src. r=pavlov, sr=darin
git-svn-id: svn://10.0.0.236/trunk@156007 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:17:31 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
bsmedberg%covad.net
965bf776a9 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
git-svn-id: svn://10.0.0.236/trunk@153758 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 19:59:09 +00:00
bzbarsky%mit.edu
e7ad4f7000 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
mconnor%myrealbox.com
167dd699a8 Bug 231357 Remove universal image mimetypes from accept header r=darin sr=brendan
git-svn-id: svn://10.0.0.236/trunk@153267 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-26 04:16:23 +00:00
bzbarsky%mit.edu
d3e33b0653 Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@151035 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:29:28 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
darin%netscape.com
047024c662 fixes bug 199443 "leaking GDIs when table cell contains an image, and text is received in multiple packets (testcase available)" r=pavlov sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144072 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 22:55:17 +00:00
pavlov%pavlov.net
a88a7d8db7 Removal of MNG support. Bug 195280. Patch by tor@acm.org. r=pavlov sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@143257 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 23:16:42 +00:00
tor%cs.brown.edu
00b206135c Bug 197530 - remove ppm decoder. r=pavlov,cls sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143138 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 10:42:33 +00:00
cbiesinger%web.de
3ed66bbb59 partial fix for 202369 r=pavlov sr=darin crash or unchanged when refresh a page with gif files when these gif files removed
git-svn-id: svn://10.0.0.236/trunk@142904 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-25 20:38:07 +00:00
jst%netscape.com
b7574cd478 Fixing the last part of bug 93015. Making libpr0n's loadgroup handling more consistent to prevent image loads from happening w/o putting image request (proxies) into the loadgroup while the load is in progress. Also making sure that requests that are added to the loadgroup are always pulled out. Patch by pavlov@pavlov.net and myself, r=pavlov@pavlov.net, jst@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142423 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 05:42:06 +00:00
jst%netscape.com
2b7131a48b Backing out part of bug 93015 until we can figure out how to fix the problem w/o causing regression bug 205236.
git-svn-id: svn://10.0.0.236/trunk@142352 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 22:28:04 +00:00
jst%netscape.com
1a3fdb6d94 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@142281 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 20:42:49 +00:00
cbiesinger%web.de
9dc282bd31 oops, forgot to address pavlov's review comment from irc
git-svn-id: svn://10.0.0.236/trunk@142012 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 17:43:19 +00:00
cbiesinger%web.de
8377b904bc 152834 r=pavlov sr=darin a=asa When Viewing Images, "Stopped" appears on status bar
git-svn-id: svn://10.0.0.236/trunk@142011 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 17:41:33 +00:00
seawood%netscape.com
fd152f541a Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner


git-svn-id: svn://10.0.0.236/trunk@141327 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 19:19:42 +00:00
darin%netscape.com
c776fb08e7 fixes bug 201295 "Changed toplevel images don't reload [file:// URLs]" r=biesi sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@140954 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 01:01:31 +00:00
bzbarsky%mit.edu
67db3288d0 "Backing" changes back in since tree has reopened.
git-svn-id: svn://10.0.0.236/trunk@140538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
94a9f714fa Backing all this out, since tree is closed.
git-svn-id: svn://10.0.0.236/trunk@140536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
d656ccaddd Fix crash on failures to open channels. Bug 199966, r=pr0nmeister (pavlov),
sr=jst


git-svn-id: svn://10.0.0.236/trunk@140532 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 01:32:50 +00:00