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
Jed Davis
a73c98c3e5
Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
2016-01-11 12:46:50 -08:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Nathan Froyd
c5ae5ab0c2
Bug 1237009
- avoid extra AddRef/Release in Android NativeZip JNI code; r=darchons
...
We don't need to take an extra ref when we're just going to release the
one we already have. Just return our ref directly.
2016-01-04 20:18:41 -05:00
Mike Hommey
20a9c9e220
Bug 1235945 - Fix assertion error in some cases when running szip when debug flags are enabled for host tools. r=froydnj
2016-01-05 20:03:43 +09:00
Nathan Froyd
ab5d9124c6
Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz
2015-12-24 21:38:44 -05:00
Nathan Froyd
cdf653febd
Backout 6a9d0f869621 (bug 1232458) for adding inappropriate colors to our CLOSED TREE
2015-12-24 21:45:30 -05:00
Mike Hommey
760c2af23b
Bug 1113930 - Use the actual stack end address on x86 OSX and Android for the stack walker. r=froydnj
...
Also, in the unlikely case none of the supported methods is available, error
out at compile time, because it's not supposed to happen, apart if something
like what bug 989499 did happens again.
2015-12-25 06:47:05 +09:00
Mike Hommey
878186971a
Bug 1113930 - Move __libc_stack_end related code block from StackWalk.cpp in a non-OSX section. r=froydnj
...
Bug 989499 unfortunately moved it to a OSX-only section, which broke using
__libc_stack_end, which is Linux-specific (glibc, really).
2015-12-25 06:45:55 +09:00
Nathan Froyd
2fa2ef800d
Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz
2015-12-06 07:54:29 -05:00
Jim Chen
ac9893acc0
Bug 1233812 - Remove obsolete methods in GeckoAppShell; r=snorp
...
These methods were from the XUL Fennec days and are obsolete.
2015-12-23 22:03:35 -05:00
Jim Chen
61ae086c99
Bug 1227706 - Remove unused GLController calls and events; r=snorp
...
Remove GLController calls and events in GeckoAppShell and GeckoEvent
that were made obsolete by the new native calls.
2015-12-23 22:03:34 -05:00
Aaron Klotz
f3dd15b3d3
Bug 1233237: Backout a882a8c92a28 for causing winsock connectivity problems; r=backout
2015-12-23 14:35:42 -07:00
Xidorn Quan
be8158f64c
Bug 1233666 - Remove hacks for getting frame pointer for x86/x64 gcc. r=glandium
...
--HG--
extra : rebase_source : 9cc0a57f1e4ea1adcfff042d66989b211f350474
extra : source : 2043802666545a9b15c1139ec4b06bddc4432117
2015-12-22 20:24:33 +11:00
philipp
f796c430ab
Bug 1233237 - Add Nvidia Network Access Manager .dlls to Windows blocklist. r=aklotz
...
--HG--
extra : rebase_source : 9c6fdc666ce1d02cb21b7b2352586524947dd5d5
2015-12-19 09:10:00 +01:00
Carsten "Tomcat" Book
6e77ecb62f
Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android
2015-12-21 11:07:48 +01:00
Jed Davis
d93d9fdb20
Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
...
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00
Nathan Froyd
92878f1e77
Backout 62dab36901e2 and 9b4445c0f202 (bug 1232458) for Windows bustage; r=me
2015-12-18 11:15:10 -05:00
Nathan Froyd
08a3c62a6f
Bug 1232458 - fix Windows build bustage on a CLOSED TREE; r=me
2015-12-18 10:57:17 -05:00
Nathan Froyd
591c11db90
Bug 1232458 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in WindowsDllBlocklist.cpp; r=aklotz
2015-12-06 07:54:29 -05:00