Commit Graph

1125 Commits

Author SHA1 Message Date
Kyle Huey
af7988ac78 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
e2cf8ca101 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
3bfaf08057 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
ada9d4184f 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
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
Benoit Jacob
9e2a0396af Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Matt Woodrow
1c759f175a 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
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776 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
76137e0f8d Bug 1024226 - Fix leak of |buf| in nsIconChannel.cpp. r=jrmuizel 2014-07-17 10:51:50 -07:00
Seth Fowler
13ebdb6bc7 Bug 1031576 (Part 1) - Add an Image subclass for dynamically-created images. r=tn 2014-07-21 17:59:22 -07:00
Tom Schuster
65e0c034ef Bug 1041311 - Fix Qt compilation. r=romaxa 2014-07-20 12:55:00 -04:00
Georgios Kontaxis
ca277145d5 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
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
Michael Wu
9672a99df6 Bug 1037028 - More namespace cleanups in imglib, r=seth 2014-07-10 11:00:31 -04:00
Ehsan Akhgari
0a6a6fa0b7 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
1ee07d58d6 Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Jonathan Watt
777971eedc Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas 2014-07-11 08:07:07 +01:00
Jonathan Watt
b9a9b70e8d 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
59705f80ab 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
a1176a02c2 Bug 965413 part 12. Use a LoadInfo in SetUpChannelOwner. r=smaug 2014-07-10 02:56:38 -04:00
Boris Zbarsky
f22144a471 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Jeff Muizelaar
f208d7daa6 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
1f6562d6f3 Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange 2014-07-06 11:25:31 -04:00
Walter Litwinczyk
70f4c069a4 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
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
Monica Chew
5d273e3e3d Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-27 13:57:36 -07:00
Makoto Kato
17426a1b3f Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd 2014-06-27 17:08:13 +09: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
Wes Kocher
e3e02506a0 Backed out changeset 8a3fb8fc4d29 (bug 1029781) for android XPCShell failures on a CLOSED TREE 2014-06-25 14:33:35 -07:00
Monica Chew
87b10a92bd Bug 1029781: Set NS_LOAD_CLASSIFY_URI in image loader (r=seth) 2014-06-25 09:08:27 -07:00
Carsten "Tomcat" Book
d3ff9ea4b7 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
c036601e2f merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Jonathan Watt
a907702fba Bug 940625 follow-up to fix bustage from changing from DiscardAllSurfacesForVectorImages to DiscardAll. CLOSED TREE 2014-06-25 14:28:51 +01:00
CJKu
5175255cb1 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Jonathan Watt
fee4385972 Add some documenting comments to the image encoders; no bug 2014-06-25 12:59:55 +01:00
Ed Morley
7f690ea522 Backed out changeset 5f0396c873f3 (bug 1000722) 2014-06-24 15:37:40 +01:00
CJKu
14a0eb0ac4 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Jim Blandy
b6b202b6bb 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
bb5d6b4bdb Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel 2014-06-23 14:49:08 -04:00
Milan Sreckovic
884766311e 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
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
b4866abdf9 Bug 1027251 - Fix or whitelist dangerous public destructors in image/ - r=jrmuizel 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
bb9d51e11e 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
d8f30cbd1f 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
d8b7317932 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
George Wright
3810169746 Bug 913805 - Hold a lock on the RasterImage in ScaleRequest so that the srcFrame doesn't go away if we need to discard images to free up memory r=seth 2014-06-06 14:26:21 -04:00
Michael Wu
6682b8f84f Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00