Nicholas Nethercote
8b9e2a854e
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
f210c6be6f
Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar
2013-11-26 17:22:44 -08:00
Seth Fowler
56fcdb9bcd
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
90fa786c75
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
f0a727cb28
Bug 940793 - Build image/decoders/icon in unified mode. r=ehsan
2013-11-21 09:22:25 -05:00
Chris Peterson
4aff69f533
Bug 940226 - Build image/src in unified mode. r=seth
2013-11-18 22:03:36 -08:00
Seth Fowler
6fd30d91de
Bug 940714 - Add a RAII class to make synchronous decoding safer. r=tn
2013-11-20 17:21:51 -08:00
Seth Fowler
b1de4ead2d
Bug 922899 - Fix VectorImage invalidation for non-animated images. r=dholbert
2013-11-20 17:21:50 -08:00
Seth Fowler
bcc9280369
Bug 936720 (Part 1) - Add a new mochitest for animated image operators. r=tn
...
--HG--
extra : rebase_source : f3db726b4deffa7304f0cf0123d26bba680bdcfd
2013-11-18 13:48:48 -08:00
Michael Shuen
a80cba13a0
Bug 939795 - Build image/decoder in unified mode; r=ehsan
2013-11-19 08:19:16 -05:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Seth Fowler
b95a0cf587
Bug 910533 - Clear invalidation rect only after sync notifying in imgStatusTracker. r=tn
...
--HG--
extra : rebase_source : d373b3c4ccc747e9afef3c1bbdb8e522b7724b10
2013-11-18 13:12:59 -08:00
Jonathan Watt
718de4d09f
Bug 937581 - Remove imgStatusTrackerNotifyingObserver. r=seth
2013-11-18 14:30:12 +00:00
Matt Woodrow
15f00c5e7c
Bug 923341 - Part 4: Update CachedSurface::Drawable. r=seth
2013-11-14 08:13:54 +13:00
Matt Woodrow
fe53e84226
Bug 923341 - Part 2: Use SVG caches on all azure backends. r=seth
2013-11-13 17:32:29 +13:00
Geoff Brown
de4dc8c13d
Bug 936226 - (2) Adjust reftest manifests for Android x86; r=dminor
2013-11-17 10:23:17 -07:00
Seth Fowler
9c54a81f38
Bug 916602 (Part 2) - Avoid null timestamp assertion when creating sentinel in FrameAnimator. r=tn
2013-09-20 14:12:10 +02:00
Simon Lindholm
f30fe93cd9
Bug 916602 (Part 1) - Avoid null timestamp assertion in FrameAnimator::GetCurrentImgFrameEndTime. r=seth
2013-09-20 14:12:10 +02:00
Nicholas Nethercote
d8a3b0f0bb
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Seth Fowler
7e8d548ff9
Bug 922613 - Remove erroneous assertion in imgStatusTracker. r=jdm
2013-11-01 17:05:01 -07:00
Nicholas Hurley
b5ae611857
Bug 881804 (part 5) - Plumb image loader into predictive network actions. r=seth
2013-10-25 14:56:58 -07:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Seth Fowler
6e507300dc
Bug 764299 (Part 4) - Cache rasterized surfaces in VectorImage. r=dholbert
2013-10-22 13:38:08 +02:00
Seth Fowler
5d5705049e
Bug 764299 (Part 3) - Add memory reporting to the surface cache. r=njn
2013-10-22 13:38:01 +02:00
Seth Fowler
140f10b0a1
Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert
2013-10-22 13:37:59 +02:00
Kannan Vijayan
6e9b3e6350
Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE.
2013-10-21 14:39:33 -04:00
Seth Fowler
909869d856
Bug 764299 (Part 4) - Cache rasterized surfaces in VectorImage. r=dholbert
2013-10-21 18:10:50 +02:00
Seth Fowler
f7be9312da
Bug 764299 (Part 3) - Add memory reporting to the surface cache. r=njn
2013-10-21 18:10:45 +02:00
Seth Fowler
08e5ccafd2
Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert
2013-10-21 18:10:43 +02:00
Ms2ger
6ab8122e99
Bug 923395 - Part d: Remove some Makefiles in image/; r=gps
2013-10-20 09:25:19 +02:00
Stephen Pohl
c10330e66a
Bug 817700 - Fix animSVGImage test. r=roc
2013-10-16 22:55:33 -04:00
Steve Workman
ebb9cfc446
Bug 924117 - Wrap access to RasterImage::mSourceData in mDecodingMutex r=seth
2013-10-16 08:56:08 -07:00
Matt Woodrow
6d12365657
Bug 922942 - Do image scaling in imgTools using azure. r=seth
2013-10-16 14:00:31 +13:00
Wes Kocher
bd058e6e66
Backed out changeset c0e5db20b655 (bug 922942) for xpcshell bustage
2013-10-15 19:20:17 -07:00
Matt Woodrow
6b2f742af3
Bug 922942 - Do image scaling in imgTools using azure. r=seth
2013-10-16 14:00:31 +13:00
Matt Woodrow
fc0c6d5689
Bug 922942 - Updated cached surface in ClippedImage using azure. r=seth
2013-10-16 14:00:30 +13:00
Steve Workman
7ca64b29dd
Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth
2013-10-15 16:33:11 -07:00
Ryan VanderMeulen
7f5276fcb1
Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
...
CLOSED TREE
2013-10-08 15:00:17 -04:00
Stephen Pohl
1edb4b438c
Bug 817700 - Fix animSVGImage test. r=roc
2013-10-08 13:27:49 -04:00
Ehsan Akhgari
b6bef348c1
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Glenn Randers-Pehrson
26ae7698d8
Bug 922471 - Remove MOZ_PNG_READ-WRITE global defines. r=jmuizelaar
2013-10-06 15:30:32 -04:00
Masatoshi Kimura
02cab17dff
Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz
2013-10-06 05:25:49 +09:00
Milan Sreckovic
1382b361b3
Bug 922603 - Avoid signed integer overflow. r=bjacob
2013-10-02 10:44:53 -04:00
Ms2ger
7ffcd856c2
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
105ce73cfa
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Ehsan Akhgari
6c364e9615
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
Ehsan Akhgari
0a3a2ee94a
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Trevor Saunders
e8f7d269ed
bug 920754 - rm more makefiles r=mshal
2013-09-25 16:39:06 -04:00
Ryan VanderMeulen
4dd576fb2f
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Ryan VanderMeulen
439f7d7d01
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Gregory Szorc
b03f79a7e6
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
cc1da2c22a
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
e53ac5e38d
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
038cae0901
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
eccf636a23
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
e4af98efbf
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
483a776413
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
cabc6369a6
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Timothy Nikkel
efc25acc98
Bug 918220. Part 1. Rename the pref content.image.allow_locking to make it clear that it only applies to content processes. r=jmuizelaar
2013-09-30 12:53:46 -05:00
Steve Workman
38b912cd11
Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
71940cda4d
Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
c80463c39a
Bug 867755 - Detect if DiscardTracker has shutdown r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
3763714e33
Bug 867755 - Dispatch imgRequestProxy notifications r=seth
2013-09-28 11:28:43 -07:00
Steve Workman
afcf612b35
Bug 867755 - Make DiscardTracker thread-safe r=seth
2013-09-28 11:28:43 -07:00
Steve Workman
036d4ca49a
Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth
2013-09-28 11:28:42 -07:00
Martijn Wargers
a0b7efa9b2
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
605ce41d5a
Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
...
CLOSED TREE
2013-09-27 18:28:43 -04:00
Martijn Wargers
dfe0e2b248
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Milan Sreckovic
07eb20909d
Bug 856616 - Post size in the global header, rather than continuing with the processing, if all we need is a size decode. r=seth
2013-09-25 13:06:22 -04:00
Neil Rashbrook
8894f0ba78
Bug 920073 Switch back to #including nsStringGlue.h in headers that need to work with the external string API r=ehsan
2013-09-25 08:27:54 +01:00
Nicholas Nethercote
a523823a2e
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
CLOSED TREE
2013-09-19 15:52:30 -07:00
Phil Ringnalda
dc7a51cbc6
Backed out 3 changesets (bug 913260)
...
CLOSED TREE
Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
61d1e0eb22
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Benoit Jacob
6ac61cabdb
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
890a165b57
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Gregory Szorc
ed68c2482b
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ryan VanderMeulen
a053c4c09f
Merge m-c to inbound.
...
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Martin Stransky
3a0ac880b9
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ehsan Akhgari
b4cc06df88
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Ehsan Akhgari
698e5bd377
Bug 579517 follow-up: Remove NSPR types that crept in
2013-09-22 19:14:24 -04:00
Matt Woodrow
90010f8076
Bug 917703 - Mark gfxSubimageSurface as opaque if it is within the opaque rect of the parent surface. r=roc
2013-09-20 21:50:05 +12:00
Honza Bambas
ea8ec4777e
Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin
2013-09-20 11:11:25 +02:00
Mike Hommey
ae0966be15
Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps
2013-09-19 07:39:58 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
d6da7b763f
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Stephen Pohl
5a04a52cb9
Backout bug 817700 for causing various regressions. r=me
2013-09-13 14:14:36 -04:00
Seth Fowler
2413374ccd
Bug 910881 - Do not call RasterImage::DoError off the main thread. r=jdm
...
--HG--
extra : rebase_source : 9d76763242a351dfbdcf8a35db98a5dceed0d838
2013-09-12 14:40:16 -07:00
Stephen Pohl
239fe5af41
Bug 817700 - Fix animSVGImage test. r=roc
2013-09-12 17:04:26 -04:00
Seth Fowler
ebf18fc534
Bug 912514 - Don't release nsIURIs off-main-thread. r=jdm
2013-09-11 17:01:59 -07:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
5eb2bdb5c4
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger
6dfe58ad79
Merge backout.
2013-09-09 16:56:18 +02:00
Ms2ger
5d5e2ac59a
Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review.
2013-09-09 16:56:00 +02:00
Stephen Pohl
288899eec8
Bug 817700 - Fix animSVGImage test. r=roc
2013-09-06 12:30:40 -04:00
Nicholas Nethercote
85d3324d5e
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Ehsan Akhgari
bdb172ee45
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ryan VanderMeulen
ff842617a6
Backed out changeset 35575118c650 (bug 912794) for asserts.
2013-09-06 23:08:36 -04:00
Benoit Jacob
bd8899eab6
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Seth Fowler
170b4e8a3c
Bug 908514 (Part 2) - Fix "variable may be used uninitialized" warning in nsICODecoder.cpp. r=jrmuizel
2013-09-05 15:55:13 -07:00
Seth Fowler
428388057f
Bug 908514 (Part 1) - Replace imagelib endian macros with MFBT's endian functions. r=jrmuizel
2013-09-05 15:55:13 -07:00
Josh Matthews
d011dee100
Bug 906813 - Make private image channel test relying on cache wait until the cache is cleared. r=ehsan
2013-09-03 10:45:50 -04:00
Milan Sreckovic
7e8ba1c301
Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
...
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.
--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
ad36ee41a9
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
43ad5b4dcf
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Masatoshi Kimura
e2bd26bb53
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Jonathan Watt
4cb1720111
Bug 907503 - Test that invalidation works for SMIL animation in SVG-as-an-image. r=longsonr
2013-09-04 11:39:32 +01:00
Jonathan Watt
7702657f81
Bug 911862 - Make VectorImage use the refresh driver to send out frame change notifications. r=dholbert
2013-09-04 11:39:30 +01:00
Simon Lindholm
b9f58331d4
Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode. r=seth
2013-09-03 13:20:15 -07:00
Seth Fowler
46ecd64ac0
Backout bug 867183 due to intermittent oranges. (See bug 910533.) r=me
2013-08-29 17:47:39 -07:00
Ehsan Akhgari
f691095054
Bug 910857 - Minimize #includes in content/events; r=smaug
2013-08-29 17:18:25 -04:00
Seth Fowler
ebf1560d55
Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar
2013-08-28 15:39:05 -07:00
Seth Fowler
1c470a32cb
Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm
2013-08-28 15:39:05 -07:00
Seth Fowler
4b25dccea5
Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm
2013-08-28 15:39:04 -07:00
Adam Dane [:hobophobe]
5c3f899820
Bug 907575 - mResniffMimeType not properly reset. r=seth
2013-08-27 18:39:54 -05:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
593964f6a3
Bug 831193 (part 13) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in image/. r=jmuizelaar.
...
--HG--
extra : rebase_source : 25e1c8dad9905df01eb18f300ddab98b24fde7dc
2013-01-17 16:45:11 -08:00
Ryan VanderMeulen
83bedf2b02
Backed out changeset 5acab2576a56 (bug 885277) for intermittent mochitest-other failures.
2013-08-27 20:52:18 -04:00
Justin Lebar
a12ca3e4e8
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Max Stepin
27eabcc9dc
Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth
2013-08-27 14:50:59 -07:00
Simon Lindholm
84c2b65825
Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode
2013-08-14 12:29:55 +02:00
Seth Fowler
1e21fab02d
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-25 00:19:43 -07:00
Seth Fowler
04f76e9b9d
Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe
2013-08-25 00:19:43 -07:00
Seth Fowler
3b56384f23
Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn
2013-08-25 00:19:42 -07:00
Seth Fowler
3aca66ef56
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-25 00:19:42 -07:00
Phil Ringnalda
d9907eb8f3
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
7a3f7ea947
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-24 17:31:15 -07:00
Seth Fowler
2ce23bd9cc
Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe
2013-08-24 17:31:14 -07:00
Seth Fowler
d33148b97f
Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn
2013-08-24 17:31:14 -07:00
Seth Fowler
8ebd59a07e
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-24 17:31:14 -07:00
Gabriele Svelto
c8251ce6f3
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
David Zbarsky
31df3b590f
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
Birunthan Mohanathas
1f08b5ef4b
Bug 784739 - Switch from NULL to nullptr in image/. r=ehsan
2013-08-23 15:51:00 -04:00
David Zbarsky
6e2250a052
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
f19c09b33c
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Matt Woodrow
64b190a16a
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Ms2ger
d62e2c8439
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Milan Sreckovic
cad35fdcfe
Bug 905678 - Back out the fix from bug 899861 now that bug 905793 is fixed. r=seth
2013-08-20 11:53:13 -04:00
Milan Sreckovic
14637a855c
Bug 905793 - Send ImageUpdated() on the whole image in PostFrameStop. This may be an overkill in some cases, dirtying twice. r=seth
2013-08-15 17:06:01 -04:00
Trevor Saunders
bddf017039
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Milan Sreckovic
4a2fc3f265
Bug 899861 - Animated gifs should not wait to play until fully downloaded. This is a partial backout of 717872 with the intent to re-enable using the separate FrameAnimator class. Hide the new approach behind #define USE_FRAME_ANIMATOR for now. r=bgirard
2013-08-13 18:30:28 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Mihnea Dobrescu-Balaur
8c7dbd2c3e
Bug 903864 - Make test_imgtools use do_get_tempdir(). r=dolske
2013-08-11 09:38:09 -07:00
Trevor Saunders
7da524d402
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Joey Armstrong
9bdf289b5e
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Jeff Gilbert
ed76cd5ffe
Bug 865919 - Add INT32_MIN-height BMP test. r=joe
2013-07-30 17:49:42 -07:00
Jeff Gilbert
5d6b5329a8
Bug 865919 - Abort decode of INT32_MIN BMPs. r=joe
2013-07-30 17:49:41 -07:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Tom Schuster
e5fe0046d0
Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug
2013-07-29 11:03:41 -04:00
Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Joe Drew
9427004a98
Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth
2013-07-26 14:57:41 -04:00
Joe Drew
22e78f38b5
Backed out changeset 8a6e3d229183 (bug 887466) because of assertion failures
2013-07-26 14:02:57 -04:00
Joe Drew
53237a73e4
Bug 897488 - Apply any dirt on frames whenever we get a drawable frame, not just in Draw(). r=seth
...
--HG--
extra : rebase_source : f4b9e2ccded3844e9384e6f8eb7a801b5e25105d
2013-07-26 10:41:57 -04:00
Joe Drew
42ae40f756
Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth
...
--HG--
extra : rebase_source : 0c63494d7b6330b6d477ba28af34f26af2e2f3ab
2013-07-26 10:38:51 -04:00
Joshua Cranmer
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
5d51157f46
Bug 884061 - Part 3k: Use NS_DECL_THREADSAFE_ISUPPORTS in image/, r=joedrew
...
--HG--
extra : rebase_source : f8582736fc5306c441ddcab7a215e16262c6f517
2013-07-18 21:23:31 -05:00
Shih-Chiang Chien
cc1f66e57f
Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc
2013-07-22 22:31:24 -04:00
Daniel Holbert
e48962413a
Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth
2013-07-22 13:42:05 -07:00
Gervase Markham
acfedfd6cb
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Seth Fowler
99d1044b44
Bug 885939 (Part 1) - Scale SVG images using the graphics context matrix instead of the viewport. r=dholbert
2013-07-16 15:41:30 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Joe Drew
d51ea240ac
Bug 717872 - Move all image animation logic into a new class, FrameAnimator, and use it from RasterImage. r=seth
...
This patch moves the logic of moving from one frame to another (and tracking
what frame is current, etc) to a separate class, FrameAnimator. Deciding
*whether* to animate, and actually calling that animation code, is left to
RasterImage, but the animation itself is driven by FrameAnimator.
2013-07-15 14:38:59 -04:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Mihnea Dobrescu-Balaur
0987a17e3d
Bug 887578 - Make the image xpcshell tests use dynamic httpd ports so they can be run concurrently. r=joe
2013-07-09 12:48:50 -07:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Joe Drew
c44dc6c974
Bug 717872 - Make FrameSequences be refcounted, and store a RefPtr to FrameSequence on FrameBlender. r=seth
...
This makes it possible for us to share FrameSequences by refcounting them. We
don't do anything smart when inserting/removing/swapping frames, but we do
carefully handle the "discard" case (by just reallocating a new
FrameSequence).
Note that, currently, nothing actually *shares* FrameSequences.
--HG--
extra : rebase_source : 9facdf8930297888f2ee77e0816543c6ad703f80
2013-07-09 14:53:12 -04:00
Joe Drew
7de8e0f38a
Bug 717872 - Move frame ownership to a separate container object, FrameSequence, which only exposes const access to its frames. r=seth
...
The eventual goal here is to have FrameBlenders be able to share
FrameSequences.
--HG--
extra : rebase_source : 97b8be9f53ed5cb14f0d46655d8fd7cdfa6bab67
2013-07-09 10:45:06 -04:00
Joe Drew
b987a5aeaa
Bug 888607 - Test. r=seth
...
--HG--
extra : rebase_source : aeecfcc1c178f1a8402291fbeb698ca0c4b4d980
2013-07-04 17:06:05 -04:00
Joe Drew
6dd7a36602
Bug 888607 - Correctly clear sub-frames. r=seth
...
--HG--
extra : rebase_source : 99ef0a24beea67613a67823fd35c313f933841c9
2013-07-04 17:05:59 -04:00
Joe Drew
4c8de2c43e
Bug 890179. r=seth a=abillings
...
--HG--
extra : rebase_source : f8c1f5adbdcc9bae652df901f256e8eac3fc5dc3
2013-07-04 15:58:26 -04:00
Ms2ger
db26bfced0
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
a6b9800cfb
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Joe Drew
f97dd2844a
Bug 717872 - Make blending functions take const source parameters so it's a little less likely that we modify things in mFrames again. r=seth
2013-06-28 15:01:32 -04:00
Joe Drew
5f3db1b4cd
Bug 717872 - Don't change the content of mFrames, even when it'd be faster. r=seth
2013-06-28 14:53:11 -04:00
Joe Drew
2d4d670611
Bug 717872 - Remove the imgFrame* helpers from FrameBlender now that we always have raw data pointers. r=seth
2013-06-28 14:52:04 -04:00
Joe Drew
b26afa3bda
Bug 717872 - Store a frame's raw image data pointer beside its imgFrame pointer so we can access it without having to lock the frame. r=seth
...
This patch makes us store imgFrames in FrameBlender with a new sort-of-tuple,
FrameDataPair, that is smart enough to be able to lock and unlock imgFrames,
and can be transparently cast to an imgFrame, but doesn't do too much else.
The alternative, storing a separate array of uint8_t pointers, seemed too
complicated.
2013-06-28 13:52:39 -04:00
Joe Drew
f4c4753072
Bug 795737 - To avoid Cairo assertions, call Flush when we MarkDirty too, because we can draw locked images, which adds snapshots to the Cairo surfaces. r=Bas
2013-07-04 14:46:02 -04:00
Joe Drew
b2fd2caedb
Bug 888499 - Mark frames as dirty in a threadsafe way when imgFrame::ImageUpdated is called on them, and clear that dirty bit when we're drawing. r=seth
2013-07-04 14:45:57 -04:00
Chris Lord
eb0d47edb8
Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
2013-07-04 14:53:31 +01:00
Jared Wein
f73c4f8ecc
Bug 822149 - Replace translucent media backgrounds with an opaque background and make uniform the backgrounds for images and audio/video. r=dolske
2013-07-09 09:09:16 -04:00
Joey Armstrong
b931149ad7
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Phil Ringnalda
f369c57eb1
Backed out 066a0110bd0b:1dc02c10629c (bug 865919) for mochitest-4 assertions
...
CLOSED TREE
2013-07-01 19:18:34 -07:00
Jeff Gilbert
d8503fcd52
Bug 865919 - Add test with INT_MIN-height BMP. - r=joe
2013-07-01 17:32:06 -07:00
Jeff Gilbert
b36a7dae4f
Bug 865919 - Check for still-negative heights when decoding BMPs. - r=joe
2013-07-01 17:32:06 -07:00