Nicholas Nethercote
b0500a35e3
Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel.
...
This patch fixes various warnings from MSVC.
- Several "truncation from 'double' to 'float'" warnings, easily fixed by
appending 'f' to literals.
- Some "signed/unsigned mismatch" warnings. In read_tag_lutType(), MSVC is
apparently promoting the multiplication of a uint8_t and a uint16_t to an
int32_t, oddly enough. A uint32_t cast fixes the warning.
- |offset| was unused in qcms_data_create_rbg_with_gamma().
- A couple of "overflow in floating-point constant arithmetic" warnings
involving INFINITY in transform_util.c. There is some type confusion here --
in C99 HUGE_VAL is a double and INFINITY is a float. So the HUGE_VAL here
should actualy be HUGE_VALF. But, strangely enough, that isn't enough to
avoid the warning, I don't know why. However, it turns out that any
non-positive value for |interval| will have the same effect, so I just
removed all the INFINITY/HUGE_VAL stuff and used -1 instead.
It also fixes an ARM-only GCC warning.
- "'__force_align_arg_pointer__' attribute directive ignored". This is an
x86-only attribute. Instead of disabling it on x86-64, instead enable it on
i386 (which avoids enabling it uselessly on ARM).
2015-09-17 17:11:27 -07:00
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Benoit Girard
0f1046b8a7
Bug 1166252 - Reject lut8/16Type with empty CLUT grid. r=jrmuizel
2015-08-25 15:48:55 -04:00
Benoit Girard
6864124fbc
Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
2015-06-04 19:30:52 -04:00
Benoit Girard
b1106be045
Bug 1176551 - Don't reject valid profiles with no CLUT offset. r=jrmuizel
2015-06-23 17:49:39 -07:00
David Major
78f25cd720
Bug 1168480 - Fix potential leaks in qcms_transform_create. r=seth
2015-05-26 22:18:55 -04:00
Seth Fowler
91ffec4c63
Bug 1163740 - Paper over qcms crashes due to NaN values in qcms_transform::matrix. r=dmajor
2015-05-26 17:34:21 -07:00
David Major
5f4c3cf700
Backed out changeset 4914871dbd96 (bug 1163740) now that the diagnostic patch has served its purpose
2015-05-26 13:07:26 -04:00
David Major
17d8f6993e
Backed out changeset a620a422367f (bug 1163740) now that the diagnostic patch has served its purpose
2015-05-26 13:06:34 -04:00
David Major
b66777fe0f
Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth
2015-05-22 16:49:37 -04:00
David Major
930448ca91
Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth
2015-05-20 20:48:57 -04:00
David Major
ed6ca74f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
2015-04-27 19:59:27 -04:00
Benoit Girard
ca83d3a409
Bug 1132468 - Reject invalid sizes. r=jrmuizel
2015-02-24 17:02:10 -05:00
Benoit Girard
7df479061b
Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel
2015-02-24 19:03:25 -05:00
Shashank Sabniveesu
175f96c036
Bug 692922 - Fix use of posix_memalign() avoiding typecasts. r=BenWa
2014-05-08 20:43:37 -04:00
Jeff Muizelaar
88c1aa8292
Bug 969226 - Check if there is enough data to read u32 to avoid buffer overflow. r=bgirard
2014-04-09 15:20:18 -04:00
Ms2ger
4d77f53384
Bug 976143 - Fix build warnings in iccread.c; r=jrmuizel
2014-03-27 21:05:15 +01:00
Ehsan Akhgari
5ab76fe98e
Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium
2014-03-19 21:55:00 -04:00
Ehsan Akhgari
89dd165182
Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal
2014-03-05 17:00:17 -05:00
Ehsan Akhgari
b8d7d5b236
Bug 975730 - Remove an unused CFLAGS from the qcms build system; r=mshal
...
MOZ_QCMS is not used anywhere.
2014-02-22 21:41:02 -05:00
Masatoshi Kimura
9411ded657
Bug 957002. Stop including prtypes.h for endian macros. r=jrmuizel
...
We don't need these anymore.
--HG--
rename : config/autoconf-js.mk.in => config/autoconf.mk.in
rename : config/emptyvars-js.mk.in => config/emptyvars.mk.in
rename : dom/events/test/test_bug967796.html => dom/events/test/test_bug432698.html
extra : rebase_source : e9879157bb3efa8c1834c9d57ecfca8ddb9567a8
2014-02-10 18:45:43 -05:00
guozhu cheng
bd2c6ee1e0
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Ryan VanderMeulen
920e1e07c8
Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
...
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng
63f2dff3c2
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Mike Hommey
931cb49886
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
9ec00225de
Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
...
What LIBXUL_LIBRARY does is:
- Imply FORCE_STATIC_LIB
- Build with -DIMPL_LIBXUL
- Build with -DMOZILLA_INTERNAL_API
Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
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
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ms2ger
f8f8a40a0a
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Trevor Saunders
238525e2d8
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
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ted Mielczarek
47d7af59de
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Joe Drew
4b53cc5e97
Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel
2013-03-21 23:09:37 -04:00
Joe Drew
5198406bc3
Backed out 3 changesets (bug 853628, bug 853169) for crashing mysteriously
...
Backed out changeset c0befbf2533d (bug 853169)
Backed out changeset 2e318d0a172b (bug 853169)
Backed out changeset 69f965c0fd46 (bug 853628)
--HG--
extra : rebase_source : cbf40a9b54d1ab221ab1823f9ea32bae7c965c3b
2013-03-22 00:27:58 -04:00
Joe Drew
e04b0efe6e
Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel
2013-03-21 23:09:37 -04:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Phil Ringnalda
02042aac36
Back out d77773a8abf9 and eca6b3ea3e8d (bug 853169) for Linux xpcshell crashes
...
CLOSED TREE
2013-03-20 21:33:03 -07:00
Joe Drew
848e8a7a71
Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel
2013-03-20 22:25:43 -04:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Steve Singer
816fe160de
Bug 851850 - Link in altivec on ppc64. r=jmuizelaar
2013-03-19 09:31:15 -04:00
Milan Sreckovic
a414c1238a
Bug 843830 - Consolidate the enums in one place, so that bad things don't happen if the qcms enums ever change. r=bgirard
2013-02-21 17:38:10 -05:00