Commit Graph

1127 Commits

Author SHA1 Message Date
James Kolb
4cce70609b Bug 1028288 Add canvas global transparency support to svgs. r=roc 2014-08-02 16:14:53 +09:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Kyle Huey
985b752191 Bug 1045390: Add a MOZ_FINAL annotation to RIDThreadPoolListener. r=cyu
--HG--
extra : rebase_source : 8c2fbd377cf72f556d1d1d6c9ecd6dd852138ed7
2014-07-30 19:29:52 -07:00
Seth Fowler
41ff7e62be Bug 1034345 (Part 4) - Implement OptimalImageSizeForDest for other image types. r=tn
--HG--
extra : rebase_source : 3237d5ec3e196ec674d9ab0e67b65b867f458251
2014-07-28 14:27:40 -07:00
Seth Fowler
8fe27b4ca5 Bug 1034345 (Part 3) - Implement OptimalImageSizeForDest for VectorImage. r=dholbert
--HG--
extra : rebase_source : 664f6a978ea69c438535900531c39e23f505e764
2014-07-28 14:27:39 -07:00
Seth Fowler
63e28ed36c Bug 1034345 (Part 2) - Implement OptimalImageSizeForDest for RasterImage. r=tn
--HG--
extra : rebase_source : 63c58e8df2c992f9550b481530e41938e8672ad1
2014-07-28 14:27:39 -07:00
Seth Fowler
ee4b8231c9 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
Benoit Jacob
24320668ca Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Matt Woodrow
187476e419 Bug 1044702 - Part 1: Remove unnecessary gfxDrawable constructors. r=Bas,seth
--HG--
extra : rebase_source : faad3eded22c569bc9a32391dbdac16cd9db397d
2014-07-29 12:05:40 +12:00
Mike Hommey
20d181268e Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Walter Litwinczyk
a9d8ce8c70 Bug 1024226 - Fix leak of |buf| in nsIconChannel.cpp. r=jrmuizel 2014-07-17 10:51:50 -07:00
Seth Fowler
836a0c9afc Bug 1031576 (Part 1) - Add an Image subclass for dynamically-created images. r=tn 2014-07-21 17:59:22 -07:00
Tom Schuster
76668775e2 Bug 1041311 - Fix Qt compilation. r=romaxa 2014-07-20 12:55:00 -04:00
Georgios Kontaxis
a06cf74e56 Bug 1038897: pop entries off the cache until its size reaches max cache size. Input read from corresponding pref is clamped to non-negative values (r=seth) 2014-07-18 18:47:39 -07:00
Georgios Kontaxis
cd6895f8d1 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
Michael Wu
8144fa3e46 Bug 1037028 - More namespace cleanups in imglib, r=seth 2014-07-10 11:00:31 -04:00
Ehsan Akhgari
bc0f0506f5 Bug 1039838 - Give the Windows nsIconChannel a private destructor; r=bjacob
--HG--
extra : rebase_source : 6481a2f0b48496a1f36937ec266bfec0e1161105
2014-07-17 16:41:41 -04:00
Andrew McCreight
77d782bb63 Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Jonathan Watt
943031a49d Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas 2014-07-11 08:07:07 +01:00
Jonathan Watt
7645116817 Bug 1025553, part 3 - Give gfxMatrix::Invert() the same semantics as Moz2D's Matrix::Invert(). r=Bas 2014-07-11 08:06:39 +01:00
Jonathan Watt
3188c486bc Bug 933019, part 6 - Remove code for handling Thebes backed gfxContext in imgFrame.cpp. r=Bas 2014-07-10 10:58:07 +01:00
Boris Zbarsky
91a10b4280 Bug 965413 part 12. Use a LoadInfo in SetUpChannelOwner. r=smaug 2014-07-10 02:56:38 -04:00
Boris Zbarsky
e8aa2f7514 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Jeff Muizelaar
07c7b84306 Bug 1036633. Add test of delta codes in bmp images.
Looking at the code coverage information reveals that this is currently untested.

--HG--
extra : rebase_source : 31063dad0af0694d2ece75942a23cbfd3a60a6b1
2014-07-09 17:22:04 -04:00
Benoit Jacob
6bd0bb7f17 Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Walter Litwinczyk
c99db891c9 Bug 1024803 - Added comments and asserts to nsBMPDecoder to make it clearer that an overflow is not possible. r=milan 2014-07-03 09:56:11 -07:00
Seth Fowler
a9aee866f3 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
4cc0ce1c76 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
Monica Chew
9bff9ee655 Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-27 13:57:36 -07:00
Makoto Kato
ce17f433bb Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd 2014-06-27 17:08:13 +09:00
Jonathan Watt
e6aa7cdf90 Bug 1003505 - Fix printing of SVG images so that they're no longer pixelated. r=seth 2014-06-26 08:40:12 +01:00
Wes Kocher
a71846c73d Backed out changeset 8a3fb8fc4d29 (bug 1029781) for android XPCShell failures on a CLOSED TREE 2014-06-25 14:33:35 -07:00
Monica Chew
2dba86511f Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-25 09:08:27 -07:00
Carsten "Tomcat" Book
23d6a7ded4 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Jonathan Watt
5e4ad0943c Bug 940625 follow-up to fix bustage from changing from DiscardAllSurfacesForVectorImages to DiscardAll. CLOSED TREE 2014-06-25 14:28:51 +01:00
CJKu
29759c0d55 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Jonathan Watt
1f3d08cbbf Add some documenting comments to the image encoders; no bug 2014-06-25 12:59:55 +01:00
Ed Morley
b91811f205 Backed out changeset 5f0396c873f3 (bug 1000722) 2014-06-24 15:37:40 +01:00
CJKu
32c94506d9 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
2d78cefb06 Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel 2014-06-23 14:49:08 -04:00
Milan Sreckovic
6987624055 Bug 1027093 - Rename int32_t mCurrentFrame in nsGIFDecoder2 to avoid mixups with parent class' imgFrame* mCurrentFrame. r=jmuizelaar 2014-06-18 10:54:59 -04:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
a42c2de422 Bug 1027251 - Fix or whitelist dangerous public destructors in image/ - r=jrmuizel 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Watt
0324bd5749 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Boris Chiou
2a2eea8b5b Bug 1003893 - Ensure that the delete of RasterImage occurs on the main thread. r=seth
Dispatch nsRefPtr<RasterImage> to the main thread by NS_ProxyRelease
to avoid RasterImage from being destructed by the DecodeJob thread.
(If gMultithreadedDecoding is true.)
Therefore, DiscardTracker can safely access RasterImage::Discard()
by the raw pointer in DiscardTracker::Node.
2014-06-16 22:05:00 -04:00