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

482151 Коммитов

Автор SHA1 Сообщение Дата
Thomas Zimmermann aa5eaa4bc0 Bug 1280600: Use Gecko's 'libgabi++' on b2g, r=glandium
B2g came with its own version of 'libgabi++' in its toolchain. Gecko
on b2g isn't build any longer with this toolchain. With this patch
applied, Gecko's internal version of 'libgabi++' is used for building.

MozReview-Commit-ID: KU4OBYQ6cAW
2016-07-11 15:16:56 +02:00
Thomas Zimmermann a610242b37 Bug 1280600: Merge Android and b2g branches in build scripts where possible, r=glandium
B2g now has 'OS_TARGET' set to 'Android'. This patch merges Android
and Gonk branches in the build scripts where possible.

MozReview-Commit-ID: 9hKA0Gc62Xc
2016-07-11 15:16:56 +02:00
Thomas Zimmermann 7065b7cb62 Bug 1280600: Cleanup Android linker flags and libraries, r=glandium
Android and b2g have duplicated linker flags and libraries. This patch
removes the duplicates from b2g scripts. The library 'log' is now listed
in the correct variable 'LIBS'.

MozReview-Commit-ID: EtVzZpoXkdK
2016-07-11 15:16:56 +02:00
Thomas Zimmermann 5f90520d21 Bug 1280600: Cleanup Android-version variables in configure scripts, r=glandium
Not all Android releases come with their own platform release. This patch adds
a switch statement to MOZ_ANDROID_NDK to use the previous platform release in
this case.

For several tests, the autoconf script 'old-configure.in' uses an internal
variable 'ANDROID_VERSION'. The stored value comes from the environment
variable 'PLATFORM_SDK_VERSION'. This patch replaces 'ANDROID_VERSION' by
'android_version', which is defined by MOZ_ANDROID_NDK from a command-line
parameter.

MozReview-Commit-ID: EbDgZX2aJgJ
2016-07-11 15:16:56 +02:00
Thomas Zimmermann 4ebf94d153 Bug 1280600: Replace 'GONK_INCLUDES' with 'CPPFLAGS', r=glandium
Configure's 'GONK_INCLUDES' is just 'CPPFLAGS' with a different name. Use
'CPPFLAGS' instead.

MozReview-Commit-ID: 8qi99rhHQbo
2016-07-11 15:16:56 +02:00
Thomas Zimmermann fdc8c51edd Bug 1280600: Remove mDNS include search paths from configure script, r=glandium
Necko's build scripts already handle include search paths for mDNS
libraries on b2g. This patch removes similar code from the configure
script.

MozReview-Commit-ID: DXMeZmi4weK
2016-07-11 15:16:56 +02:00
Thomas Zimmermann a8ff73abe9 Bug 1280600: Cleanup Bluetooth config and build scripts, r=glandium
Bluetooth availability depends on available driver; not the base system's
version. This patch separates both. Following other modules, it also moves
search-path setup for BT header files into the affected moz.build scripts.

MozReview-Commit-ID: 2hzjcJVTaLY
2016-07-11 15:16:56 +02:00
Nathan Hakkakzadeh 5aa1fe6bf4 Bug 1177128 - Added bootstrapper for MozillaBuild that installs rustup. r=gps
MozReview-Commit-ID: D4DuE0Z35Cd

--HG--
extra : rebase_source : 8bb18d459a5f60ed7083e5b591558e241a89175c
2016-07-07 16:26:48 -07:00
Chris Pearce 48d570573b Bug 1282577 - Guard against multiple intr messages causes us to multi-delete GMP actors. r=jesup.
This is a regression from bug 1162358.

We must be hitting the #ifndef SHMEM_ALLOC_IN_CHILD block in
GMPVideoDecoderChild::Alloc() with multiple allocs doing intr calls at once.
If this happens when a DecodingComplete() comes in, we'll end up sending one
task to re-call RecvDecodingComplete for every Alloc() blocked on an intr
response.  This would result in us ending up trying to Send__delete__() in
RecvDecodingComplete() twice.  Which causes the runtime abort we're seeing
here.

I think that could happen in the WidevineVideoDecoder if a Decode message comes
in, and goes into a ReturnOutput(), tries to alloc a frame and has to spin on
an intr message response, and another Decode message comes in and does the
same, so GMPVideoDecoderChild::mNeedShmemIntrCount will be 2, and then a
DecodingComplete comes in, and when two tasks on the stack in
GMPVideoDecoderChild::Alloc() finish they both end up dispatching a task to
re-call GMPVideoDecoderChild::RecvDecodingComplete(). So we end up trying to
Send__delete__() in RecvDecodingComplete() twice.

I expect the same problem exists in the GMPVideoEncoder too.

intr, or spinning event loops in general for that matter, is evil.


MozReview-Commit-ID: AKsvP62G3Cx

--HG--
extra : rebase_source : 53ca12dbbbf3ab071788e2322b7c926ec7c0325f
2016-07-11 21:52:31 +12:00
David Keeler 48c3eabeea bug 1286067 - add missing parameter for second test case added in bug 1284840 r=emk
MozReview-Commit-ID: 3aQBZeGLjxn

--HG--
extra : rebase_source : bff6a016e806aaec3b79e3aa2ff29fa33ba6663c
2016-07-11 14:35:55 -07:00
Jared Wein 1f1db1d20c Bug 1283415 - Only set the poster src on the anonymous content if the attribute is not empty. r=cpearce
MozReview-Commit-ID: 9217JCdS1yP

--HG--
extra : rebase_source : a78599a3e3f1c81bed329672d8c16485b4fe5f3d
2016-07-07 13:20:54 -04:00
Jared Wein c72dd2013f Bug 1278844 - Disable the Download Folder and Choose Folder elements if the browser.download.useDownloadDir pref is locked. r=MattN
MozReview-Commit-ID: 7biIaukj7Fp

--HG--
extra : rebase_source : 2cd19e9c060b5b7f6fc36e3afa9763383491e877
2016-07-07 14:31:05 -04:00
Phil Ringnalda bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Phil Ringnalda 816f3fa167 Merge m-i to m-c, a=merge 2016-07-09 08:51:52 -07:00
Tim Nguyen f332c75bae Bug 1283998 - Fix Fonts panel 'Show all' position on RTL locales. r=bgrins
MozReview-Commit-ID: 3VupMtAhcbD
2016-07-09 10:29:31 +02:00
Boris Zbarsky d7dcc1d4c7 Bug 1275315 followup. Actually include all the headers we need, to fix non-unified builds. r=bustage 2016-07-09 01:52:42 -04:00
Masatoshi Kimura 25ce2ba428 Bug 1284840 - Don't forget TLS intolerance when a DHE-based cipher is used. r=keeler
MozReview-Commit-ID: 70pa7lCLAxQ

--HG--
extra : rebase_source : f7ac3984139ebab86997041550e255c80a90fda2
2016-07-09 13:44:10 +09:00
Boris Zbarsky efc4dcf284 Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
Boris Zbarsky 4eb8d252a4 Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo 2016-07-09 00:19:50 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky 5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Wes Kocher 5f976429e1 Backed out changeset f7f37f4fd841 (bug 1029631) for gtest failures 2016-07-08 19:20:51 -07:00
Sotaro Ikeda 9a92018d0c Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Kartikaya Gupta 8a5ecf1d31 Bug 1029631 - Enable touch-action support on Nightly for all platforms. r=smaug
MozReview-Commit-ID: 80KzjezAhMy
2016-07-08 20:23:24 -04:00
Luke Wagner c999164b02 Bug 1284155 - add #include to silence 32-bit unified compiler warning (r=me)
MozReview-Commit-ID: 9UQM63cfVSU

--HG--
extra : rebase_source : fbea588f641a204e08e054a8975f838709cad235
2016-07-08 18:49:46 -05:00
Daniel Holbert 05575e6215 Bug 1285660: Annotate DocshellEntryMonitor as 'final', to fix clang warning about it having virtual functions & explictly-invoked non-virtual destructor. r=bholley
(Its destructor is explicitly invoked by Maybe::reset(). This is fine, as long as there are no subclasses that need custom destruction behavior -- and 'final' proves that there are no subclasses.)

MozReview-Commit-ID: LKiw3CT6wN7
2016-07-08 16:20:18 -07:00
Geoff Brown 6c9e1864c5 Bug 1285675 - Grant READ_EXTERNAL_STORAGE to fennec during tests; r=me 2016-07-08 17:02:51 -06:00
Nick Fitzgerald f05a7e46e3 Bug 1285074 - Add `perror` calls when pthread locking fails; r=terrence 2016-07-08 15:48:48 -07:00
Ruturaj 6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
JW Wang fed5a4ba6d Bug 1283718. Part 6 - always check NeedMoreVideo() before requesting new video. r=kaku
We still have a chance to finish seeking even when video promises are rejected
provided we already have video samples in the queue.

MozReview-Commit-ID: 5cIbryiLMYt

--HG--
extra : rebase_source : bebed5ab2639686f75eb8aa122fe4e3aac3a98ca
2016-07-07 12:03:48 +08:00
JW Wang 5f103ef1ca Bug 1283718. Part 5 - move the call to EnsureVideoDecodeTaskQueued() out of MaybeFinishSeek() so we only request video in video callbacks. r=kaku
MozReview-Commit-ID: 3Hdwx26I9Mi

--HG--
extra : rebase_source : 9e9aa7e5acd2517904bb282746bba48cc43ce94c
2016-07-07 11:45:57 +08:00
JW Wang 44e9fa5a27 Bug 1283718. Part 4 - rename some function. r=kaku
MozReview-Commit-ID: CGOiy8SBjMR

--HG--
extra : rebase_source : 404b594b91473fecf2d445e402685ce080ae55aa
2016-07-07 11:39:56 +08:00
JW Wang f0ef2f4515 Bug 1283718. Part 3 - replace some code with new helpers. r=kaku
MozReview-Commit-ID: 3fHSEoxdh9u

--HG--
extra : rebase_source : 0532da9c0b61f4c36acb52f397683e4560dc9a6a
2016-07-07 11:32:27 +08:00
JW Wang d87290b303 Bug 1283718. Part 2 - fix the logic of IsVideoSeekComplete(). r=kaku
MozReview-Commit-ID: L1u5P5hWMAA

--HG--
extra : rebase_source : 670e70671e5e2449371b270303d933b6c044d091
2016-07-07 11:23:11 +08:00
Kevin Wern 0e41fdd181 Bug 1283236 - don't use ForEachNode() in ApplyDoubleBuffering() r=botond
We found that the use of TreeTraversal.h library here (where the root
node is treated as a special case) does not help readability, so revert
to the previous plain implementation

MozReview-Commit-ID: Dp7isl4lNvL

--HG--
extra : rebase_source : c8f77c59e5b81b32a8b4c0fc79e98e027fd432cf
2016-07-06 23:14:02 -04:00
Mike Hommey 16529670ac Bug 1284677 - Change how the default OSX malloc zone is found. r=njn
--HG--
extra : rebase_source : b5ea2bfb37047fa9f8d4d833186694407c73adda
2016-07-08 14:48:16 +09:00
Wes Kocher 7fd3e82d8c Merge m-c to autoland, a=merge 2016-07-11 14:07:25 -07:00
eyim d9b9994119 Bug 1285629 - Incorrect feature check for ogl on windows r=BenWa
MozReview-Commit-ID: ABphm17YWnH

--HG--
extra : rebase_source : d82ff2813be434f9a5ed4e8f5b17aeba228548d8
2016-07-08 15:18:47 -04:00
Dustin J. Mitchell ddb2747bf1 Bug 1278445: do not try to upload symbols from beta; r=mshal
MozReview-Commit-ID: 9YZvV2cIA1s

--HG--
extra : rebase_source : 477332ec9e1cf36ba1dfefa052287e5cac79f6c7
2016-07-11 17:31:26 +00:00
Kartikaya Gupta 8c95549f67 Bug 1284940 - Increase the max number of tiles in a TiledRegion. r=mstange
MozReview-Commit-ID: 4ndRuvllDAr

--HG--
extra : rebase_source : 128da79a0a7afa87c2f80e3479564bc0fa09e3ce
2016-07-11 13:06:53 -04:00
Kris Maglione 005248648e Bug 1284942: Don't fire message listeners for windows hidden in bfcache. r=aswan
MozReview-Commit-ID: KSqLt7Qqdkf

--HG--
extra : rebase_source : 0b1322a7a4b6db5992bbe1cfc73975e2ed64035e
2016-07-06 17:14:02 -07:00
Wes Kocher 4685d2db23 Merge m-c to fx-team, a=merge 2016-07-11 14:09:02 -07:00
Grigory Kruglov 172be55891 Bug 1245791 - Part 2: Use LocalBroadcastManager for account change broadcasts r=nalexander
MozReview-Commit-ID: 493TXqS29Xt

--HG--
extra : rebase_source : 57499bb32019f5e4268fd02785cc3641785215f6
2016-07-07 18:15:08 -07:00
Grigory Kruglov a3e84b7d79 Bug 1245791 - Part 1: Start FxAccountDeletedService directly, not through an intent r=nalexander
MozReview-Commit-ID: Ll1YkUhrQTJ

--HG--
extra : rebase_source : f7be09abe5f3950043549cf44ac8d0c092fda9d3
2016-07-07 11:32:52 -07:00
Grigory Kruglov 1e81008e49 Bug 1245791 - Pre: Remove unnecessary AccountLoaderNative r=nalexander
MozReview-Commit-ID: J1kzldfRTjx

--HG--
extra : rebase_source : 7137cc6b2edd1dc642dd31f0ce67ba3d4d94c653
2016-07-07 18:15:23 -07:00
Grigory Kruglov 150370f940 Bug 1245795 - Split Stumbler BroadcastReceivers into Local, System and Safe r=nalexander
SafeReceiver is responsible for registering LocalReceiver with a LocalBroadcastManager.
SystemReceiver is responsible for handling BOOT_COMPLETE and EXTERNAL_APPLICATIONS_AVAILABLE intents.
LocalReceiver is responsible for handling passed in Stumbler preferences (enabled state, API key, user agent).

StumblerPreferences are now sent using LocalBroadcastManager, avoiding any possibility of leaking API key.

MozReview-Commit-ID: J8pRN6pbLOg

--HG--
rename : mobile/android/stumbler/java/org/mozilla/mozstumbler/service/mainthread/PassiveServiceReceiver.java => mobile/android/stumbler/java/org/mozilla/mozstumbler/service/mainthread/LocalPreferenceReceiver.java
extra : rebase_source : 0f11bb5aa38c27849f1a4f35ed51bdf259c418c8
2016-07-07 19:40:11 -07:00
Benjamin Bouvier 6b289d22cc Bug 1285522: Don't DCE opcodes which can throw exceptions at runtime; r=sunfish
MozReview-Commit-ID: 6TppTpNJ1Kx

--HG--
extra : rebase_source : 016b7055f664ff69a274454218818cc796c8b4be
2016-07-06 18:26:21 +02:00
Benjamin Bouvier 2d3673925f Bug 1283177: Tests; r=sunfish
MozReview-Commit-ID: FsYtHRpiYVD

--HG--
extra : rebase_source : 9a330aa0a6940ca09656049b4782ee0cdf4c9838
2016-07-08 13:07:11 +02:00
Benjamin Bouvier 146579c57f Bug 1283177: Add int64 load/store support to BaselineCompiler; r=lth
MozReview-Commit-ID: 5F84ghdEIWR

--HG--
extra : rebase_source : 5b4e8150a98f88af7d1450921ced8f9637cf21ec
2016-07-08 12:57:53 +02:00
Benjamin Bouvier e336dd73f0 Bug 1283177: wasm: Implement int64 load/stores on x64; r=sunfish
MozReview-Commit-ID: DJ1bEsHL3Jq

--HG--
extra : rebase_source : ec3c89985e8497e5c6c56c2820a3e76508a01214
2016-07-08 09:34:00 +02:00