Commit Graph

139 Commits

Author SHA1 Message Date
Glenn Randers-Pehrson
5074a324cd Bug 1102048 (Part 26) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2015-01-10 10:49:00 -08:00
Nathan Froyd
c88b0aa913 Bug 1145167 - make imgIContainer::type getter infallible; r=seth
Rather than writing out a separate GetType() for every concrete
imgIContainer, we can tag the attribute as [infallible] in the IDL file.
The IDL code generator takes care of generating the correct GetType,
leading to less code duplication.
2015-03-19 10:12:52 -04:00
Seth Fowler
eebec0f7d6 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Blake Kaplan
3627a368c3 Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth 2015-02-12 15:41:21 -08:00
Seth Fowler
9c9d5eb0e3 Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn 2015-02-09 23:27:40 -08:00
Seth Fowler
88ad0ef2bc Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
775caa912a Bug 1128223 (Part 3) - Add FLAG_ASYNC_NOTIFY. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
6a2e58737c Bug 1128223 (Part 2) - Add FLAG_SYNC_DECODE_IF_FAST. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
f9a0a76bf1 Bug 1128223 (Part 1) - Clean up existing image flags. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
7c085cf575 Bug 1119774 (Part 2) - Add RequestDecodeForSize to imgIContainer. r=tn 2015-01-18 14:02:13 -08:00
Glenn Randers-Pehrson
5c4052bc39 Bug 1102048 (Part 22) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 15:12:08 -08:00
Seth Fowler
ce9c0e8259 Bug 1103157 (Part 1) - Add HAS_TRANSPARENCY and IS_ANIMATED imgIRequest flags. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
1d41729009 Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn 2014-11-24 23:42:43 -08:00
Sid Stamm
cafe8bb1f4 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler
3e95ba7903 Bug 968008 - Adds comments to imgINotificationObserver.idl. r=tn
--HG--
extra : rebase_source : 5276e796133fd806d0b9229aec51aaaa7fedb5ef
2014-11-17 14:29:56 -08:00
Seth Fowler
75cf318f56 Bug 1089880 (Part 2) - Add tests for HAS_TRANSPARENCY. r=tn
--HG--
rename : image/test/reftest/gif/one-color-offset.gif => image/test/mochitest/first-frame-padding.gif
rename : image/test/reftest/ico/ico-bmp-8bpp/ico-size-1x1-8bpp.ico => image/test/mochitest/ico-bmp-opaque.ico
rename : image/test/reftest/ico/ico-bmp-32bpp/ico-transparent-32bpp.ico => image/test/mochitest/ico-bmp-transparent.ico
rename : image/test/reftest/bmp/bmp-8bpp/bmp-size-2x2-8bpp.bmp => image/test/mochitest/opaque.bmp
rename : image/test/reftest/gif/red.gif => image/test/mochitest/red.gif
rename : image/test/reftest/gif/in-colormap-trans.gif => image/test/mochitest/transparent.gif
rename : image/test/reftest/pngsuite-transparency/tbbn1g04.png => image/test/mochitest/transparent.png
2014-11-17 11:16:45 -08:00
Seth Fowler
357f392367 Bug 1089880 (Part 1) - Add a HAS_TRANSPARENCY notification to ImageLib. r=tn 2014-11-17 11:16:45 -08:00
Glenn Randers-Pehrson
baebf22bf7 Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Mats Palmgren
2a4b4e2dae Bug 1013211 - Use the final resource URI after redirects etc as the source URI when dragging an image. r=roc 2014-11-10 22:06:24 +00:00
Seth Fowler
eb70cfafdb Bug 1084136 (Part 10) - Materialize image status from image state when needed. r=tn
--HG--
extra : rebase_source : d401de894d19c6f2b74faa2c26a2422cfbac0a6d
2014-11-06 17:34:00 -08:00
John Schoenick
c6f8e09409 Bug 1055750 - Part 3 - Track image vs imageset request load type through ImageLoadingContent::LoadImage r=bz,tanvi 2014-10-24 14:00:14 -07:00
Christoph Kerschbaumer
897fd1befa Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Eric Rahm
be71a0b71a Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
5000218064 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
4a41e11c21 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Seth Fowler
83699c0bf8 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Seth Fowler
13bb4cc635 Bug 1034345 (Part 1) - Add OptimalImageSizeForDest to the imgIContainer interface. r=tn,sr=bz
--HG--
extra : rebase_source : 4f73f42647c98f3bde33e46aa81006b14b9bef45
2014-07-28 14:27:38 -07:00
Georgios Kontaxis
b6c05379ec Bug 1037213: extended imgIRequest with an imageErrorCode attribute and modified imgRequest::OnStopRequest to preserve the actual error code when NS_FAILED(status) (r=seth) 2014-07-18 18:47:11 -07:00
Seth Fowler
0dde473422 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
bcff2e0531 Bug 997604 - Add invalidation rect support to ImageWrappers, and use it in nsImageFrame. r=tn,sr=bz
--HG--
extra : rebase_source : a0b0f79c2bfab604f13e1098d09b2ec61e578a37
2014-06-26 16:02:04 -07:00
Jonathan Watt
0f130293e0 Bug 1003505 - Fix printing of SVG images so that they're no longer pixelated. r=seth 2014-06-26 08:40:12 +01:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Michael Wu
6682b8f84f Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Jonathan Watt
5919a8b9ad Bug 1004500 - Document imgIContainer::FLAG_WANT_DATA_SURFACE. r=seth 2014-05-12 01:54:21 +01:00
Jonathan Watt
0dcb1838b9 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Neil Rashbrook
811e1e96dd Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Jonathan Watt
a9c5083a32 Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Ehsan Akhgari
18ef76b0d7 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Seth Fowler
077d2e1740 Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-25 00:19:42 -07:00
Phil Ringnalda
71f5f2dff5 Back out 353f5b3c81c7:62a1a184b2c3 (Bug 869723 and Bug 870090) for not actually building
CLOSED TREE
2013-08-24 19:13:21 -07:00
Seth Fowler
58c9cfc5f3 Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-24 17:31:14 -07:00
Gervase Markham
83c0913922 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Seth Fowler
4e6ae6ecfa Bug 695763 (Part 1) - Add imgIContainer::IsDecoded. r=joe sr=bz 2013-05-22 17:27:02 +08:00
Joe Drew
5495bbbd03 Bug 867758 - Add imgIContainer::SetAnimationStartTime, which lets us explicitly set the time animation starts (rather than using TimeStamp::Now()). r=seth
--HG--
extra : rebase_source : 4660937d5eb06bf83b749826d2f13da29583e9e7
2013-05-17 16:57:20 -04:00
Joe Drew
06e2a4c09b Bug 867758 - Add an imgIContainer getter for the first frame's delay time. r=seth
--HG--
extra : rebase_source : aaedf6ee810ca8fcd8979abb5467da4420437bad
2013-05-17 13:42:20 -04:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Maria Grazia Alastra
29ebfeceb8 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Seth Fowler
29b65cd545 Bug 859377 (Part 1) - Add imgIContainer::GetFrameIndex. r=joe sr=bz
--HG--
extra : rebase_source : e81992f8bead31b273f4afb4fb589849ec1c5218
2013-04-25 15:58:20 -07:00
Joe Drew
730ac999c6 Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00