tor%cs.brown.edu
e5fbba1984
Tp regression fix - don't color correct untagged jpegs if the pref is off.
...
git-svn-id: svn://10.0.0.236/trunk@230703 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:58:21 +00:00
pavlov%pavlov.net
b9779c5c85
adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me
...
git-svn-id: svn://10.0.0.236/trunk@230672 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 22:02:20 +00:00
asqueella%gmail.com
d3cb8e15ba
Bug 334144 - Handling of alpha bits in nsBMPDecoder don't make sense in Cairo terms
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=pavlov/sr=tor
git-svn-id: svn://10.0.0.236/trunk@230137 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:08:46 +00:00
tor%cs.brown.edu
85e9a8678e
Bug 388342 - imglib warning when loading jpeg images. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@230070 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 22:55:21 +00:00
dveditz%cruzio.com
e2c0464b89
bug 379314 clarify moz-icon checks, r=timeless
...
git-svn-id: svn://10.0.0.236/trunk@229798 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 09:29:48 +00:00
neil%parkwaycc.co.uk
998c53a562
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +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
cbarrett%mozilla.com
09ed79af83
Bug 361299 - read image directly from input stream in icon decoder. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>. r=tor, sr=biesi.
...
git-svn-id: svn://10.0.0.236/trunk@229299 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 01:09:10 +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
tor%cs.brown.edu
19a974fe18
Bug 196295 - move/merge GIF2.cpp into nsGIFDecoder2.
...
Patch by alfredkayser@nl.ibm.com , r=biesi, sr=tor
git-svn-id: svn://10.0.0.236/trunk@228692 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 16:41:21 +00:00
asqueella%gmail.com
16ffa55892
Bug 379929 - Lazy creation of nsProperties object for imgContainer
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=stuart, sr=tor
git-svn-id: svn://10.0.0.236/trunk@228535 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 20:45:49 +00:00
tor%cs.brown.edu
41bd6b5b0b
Bug 317748 - Merge BlackenFrame and SetMaskVisibility into ClearFrame.
...
Patch by alfredkayser@nl.ibm.com , r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@227643 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 15:10:26 +00:00
dveditz%cruzio.com
72933b60d1
bug 376573 prevent memory leak if realloc fails. r=biesi, sr=stuart
...
git-svn-id: svn://10.0.0.236/trunk@227576 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 00:25:15 +00:00
vladimir%pobox.com
04b90b54c8
b=376446, spurious white pixels in animated gifs; r=asmith15, sr=pavlov -- patch from alfredkayser@nl.ibm.com
...
git-svn-id: svn://10.0.0.236/trunk@227228 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 08:40:45 +00:00
dveditz%cruzio.com
896023e188
bug 376328 normalize file urls used in moz-icon, r=mscott, sr=vlad, a=juanb
...
git-svn-id: svn://10.0.0.236/trunk@225304 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 23:25:10 +00:00
asqueella%gmail.com
0de074cbe0
Bug 370942 - Remove non-Cairo from jpeg decoder and optimize loop
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=tor, sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@225226 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 15:51:35 +00:00
martijn.martijn%gmail.com
2c9714ab39
Bug 293986 OOM crash [@ nsJPEGDecoder::WriteFrom, fill_input_buffer], patch by Andrew Schultz, r=pavlov, sr=tor
...
git-svn-id: svn://10.0.0.236/trunk@225144 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 13:11:29 +00:00
asqueella%gmail.com
fdc1cb8296
backed out, b=317748
...
git-svn-id: svn://10.0.0.236/trunk@225046 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 21:21:28 +00:00
asqueella%gmail.com
84189bdcbc
Bug 317748 - Merge BlackenFrame and SetMaskVisibility into ClearFrame
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@225040 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 20:55:06 +00:00
philringnalda%gmail.com
085eb212e0
Bug 375741 â Add support for APNG encoding, patch by Justin Dolske <dolske@mozilla.com>, r=asmith15, sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@224992 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 05:56:54 +00:00
gavin%gavinsharp.com
ed9f97e6e7
Bug 375733: Add basic tests for PNG imgIEncoder, patch by Justin Dolske <dolske@mozilla.com>, r=sayrer, sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@224844 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 01:30:51 +00:00
pavlov%pavlov.net
e07d1fbf25
various small fixes for APNG. bug 257197. patch from asmith15@learn.senecac.on.ca. r=me
...
git-svn-id: svn://10.0.0.236/trunk@224759 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 20:40:54 +00:00
crowder%fiverocks.com
700b486a39
Bug 373794: crash with bad gif image, r=tor@acm.org, sr=pavlov@pavlov.net
...
git-svn-id: svn://10.0.0.236/trunk@222271 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 16:15:43 +00:00
pavlov%pavlov.net
fda42fc814
updating for APNG 0.10. splitting out render_op in to dispose_op and blend_op. bug 257197. r=asmith13, sr=vlad
...
git-svn-id: svn://10.0.0.236/trunk@222214 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:35:52 +00:00
crowder%fiverocks.com
95f27033f6
Bug 373794: backing out due to trunk closure, apologies.
...
git-svn-id: svn://10.0.0.236/trunk@222195 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 17:06:02 +00:00
crowder%fiverocks.com
ec24d10388
Bug 373794: bounds error with bad gif images, r=tor, sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@222194 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 16:59:45 +00:00
pavlov%pavlov.net
ffbc7d1a78
removing CRCs from the acTl chunk and making all the chunks not-safe-for-copy. bug 257197. r=asmith15@learn.senecac.on.ca
...
git-svn-id: svn://10.0.0.236/trunk@222158 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 19:12:00 +00:00
pavlov%pavlov.net
0adb773f74
APNG. bug 257197. patch by Andrew Smith <asmith15@learn.senecac.on.ca>. r=biesi sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@222128 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 23:56:50 +00:00
dbaron%dbaron.org
e81955cfa2
When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
tor%cs.brown.edu
1f3a38bbf4
Bug 372176 - complete GIF decoder transition to cairo gfx.
...
r=alfredkayser, sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@221796 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 21:32:13 +00:00
tor%cs.brown.edu
1cf2c388ad
Bug 371437 - Remove non-MOZ_CAIRO_GFX code from image decoders.
...
r=alfredkayser, sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@221023 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 21:13:25 +00:00
dbaron%dbaron.org
78c1bb12a3
Backing out 361299 in an attempt to fix orange on argo-vm on Firefox tinderbox.
...
git-svn-id: svn://10.0.0.236/trunk@219547 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 01:59:19 +00:00
asqueella%gmail.com
4ea730a6bc
more fixes for bustage from bug 361299
...
git-svn-id: svn://10.0.0.236/trunk@219539 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:09:47 +00:00
joshmoz%gmail.com
659955bc5b
fix bustage from bug 361299
...
git-svn-id: svn://10.0.0.236/trunk@219533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:58:53 +00:00
joshmoz%gmail.com
838d26124c
fix icon decoder on mac os x, don't call GetAlphaBytesPerRow and its underlying GetAlphaLineStride which is
...
plain wrong in Cairo. patch by Alfred Kayser. r=pav sr=tor
git-svn-id: svn://10.0.0.236/trunk@219529 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 22:35:37 +00:00
asqueella%gmail.com
c105bf5f6a
Bug 366727 - Standardize Cairo Pixel construction and clean the PNG decoder a little
...
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=stuart, sr=vlad
git-svn-id: svn://10.0.0.236/trunk@219293 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:09:20 +00:00
asqueella%gmail.com
0f0050a0c3
Bug 366214 - more improvements for JPEG in Cairo
...
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=pavlov, sr=tor
Patch description:
1. Use row_stride and bpr only in non-Cairo builds (for the RGBRow buffer)
(as jpg scanlines are always 3 bytes (in current config anyway)
2. Use 'client_data' to keep the pointer to the decoder instead of the offsetof
hack
3. Call 'img->ImageUpdated' not for every scanline, but for every batch of
scanlines received (just like OnDataAvailable).
Ad 1: Allows for better Cairo and non-Cairo separation
Ad 2: Removes the need for the offsetof hack
Ad 3: Makes image decoding for JPG in Cairo a lot faster (at least it feels
faster)
git-svn-id: svn://10.0.0.236/trunk@219251 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:53:21 +00:00
asqueella%gmail.com
e642505be3
The patch for 367275 (previous checkin) was by
...
Alfred Kayser <alfredkayser@nl.ibm.com>
git-svn-id: svn://10.0.0.236/trunk@218893 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 13:14:24 +00:00
asqueella%gmail.com
839e716f61
fix bug 367275 - download manager file folder icon is black
...
(regression from 360000)
Only do premultiplication when the 32bit ico really has alpha - move
premultiplication to SetImageData from SetPixel and only premultiply
if mHaveAlpha is true.
The 'premultiplication' function has been copied from libpixman.
r=pavlov
git-svn-id: svn://10.0.0.236/trunk@218888 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 11:39:48 +00:00
asqueella%gmail.com
56ffbcca88
Bug 360000 - make 32-bit favicons with transparency work correctly in cairo
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>, r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@218504 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 10:39:10 +00:00
dbaron%dbaron.org
4ee1d7a1b0
Use a different internal icon format ifdef MOZ_CAIRO_GFX that is easier to convert to the image frame format we use, and make the relevant icon channel implementations produce it. b=333253 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@218030 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 23:58:12 +00:00
gavin%gavinsharp.com
b6d3618231
Bug 325906: Remove one malloc from the JPEG decoder, and some optimizations, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, updated by Ryan VanderMeulen <ryanvm@gmail.com>, r=alfredkayser, sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@217766 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:03:50 +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
pavlov%pavlov.net
1a796ff990
bug 333253. disabling icon decoder in cairo until proper fix can go in.
...
git-svn-id: svn://10.0.0.236/trunk@215949 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:08:43 +00:00
pavlov%pavlov.net
f038285d92
move ns_ensure_true in to the right block. bug 333253. r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@215937 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 01:14:29 +00:00
bzbarsky%mit.edu
3f520eaa49
Make it possible for protocol handlers to configure how CheckLoadURI should
...
treat them via their protocol flags. Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +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
pavlov%pavlov.net
e777bbbefe
fix our old libpng's security problems. 334110. r=me, sr=tor, patch by Glenn Randers-Pehrson <glennrp@gmail.com>.
...
git-svn-id: svn://10.0.0.236/trunk@212404 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 21:15:04 +00:00
pavlov%pavlov.net
c3d13866c0
backing out bug 334110/libpng 1.2.12 until I can figure out why it is broken on mac.
...
git-svn-id: svn://10.0.0.236/trunk@212340 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 22:38:55 +00:00
pavlov%pavlov.net
29101fad6b
upgrading to libpng-1.2.12. patch from Glenn Randers-Pehrson <glennrp@gmail.com>. r=me sr=tor
...
git-svn-id: svn://10.0.0.236/trunk@212322 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 19:52:06 +00:00