Commit Graph

453 Commits

Author SHA1 Message Date
asqueella@gmail.com
bab08593c7 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
2007-07-17 14:08:46 -07:00
dveditz@cruzio.com
ebaaa5473e bug 379314 clarify moz-icon checks, r=timeless 2007-07-12 02:27:49 -07:00
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
cbarrett@mozilla.com
7eff900533 Bug 361299 - read image directly from input stream in icon decoder. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>. r=tor, sr=biesi. 2007-07-03 18:09:10 -07:00
tor@cs.brown.edu
9f8dd00849 Bug 196295 - move/merge GIF2.cpp into nsGIFDecoder2.
Patch by alfredkayser@nl.ibm.com,  r=biesi, sr=tor
2007-06-25 09:41:21 -07:00
tor@cs.brown.edu
ed264beda2 Bug 317748 - Merge BlackenFrame and SetMaskVisibility into ClearFrame.Patch by alfredkayser@nl.ibm.com, r=pavlov, sr=tor 2007-06-07 08:10:25 -07:00
dveditz@cruzio.com
334bf954a7 bug 376573 prevent memory leak if realloc fails. r=biesi, sr=stuart 2007-06-05 17:25:15 -07:00
dveditz@cruzio.com
4a6cbcc4b5 bug 376328 normalize file urls used in moz-icon, r=mscott, sr=vlad, a=juanb 2007-04-30 16:25:10 -07:00
asqueella@gmail.com
0004fa2135 Bug 370942 - Remove non-Cairo from jpeg decoder and optimize loopp=Alfred Kayser <alfredkayser@nl.ibm.com>r=tor, sr=pavlov 2007-04-29 08:51:35 -07:00
martijn.martijn@gmail.com
d1b2b2dd11 Bug 293986 - OOM crash [@ nsJPEGDecoder::WriteFrom, fill_input_buffer], patch by Andrew Schultz, r=pavlov, sr=tor 2007-04-27 06:11:29 -07:00
pavlov@pavlov.net
30e525feb6 various small fixes for APNG. bug 257197. patch from asmith15@learn.senecac.on.ca. r=me 2007-04-19 13:40:53 -07:00
crowder@fiverocks.com
75c29d34ea Bug 373794: crash with bad gif image, r=tor@acm.org, sr=pavlov@pavlov.net 2007-03-23 09:15:43 -07:00
pavlov@pavlov.net
8c349ca074 updating for APNG 0.10. splitting out render_op in to dispose_op and blend_op. bug 257197. r=asmith13, sr=vlad 2007-03-22 16:35:51 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
crowder%fiverocks.com
e7a897b822 Bug 373794: backing out due to trunk closure, apologies. 2007-03-22 17:06:02 +00:00
crowder%fiverocks.com
a9f3f84f71 Bug 373794: bounds error with bad gif images, r=tor, sr=pavlov 2007-03-22 16:59:45 +00:00
pavlov%pavlov.net
df9df44f49 removing CRCs from the acTl chunk and making all the chunks not-safe-for-copy. bug 257197. r=asmith15@learn.senecac.on.ca 2007-03-21 19:12:00 +00:00
pavlov%pavlov.net
90172137f6 APNG. bug 257197. patch by Andrew Smith <asmith15@learn.senecac.on.ca>. r=biesi sr=pavlov 2007-03-20 23:56:50 +00:00
dbaron%dbaron.org
405d600298 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 2007-03-20 00:58:20 +00:00
tor%cs.brown.edu
657f430e03 Bug 372176 - complete GIF decoder transition to cairo gfx.
r=alfredkayser, sr=pavlov
2007-03-12 21:32:13 +00:00
tor%cs.brown.edu
c06b349623 Bug 371437 - Remove non-MOZ_CAIRO_GFX code from image decoders.
r=alfredkayser, sr=pavlov
2007-02-27 21:13:25 +00:00
dbaron%dbaron.org
a95e812cd2 Backing out 361299 in an attempt to fix orange on argo-vm on Firefox tinderbox. 2007-02-06 01:59:19 +00:00
asqueella%gmail.com
11381de011 more fixes for bustage from bug 361299 2007-02-06 00:09:47 +00:00
joshmoz%gmail.com
25d250795d fix bustage from bug 361299 2007-02-05 22:58:53 +00:00
joshmoz%gmail.com
2dc65f829b 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
2007-02-05 22:35:37 +00:00
asqueella%gmail.com
779f93a830 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
2007-01-31 21:09:20 +00:00
asqueella%gmail.com
fb62ffc5a6 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)
2007-01-31 14:53:21 +00:00
asqueella%gmail.com
a4f616bacb The patch for 367275 (previous checkin) was by
Alfred Kayser <alfredkayser@nl.ibm.com>
2007-01-25 13:14:24 +00:00
asqueella%gmail.com
9618c54699 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
2007-01-25 11:39:48 +00:00
asqueella%gmail.com
cfd265046f Bug 360000 - make 32-bit favicons with transparency work correctly in cairo
p=Alfred Kayser <alfredkayser@nl.ibm.com>, r=pavlov, sr=tor
2007-01-17 10:39:10 +00:00
dbaron%dbaron.org
c0407d49ab 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 2007-01-08 23:58:12 +00:00
gavin%gavinsharp.com
0f6377a389 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 2007-01-04 20:03:50 +00:00
pavlov%pavlov.net
195cfecbbe bug 333253. disabling icon decoder in cairo until proper fix can go in. 2006-11-28 03:08:43 +00:00
pavlov%pavlov.net
e23d7c961e move ns_ensure_true in to the right block. bug 333253. r=vlad 2006-11-28 01:14:29 +00:00
bzbarsky%mit.edu
0a3a624149 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
2006-11-10 23:49:08 +00:00
pavlov%pavlov.net
a284df17b2 fix our old libpng's security problems. 334110. r=me, sr=tor, patch by Glenn Randers-Pehrson <glennrp@gmail.com>. 2006-09-26 21:15:04 +00:00
pavlov%pavlov.net
36223e5472 backing out bug 334110/libpng 1.2.12 until I can figure out why it is broken on mac. 2006-09-25 22:38:55 +00:00
pavlov%pavlov.net
de2a318956 upgrading to libpng-1.2.12. patch from Glenn Randers-Pehrson <glennrp@gmail.com>. r=me sr=tor 2006-09-25 19:52:06 +00:00
pavlov%pavlov.net
50e1abfc01 fixing build bustage 2006-09-05 22:28:50 +00:00
pavlov%pavlov.net
9388b24547 ico crash. bug 332386. r=vlad 2006-09-05 22:15:47 +00:00
mats.palmgren%bredband.net
f13b52b5ee Fix a heap buffer overflow (cairo only). b=332611 r+sr=pavlov 2006-08-24 09:31:46 +00:00
gavin%gavinsharp.com
e4ee90b452 Bug 336532: Animated gif with transparency shows black background, patch by Pawel Chmielowski <prefiks@aviary.pl>, r=stuart, sr=roc 2006-08-11 23:48:48 +00:00
mark%moxienet.com
8e02b71480 342064 When building using Cocoa widgets, use the Cocoa icon decoder. Really, this time. r=josh sr=pavlov 2006-06-22 21:27:32 +00:00
joshmoz%gmail.com
2cacb70302 fix memory leak in Cocoa icon decoder. b=342066 r=mento sr=pav 2006-06-20 16:59:15 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
joshmoz%gmail.com
e5f2e32961 add 8-bit alpha support to Carbon icon decoder. b=339717 r=mento sr=pav 2006-06-01 22:05:08 +00:00
joshmoz%gmail.com
c35313a483 add the Carbon icon decoder back, alongside the Cocoa icon decoder. Use Carbon decoder for Carbon builds, Cocoa for Cocoa builds. We can't use the Cocoa API from Carbon due to runtime conflicts (that aren't completely resolved by calling NSApplicationLoad). Also, removing call to NSApplicationLoad. b=339389 r=mento sr=stuart 2006-05-30 15:54:28 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
joshmoz%gmail.com
d1b224ddec be more aggressive about finding icon data. b=336356 r=mento sr=pav 2006-05-05 23:22:18 +00:00
joshmoz%gmail.com
380e67da44 new Mac OS X icon decoder written in Cocoa with 8-bit alpha support. b=335723 r=mento sr=pav 2006-05-02 21:23:57 +00:00