Commit Graph

838 Commits

Author SHA1 Message Date
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jeff Muizelaar
8cc26d445d Bug 688238. imglib: Move Decoder::Init() arguments into the constructor. r=joedrew
This makes the lifetime of the arguments more clear. i.e. that they stay the same
for the lifetime of the decoder.

--HG--
extra : rebase_source : 99726522b99d9d546f41d1d4e78e44224101e9b3
2011-09-27 12:24:03 -04:00
Jeff Muizelaar
e07922260d Bug 673176. Record decoding speed for different image decoders. r=jlebar
--HG--
extra : transplant_source : %1A%1Dav%7C%C5%BF%9B%09%94bl%AC%14%CCpg%24R%AE
2011-09-22 16:25:56 -04:00
Jeff Muizelaar
a484220573 Bug 688081. imglib: Reorder condition checks in RequestDecode(). r=joedrew
This matches better with the no-op intent of RequestDecode() and will be true
more often once decode on draw is enabled which will give an earlier exit.

It also makes my debugging easier.

--HG--
extra : transplant_source : %5D%C9%7BS%0B%D0%1C%FA%D2%F1%FBI%97%21%DE%EFBE%89%01
2011-09-21 12:19:49 -04:00
Jeff Muizelaar
4a82a3e173 Bug 687858. Avoid accumulating telemetry for size decodes. r=jlebar
These just add a bunch of noise to the data because they break some of the assumptions we have.
Currently this doesn't have much impact because decode on draw is disabled.

--HG--
extra : rebase_source : 1022ad9bd43ea5f8be342c05ab857bb44ed7e59c
2011-09-21 12:19:53 -04:00
Brian R. Bondy
6c92bccd53 Bug 668068 - ICO width/height of 0 should mean 256 width/height. r=joe 2011-09-22 09:43:13 -04:00
Boris Zbarsky
4005bb1f24 Bug 444641 part 3. Propagate the loading principal to the image channel as needed. r=joe,dveditz 2011-09-20 17:00:42 -04:00
Jeff Muizelaar
b7cca4ceda Bug 685435. imglib: Remove some unneeded multithread support. r=joe
imglib should only be called from the main thread which implies that
we shouldn't need this stuff.

--HG--
extra : transplant_source : %C5%CB%CF%B6zN%D2%A6%CCM0%19%90%8F%CB%92%BC%5CA%0F
2011-09-19 15:57:21 -04:00
Nick Hurley
7400a85df3 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Brian R. Bondy
bb9deb9e7d Bug 682688 - Fixed regression on transparency for 32BPP ICOs which don't use the alpha data byte. r=joe 2011-09-09 11:24:23 -04:00
Jeff Muizelaar
9d4bfca227 Bug 684091. Keep a histogram of how often we've decoded images. r=jlebar
This will help track if we're decoding the right amount. e.g. if we
try to decode less we should see changes here.
2011-09-08 14:05:11 -04:00
Jeff Muizelaar
186855328d Bug 684959. imglib: remove GetKeyURI. r=joe
GetKeyURI returns the same as GetURI. Not much reason to keep it around anymore.
2011-09-07 19:35:54 -04:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Neil Rashbrook
d8e7767df5 Bug 683610 Restore support for 1bpp RLE bitmaps r=joedrew\! 2011-08-31 20:11:04 +01:00
Ed Morley
2e49ad6665 Merge mozilla-central to mozilla-inbound 2011-08-30 14:28:34 +01:00
Brian R. Bondy
a253ceb3d3 Bug 682688 - FF6 Fix for moz-icon invalid generated icons. r=joe 2011-08-30 01:44:04 -04:00
Brian R. Bondy
37ee9d8f24 Bug 682568 - ICO crash fix for size decodes. r=joe 2011-08-30 01:12:59 -04:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Matt Brubeck
ff6772f7bd Bug 677044 - Back out b38381eb91b8 (crashtest for bug 609499, which was backed out) 2011-08-26 11:29:53 -07:00
Jeff Muizelaar
9b89bc999a Bug 677044. Backout 67044ea27b53
This breaks existing animated gifs.

--HG--
extra : rebase_source : 0acde450204ba6cc42e0150fd391406d9145e897
2011-08-26 13:34:20 -04:00
Brian R. Bondy
938459ac39 Bug 600556, 670466, 549468 - Temporarily disable new android reftests. r=philor 2011-08-25 23:14:33 -04:00
Arno Renevier
33243cdfc6 Bug 681190 - Fixes crash in nsPNGEncoder::ConvertHostARGBRow when calling mozGetAsFile on large canvas; r=roc 2011-08-26 20:50:23 +01:00
Brian R. Bondy
502dfd636b Bug 549468 and Bug 670466 - Reftests for ICO and BMP encoders. r=joe 2011-08-25 16:09:06 -04:00
Brian R. Bondy
edde7424a8 Bug 549468 - Add basic support for .ico icon encoder. r=joe 2011-08-25 16:09:05 -04:00
Brian R. Bondy
36bc2c9d6c Bug 670466 - Add basic support for .bmp encoder. r=joe 2011-08-25 16:09:05 -04:00
Brian R. Bondy
6e6147d41c Bug 600556 - reftests for BMPs of various color depths, ICO BMPs of various color depths, and ICO PNGs. r=joe 2011-08-25 16:09:05 -04:00
Brian R. Bondy
bad85d1651 Bug 600556 - Support Vista-style PNG ICO files. r=joe 2011-08-25 16:09:01 -04:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Benjamin Smedberg
27fc56cc0c Bug 675221 part E - fix up DOMStorage proxies (miscellaenous #includes from other places also included) r=mayhemer
--HG--
extra : rebase_source : 834aafda6e819602e73bd6017849bc4eaa202226
2011-08-19 11:50:37 -04:00
Makoto Kato
896d2168dd Bug 678451 - Remove unused gfx files (mozilla-decoder.*, gfxIFormats.idl and gfxidltypes.idl). r=joe 2011-08-18 11:41:26 +09:00
Brian R. Bondy
f1d34e9167 Bug 682688 - Formatting fix for previous push. r=joe 2011-08-31 12:30:21 -04:00
Rafael Ávila de Espíndola
a88fc130ee Bug 678028 - Fix build with clang in c++0x mode. r=joe
In c++0x mode it is not valid to have an integer that doesn't fit a type
in an initializer list. This patch just writes the constants as explicitly
signed instead of using unsigned constants with 2 complement.

--HG--
extra : rebase_source : a8df15d1db0b13436c935dd661db90066c340530
2011-08-16 13:30:33 -04:00
Randell Jesup
c1d7fc5bac Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Jeff Muizelaar
9dfaad3a37 Bug 678258. imglib: Record the number of chunks that we decode per trip through the event loop. r=jlebar
This also avoids recording the latency of decodes that don't do any work.

--HG--
extra : rebase_source : cc41dbb4289c050061ae27008c37d3a25b14df80
2011-08-11 14:42:15 -04:00
Jeff Muizelaar
911766f68c Bug 678258. imglib: Record the time from starting a decode on draw and actually finishing it. r=jlebar
This ignores the distinction between async and sync decoding and instead focuses on the time
it takes till the user sees the finished image.

--HG--
extra : rebase_source : f059b364f1c720ace2da310d0a5e0ce33cfb0dd3
2011-08-10 19:12:08 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Brian R. Bondy
462b165a7b Bug 679725 - Create some BMP reftests for bitmaps with negative heights. r=joe 2011-08-31 10:40:24 -04:00
Brian R. Bondy
91cffd5169 Bug 679486 - Create some BMP reftests for OS/2 bitmaps. r=joe 2011-08-31 10:40:24 -04:00
Jeff Muizelaar
1901dd355e Bug 673417. imglib: remove mLoadTime. r=joe
mLoadTime was added by stuart back in 2001. It hasn't as far as I can tell ever been used.

--HG--
extra : rebase_source : fca0f2fcffcae14044da00c5366c4d08edcf3d92
2011-08-05 17:04:36 -04:00
Jeff Muizelaar
3d23c055b4 Bug 673417. imglib: remove more PRBools. r=joe
--HG--
extra : rebase_source : cb8f4dfc1048b5e5af72d5544294a70624cdf35e
2011-08-05 09:57:16 -04:00
Jeff Muizelaar
fefd80c54c Bug 672207. imglib: remove unnecessary scoping. r=joe
--HG--
extra : rebase_source : 2bcd630768ed6f1782bd46f5c4956e9b326e3deb
2011-08-04 17:34:19 -04:00
Justin Lebar
51d9635f4a Bug 664659 - Fix about:memory image reporters. r=joe
--HG--
extra : rebase_source : 489def10afa7f9a33e988d9fc78acdb50e450817
2011-07-18 09:20:27 -04:00
Jeff Muizelaar
0f62a1219f Bug 672207. imglib-telemetry: record the full time it takes to decode images. r=jlebar,joe
Do this by accumulating decode latency in mDecodeTime which is added to imgDecodeWorker.
2011-08-04 16:25:12 -04:00
Joe Drew
3c75d08723 Bug 627015 - Hold on to a reference to the timer, so it doesn't get collected from under us. over-the-shoulder-r=jrmuizel,jdm 2011-08-03 16:39:53 -04:00
Joe Drew
38c27dbd95 Bug 627015 - Add a crashtest for an image that takes a very long time to download the next frame, giving our animation timer a chance to fire. r=jrmuizel 2011-08-03 15:22:47 -04:00