Commit Graph

492050 Commits

Author SHA1 Message Date
Enes Goktas
2f65f683e3 Bug 1272629 - Add taskcluster task to build binutils package; r=glandium
MozReview-Commit-ID: AEOShpN8ZMI

--HG--
extra : rebase_source : fc8b99002c4944ae666b1a6922edc42d2b0805f4
extra : source : 86d07e6bd5b7197f249e5064ee600fe83b808fb1
2016-09-14 18:47:50 -07:00
Gregory Szorc
e47aeebb80 Bug 1272629 - Add bison package to desktop-build image; r=glandium
We can't add it to the base image because rebuilding the base image
breaks Valgrind due to non-deterministic package version installation
(read the bug for the ugly backstory).

MozReview-Commit-ID: ARKJZfNCRFc

--HG--
extra : rebase_source : 6a36b1289d121367c89c986f86faf1e34a38a906
extra : source : 66c7af8b26544e79b39b7180cb7338bbc2642064
2016-09-14 18:49:53 -07:00
Andrew McCreight
58a9259670 Bug 1292694 - Don't skip marking at Shutdown due to fear of "bad locking problems". r=mrbkap
MozReview-Commit-ID: HetNpQR2s8Y

--HG--
extra : rebase_source : 727a86bcacf35c6f0ab68ba69d1860839cb27730
2016-08-05 15:19:41 -07:00
Masayuki Nakano
eac959a338 Bug 1300003 part.6 NativeKey shouldn't try to dispatch plugin events for removed char messages when mWidget won't dispatch plugin events r=m_kato
Currently, NativeKey::DispatchPluginEventsAndDiscardsCharMessages() calls nsWindowBase::DispatchPluginEvent() and nsWindowBase::DispatchPluginEvent() does nothing when windowless plugin doesn't have focus.  However, this is unclear when other developers read the code of DispatchPluginEventsAndDiscardsCharMessages() and it causes unnecessary virtual calls.  So, it should try to dispatch plugin events only when a windowless plugin has focus.

For making the check safer, nsWindowBase should expose the method to check it as ShouldDispatchPluginEvent().  Unfortunately, we cannot mark this method as const due to PluginHasFocus() needs to be not const method, though.  Then, for loops in DispatchPluginEventsAndDiscardsCharMessages() should check it at each try.

This change helps to log the behavior (working on bug 1297013) without noise.

Additionally, this patch renames the method to MaybeDispatchPluginEventsForRemovedCharMessages() because it doesn't remove any char messages anymore.

MozReview-Commit-ID: F14Lcx47M6U

--HG--
extra : rebase_source : 64b6da75590c99299f75358023844762198136d6
2016-09-15 00:16:18 +09:00
Masayuki Nakano
050c1b4088 Bug 1300003 part.5 Remove odd WM_CHAR messages which are caused by ATOK or WXG (both of them are Japanese IME) r=m_kato
NativeKey removes odd WM_CHAR messages which are caused by ATOK or WXG if the user tries to do "Kakutei-Undo" (meaning "undo the last commit") after dispatching eKeyDown event.

However, NativeKey should remove them from the queue first because there are some problems:

* If focus is moved during dispatching an eKeyDown event, we'll fail to remove the messages from the queue.
* If dispatching eKeyDown advance native event loop due to entering to a modal loop or dosing synchronous XHR, the message pattern is broken before removing the odd messages from the queue.

After removing the odd char messages, NativeKey should store them with mRemovedOddCharMsgs because NativeKey needs to dispatch them to focused windowless plugin.

Note that this patch also fixes a bug of the loop to remove the odd WM_CHAR messages.  Old code removes only one WM_CHAR messages, but we need to remove all WM_CHAR messages before WM_KEYUP.  This must be a regression.

MozReview-Commit-ID: I60bcIx2SFS

--HG--
extra : rebase_source : 19d0e70d9f39e6d0476c62def5e0a2dc1e0ab444
2016-09-14 16:20:53 +09:00
Masayuki Nakano
c0ad8a8fb2 Bug 1300003 part.4 Remove NativeKey::mIsFollowedByNonControlCharMessage because calling NativeKey::IsFollowedByNonControlCharMessage() is enough fast r=m_kato
NativeKey is now removing and storing following char messages when it's created for a keydown message.  Therefore, IsFollowedByNonControlCharMessage() just refers the stored messages and it's enough fast.  So, we can get rid of mIsFollowedByNonControlCharMessage.

MozReview-Commit-ID: 542A2sHNXeC

--HG--
extra : rebase_source : e748c9855c3cf2d45609f94f9ccc8d43d29dc447
2016-09-05 21:47:58 +09:00
Masayuki Nakano
308955d236 Bug 1300003 part.3 NativeKey::GetFollowingCharMessage() should always remove following WM_CHAR message r=m_kato
GetFollowingCharMessage() is now called only when removing following char message.  Therefore, it does not need to have the optional argument indicating if removing the found message.

MozReview-Commit-ID: 7P39wyfSC1

--HG--
extra : rebase_source : a38bb961df1bc03adc21295bc39e4e9c16e864f2
2016-09-05 21:41:48 +09:00
Masayuki Nakano
6934d7ed93 Bug 1300003 part.2 Don't continue to dispatch eKeyPress event at handling WM_KEYDOWN or following WM_CHAR messages if focused window is changed during dispatching an event r=m_kato
While dispatching an event, focused widget may be changed.  In such case, NativeKey shouldn't continue to dispatch remaining events (eKeyPress events) for preventing to dispatch to input text in unexpected website.

MozReview-Commit-ID: 7geuqks0LQK

--HG--
extra : rebase_source : 3e6c82e1eb0e27115fe93b1a3b4a155914fd06f7
2016-09-05 18:56:34 +09:00
Masayuki Nakano
af43a9e1dc Bug 1300003 part.1 NativeKey should remove following char messages before dispatching a keydown event r=m_kato
In some cases, we may receive following char message of WM_*KEYDOWN *during* dispatching an eKeyDown event. In such case, NativeKey shouldn't dispatch eKeyPress event twice (one is caused by receiving WM_*CHAR message, the other is caused by post dispatching eKeyDown event code).

This patch makes NativeKey consume following WM_*CHAR messages before dispatching eKeyDown.  Therefore, the former case will never occur.

For doing that, NativeKey stores following WM_*CHAR messages in mFollowingCharMsgs and uses it when it needs to dispatch eKeyPress events for each WM_*CHAR message.

MozReview-Commit-ID: 6QNvlwVVlTz

--HG--
extra : rebase_source : c33b5a1ac503326d51ef78f4f8a09c9a63df7871
2016-09-15 00:02:15 +09:00
Jamie Nicol
363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Jarda Snajdr
78964259b9 Bug 1152441 - Part 2: Rewrite the marker view to use React and the Tree component r=gregtatum
MozReview-Commit-ID: 5TNNsVSql46

--HG--
extra : rebase_source : 61e2bdc9b2b6e4757435f9e3125292549db75c21
2016-09-09 16:55:54 +02:00
Jarda Snajdr
2d604e3b72 Bug 1152441 - Part 1: Enhance the Tree component for use in performance waterfall r=fitzgen
MozReview-Commit-ID: 753IKgJF6Oj

--HG--
extra : rebase_source : 87461fc10e0725b96bf52f7b8a3cfb1f16ac4233
2016-09-09 16:54:05 +02:00
Luca Niccoli
dda95d5cd3 Bug 921063 - Lock and (potentially) wait for remote service startup. r=glandium
MozReview-Commit-ID: 5MRX9TtxTLo

--HG--
extra : rebase_source : d836573b16aa52199750f50208710294e921bfa1
2016-09-20 11:14:12 +02:00
Jean-Yves Avenard
40284ca39a Bug 1303673: P9. Make some GMP errors non fatal. r=cpearce
MozReview-Commit-ID: LMWQtJElle7

--HG--
extra : rebase_source : 02e9a30cf049d26b6e7f7f78c98d8b595a72cac5
2016-09-20 16:56:58 +10:00
Jean-Yves Avenard
84106ef146 Bug 1303673: P8. Details for the H264 converter. r=cpearce
Mark some errors as OOM as that's what they are.

MozReview-Commit-ID: 2YEgBjqzMEm

--HG--
extra : rebase_source : 2ae43c8252f93adf9d4b0f86de96875152f739a1
2016-09-20 16:32:04 +10:00
Jean-Yves Avenard
5bb9584b9b Bug 1303673: P7. Provide MFT error code. r=cpearce
MozReview-Commit-ID: BnKR6CKk3eU

--HG--
extra : rebase_source : 53c105d1da372bd89698756988723f9e5ce8bed0
2016-09-20 16:18:17 +10:00
Jean-Yves Avenard
78ecdd8c4e Bug 1303673: P6. Provide further error details for the apple decoders. r=cpearce
MozReview-Commit-ID: 1A0k5BWAlWW

--HG--
extra : rebase_source : da0e24eb45bbe3c07468ae84a8485a5d2f9671af
2016-09-20 16:05:32 +10:00
Jean-Yves Avenard
f8966bc13b Bug 1303673: P5. Provide warning when a MediaDataDecoder error occurs. r=cpearce
Warnings were provided earlier on and got removed. So we instead make it consistent across all decoders.

MozReview-Commit-ID: 53obtEClq98

--HG--
extra : rebase_source : f2e22e0d8ff33e8198b39f5a955b8f233a97daa6
2016-09-20 15:59:42 +10:00
Jean-Yves Avenard
485daa6ea7 Bug 1303673: P4. Provide GMP error code in MediaResult. r=cpearce
MozReview-Commit-ID: LfXNfMymvk4

--HG--
extra : rebase_source : 12c1bf1fe0245802429bbbbf75910f2906fde9f2
2016-09-20 15:57:32 +10:00
Jean-Yves Avenard
37455bf7f4 Bug 1303673: P3. Provide decryption status in error. r=cpearce
MozReview-Commit-ID: GGWAYcJAZ3R

--HG--
extra : rebase_source : f88b6fee5d9e5582e7fa43f9a13f9f3d1ce7af90
2016-09-20 15:56:17 +10:00
Jean-Yves Avenard
83619b5bc0 Bug 1303673: P2. Change error code to OOM. r=cpearce
Only time this error can occur is if we failed to allocate memory.

MozReview-Commit-ID: A37SQnraC54

--HG--
extra : rebase_source : b05dcdaf1c91d2f94255cd870872ec80e23c81c7
2016-09-20 15:51:54 +10:00
Jean-Yves Avenard
c38cb38487 Bug 1303673: P1. Add RESULT_DETAIL convenience macro. r=cpearce
MozReview-Commit-ID: 12YaMnNsvNI

--HG--
extra : rebase_source : afb2d9f4c167c53d7515558d28d0fc74a0402c73
2016-09-20 15:50:31 +10:00
Carsten "Tomcat" Book
e87482b1d2 Backed out changeset da90ec959a3c (bug 1297535) for memory leaks in browser_885530_showInPrivateBrowsing.js
--HG--
extra : rebase_source : a83a2dcd5e21373ae05d29265c5ba8d379e563da
2016-09-20 12:47:23 +02:00
Alexandre Lissy
c4f436615b Bug 1303959 - Bump gaia and platform_build for Aries KK and Nexus 5 L r=me
MozReview-Commit-ID: IlaCQlIAZI9

--HG--
extra : rebase_source : 7b101a04d7f90e7f98a0c719ee5df280203ec6b6
2016-09-20 10:52:48 +02:00
Philipp Kewisch
7fca5359ea Bug 1303725 - Make mach eslint output more helpful in case of an error. r=miker
MozReview-Commit-ID: KvTrBfnPjtn

--HG--
extra : rebase_source : a8060752ea34cffb964b654535c19b04a0cb8598
2016-09-19 22:17:40 +02:00
Carsten "Tomcat" Book
79ec7bf1c3 Merge mozilla-central to autoland 2016-09-20 12:05:52 +02:00
Carsten "Tomcat" Book
8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
Carsten "Tomcat" Book
65ef85e47c merge fx-team to mozilla-central a=merge 2016-09-20 12:00:36 +02:00
Phil Ringnalda
2f7e87d4f5 Bug 1282024 - Disable iframe-allowfullscreen.html for failing every time we merge to mozilla-beta 2016-09-19 19:10:10 -07:00
Iris Hsiao
6ca36f4b20 Backed out changeset 1b269fb8a704 (bug 1302590) for Gecko Decision Task bustage
--HG--
rename : taskcluster/ci/build-signing/kind.yml => taskcluster/ci/signing/kind.yml
rename : taskcluster/ci/build-signing/android-signing.yml => taskcluster/ci/signing/signing.yml
2016-09-20 10:59:19 +08:00
David Anderson
5a103daad2 Fix root scroll delta overrides when APZ is out-of-process. (bug 1303820, r=kats) 2016-09-19 19:22:26 -07:00
David Anderson
df6a78744b Allow passing an empty Endpoint over IPDL. (bug 1302009, r=billm) 2016-09-19 19:18:20 -07:00
David Anderson
f8b7f5c0ac Don't allow double-closing of IPC channels. (bug 1301481, r=billm) 2016-09-19 19:17:09 -07:00
James Long
1702ada4bf Bug 1303862 - update new debugger frontend (9/19/2016) r=me 2016-09-19 21:58:05 -04:00
Wes Kocher
868fe79485 Merge m-c to fx-team, a=merge 2016-09-19 15:56:52 -07:00
Wes Kocher
dbbbafc979 Merge fx-team to central, a=merge 2016-09-19 15:53:05 -07:00
Wes Kocher
da7b1c61a1 Merge inbound to central, a=merge 2016-09-19 15:51:39 -07:00
Wes Kocher
3034405e55 Merge autoland to central, a=merge 2016-09-19 15:34:31 -07:00
Nick Alexander
b316681623 Bug 1303468 - Follow-up: Unbust Gradle lint. r=me
MozReview-Commit-ID: IWB0CMVuNPr
2016-09-19 14:54:24 -07:00
Nick Alexander
0714ea6615 Bug 1303468 - Follow-up: Unbust Gradle builds. r=me
MozReview-Commit-ID: IbqnIC4L83A

--HG--
extra : rebase_source : 3af27bf38c5e7ec93ba1835fa3f9c6d26675551e
2016-09-19 14:24:13 -07:00
Alexandre Poirot
cd8a9d4257 Bug 1303268 - Package acorn lib with same path as sources to fix hot reload. r=pbro
MozReview-Commit-ID: 32WuvqluuiU
2016-09-19 10:27:31 -07:00
Valentin Gosu
c0e2f75813 Bug 1239686 - Add method to set logging file at runtime r=nfroyd
* Only allows setting the log file at runtime if not set by an Env Var
* LogModulePrefWatcher will watch logging.config. prefs and call into Logging.cpp to set the log file, sync or timestamp
* Log files set by pref will have a -main.PID or -child.PID suffix
* If the logging.config.clear_on_startup pref is true, prefs will be reset upon restart.
MozReview-Commit-ID: CWJujX4jm2A
2016-09-19 17:39:47 +02:00
ffxbld
857d1ac980 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-09-19 09:45:57 -04:00
ffxbld
c746686fd1 No bug - Tagging mozilla-central fc69febcbf6c0dcc4b3dfc7a346d8d348798a65f with FIREFOX_AURORA_51_BASE a=release DONTBUILD CLOSED TREE 2016-09-19 09:43:48 -04:00
Carsten "Tomcat" Book
026552c22f merge mozilla-inbound to mozilla-central a=merge 2016-09-19 12:14:36 +02:00
Carsten "Tomcat" Book
f2e591caf1 merge fx-team to mozilla-central a=merge 2016-09-19 12:12:27 +02:00
David Anderson
842b64bbd1 Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright) 2016-09-18 22:13:53 -07:00
Kershaw Chang
6c373070a1 Bug 1228474 - Support sending blob/arraybuffer for data channel. r=smaug 2016-09-17 19:42:00 -04:00
Thomas Wisniewski
e2d5d5425f Bug 1302937 - Remove -moz-mac-lion-theme. r=mstange 2016-09-16 14:42:19 -04:00
Patrick Brosset
4518dae1c4 Bug 1276418 - Remove getNode and all references to it in inspector tests; r=gl
MozReview-Commit-ID: HIhOHZvtUl

--HG--
extra : rebase_source : 680c659e14f6b308f72124a3241f8c81115d7a44
2016-09-16 15:58:50 +02:00