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

138 Коммитов

Автор SHA1 Сообщение Дата
John Paul Adrian Glaubitz 0abbd6b84a Bug 972945 - Add autoconf test to enable AltiVec on supported targets only. r=glandium
Currently, the build scripts enable AltiVec unconditionally on all ppc*
targets. However, there some ppc* targets which do not support AltiVec
instruction set extensions, these are often embedded systems like the
PowerPC e500 or similar which have their own type of instruction set
extensions like SPE. Trying to enable Altivec support on these targets
results in a compiler error, hence we need to add an autoconf test for
AltiVec support before trying to enable it on ppc* targets.

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2016-08-16 05:17:00 -04:00
Miko Mynttinen 4dfdcc77ee Bug 1291490 - File gfx/qcms/transform_util.h is missing a header. r=bgirard
Include the missing math.h header.

MozReview-Commit-ID: BozHU59BGkF
2016-08-02 15:41:56 -07:00
Tom Tromey d7c7b221e3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Mike Hommey 5ac4360b87 Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Nicholas Nethercote 33f71f323c 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 0f91a24725 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 60d23a8174 Bug 1166252 - Reject lut8/16Type with empty CLUT grid. r=jrmuizel 2015-08-25 15:48:55 -04:00
Benoit Girard 203567db05 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel 2015-06-04 19:30:52 -04:00
Benoit Girard 0b90140c18 Bug 1176551 - Don't reject valid profiles with no CLUT offset. r=jrmuizel 2015-06-23 17:49:39 -07:00
David Major 1162cad12a Bug 1168480 - Fix potential leaks in qcms_transform_create. r=seth 2015-05-26 22:18:55 -04:00
Seth Fowler a94bb22935 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 7cb308e979 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 781bcf19e1 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 1d07dfb36b 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 e1d2e0d3ce 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 388892360d Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Benoit Girard fac58e41e4 Bug 1132468 - Reject invalid sizes. r=jrmuizel 2015-02-24 17:02:10 -05:00
Benoit Girard 695e3a6775 Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel 2015-02-24 19:03:25 -05:00
Shashank Sabniveesu 0d6c3ac972 Bug 692922 - Fix use of posix_memalign() avoiding typecasts. r=BenWa 2014-05-08 20:43:37 -04:00
Jeff Muizelaar 032d5ce185 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 02a1d1c1b9 Bug 976143 - Fix build warnings in iccread.c; r=jrmuizel 2014-03-27 21:05:15 +01:00
Ehsan Akhgari 3413b09a7c Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Ehsan Akhgari e824e78275 Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal 2014-03-05 17:00:17 -05:00
Ehsan Akhgari b0b530fd4e 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 9c21d98a34 Bug 957002. Stop including prtypes.h for endian macros. r=jrmuizel
We don't need these anymore.
2014-02-10 18:45:43 -05:00
guozhu cheng 8d8cd8251a Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Ryan VanderMeulen 82bab307ea Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng 7ea4d8a053 Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Mike Hommey 43191f8fff 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 44447a2495 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 3218aee337 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey b3a7959a58 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 5a21d3d13b Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey bb216b6861 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger 66bf2fff22 Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger 1f15a677a8 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 1424aea5f1 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ehsan Akhgari e0dca9fce8 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Trevor Saunders e2a8be8006 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 49b6782563 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal 2013-06-17 15:21:01 -04:00
Ted Mielczarek 087fc7bd9e 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 99112c030b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis 5f98f411ae Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 2e00a6e2ac 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 4fd276d6e7 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Joe Drew 92541c7c79 Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel 2013-03-21 23:09:37 -04:00
Joe Drew 78eec09782 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)
2013-03-22 00:27:58 -04:00
Joe Drew 393577200c Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel 2013-03-21 23:09:37 -04:00
Mike Shal 0eebdda87d Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Phil Ringnalda 2d2003fdf5 Back out d77773a8abf9 and eca6b3ea3e8d (bug 853169) for Linux xpcshell crashes
CLOSED TREE
2013-03-20 21:33:03 -07:00