Commit Graph

58 Commits

Author SHA1 Message Date
Mihai Sucan
6af7fd5fc9 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Daniel Holbert
45d36a247a Bug 587902, part 2: Instantiate imgRequest::mImage only after we know its mimetype. r=joe a=blocking 2010-08-23 15:44:07 -07:00
Daniel Holbert
2605301c67 Bug 587902, part 1: Allow an imgStatusTracker to be instantiated before its Image. r=joe a=blocking 2010-08-23 15:44:07 -07:00
Bobby Holley
108e3fdc74 Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-22 22:30:46 -04:00
Kyle Huey
c5800700be Backing out Bug 513681 and Bug 587371 for timeouts. 2010-08-22 10:13:09 -04:00
Bobby Holley
54a728146b Bug 513681 - part 17 - remove imgIDecoder.r=joe,sr=shaver,a=blocker 2010-08-14 15:48:06 -04:00
Daniel Holbert
fad731edb0 Bug 584841 patch 2: Use Image pointers in place of imgContainer pointers in a few places. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Joe Drew
364a44e4bd Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley 2010-07-28 14:52:34 -07:00
Joe Drew
e2fa5f1de8 Bug 572520: step 7, delay otherwise-synchronous notifications, and send them asynchronously later. r=jrmuizel,bholley sr=bz 2010-07-28 14:52:14 -07:00
Joe Drew
dce4fe07b6 Bug 572520: step 6, centralize the tracking of load/decode status. Make a single class, imgStatusTracker, which keeps track of the state of an image, and also takes care of calling notifications on imgRequestProxys. r=jrmuizel,bholley 2010-05-14 16:47:59 -04:00
Joe Drew
92722f5a0a Bug 572520: step 5, remove imgContainerRequest because it duplicates the body of NotifyProxyListener. Put its required abilities into imgRequestProxy and imgContainer. r=jrmuizel 2010-05-10 23:27:41 -04:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Bobby Holley
a1133f18cd Bug 516334: Track image decode notifications to send correct notifications to late-coming consumers (Tp4 orange fix). r=joe 2009-12-14 10:35:47 +00:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Bobby Holley
ebbc4de5ce Bug 516335 - Calling lockImage multiple times for borderImage. r=joe 2009-09-15 18:33:14 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Joe Drew
ea1f5e5a2d Bug 479328 and bug 481753 - Ensure imgRequest always knows when it's in the cache, and doesn't try to do cache manipulation when it isn't. Also, fix redirect handling to not simply invalidate the cache entry. r=vlad, sr=bzbarsky 2009-03-17 17:07:16 -04:00
Joe Drew
aecde3bf69 Backed out changeset 987a23d40e86 because of leaks on a11y tests on Linux 2009-03-12 00:22:50 -04:00
Joe Drew
a49559a6a7 Bug 481753 - imgRequests call imgLoader functions assuming that they're in the cache when they aren't
Teach imgRequest to keep track of when it's in the cache, and not do cache
operations when it isn't.
2009-03-11 21:31:26 -04:00
Joe Drew
f7bd752ce7 Bug 481553 - Make imgRequests not try to update their status in the image cache when they aren't stored in it. r=vlad 2009-03-04 22:56:14 -05:00
Joe Drew
2774b195e4 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Boris Zbarsky
ac1ce67cea Bug 455367. Don't just assume that all image loads get data; ask imagelib instead. r=kaie, r=joedrew, sr=jst 2009-02-16 09:11:30 -05:00
Joe Drew
0b154c324c Backed out changeset af9270b650e6 2009-02-13 18:24:22 -05:00
Joe Drew
7ee4e55b58 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Vladimir Vukicevic
ff530b54bb Back out bug 466586 (eBay preview image occasionally disappears after briefly appearing), due to 476349 crashes 2009-02-02 21:23:09 -08:00
Joe Drew
ca2541f607 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Jim Mathies
fc1a190574 Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt 2009-01-30 13:13:52 -06:00
Joe Drew
962cd7d3c1 Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew
a3bb205467 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-26 15:34:01 -05:00
Joe Drew
141960a0b9 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-23 20:31:30 -05:00
Joe Drew
ba5f4381c0 Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-22 17:20:46 -05:00
Joe Drew
c77de5254f Backed out changeset 4b22cab7e989 2008-12-11 16:47:47 -08:00
Joe Drew
3670f5ac6c Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-11 15:28:58 -08:00
Robert Sayre
58f4455a2a Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Robert Sayre
a72651bef5 Backout JOEDREW! patches for bug 468160 and bug 414259. Looks like they make mochitest leak. 2008-12-11 00:57:49 -08:00
Joe Drew
0f5fffdcd6 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
004fd475bb Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-10 16:26:15 -08:00
Joe Drew
e917f1c904 Bug 430061: Don't use necko's memory cache in imglib; r/sr=stuart,vlad,bz
? .fast-update
? _profile
? _tests
? obj-ff-debug
? staticlib
? README/.fast-update
? browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
? build/pgo/automation.py
? build/pgo/profileserver.py
? config/buildid
? config/system_wrappers
? content/base/test/TestNativeXMLHttpRequest
? content/base/test/TestPlainTextSerializer
? embedding/components/printingui/src/mac/printpde/build
? gfx/thebes/public/.gfxContext.h.swp
? gfx/thebes/test/gfxFontSelectionTest
? gfx/thebes/test/gfxSurfaceRefCountTest
? gfx/thebes/test/gfxTextRunPerfTest
? gfx/thebes/test/gfxWordCacheTest
? intl/uconv/tests/TestUConv
? intl/uconv/tests/nsconv
? intl/uconv/tests/plattest
? intl/unicharutil/tests/NormalizationTest
? js/src/host_jskwgen
? js/src/jsautokw.h
? layout/style/test/css_properties.js
? layout/style/test/host_ListCSSProperties
? layout/tools/reftest/autoconf.js
? modules/libpr0n/src/.imgContainer.cpp.swp
? modules/libpr0n/src/.imgLoader.cpp.swp
? modules/libpr0n/src/.imgLoader.h.swp
? modules/libpr0n/src/.imgRequestProxy.cpp.swp
? modules/libpr0n/src/check-all-at-removal-time
? modules/libpr0n/src/currpatch
? modules/libpr0n/src/update-every-time
? modules/plugin/samples/default/mac/build
? netwerk/cache/src/.nsMemoryCacheDevice.cpp.swp
? netwerk/dns/src/etld_data.inc
? netwerk/test/ReadNTLM
? netwerk/test/TestCookie
? netwerk/test/TestIncrementalDownload
? netwerk/test/TestOpen
? netwerk/test/TestServ
? netwerk/test/TestStreamLoader
? netwerk/test/TestUDPSocketProvider
? nsprpub/.fast-update
? nsprpub/unallmakefiles
? parser/htmlparser/robot/test/htmlrobot
? parser/htmlparser/tests/grabpage/grabpage
? parser/htmlparser/tests/html/TestParser
? rdf/tests/triplescat/triplescat
? storage/test/teststorage1
? testing/mochitest/automation.py
? testing/mochitest/automation.pyc
? testing/mochitest/runtests.pl
? testing/mochitest/runtests.py
? testing/mochitest/ssltunnel/ssltunnel
? toolkit/components/url-classifier/tests/TestUrlClassifierUtils
? toolkit/crashreporter/client/crashreporter
? toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms
? toolkit/crashreporter/test/TestCrashReporterAPI
? toolkit/library/XUL
? toolkit/mozapps/update/src/nsUpdateService.js
? toolkit/xre/platform.ini
? tools/rb
? tools/trace-malloc
? widget/src/cocoa/libwidget.rsrc
? xpcom/io/.nsStringStream.cpp.swp
? xpcom/proxy/tests/proxy-create-threadsafety
? xpcom/sample/program/nsTestSample
? xpcom/tests/TestAutoPtr
? xpcom/tests/TestExpirationTracker
? xpcom/tests/TestHashtables
? xpcom/tests/TestINIParser
? xpcom/tests/TestPipe
? xpcom/tests/TestProxies
? xpcom/tests/TestRegistrationOrder
? xpcom/tests/TestStorageStream
? xpcom/tests/TestStringAPI
? xpcom/tests/TestStrings
? xpcom/tests/TestTArray
? xpcom/tests/TestTextFormatter
? xpcom/tests/TestThreadPool
? xpcom/tests/TestVersionComparator
? xpcom/tests/external/TestMinStringAPI
? xpfe/bootstrap/appleevents/mozillaSuite.rsrc
Index: modules/libpr0n/build/nsImageModule.cpp
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/build/nsImageModule.cpp,v
retrieving revision 1.20
2008-09-04 19:00:42 -04:00
Boris Zbarsky
64fa469cc7 Backed out changeset aaecc637558e 2008-09-04 12:36:27 -04:00
Joe Drew
5e0c0fbf08 Bug 430061. Make imglib no longer use necko's memory cache, r/sr=stuart 2008-09-04 11:23:16 -04:00
honzab@allpeers.com
2eba452039 Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-09-01 22:53:59 +02:00
Dave Camp
73041a5aa1 Backed out changeset e63a23edb90c due to Rlk regression (bug 430061). 2008-08-19 14:42:03 -07:00
Joe Drew
7330eb1491 Bug 430061 - replace imglib use of necko memory cache with an imglib-specific cache, r=pav 2008-08-19 16:28:28 -04:00
Dave Townsend
9cb6773784 Backed out changeset cf3eae029913 2008-08-18 15:08:14 +01:00
honzab@allpeers.com
a19d587018 Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-08-16 09:12:42 +02:00
dwitte@stanford.edu
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00