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
cbiesinger%web.de
8d9f96359d
bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
...
associated code. These options do not really work anymore.
r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
joshmoz%gmail.com
8cb97e093c
be more aggressive about finding icon data. b=336356 r=mento sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@196067 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 23:22:18 +00:00
vladimir%pobox.com
a8caf879df
b=336330, fix memory scribble in jpeg decoder, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195859 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 00:24:25 +00:00
joshmoz%gmail.com
3ed23129a6
new Mac OS X icon decoder written in Cocoa with 8-bit alpha support. b=335723 r=mento sr=pav
...
git-svn-id: svn://10.0.0.236/trunk@195842 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 21:23:57 +00:00
darin%meer.net
6358701fd0
fixes bug 329889 "Crash in [@ imgContainerGIF::GetFrameAt] when dragging a corrupted gif file" r=pavlov sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@195819 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:48:16 +00:00
benjamin%smedbergs.us
c8d8ad51cd
Bug 332115 - hide a bunch of symbols when building libxul, fix the thebes symbols so that they are exported/imported sanely, and some other graphics-related linking/visibility fixups, r=darin+vlad
...
git-svn-id: svn://10.0.0.236/trunk@195565 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 14:41:11 +00:00
jag%tty.nl
ad4f6e8eb6
Bug 245684: Add image encoding support
...
Make sure to rebuild nsImageModule when MOZ_IMG_ENCODERS changes. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@195258 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 16:30:30 +00:00
bzbarsky%mit.edu
e9077db477
Implement nsIconURI::Clone. Bug 312241, patch by chpe <chpe@gnome.org>,
...
r=biesi, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@195210 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 19:02:19 +00:00
neil%parkwaycc.co.uk
9bb38d21f7
Bug 291764 Fix GIF animation's interaction with print preview r=pavlov sr=tor
...
git-svn-id: svn://10.0.0.236/trunk@194636 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:31:45 +00:00
dbaron%dbaron.org
7672c8b836
Handle alpha in the MOZ_CAIRO_GFX codepath, and stop doing *some* of the work that's no longer needed in that codepath. b=331671 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@194465 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 17:31:26 +00:00
gavin%gavinsharp.com
9d7c91a518
Bug 319977: Minor string parser coding error in nsIconURI.cpp, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=biesi, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@194431 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 19:45:39 +00:00
jag%tty.nl
23fdccb063
Bug 333308: make clean and make distclean miss various files. r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@193990 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 13:44:40 +00:00
cbiesinger%web.de
1a5d1e5eb6
bug 331888. Make cairo-beos work. Requires --enable-pango for now
...
r=stuart
git-svn-id: svn://10.0.0.236/trunk@193557 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 21:22:35 +00:00
pavlov%pavlov.net
53d3d1d852
first pass at making animated gifs work better in cairo builds. bug 324707. r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@193363 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 00:35:58 +00:00
pavlov%pavlov.net
d3be75164e
y was off-by-1 when calling UpdateImage() in cairo builds
...
git-svn-id: svn://10.0.0.236/trunk@193359 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 23:55:49 +00:00
pavlov%pavlov.net
5c2141751a
additional speedups from bug 331298. r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@193055 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 19:04:51 +00:00
pavlov%pavlov.net
487289998a
speed up 8bit alpha png decoding by not doing extra division for opaque pixels. bug 331298
...
git-svn-id: svn://10.0.0.236/trunk@192994 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 20:02:21 +00:00
pavlov%pavlov.net
dbce87cd81
turns out you can't index in to an int
...
git-svn-id: svn://10.0.0.236/trunk@192978 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 04:55:19 +00:00
pavlov%pavlov.net
21d72df900
more build fixes
...
git-svn-id: svn://10.0.0.236/trunk@192976 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 04:08:17 +00:00