Nathan Froyd
fba75178ed
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
599525318e
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
5ba322e426
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Chris Peterson
c46812c42d
Bug 1143994 - Fix some -Wunreachable-code and -Wswitch warnings in imagelib. r=seth
2015-03-16 21:02:15 -07:00
Glenn Randers-Pehrson
f4eed2926a
Bug 1102048 (Part 39, decoders/icon) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-06 19:12:00 -07:00
Glenn Randers-Pehrson
011a3c8933
Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-04-05 16:22:00 -07:00
Glenn Randers-Pehrson
899caf509e
Bug 1147909 - Part 2 - (nsPNGDecoder) Update embedded libpng to version 1.6.17. r=jmuizelaar
2015-03-28 11:07:00 +01:00
Mike Hommey
ee117642af
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Mike Hommey
95e047925a
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Seth Fowler
4b30b6f71c
Bug 1148682 - Handle content length correctly for moz-icon channels. r=tn
2015-03-29 17:47:49 -07:00
Andrea Marchesini
94545cbb2e
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
atlanto
895dfcc47b
Bug 1137615 - "Some icons are not displayed in the bookmarks sidebar" [r=seth]
2015-03-25 01:00:00 -07:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
16b4114ff2
Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel
2015-03-11 21:30:03 -04:00
Alex Henrie
52f2b50487
Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth
2015-03-03 23:15:08 -07:00
Blake Kaplan
1d30248d08
Bug 1117337 - Properly serialize moz-icon URIs. r=bent
2015-02-12 15:41:21 -08:00
Blake Kaplan
3627a368c3
Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth
2015-02-12 15:41:21 -08:00
Jeff Muizelaar
738a667bbd
Bug 1131446. mFrameHasNoAlpha is mostly pointless. r=seth
...
Starting with bug 391583 we detect whether a png image has any transparency
during decode. I don't think this is worth doing anymore. We choose the format
of image based on the png header, that should be sufficient for the performance
improvement we desire from opaque images. This gets us faster image decoding.
2015-02-10 13:26:14 +08:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nathan Froyd
8c6644f116
Bug 1128989 - part 2 - forward-declare Telemetry::ID in Decoder.h; r=seth
...
This change means that Decoder.h (and any files that include it) no
longer depend on Telemetry.h. And since Telemetry.h can change rather
frequently, this change helps minimize the number of files that need to
be rebuilt when Telemetry.h does change.
2015-02-03 10:05:49 -05:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Seth Fowler
f9a0a76bf1
Bug 1128223 (Part 1) - Clean up existing image flags. r=tn
2015-02-02 21:40:35 -08:00
Mike Hommey
50e6916b40
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09:00
Masatoshi Kimura
f1b5ace064
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
222483b6f4
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Glenn Randers-Pehrson
22ecaaa6a2
Bug 1117406 - Fix handling of out-of-range PNG tRNS values. r=jmuizelaar
2015-01-24 12:43:49 -05:00
Nathan Froyd
32193baa64
Bug 1124180 - use MOZ_BIG_ENDIAN in nsJPEGDecoder.cpp; r=seth
2015-01-21 09:16:41 -05:00
Seth Fowler
884570b29d
Bug 1124535 - Check if we have a downscaler before using it in nsJPEGDecoder. r=tn
2015-01-21 19:35:47 -08:00
Seth Fowler
d472d2fbf5
Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn
2015-01-20 03:06:37 -08:00
Seth Fowler
b3a46336d5
Bug 1119774 (Part 7) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn
2015-01-18 14:02:14 -08:00
Seth Fowler
a32f8c729a
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-15 15:11:35 -08:00
Ryan VanderMeulen
2a163a5532
Backed out 5 changesets (bug 1079627) for causing B2G crashes on a CLOSED TREE.
...
Backed out changeset e8ddeaeb82ee (bug 1079627)
Backed out changeset 14cc155b0d6e (bug 1079627)
Backed out changeset e7add8446221 (bug 1079627)
Backed out changeset 44b622a479b6 (bug 1079627)
Backed out changeset c86c43915254 (bug 1079627)
--HG--
extra : rebase_source : bdb8d9fa39e8745127ccc635b6d7d65cf6af170c
2015-01-12 13:17:52 -05:00
Carsten "Tomcat" Book
aaa6ff9286
Backed out changeset 560042809ee7 (bug 1119774)
2015-01-12 15:35:16 +01:00
Carsten "Tomcat" Book
24e92eafad
Backed out changeset 66a9a3b1aadb (bug 1045929)
2015-01-12 15:35:10 +01:00
Seth Fowler
9aa07d8599
Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn
2015-01-12 03:24:26 -08:00
Seth Fowler
e6567a9c9b
Bug 1119774 (Part 5) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn
2015-01-12 03:24:26 -08:00
Seth Fowler
7700d1f4e9
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-12 01:20:22 -08:00
Seth Fowler
9834333edf
Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn
2015-01-11 22:29:32 -08:00
Tom Schuster
a1fc33823a
Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE
2015-01-11 20:43:32 +01:00
Seth Fowler
d026f10d29
Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn
2015-01-11 05:34:20 -08:00
Seth Fowler
b63799e189
Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn
2015-01-10 20:47:38 -08:00
Seth Fowler
4cfb230690
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-01-10 18:47:44 -08:00
Wes Kocher
87aaffcfac
Backout 17fc30214d84 (bug 1117607) for reftest orange
2015-01-09 18:48:43 -08:00
Seth Fowler
55a9e0f656
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-01-09 15:02:48 -08:00
Seth Fowler
97e722b9e0
Bug 1116733 (Part 2) - Remove DecodeStrategy and frame allocation handling outside of Decoder. r=tn
2015-01-08 00:04:31 -08:00
Seth Fowler
954c87102c
Bug 1116733 (Part 1) - Allocate frames off-main-thread. r=tn
2015-01-08 00:04:31 -08:00
Seth Fowler
14f7ddb551
Bug 1116735 - Allocate frames in the decoder. r=tn
...
--HG--
extra : rebase_source : df5c3cbe4e8a8ad40e4a7fa04a2c53e1c3bad559
2015-01-08 00:01:25 -08:00
Seth Fowler
6b6f748f38
Bug 1116737 - Merge FrameBlender into FrameAnimator. r=tn
...
--HG--
extra : rebase_source : f2021135cf82e35273095f8e96373bcbee304710
2015-01-07 13:07:23 -08:00
Ehsan Akhgari
bc2500239a
Bug 1117248 - Mark virtual overridden functions as MOZ_OVERRIDE in image/; r=jrmuizel
2015-01-03 12:24:49 -05:00