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

678 Коммитов

Автор SHA1 Сообщение Дата
Randall Barker 983cc6b2d1 Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen 2016-08-16 14:33:43 -07:00
Emanuel Hoogeveen 57b1d1e8f2 Bug 1271165 - Part 2: Hook the new functions up and provide dummy implementations where needed. r=ehoogeveen 2016-08-12 07:37:00 -04:00
Jim Chen 7b6a176b60 Bug 1292323 - Update auto-generated bindings; r=me 2016-08-12 23:15:52 -04:00
Jim Chen 75ce4d9aaa Bug 1292323 - Move Java UI thread registration to mozglue; r=snorp
We need to register the Java UI thread in native code very early in the
startup process, before libxul registers its JNI entry points. So it
makes sense to register the Java UI thread in mozglue.
2016-08-12 23:15:52 -04:00
Jim Mathies 118ac04293 Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg
MozReview-Commit-ID: H7206wTh8YM
2016-07-27 15:20:58 -05:00
Sylvestre Ledru f3c3f575ef Bug 1291738 - Block the version of websense crashing 48 & 49 r=bsmedberg
MozReview-Commit-ID: F1cbCFYYVcU

--HG--
extra : rebase_source : 8b7cdf19fd938f24968c34e6b3b25a99f881f576
2016-08-05 18:19:44 +02:00
Carsten "Tomcat" Book 1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Jim Chen 2dbcd17eca Bug 1288821 - Update auto-generated bindings; r=me 2016-08-04 09:17:54 -04:00
Alexandre Lissy 0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Kartikaya Gupta 6962e151a2 Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Iris Hsiao 08f30bd9aa Backed out changeset 238564059ef3 (bug 1273356) for Android 4.3 debug failed to load manufest file 2016-08-03 11:55:35 +08:00
Kartikaya Gupta ae07f3795d Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 9lwASRAobar

--HG--
extra : rebase_source : b10f236a2f9c7b366876b955b8ffeee95a2d9f74
2016-08-02 15:42:41 -04:00
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
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
Kartikaya Gupta d8274721d5 Bug 1230522 - Make some unimplemented functions not be native. r=rbarker
--HG--
extra : commitid : 2Gky2VCfkfA
2015-12-10 17:23:07 -05:00
Reuben Morais b51e2336d8 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
philipp cb0bc43305 Bug 1222819 - Add Orbit Downloader .dlls to Windows blocklist. r=aklotz
--HG--
extra : rebase_source : af54cd732bc19f4b5b2a4a0a7b9fb05c9984c584
2015-12-01 12:40:25 -07:00
Aaron Klotz 13179602dc Bug 1222933: Backout previous DLL blocklist change as it had no effect on crash; r=backout 2015-12-01 11:53:14 -07:00
Sebastian Kaspari 8f25247ae4 Bug 1197720 - NativeCrypto (SHA-256): Let caller define number of bytes in 'str' to update from. r=snorp
In Java we will call this method with byte array buffers we use to read from a stream. Java does not
guarantee to completely fill the buffer (and can't at the end of a stream). Passing the number of bytes
to read from the array to NativeCrypto avoids copying bytes between arrays of various lengths.

--HG--
extra : commitid : 7Vp3hqUE08T
extra : amend_source : 89845bccc20cfe36b421a568e52bdaa1be2f2800
2015-11-30 15:59:56 +01:00
Aaron Klotz 6c9c36485e Bug 1222933 - Add am32-34121.dll to blocklist; r=bsmedberg 2015-11-10 15:25:06 -07:00
Dylan Roeh 035e729b8f Bug 1221040 - Add SHA-256 support to NativeCrypto and relevant tests to robocop. r=snorp 2015-11-18 13:10:51 -06:00
Jacek Caban 6581e3b41d Bug 989499 - mingw 64-bit fixup: use proper type in pointer cast to avoid losing precision.
--HG--
extra : rebase_source : e6bfa6094d96634299fa0a2580f944f758e85ca7
2015-11-16 15:56:46 +01:00
Benoit Girard 58a6a87af1 Bug 989499 - Part 2: Use FramePointerStackwalk on windows. r=rjmuizel
--HG--
extra : commitid : ILgHveuWaET
2014-03-28 16:31:15 -04:00
Randall Barker 02228538d3 Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
--HG--
extra : commitid : al8R68DZJ5
2015-11-10 12:47:48 -05:00
Nathan Froyd 577e9f5887 Bug 1222088 - remove unused variable from TimeStamp_windows.cpp; r=glandium
clang-cl warns about this via -Wunused-const-variable, so we might as
well get rid of it.
2015-11-05 12:47:36 -05:00
Mike Hommey 762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Nathan Froyd 1e312fab5b Bug 1220189 - use UniquePtr<T[]> instead of delete[] calls in mozglue/android/; r=darchons
We can do better than use raw new[]/delete[] calls all over this file:
we can factor out the code for APK library loading into a separate
function, and use UniquePtr there.  This refactoring will also
centralize the code for determining the path to a library within the
APK.
2015-10-30 11:16:24 -04:00
James Willcox d77269ffa2 No bug, add missing include to StackWalk.cpp, DONTBUILD 2015-10-28 14:10:29 -05:00
Andrew McCreight 41ea309bd5 Bug 1216354 - Disable LSan leak checking by default in mozglue. r=glandium 2015-10-22 09:33:43 -07:00
Jim Chen aacb32b312 Bug 1207642 - Work around Dalvik bug by realigning stack on JNI entry. r=snorp
Use the force_align_arg_pointer attribute to force realigning stack at JNI entry points.
2015-10-21 08:27:00 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00