Ali Juma
c29ceb0a68
Bug 733941 - Let callers of imgIContainer::draw choose to clamp instead of tile. r=roc a=blocking-fennec
2012-04-17 18:04:15 -04:00
Jared Wein
ad8ccbf625
Bug 740668 - Add noise to background of image document. r=joe,zpao
2012-04-10 16:03:48 -07:00
Patrick McManus
0037e47e55
bug 742935: fix landing problem with 717759 r=honzab
2012-04-09 10:22:07 -04:00
Kyle Huey
b9156a7e34
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
0826c61887
Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz
2012-04-07 09:00:04 -07:00
Daniel Holbert
5dcff7827d
backout ca2cbec4255a (diagnostic patch for bug 739711)
2012-04-05 13:25:19 -07:00
Daniel Holbert
145a91317f
Bug 739711: add some diagnostic printfs to let us see if we're hitting canvas drawImage for SVG images on android. r=roc
2012-04-04 19:37:28 -07:00
Timothy Nikkel
dc5957db0c
Backout f5c4aedd43a6 (bug 740841) for causing bug 742081.
2012-04-04 00:13:27 -05:00
Timothy Nikkel
741d42d3e2
Bug 740841. If the image is not decoded already in RasterImage::GetFrame we will ignore the passed in decode flags. r=joe
2012-04-01 16:31:21 -05:00
Robert Lickenbrock
2e1d1d212b
Bug 734681 - Make UNTIL_SIZE decodes shutdown the decoder if decoding is already finished. r=joe. This should fix the intermittent reftest failures introduced by Bug 715308.
...
--HG--
extra : rebase_source : 9661582cc39e18d6ac1c36085c1fa8ee8d0eaffb
2012-03-26 09:05:13 -07:00
Jeff Gilbert
5c20276bf3
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Patrick McManus
083437c9ff
bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
2012-03-22 19:39:32 -04:00
Matt Brubeck
b1e708752d
Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks
2012-03-20 12:53:10 -07:00
Patrick McManus
e9dedc0c35
bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
...
--HG--
extra : rebase_source : cb9795b5442102a777602f59c225ab9572e06cea
2012-03-20 13:11:32 -04:00
Justin Lebar
f3b39edffc
Bug 736761 - Don't crash if images are discarded after XPCOM shutdown. r=joe
2012-03-18 09:56:00 -04:00
Justin Lebar
e7f18abc74
Bug 735894 - Fire the discard timeout twice as often, so images are discarded after between 1 and 1.5 discard timeout intervals, instead of between 1 and 2 intervals. r=joe
...
--HG--
extra : rebase_source : 2ca143b901616b42d3e7c8f25349d04f5f0cb288
2012-03-15 16:30:41 -04:00
Justin Lebar
260c6a4781
Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
...
--HG--
extra : rebase_source : 013b58b9148f0fd4d7f0eb7104674d6aa63bca82
2012-03-15 16:30:41 -04:00
Justin Lebar
d125c715f4
Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe
...
--HG--
extra : rebase_source : 5e08cc235f1a9cb7b63d83df13760f2f2a4de0a4
2012-03-10 01:29:28 -05:00
Justin Lebar
b39e98eebb
Bug 731419 - Part 0: Test that drawing an image out of a display:none iframe works. r=me
...
--HG--
extra : rebase_source : 96932ca3f45be49e4ecd6ab4b43ead062db0d8b3
2012-03-10 01:29:28 -05:00
Justin Lebar
1ef50d4a60
Back out bug 731419 and bug 732820 due to orange.
...
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
45e69ecc2d
Bug 732820 - Part 4: Followup, use PRUint64 instead of ssize_t, since ssize_t doesn't exist on Windows.
...
--HG--
extra : rebase_source : 3319d5541bac26fb4bc63323c88b4efd65a47fe1
2012-03-09 18:15:54 -05:00
Justin Lebar
77b259dfeb
Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe
2012-03-09 17:21:01 -05:00
Justin Lebar
5b4483258a
Bug 731419 - Part 0: Test that drawing an image out of a display:none iframe works. r=me
2012-03-09 17:21:01 -05:00
Justin Lebar
2457216f32
Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
2012-03-09 17:21:01 -05:00
Michael Wu
d82046881d
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 19:01:12 -05:00
Justin Lebar
f822e21799
Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue.
...
Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue. r=joe
--HG--
extra : rebase_source : c78206fa9abdb1aa3b054f7ab4d53affe0883ece
2012-03-08 09:14:00 -05:00
Nicholas Nethercote
78363fbd82
Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
...
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Ryan VanderMeulen
5ba5232745
Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew, f=dolske
2012-03-03 22:18:31 -05:00
Boris Zbarsky
f5d429c4bc
Bug 732319. Fix leaks on CORS failures in imagelib. r=joe
2012-03-02 23:44:55 -05:00
Boris Zbarsky
d14d125414
Bug 732178. Set up the image cache validator before the CORS listener. r=joe,sicking
2012-03-02 00:13:54 -05:00
Nicholas Nethercote
766de0df7b
Bug 731890 - Convert the 12 "images" memory reporters to a single multi-reporter. r=jlebar.
...
--HG--
extra : rebase_source : e4ac7a1c03c4a033f2ea5fe54f79654cba3d3574
2012-03-01 16:05:32 -08:00
Justin Lebar
62dbeeb1ab
Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo
2012-02-29 22:56:43 -05:00
Ryan VanderMeulen
9dd3b10cc6
Back out libpng update due to xpcshell failures (44fc3b0c25f7 and 7b74d51579b4). r=warlock
2012-02-27 20:36:29 -05:00
Ryan VanderMeulen
9b45dde297
Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew
2012-02-27 18:57:27 -05:00
Mark Capella
7c9075ff14
Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm
2012-02-23 01:33:19 +01:00
Nicholas Nethercote
b7b9660f94
Bug 711901 - Use mallocSizeOf in the source image memory reporters. r=joedrew.
...
--HG--
extra : rebase_source : 9c39bbb44cb40fa900a8245842a50d894c02f4e0
2012-02-19 19:51:48 -08:00
Justin Lebar
6ed6a3efb6
Bug 726004 - Fix intermittent reftest orange introduced by bug 715308 by not flushing invalidations when the decoder detects an error. r=joe
...
--HG--
rename : browser/devtools/debugger/test/test-editor-mode => browser/devtools/debugger/test/test-script-switching-02.js
extra : rebase_source : 4eeface3fbf6a257ca3f86cf05e13df276ff9743
2012-02-13 21:21:11 -05:00
Joe Drew
6eb682d309
Bug 724584: Pass in aRequest as an nsIRequest* (instead of an nsIChannel*) in mgRequest::Init. r=jrmuizel
2012-02-13 14:36:14 -08:00
Jeff Gilbert
98033e03ef
Bug 723453 - Split cases for ConvertHostARGB - r=joe
2012-02-10 15:41:24 -08:00
Jeff Gilbert
bb747061d8
Bug 723221 - Premultiply JPG data correctly - r=joe
2012-02-10 15:37:16 -08:00
Justin Lebar
d41ff5c565
Bug 715308 and bug 721510 - Back out rev 350ba395c, backing in bug 715308 and bug 721510, plus randomorange/crash fixes. r=joe
2012-02-09 15:04:30 -05:00
Panagiotis Koutsourakis
583eb38038
Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
...
Files named Makefile.in containing the expression
DIRS += <foo>
or
DIRS = <foo>
inside the conditional expression
ifdef ENABLE_TESTS
...
endif
are changed to
TEST_DIRS += tests
outside any conditional expression.
The files
./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in
contain the string
ifdef ENABLE_TESTS
but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Justin Lebar
b836d75062
Back out bug 715308 and bug 721510 due to crashes and intermittent OSX reftest failures. r=joe
2012-02-02 10:59:01 -05:00
Jeff Muizelaar
cd2162059c
Bug 341287. Expand __LINE__ before pasting. r=jlebar
...
Currently, the code is just append '__LINE__' to the variable
instead of the actual line number. This fixes that by expanding
the __LINE__ identifier before pasting it.
2012-01-30 15:28:49 -05:00
Bas Schouten
f41ddf02da
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Robert O'Callahan
1f8d8e9fb6
Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
2012-01-30 18:16:54 +13:00
Justin Lebar
8e67a2b3e7
Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe
2012-01-27 12:09:01 -05:00
Matt Brubeck
4bbdc0b9d1
Back out b4decc9b812f (bug 721510) because of frequent Mac reftest failures on a CLOSED TREE
2012-01-27 14:49:50 -08:00
Justin Lebar
2f2d3a2156
Bug 721589 - Fix intermittent orange in image/test/mochitest/test_error_events.html. r=joe
2012-01-27 09:23:00 -05:00
Justin Lebar
76001f8b15
Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe
2012-01-27 12:09:01 -05:00
Justin Lebar
d063bb91a3
Bug 715308 - Part 1: Decode RasterImage::Draw()'n images before other images. r=joe
...
--HG--
extra : rebase_source : b958a682e5a92767ba1887a7d6df5a53f146fda2
2012-01-26 15:54:04 -05:00
Justin Lebar
96a68be29f
Bug 715308 - Part 0: Add tests for image onload/onerror. r=joe
...
--HG--
extra : rebase_source : 2f1f152975bfa4c7c5fa3ef6d05d7e0c02640f6e
2012-01-26 15:54:04 -05:00
Dão Gottwald
e1d8649025
No bug - fix some browser chrome tests that pollute the global scope
2012-01-24 23:08:42 +01:00
Marco Bonardo
b5461ddb2d
Merge last green PGO from inbound to central
2012-01-24 13:27:20 +01:00
Serge Gautherie
ea51585f16
Bug 490384. (Dv1a) Improve and reenable test_bug466586.html. r=joe.
2012-01-24 07:02:07 +01:00
Brian R. Bondy
ff700f67dc
Bug 719202 - Innocuous uninitialized BMP header value. r=joe
2012-01-23 18:28:58 -05:00
Atul Aggarwal
3e0a05f88e
Bug 698263 - Rename mozilla::imagelib namespaces to mozilla::image r=joe
2012-01-06 21:32:27 +05:30
Jeff Muizelaar
a47ca866d2
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
b79b1e58d3
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Ms2ger
10ae9ad9d2
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
f721014338
Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted
2012-01-11 09:23:07 +01:00
Kyle Huey
3a27625aad
Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc
2012-01-06 07:32:38 -05:00
Jeff Muizelaar
09e3da77b4
Bug 695859. Don't progressively display images during decode if we have all of the data. r=bholley
...
This should reduce the amount of image repainting that happens during download.
--HG--
extra : rebase_source : 2dd2ea707e163fbf2ef344ba17e944b5c8f227fd
2011-10-19 18:06:14 -04:00
Jeff Muizelaar
fa7bc8f2f2
Bug 715240. Only track decode on draw latency when we have all of the data. r=joe,f=jlebar
...
Previously, could start counting before the image was completely downloaded. This
would cause the download time to be included.
--HG--
extra : rebase_source : 42a208c345e338e2fc7141d5b1b4a9d8cc32720b
2011-12-19 16:42:36 -05:00
Matt Woodrow
08c9e05cce
Bug 715916 - Check the result of GetFrame in RasterImage::GetImageContainer. r=joe
2012-01-11 13:33:20 +13:00
Brian R. Bondy
f903525b7b
Bug 683205 - Reftests for RLE8 BMPs. r=joe.
...
--HG--
rename : image/test/reftest/bmp/bmp-8bpp/os2bmp-size-32x32-8bpp.bmp => image/test/reftest/bmp/bmp-8bpp/os2-bmp-size-32x32-8bpp.bmp
2012-01-03 21:37:59 -05:00
Jeff Walden
82023879ca
Bug 714572 - Fix nearly all clang warnings building image/. r=bholley
...
--HG--
extra : rebase_source : 585983448ac6dae86d309530d5ddbda856bdcfa9
2012-01-02 14:23:41 -06:00
Justin Lebar
a02be5e264
Bug 712959 - Imagelib should notice when all image.mem.* prefs change. r=joe
2011-12-22 09:21:00 -05:00
Bobby Holley
4b6add2c77
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
aceman
42a71aa907
Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky
2011-12-21 16:51:29 -05:00
Carlo Alberto Ferraris
f397e142ef
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Tim Abraldes
30a6568785
Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy
2011-12-16 19:43:10 -05:00
Matt Brubeck
0b0e4462a3
Back out 97b8cff2764f (bug 376997) for Android reftest failures
2011-12-16 13:10:44 -08:00
Rob Campbell
6103bfc002
merge fx-team to m-c
...
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris
5c2ef67719
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Brian O'Keefe
755f228bc5
Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr
2011-12-15 14:47:03 +00:00
Glenn Randers-Pehrson
9164a2768a
Bug 392867 - libpng requires error callbacks to not return. Separate out nsPNGDecoder's ErrorCallback and WarningCallback, and call longjmp from ErrorCallback. r=joe a=ehsan
2011-12-14 14:49:25 -05:00
Brian R. Bondy
219f5b33ab
Bug 710079 - ICO files that contain PNG would end in some uninitialized memory. r=joe. a=joe
2011-12-13 18:15:28 -05:00
Ms2ger
d1c6d7451e
Bug 709522 - Remove unused imgFrame::Get{X,Y,Width,Height}; r=joe a=ehsan
2011-12-13 09:49:31 +11:00
Daniel Holbert
f64d8c413c
Bug 708888: Remove no-longer-needed SVGDocumentWrapper::kSVGAtom. r=roc
2011-12-09 01:11:06 -08:00
Daniel Holbert
8e8e026462
Bug 708443 patch 2: disable debug output from animationPolling.js, and add emacs modeline. r=jwir3
2011-12-08 17:39:23 -08:00
Daniel Holbert
648631d434
back out 653fa694343e (Bug 704482) for leaks
2011-12-08 15:18:47 -08:00
Daniel Holbert
40ecf3af86
Bug 704482 patch 3: Mochitest to verify that we still allow certain whitelisted events to trigger SMIL animations in script-disabled environments. r=birtles r=jwir3
...
--HG--
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-SVGLoad.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-begin.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-beginEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-end.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-endEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeat.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeatEvent.svg
rename : image/test/mochitest/lime-anim-100x100.svg => image/test/mochitest/smil-event-repeatN.svg
rename : image/test/mochitest/test_changeOfSource.html => image/test/mochitest/test_smilEventsAllowedInImages.html
2011-12-08 13:34:09 -08:00
Daniel Holbert
0b2cb236d4
Bug 708443 patch 1: Remove call to nonexistent function 'imageLoadCallback' and other misc cleanup in animationPolling.js. r=jwir3
2011-12-08 13:31:29 -08:00
Matt Woodrow
78a47350cf
Bug 705580 - Add animated image test that uses an ImageLayer. r=joe
2011-12-05 11:53:38 +13:00
Matt Woodrow
fd0cbc3f03
Bug 705580 - Remove the cached ImageContainer when the current frame changes. r=joe
2011-12-05 11:53:38 +13:00
Cameron McCormack
0fb03e07e0
Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher
2011-12-02 23:25:03 +11:00
Brian R. Bondy
92611c1537
Bug 700930 - BMP ICOs <= 8BPP can have bad color tables when processed partially. r=joe
2011-11-27 15:18:17 -05:00
Benoit Girard
e3cfcafa7f
Bug 703231 - [Mac] Fix scan lines while decoding images caused by high quality down scaling. r=joe
2011-11-24 18:23:19 -05:00
Brian R. Bondy
79cc826316
Bug 687982 - innocuous uninitialized value fix in nsBMPDecoder. r=joe
2011-11-16 10:14:40 -05:00
Scott Johnson
0650ce0a3f
Bug 702093 - Pre-load the reference image in the bullet animation polling test to overcome an intermittent orange. r=dholbert
2011-11-16 15:59:55 +13:00
Scott Johnson
2aa0b5cda6
Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
...
--HG--
extra : rebase_source : 6156ccbce49e7eeeb38488802a6f100d419b8335
2011-11-15 15:45:43 +13:00
Scott Johnson
b4d5bb9b4f
Bug 702093 - Add debugging information to test_bullet_animation mochitest to assist in conquering bug 702093. r=dholbert
2011-11-14 14:19:32 +13:00
Brian O'Keefe
6817f95a05
Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=joe
2011-11-14 11:21:19 +13:00
Marco Bonardo
8c72c90eb0
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Gregory Szorc
3c849fad59
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
fddedbce14
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Joe Drew
75fffd167f
Back out bug 674619 since it does things I didn't realize when I reviewed it.
2011-11-08 13:24:35 -05:00
Scott Johnson
dba867517c
Bug 666446, Part 10/10 - Add mochitests to imagelib for testing animated gif image cases [r=dholbert,joe].
2011-11-09 13:39:16 -08:00