106 Commits

Author SHA1 Message Date
dwitte%stanford.edu
d62beece33 relanding part of 407442.
git-svn-id: svn://10.0.0.236/trunk@241831 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 07:30:06 +00:00
dwitte%stanford.edu
7094b241c3 back out changes.
git-svn-id: svn://10.0.0.236/trunk@241739 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 11:07:42 +00:00
dwitte%stanford.edu
90bc683a3f reland nsTObserverArray changes only.
git-svn-id: svn://10.0.0.236/trunk@241732 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 06:03:06 +00:00
dwitte%stanford.edu
5de2d1ee12 backing out to investigate Ts increase
git-svn-id: svn://10.0.0.236/trunk@241730 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 04:12:13 +00:00
dwitte%stanford.edu
50e90b27e7 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in
nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@241726 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 01:06:36 +00:00
jonas%sicking.cc
47f6800731 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst
git-svn-id: svn://10.0.0.236/trunk@241203 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 01:41:49 +00:00
bzbarsky%mit.edu
36a5c4ae58 Relanding bug 389188. r=pavlov, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@239009 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 02:55:42 +00:00
dtownsend%oxymoronical.com
9d88d73fc8 Backing out bug 389188 due to potential private bytes increase on talos
git-svn-id: svn://10.0.0.236/trunk@236693 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 04:30:18 +00:00
bzbarsky%mit.edu
7389ded07b Expose the image's principal on its imgIRequest. Bug 389188, r=pavlov,
sr=biesi, a=pavlov.


git-svn-id: svn://10.0.0.236/trunk@236658 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 15:46:40 +00:00
asqueella%gmail.com
39b7b3764e fix bug 369214 (ASSERTION: The observer list changed while being iterated over!: 'count == mObservers.Count()' in libpr0n) by switching the observers list to use nsTObserverArray.
r=stuart
a=1.9 blocker


git-svn-id: svn://10.0.0.236/trunk@236504 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 19:40:57 +00:00
asqueella%gmail.com
e0b0c340f2 Bug 391667 - imglib does not gracefully handle unknown images sent with incorrect MIME types
p=Ben Karel <web+moz@eschew.org>
r+a=pavlov


git-svn-id: svn://10.0.0.236/trunk@233741 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 16:10:57 +00:00
asqueella%gmail.com
f8d299dec2 b=384864, apply the rest of the patch to fix bustage
git-svn-id: svn://10.0.0.236/trunk@233075 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 19:43:27 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
flamingice%sourmilk.net
d695d48426 Bug 385883, imgRequest wrongly calculates image size for the cache, Patch by Alfred Kayser, r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@228871 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 19:30:34 +00:00
dougt%meer.net
e93f384e2b Trying bandaide for crash at [@ imgRequest::OnStopRequest]. see bug 361499.
git-svn-id: svn://10.0.0.236/trunk@216836 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 04:15:45 +00:00
dougt%meer.net
9e6e105dfd exposing the network status of a image request to wpl consumers. bug 355555. r=stuart.
git-svn-id: svn://10.0.0.236/trunk@215060 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:47:43 +00:00
bzbarsky%mit.edu
494aee0119 Make imagelib not blow away images in the image cache on 404. Bug 349200,
r=pavlov, sr=darin


git-svn-id: svn://10.0.0.236/trunk@208270 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 02:02:30 +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
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
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
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
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
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
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
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
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
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
bzbarsky%mit.edu
617629aaf0 Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
dbaron%dbaron.org
e071c7ff2a Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +00:00
paper%animecity.nu
40c0f9792a Bug 181829 remove imgIDecoderObserver from imgContainerGIF. r=biesi, sr=tor
git-svn-id: svn://10.0.0.236/trunk@135296 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 06:14:16 +00:00
bzbarsky%mit.edu
1dedbd7154 Add & implement imgIContainer::ResetAnimation. Bug 152756, patch by
paper@animecity.nu (Arron), r=pavlov, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@131673 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 04:43:13 +00:00
rpotts%netscape.com
c3234b594f bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes...
git-svn-id: svn://10.0.0.236/trunk@129968 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:08:12 +00:00
pavlov%netscape.com
0b2049aeb6 checking in fix for topcrash bug 145147. r=bienvenu sr=mscott
git-svn-id: svn://10.0.0.236/trunk@122136 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:54:44 +00:00
darin%netscape.com
4c9f13c694 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz


git-svn-id: svn://10.0.0.236/trunk@120681 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:49:43 +00:00
cbiesinger%web.de
cf03b9b3e2 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function


git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 13:21:33 +00:00
kmcclusk%netscape.com
87dc98ac69 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117288 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 04:33:37 +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
pavlov%netscape.com
80d494f6e4 checking in part of the patch for 42224 that I forgot to check in previously. r=sfraser sr=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@116310 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 22:29:14 +00:00
pavlov%netscape.com
b95b10fb11 fixing multipartmixed image stuff. bug 42224. r=sfraser sr=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@115383 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:32:19 +00:00
cathleen%netscape.com
3ae7a2346b eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113144 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:30:32 +00:00
pavlov%netscape.com
aea1de05df fixing bug 120041 r=timeless rs=darin
git-svn-id: svn://10.0.0.236/trunk@112285 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:23:50 +00:00
pavlov%netscape.com
afe7635f3c fixing multiple reload of same image on reload. bug 108161 (and others) r=bryner sr=darin
git-svn-id: svn://10.0.0.236/trunk@112162 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 05:23:33 +00:00
tor%cs.brown.edu
07b40ad301 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@110639 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:07:03 +00:00
hyatt%netscape.com
5cc58cb983 Fixing 18502, I misapplied the patch and checked in duplicate lines of code. Backing out.
git-svn-id: svn://10.0.0.236/trunk@107252 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 12:00:32 +00:00
hyatt%netscape.com
f908dd5b01 Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband
git-svn-id: svn://10.0.0.236/trunk@107234 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 07:10:51 +00:00