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
pavlov%pavlov.net
4008dde57e
fixing build bustage
...
git-svn-id: svn://10.0.0.236/trunk@209211 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 22:28:50 +00:00
pavlov%pavlov.net
9234299e05
ico crash. bug 332386. r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@209209 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 22:15:47 +00:00
mats.palmgren%bredband.net
0b1ab2ae00
Fix a heap buffer overflow (cairo only). b=332611 r+sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@208289 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 09:31:46 +00:00
bzbarsky%mit.edu
494aee0119
Make imagelib not blow away images in the image cache on 404. Bug 349200,
...
r=pavlov, sr=darin
git-svn-id: svn://10.0.0.236/trunk@208270 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 02:02:30 +00:00
gavin%gavinsharp.com
4338607ad3
Bug 336532: Animated gif with transparency shows black background, patch by Pawel Chmielowski <prefiks@aviary.pl>, r=stuart, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@207195 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 23:48:48 +00:00
bzbarsky%mit.edu
f114d00b39
Make docs better. Bug 345069, r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@203008 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 19:26:04 +00:00
pedemont%us.ibm.com
0604286f46
Bug 338870 - imgIDecoderObserver is scriptable but inherits from the non-scriptable interface imgIContainerObserver. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@201009 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 16:03:34 +00:00
mark%moxienet.com
ecab05101a
342064 When building using Cocoa widgets, use the Cocoa icon decoder. Really, this time. r=josh sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@200619 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 21:27:32 +00:00
joshmoz%gmail.com
4e710ffb99
fix memory leak in Cocoa icon decoder. b=342066 r=mento sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@200434 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 16:59:15 +00:00
timeless%mozdev.org
d7d1bbda1f
Bug 337917 Make consumers stop using cids from other modules
...
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
jwalden%mit.edu
3bc629d7d7
Bug 338003 - imgCache::Init leaks imgCache if do_GetService fails. Patch by Adam Guthrie <ispiked@gmail.com>, r+sr=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@200052 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 21:59:13 +00:00
joshmoz%gmail.com
6a16626536
add 8-bit alpha support to Carbon icon decoder. b=339717 r=mento sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@198832 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 22:05:08 +00:00
dbaron%dbaron.org
7be4b9c543
Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
joshmoz%gmail.com
5de933a9a5
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
...
git-svn-id: svn://10.0.0.236/trunk@198642 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 15:54:28 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00