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

138 Коммитов

Автор SHA1 Сообщение Дата
John Paul Adrian Glaubitz c6b39f0f90 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>

--HG--
extra : rebase_source : 6c4df813d97d95046fd2269c876313ce7591c5cf
2016-08-16 05:17:00 -04:00
Miko Mynttinen 9ea7cd8eb6 Bug 1291490 - File gfx/qcms/transform_util.h is missing a header. r=bgirard
Include the missing math.h header.

MozReview-Commit-ID: BozHU59BGkF

--HG--
extra : transplant_source : %02%95%3F-k%FF%BA_%C7%1CU%CBU%29c%D7%82%9F%04J
2016-08-02 15:41:56 -07:00
Tom Tromey 5538d692d3 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

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Mike Hommey d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Nicholas Nethercote af6751ef10 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).

--HG--
extra : rebase_source : 61015b7e48aebd58035fc222abf076e79a99a972
2015-09-17 17:11:27 -07:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Benoit Girard 58bb8fc72f Bug 1166252 - Reject lut8/16Type with empty CLUT grid. r=jrmuizel
--HG--
extra : commitid : KiU2IKstYSk
2015-08-25 15:48:55 -04:00
Benoit Girard 509337a1a0 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
--HG--
extra : commitid : KdtckZDOAZH
2015-06-04 19:30:52 -04:00
Benoit Girard 9b363da3c3 Bug 1176551 - Don't reject valid profiles with no CLUT offset. r=jrmuizel
--HG--
extra : commitid : FPpGSvD0Xkd
2015-06-23 17:49:39 -07:00
David Major 0af0779f16 Bug 1168480 - Fix potential leaks in qcms_transform_create. r=seth
--HG--
extra : rebase_source : bd4adeca9376895e0b768212934325382c7c4a0f
2015-05-26 22:18:55 -04:00
Seth Fowler ce0ede7268 Bug 1163740 - Paper over qcms crashes due to NaN values in qcms_transform::matrix. r=dmajor
--HG--
extra : rebase_source : 66b5c8fbf58a6a5d8bdf60cbb96dde522a83fdeb
2015-05-26 17:34:21 -07:00
David Major 83bfbdcc05 Backed out changeset 4914871dbd96 (bug 1163740) now that the diagnostic patch has served its purpose
--HG--
extra : rebase_source : 987712aa0aa3a053536566b5c1edb729b3dba2d4
2015-05-26 13:07:26 -04:00
David Major a349139bc8 Backed out changeset a620a422367f (bug 1163740) now that the diagnostic patch has served its purpose
--HG--
extra : rebase_source : fbe19f3be76955eff5caecf71deec074f2fa3395
2015-05-26 13:06:34 -04:00
David Major 9b41572407 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 e28459d978 Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth
--HG--
extra : rebase_source : ff951d08b38e4b1fa87321ae3f728432fdc21482
2015-05-20 20:48:57 -04:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Benoit Girard 27b42e9142 Bug 1132468 - Reject invalid sizes. r=jrmuizel 2015-02-24 17:02:10 -05:00
Benoit Girard 1ecfd0d5e2 Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel
--HG--
extra : rebase_source : a3154a1cb1a517f5a2039382589725c5f99e8c83
2015-02-24 19:03:25 -05:00
Shashank Sabniveesu a31993883d Bug 692922 - Fix use of posix_memalign() avoiding typecasts. r=BenWa 2014-05-08 20:43:37 -04:00
Jeff Muizelaar 8fcbd56508 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 660395892d Bug 976143 - Fix build warnings in iccread.c; r=jrmuizel 2014-03-27 21:05:15 +01:00
Ehsan Akhgari 020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Ehsan Akhgari 87efce53b9 Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal 2014-03-05 17:00:17 -05:00
Ehsan Akhgari 2cb5c4da7a 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 d7532ffc68 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 cf3277421c Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Ryan VanderMeulen 5ced299fa2 Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng 46a51e4e02 Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Mike Hommey 2812d11fce 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 61b0bdbe18 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 e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 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 b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger 04a948975a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Trevor Saunders f33ade0d68 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 11bcc1cd9e 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 3cfd62c3d2 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 df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 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 334c0800cf 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 934be40a54 Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel 2013-03-21 23:09:37 -04:00
Joe Drew f618004273 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 90942b6b22 Bug 853169 - Make qcms precache reference counts threadsafe/atomic. r=jrmuizel 2013-03-21 23:09:37 -04:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Phil Ringnalda c89ff31b6f Back out d77773a8abf9 and eca6b3ea3e8d (bug 853169) for Linux xpcshell crashes
CLOSED TREE
2013-03-20 21:33:03 -07:00