Jeff Muizelaar
883d588522
Bug 672225. imglib: remove some PRBools that we're hurting my eyes. r=joe
...
--HG--
extra : rebase_source : b06e2b61b1104234481bf30a71cd3742a8c9a54f
2011-07-20 17:52:30 -04:00
Jeff Muizelaar
fb97b8f591
Bug 672207. imglib: Time how long we spend in the decode loop. r=joe
...
For now this is a global counter, the eventual plan is to make this per image
format. This will be our proxy for how long we block the event loop.
--HG--
extra : rebase_source : b283fff38585825f5f46884e12508b6323e178b3
2011-07-20 17:51:54 -04:00
Justin Lebar
e28ed030a2
Backing out bug 664659 (rev 7b49a2857e18) due to Mac memory regressions.
2011-07-19 19:25:19 -04:00
Jeff Muizelaar
395b580e5a
Bug 672207. imglib: Switch away from nsTime in favour of TimeStamp/TimeDuration. r=joe
2011-07-19 11:18:43 -04:00
Justin Lebar
3e32b14471
Bug 664659 - Fix about:memory image reporters. r=joe,njn
2011-07-18 09:20:27 -04:00
Joe Drew
35f7e4c995
Bug 671906 - Test to make sure we always reload images validated using CORS if their principal has changed. r=bz
2011-07-17 13:40:26 -04:00
Joe Drew
39edc16be7
Bug 671906 - Fix the logic for matching principals in imagelib CORS code. r=bz
2011-07-17 13:40:24 -04:00
Joe Drew
b18a40e744
Bug 641748 - Create a simulated GIF webcam, and test to make sure we actually get the second frame. r=jrmuizel
...
This also implicitly tests that we don't hit this bug, because it was an
NS_ABORT_IF_FALSE, and that will be hit on debug reftest runs.
2011-07-14 14:47:45 -04:00
Joe Drew
529e8fe43c
Bug 641748 - Remove RasterImage::AppendFrame in favour of RasterImage::EnsureFrame, because decoders get re-initialized when using multipart/x-mixed-replace, and this can lead to the frame count for RasterImages being different from the frame count for decoders. r=jrmuizel
2011-07-14 14:47:43 -04:00
Joe Drew
9a358e76cc
Bug 641748 - Change imgFrame::mPaletteDepth from signed to unsigned. r=jrmuizel
2011-07-14 14:47:41 -04:00
Joe Drew
eb69aaafee
Bug 664299 - Support CORS in Imagelib by adding load flags for the various CORS modes. r=jrmuizel,bz
2011-07-14 14:47:34 -04:00
Joe Drew
2acb1181b7
Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz
2011-07-14 14:47:32 -04:00
Justin Lebar
c1109a3471
Bug 481962 - Force logging on in imagelib. r=joe
...
--HG--
extra : rebase_source : 110c088d4221d56aede72808e05c202a7e2a3f91
2011-07-08 13:55:03 -04:00
Nicholas Nethercote
14e0e78adc
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Joe Drew
c6606bb858
Bug 619048 - Some "zero" (really max) height and width .ico files as crashtests. r=jrmuizel
...
The fact that these are interpreted as zero-size is bug 668068.
2011-07-01 13:08:19 -04:00
Joe Drew
6953ba8be8
Bug 619048 - Correctly reject zero-height and zero-width images. r=jrmuizel
2011-07-01 13:03:47 -04:00
Joe Drew
e45da523d9
Bug 552605 - Tests to make sure a URI always maps to the same image in the same document, even when loaded with cache-control: no-cache. r=bz
2011-07-01 13:03:45 -04:00
Joe Drew
3482c8aee5
Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz
2011-07-01 13:03:43 -04:00
Joe Drew
7c7458d595
Bug 552605 - Rely on the necko cache to validate all cache-control headers rather than asking for it to load only if modified. This makes it so we don't have to implement HTTP cache-control correctness on redirects ourselves. r=jrmuizel
2011-07-01 13:03:42 -04:00
Joe Drew
24059b37ef
Bug 552605 - imgRequest::mKeyURI and mURI are now the same because we don't change the cache on redirect. Let's keep track of the current URI instead. r=jrmuizel
2011-07-01 13:03:40 -04:00
Joe Drew
0791575aad
Bug 552605 - Keep track of all redirects when validating cache entries, so we make sure cache headers are always kept track of. r=jrmuizel
2011-07-01 13:03:38 -04:00
Joe Drew
5993e61297
Bug 552605 - check for file:// scheme in SetCacheValidation rather than on cache entry construction, so we don't have to have the URI when constructing cache entries. r=jrmuizel
2011-07-01 13:03:37 -04:00
Joe Drew
af0edfed5b
Bug 552605 - Change "must validate if expired" to "must always validate" in the image cache, to fit with the spirit of the HTTP spec. r=jrmuizel f=bz
2011-07-01 13:03:35 -04:00
Joe Drew
c6c4fb328a
Bug 552605 - Set cache expiry and validation on both OnStartRequest and OnRedirectVerifyCallback so that our image cache entries have the union of all cache headers. r=jrmuizel
2011-07-01 13:03:33 -04:00
Joe Drew
de61bfdcd4
Bug 552605 - Keep images in the image cache based on their original URI, not the URI they're redirected to. r=jrmuizel
2011-07-01 13:03:32 -04:00
Joe Drew
2a4e32e300
Bug 552605 - Fix some whitespace issues that crept in. r=jrmuizel
2011-07-01 13:03:30 -04:00
Marco Bonardo
8ee34defda
Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE
2011-07-01 18:08:24 +02:00
Joe Drew
dafb1c73cf
Bug 552605 - Some "zero" (really max) height and width .ico files as crashtests. r=jrmuizel
...
The fact that these are interpreted as zero-size is bug 668068.
2011-06-30 21:58:41 -04:00
Joe Drew
465430b320
Bug 619048 - Correctly reject zero-height and zero-width images. r=jrmuizel
2011-06-30 21:58:40 -04:00
Joe Drew
c75f3afd6e
Bug 552605 - Tests to make sure a URI always maps to the same image in the same document, even when loaded with cache-control: no-cache. r=bz
2011-06-30 21:58:38 -04:00
Joe Drew
c32bb8010a
Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz
2011-06-30 21:58:36 -04:00
Joe Drew
9084147b6f
Bug 552605 - Rely on the necko cache to validate all cache-control headers rather than asking for it to load only if modified. This makes it so we don't have to implement HTTP cache-control correctness on redirects ourselves. r=jrmuizel
2011-06-30 21:58:34 -04:00
Joe Drew
d54ba87f32
Bug 552605 - imgRequest::mKeyURI and mURI are now the same because we don't change the cache on redirect. Let's keep track of the current URI instead. r=jrmuizel
2011-06-30 21:58:33 -04:00
Joe Drew
c315bfbb99
Bug 552605 - Keep track of all redirects when validating cache entries, so we make sure cache headers are always kept track of. r=jrmuizel
2011-06-30 21:58:31 -04:00
Joe Drew
7622e1d969
Bug 552605 - check for file:// scheme in SetCacheValidation rather than on cache entry construction, so we don't have to have the URI when constructing cache entries. r=jrmuizel
2011-06-30 21:58:30 -04:00
Joe Drew
25f3a4bfd7
Bug 552605 - Change "must validate if expired" to "must always validate" in the image cache, to fit with the spirit of the HTTP spec. r=jrmuizel f=bz
2011-06-30 21:58:28 -04:00
Joe Drew
26fb3ef272
Bug 552605 - Set cache expiry and validation on both OnStartRequest and OnRedirectVerifyCallback so that our image cache entries have the union of all cache headers. r=jrmuizel
2011-06-30 21:58:26 -04:00
Joe Drew
5485099dfb
Bug 552605 - Keep images in the image cache based on their original URI, not the URI they're redirected to. r=jrmuizel
2011-06-30 21:58:25 -04:00
Joe Drew
1539151373
Bug 552605 - Fix some whitespace issues that crept in. r=jrmuizel
2011-06-30 21:58:23 -04:00
Justin Lebar
d782c6d4dd
Bug 666317 - Discard decoded images on a memory-pressure notification. r=joe
2011-06-30 17:13:56 -04:00
Justin Lebar
5daed65b45
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Kyle Huey
d14417672c
Bug 664495: Cleanup a duplicated function in imgLoader.cpp. r=joe
2011-06-24 07:22:33 -07:00
Marco Bonardo
da3f6b77ac
Revert to changeset a87ee7550f6a due to incomplete backout
2011-06-24 17:23:04 +02:00
Kyle Huey
0823d6503e
Bug 664495: Cleanup a duplicated function in imgLoader.cpp. r=joe
2011-06-24 07:22:33 -07:00
Ed Morley
ef0354804a
Bug 665582 - Fix unused variable warning in nsIconChannel.cpp; r=joedrew
...
--HG--
extra : rebase_source : 65e449aa4dddab9c51862f591dd212851506b50c
2011-06-22 12:00:27 -04:00
Ed Morley
0a6da6c408
Bug 665388 - Remove unused variable rv from imgLoader::Init; r=joedrew
...
--HG--
extra : rebase_source : c77c9dea614b89265e9a0bf481dc070237c675f9
2011-06-22 12:00:04 -04:00
Daniel Holbert
5beebd3d47
Bug 656244: Finish *all* remaining parsing in SVGDocumentWrapper::OnStopRequest. r=hsivonen
2011-06-21 10:38:44 -07:00
Alex Pakhotin
b154c7b9b0
Bug 649381 - implement moz-icon android support. r=blassey
2011-06-13 14:02:13 -07:00
jhorak@redhat.com
23efb10406
Bug 467168 - migrate libgnome and libgnomeui to GTK/GIO functions, r=karlt
2011-06-17 03:05:00 -07:00
Neil Rashbrook
715f8bcbb4
Bug 660534 Remove useless use of PromiseFlatCString r=joedrew!
2011-06-09 21:14:01 +01:00