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

615 Коммитов

Автор SHA1 Сообщение Дата
stefanh@inbox.com d1b0bda574 Bug 1287937 - Remove obsolete mac-specific code from modules/libmar/verify/MacVerifyCrypto.cpp and mozglue/misc/StackWalk.cpp. r=spohl. 2016-07-23 00:29:04 +02: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
Aaron Klotz cca20d7ddd Bug 1285356: Fix blocklist initialization regressions; r=bsmedberg
MozReview-Commit-ID: AlWyzVhtPLL

--HG--
extra : rebase_source : 865aff712f83a567c16b81f4512e072a04f7c6df
2016-07-07 17:00:23 -06:00
Makoto Kato c5a642ffaa Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
MozReview-Commit-ID: 2dFvgwxavgx

--HG--
extra : rebase_source : e1424a90e6bcc3c53985d9582ac89facc8818bc8
extra : histedit_source : f7040478e0bb6952d09cc46376441e71abe021de
2016-07-15 11:02:04 +09:00
Nathan Froyd 1d13f4878d Bug 1285665 - avoid #define'ing constants that expand to use defined(); r=dholbert
Newer versions of clang warn about this construct, as the behavior is
not consistent between compilers.  These warnings break
warnings-as-error builds, and seem like reasonable warnings to fix, so
let's do that.

X86_OR_PPC was only used in one place, so inlining it and getting rid of
the definition seemed reasonable.
2016-07-20 00:50:02 -04:00
Jim Chen 1ea9e5b8da Bug 1285570 - Update auto-generated bindings; r=me 2016-07-11 18:07:35 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jim Chen ae02c9f568 Bug 1283882 - Update auto-generated bindings; r=me 2016-07-08 11:39:10 -04:00
Jim Chen 11c94a2c71 Bug 1283844 - Update auto-generated bindings; r=me 2016-07-08 11:39:09 -04:00
Chris Peterson 2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Chris Peterson c434bad38c Bug 1279769 - Remove VS2013 workaround for crash on non-AVX2 processors. r=froydnj 2016-06-26 16:07:44 -07:00
Gregory Szorc 5030a743a1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 8f5061080a3d56dd484f9be03649fb65f0145f67
2016-07-06 09:01:38 -07:00
Wes Kocher a425a052c1 Backed out changeset d7f98208809f (bug 1186064) for breaking SM(pkg) jobs a=backout 2016-07-06 10:11:04 -07:00
Gregory Szorc 6e4d0edfbc Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 22ab4f47661ead4995d0c5261104abfb02b82aa2
2016-07-06 09:01:38 -07:00
Carsten "Tomcat" Book 169daf64c7 Backed out changeset 96b590321c21 (bug 1186064) for bustage 2016-07-01 08:41:24 +02:00
Gregory Szorc ecce5714c1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 94527a0be3f107991998185903f1c6cf6e190f9f
2016-05-31 09:19:00 -07:00
Nathan Froyd 313f1bfddf Bug 1278863 - fix delete/delete[] mismatch in NativeCrypto; r=snorp
This mismatch doesn't affect us with everything going through jemalloc,
but clang does warn about it, so let's get rid of the warning.
2016-06-09 18:44:34 -04:00
philipp 1b662a50f7 Bug 1277846 - Add various .dlls related to PremierOpinion/RelevantKnowledge to the Windows blocklist. r=aklotz
--HG--
extra : rebase_source : 316c0681562a0c41b00cffccd2e3e8cc1923bd88
2016-06-03 08:14:00 +02:00
Jeff Muizelaar f2757bc5b8 Bug 1275283. Use MFBT_API for importing/exporting in DLL blocklist. r=glandium 2016-05-24 17:57:57 -04:00
Jeff Muizelaar 1c19302c86 Bug 1274253. Properly test the cpuid bits.
I fixed the other platforms to do this but failed to do so
on GCC/clang
2016-05-19 15:01:45 -04:00
Bob Owen c43bf02cda Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
MozReview-Commit-ID: 5AiktOArpfU

--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Jeff Muizelaar b14d764565 Bug 1270591. Add support for checking for AVX & AVX2. r=glandium
Detecting AVX2 requires the use of a sub-leaf.

To make things easier we remove our use of the cpuid.h
implementation on GCC and just use our existing inline asm
implementation.
2016-05-16 13:28:08 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Makoto Kato 5d418de2b6 Bug 1257441 - Remove arm detection for WinCE using MSVS. r=glandium
arm.h still have CPU feature detection for Microsoft Compiler that is used by WinCE.   Since we don't have the target for WinCE, we should remove it.

Also, even if you need it for Win32/arm that is Windows Mobile and Windows IOT in feature, this is unnecessary.  Win32/arm ABI requires thumb2+NEON at least.


MozReview-Commit-ID: 6dYjIRY0Suo

--HG--
extra : rebase_source : 34db8ed7d3d60bafdfc735b036e891554a0e56c5
2016-05-09 10:40:06 +09:00
Milan Sreckovic b2c801fe1b Bug 1269244 - Block nhasusstrixosd.dll and nhasusstrixdevprops.dll. r=jrmuizel
--HG--
extra : rebase_source : c3a9e9f7732ac0dd733ce292c37b4de173231613
2016-05-02 09:36:00 -04:00
Jeff Muizelaar 0905089f9b Bug 1262348. Block ss2osd.dll r=bsmedberg
ss2osd.dll is causing crashes during D3D11 initialization.
2016-04-13 10:08:40 -04:00
Heiher 110e0801b8 Bug 1260351 - MozGlue: Build: Add mips support. r=glandium
---
 mozglue/build/mips.cpp  | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 mozglue/build/mips.h    | 29 +++++++++++++++++++++++++++++
 mozglue/build/moz.build |  6 ++++++
 3 files changed, 82 insertions(+)
 create mode 100644 mozglue/build/mips.cpp
 create mode 100644 mozglue/build/mips.h
2016-04-13 21:40:28 +08:00
Jacek Caban 2902ab6ff3 Bug 1263657 - Fixed WindowsDllBlocklist.cpp if MOZ_MEMORY is not defined. r=glandium 2016-04-12 12:37:37 +02:00
Benjamin Smedberg e575b4b8f0 Bug 1229252 followup - normalize to lowercase, r=aklotz
MozReview-Commit-ID: 90Sz1b8V6L6

--HG--
extra : rebase_source : 9da0e042b15767c62ad2acd388e168b3cdf18401
2016-04-01 10:42:50 -04:00
Aaron Klotz ad7ac0ae21 Bug 1249849: Ensure that we can always reach malloc_decl.h even when MOZ_REPLACE_ALLOC is not defined; r=glandium
MozReview-Commit-ID: 5ok6K0cLJrt
2016-03-29 13:59:14 -06:00
Dylan Roeh 43c2e83904 Bug 1239789 - Add secondary buffers to zxx_stream::StaticAllocator to handle reentrancy. r=glandium 2016-03-24 17:25:57 -05:00
Aaron Klotz e02ec1d888 Bug 1229252: Add eOppMonitor.dll (all versions) to the dll blocklist; r=bsmedberg
MozReview-Commit-ID: 4bengYjxepN

--HG--
extra : rebase_source : bca9462005b72f8e8fc1891ff5ef23d0fa82fc2f
2016-03-22 14:08:33 -06:00
Aaron Klotz 2dda5ebe20 Bug 1249849: Make sure the correct implementations of malloc and free are used in DLL blocklist; r=glandium
MozReview-Commit-ID: 7piMI6MwOZh

--HG--
extra : rebase_source : 35318273fc00d8aa539133823c276ff7bef42172
2016-03-07 14:12:31 -08:00
Jim Chen be66658bcc Bug 1257319 - Update auto-generated bindings; r=me
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book 2f948d1235 Backed out changeset bba3d09859d6 (bug 1257319) 2016-03-23 10:55:12 +01:00
Jim Chen e4028af97d Bug 1257319 - Update auto-generated bindings; r=me
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-22 22:24:31 -04:00
Ted Mielczarek 266aebcf54 bug 1256614 - replace mozglue/linker/tests/Makefile.in with a PYTHON_UNIT_TEST. r=glandium
MozReview-Commit-ID: 4qCDAKEY8b5

--HG--
extra : rebase_source : 41adb49e0e5f50b26252c8bd2b64d059c3e60b17
extra : amend_source : 20191092ac7db667fbf2010bbd9adfb0744c2e04
2016-03-15 09:02:36 -04:00
Gregory Szorc d4bcf273d0 Bug 1256464 - Use LPSTR instead of LPVOID to avoid C4477 on VS2015; r=froydnj
Without this change, Visual Studio 2015 complains:

mozglue/misc/StackWalk.cpp(261): warning C4477: 'fprintf' : format
string '%s' requires an argument of type 'char *', but variadic argument
2 has type 'LPVOID'

MozReview-Commit-ID: HIAs5L57Nd1

--HG--
extra : rebase_source : 1ac50c03c4d6b14e22f3d55aca026fce15565f5c
2016-03-14 17:18:42 -07:00
Ted Mielczarek 68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Nathan Froyd 15516055f2 Bug 1251881 - use UniquePtr instead of ScopedDeletePtr in mozglue/linker/; r=glandium
There are two instances:

- MappableSeekableZStream::Create uses ScopedDeletePtr, which is
  actually a little odd, since MappableSeekableZStream, as a Mappable,
  is refcounted, and it's unusual to use two different kinds of smart
  pointers for a single class.  I think the more natural thing would be
  for MappableSeekableZStream::Create to return an already_AddRefed, but
  that change spirals out of the realm of "simple refactoring" quickly.

- SzipCompress::run uses ScopedDeletePtr along with some dubious use of
  raw pointers.  I changed things out for UniquePtr and also tidied the
  memory management a bit, which I think makes things a little clearer.
2016-02-26 13:50:59 -05:00
Ms2ger 975233737a Bug 1252112 - Remove obsolete rules to copy prcpucfg.h around; r=ted 2016-03-01 09:17:29 +01:00
Gian-Carlo Pascutto 6f34c40f5c Bug 1247741 - Additional checks for pointer validity in LdrLoadDLL detour. r=aklotz 2016-02-18 00:56:00 +01:00
Cervantes Yu 27e4eadbce Bug 1248896 - don't conditional compile on config ENABLE_TESTS in Nuwa. r=khuey 2016-02-18 15:33:59 +08:00
Chris Manchester 7c92933074 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

MozReview-Commit-ID: 8zkfLWjKVs2
2015-10-29 13:25:03 -07:00
Phil Ringnalda d7b348b2df Back out ff446e81eaf5 (bug 1216681) for Linux PGO bustage
CLOSED TREE
2016-02-11 20:27:36 -08:00
Chris Manchester 89842ddcd7 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.

--HG--
extra : commitid : GwkhBdm81g3
2015-10-29 13:25:03 -07:00
Jim Chen 10166a711a Bug 1238761 - Switch NativePanZoomController to use native methods; r=rbarker
This patch turns NativePanZoomController's MotionEvent handler into a
native method, and it adds the WrapForJNI annotations to all native
methods so that bindings will be automatically generated for them.
2016-01-15 13:05:44 -05:00
Jed Davis f45414c2f0 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Jed Davis 64f3bc56b6 Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00