Граф коммитов

952 Коммитов

Автор SHA1 Сообщение Дата
Ali Akhtarzada cd930785a2 Bug 959123 - Implement CairoImage::GetAsSourceSurface. r=nical
Deprecate CairoImage::Data::mSurface and add an mSourceSurface.
Also change all the callers of CairoImage::SetData to set the
SourceSurface as well.

Also change scope of CairoImage::mSource to private
2014-01-17 11:22:09 -05:00
Michael Wu 70ead73d9d Bug 958001 - Remove mNeverUseDeviceSurface from imgFrame, r=jrmuizel 2014-01-17 08:57:51 -05:00
Timothy Nikkel 53fbf904dd Bug 943803. Don't try to forcibly discard an image if we have an existing decoder. r=jmuizelaar 2014-01-16 16:45:49 -06:00
Benoit Jacob f447d87c57 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Neil Rashbrook 465a600b29 Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jeff Walden 5d732089e1 Bug 950700 - Make EXIF parsing use Endian.h functions. r=seth
--HG--
extra : rebase_source : 5962dfbfb53dd06d4a7228482a4f84f34e00cb9f
2013-12-16 10:34:27 -05:00
Nicholas Nethercote 91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote 9366b60202 Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Ms2ger fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Seth Fowler 82fad7a97f Bug 862909 (Part 3) - Assert that we own the decoding mutex in CurrentStatusTracker. r=tn 2013-12-17 14:04:32 -08:00
Seth Fowler 2b92214752 Bug 862909 (Part 2) - Make sure we hold the decode lock when calling DoError. r=tn 2013-12-17 14:04:32 -08:00
Seth Fowler 4fcd487127 Bug 862909 (Part 1) - Call CurrentStatusTracker() with the decode lock held in OnImageDataComplete. r=tn 2013-12-17 14:04:32 -08:00
Seth Fowler 3b95360e89 Bug 943803 - Use a reentrant monitor instead of unlocking for notifications in RasterImage. r=jdm 2013-12-17 14:04:31 -08:00
Seth Fowler 8fe99f9dbb Bug 896268 - Use a stateless approach to synchronous image decoding. r=jdm 2013-12-17 14:04:24 -08:00
Seth Fowler 84836b3da9 Bug 950293 (Part 1) - Fix handling of little-endian EXIF data. r=tn 2013-12-16 14:11:10 -08:00
Trevor Saunders d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Tor Arvid Lund eaa77f044b Bug 929513 - Change gfxSize references to gfx::Size r=nical 2013-12-13 18:31:53 +01:00
Jonathan Watt 7da8970d0e Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Wes Kocher d1c9d2ecca Backed out changeset 372f481bc7ad (bug 942164) for leaks on a CLOSED TREE 2013-12-12 14:44:09 -08:00
Bill McCloskey fb15e657d0 Bug 924366 - Animated GIFs shouldn't loop before they have finished decoding (r=seth) 2013-12-12 14:17:41 -08:00
Josh Matthews 572e483ff0 Bug 942164 - Refcount imgRequest consumers. r=seth 2013-12-12 16:17:35 -05:00
Ehsan Akhgari e004ec8ac0 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Martin Stransky 8832b57f9d Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Nicholas Nethercote 8450156576 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Ali Akhtarzada ba614649c2 Bug 890743 - Display 0-delay, single loop GIFs instantly. r=seth
Do not artificially create a frame delay for GIF files
that do not loop and have an inter-frame delay of 0. Move timeout
calculation to FrameBlender and only access raw timeout of
imgFrame from within FrameBlender.

--HG--
extra : rebase_source : 1a568f16a2980d3d14621869c6b536d054088805
2013-12-06 10:45:24 +01:00
Nicholas Nethercote 8bbe1e2dc1 Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote 6e5e55931d Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas 68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Nicholas Nethercote b413e441cf Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Glenn Randers-Pehrson 3bb50ef8d3 Bug 938740 - Update libpng to version 1.6.7. r=jmuizelaar 2013-12-04 08:01:34 -05:00
Seth Fowler 579513aaf3 Bug 940142 - Add a lightweight generic hash key class to nsHashKeys.h. r=bsmedberg 2013-12-03 16:23:32 -08:00
Jacek Caban 919a5b3c9b Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01:00
Ehsan Akhgari 1cd4a8e4ce Bug 945589 - Add include guards to ScriptedNotificationObserver.h 2013-12-03 08:20:53 -05:00
Ms2ger 9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger 6020ff9031 Bug 937224 - Part d: Move LOCAL_INCLUDES to moz.build in image/; r=mshal 2013-11-28 15:17:27 +01:00
Nicholas Nethercote f231cefc45 Bug 936964 (part 2, attempt 2) - Make SurfaceCache ref-counted. r=seth.
--HG--
extra : rebase_source : 16f179ea7d83389ff2b5bb10d2ef2f609b0c7101
2013-11-25 15:57:43 -08:00
Nicholas Nethercote 39004db706 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari a903aefdc0 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote bc475c75df Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote 234337011d Bug 936964 (part 2) - Make SurfaceCache ref-counted. r=seth.
--HG--
extra : rebase_source : 0f6be3429ce653ca01bb5db7c8520c7e996acf67
2013-11-25 15:57:43 -08:00
Seth Fowler 12db2a480c Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar 2013-11-26 17:22:44 -08:00
Seth Fowler 77e020a57f Bug 936720 (Part 2) - Remove reftests for animated image operators. r=jdm
--HG--
extra : rebase_source : 0d0f566a578644e75b30a4ce2afe93d71e7fec3d
2013-11-22 16:33:03 -08:00
Ehsan Akhgari 86afd352d7 Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa 2013-11-21 16:36:59 -05:00
Michael Shuen adeae37b6e Bug 940793 - Build image/decoders/icon in unified mode. r=ehsan 2013-11-21 09:22:25 -05:00
Chris Peterson e223c546c9 Bug 940226 - Build image/src in unified mode. r=seth 2013-11-18 22:03:36 -08:00
Seth Fowler 8fca41c6c4 Bug 940714 - Add a RAII class to make synchronous decoding safer. r=tn 2013-11-20 17:21:51 -08:00
Seth Fowler 48494f66d7 Bug 922899 - Fix VectorImage invalidation for non-animated images. r=dholbert 2013-11-20 17:21:50 -08:00