Bug 794984 - [mozprocess] Add ability to separate stderr from stdout, r=ahal

A new parameter called 'processStderrLine' is added. When specified, stdout gets processed by the
'processOutputLine' callbacks and stderr is processed by the 'processStderrLine' callbacks. When
not specified, stderr is redirected to stdout which is the same default behaviour.

A side effect of this is that mozprocess now uses three threads to process output. One thread each
for stdout and stderr that reads output lines and stores them in a Queue as fast as possible, this
makes sure there is no blocking in stdout.write(). A third thread executes the callbacks.

--HG--
extra : rebase_source : d4601a6ae21ca61bfdca308c68155ce2c2e09e43
Bug 1112827: Add IPDL's implicit typedefs to the set of explicit typedefs, preventing duplicates in generated code; r=bent
Bug 1036602 - add D3D11 support for VR rendering; r=bas

From fbb1e2ba9936896a1eb932585218401f4c95e411 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.cpp  | 212 +++++++++++++++++++++++++++++++++-
 gfx/layers/d3d11/CompositorD3D11.fx   |   1 +
 gfx/layers/d3d11/CompositorD3D11.h    |   9 ++
 gfx/layers/d3d11/CompositorD3D11VR.fx |  71 ++++++++++++
 4 files changed, 290 insertions(+), 3 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
Bug 1036602 - rename d3d11 .fx files to .hlsl; r=bas

From 0117494b71e0b9ea01d8b552523529cf305ab919 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.fx     | 279 --------------------------------
 gfx/layers/d3d11/CompositorD3D11.hlsl   | 279 ++++++++++++++++++++++++++++++++
 gfx/layers/d3d11/CompositorD3D11VR.fx   |  71 --------
 gfx/layers/d3d11/CompositorD3D11VR.hlsl |  71 ++++++++
 gfx/layers/d3d11/genshaders.sh          |  28 ++--
 5 files changed, 364 insertions(+), 364 deletions(-)
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11.hlsl
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.hlsl
Bug 1036602 - Fix up D3D11 genshaders.sh script; r=bas

From 42aa031e5b36efe5603525c7967557fec7e09ec5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/genshaders.sh | 74 +++++++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 29 deletions(-)
Bug 1036602 - Regenerate D3D11 shaders; r=Bas

From 11ab35cf793e6a2a0342b4e1a761a6f4cc394ff5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11Shaders.h   | 282 ++++++------
 gfx/layers/d3d11/CompositorD3D11ShadersVR.h | 638 ++++++++++++++++++++++++++++
 2 files changed, 786 insertions(+), 134 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11ShadersVR.h
Bug 1036602 - Add GL support for VR rendering; r=BenWa

From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
 gfx/layers/moz.build                           |   1 +
 gfx/layers/opengl/CompositingRenderTargetOGL.h |   4 +
 gfx/layers/opengl/CompositorOGL.cpp            |  14 ++
 gfx/layers/opengl/CompositorOGL.h              |  38 +++
 gfx/layers/opengl/CompositorOGLVR.cpp          | 326 +++++++++++++++++++++++++
 5 files changed, 383 insertions(+)
 create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
Bug 1113242 - Load Oculus VR support libs from location specified in prefs

From d4d1705a879295f9530da436fa437b1452c1768e Mon Sep 17 00:00:00 2001
---
 gfx/thebes/gfxVR.cpp | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Bug 1113242 - followup; fix missing namespace - CLOSED TREE

--HG--
extra : amend_source : 150f66d2444e56f30562265236080835fe1ffc58
Bug 1113242 - followup; fix missing include, just in case - CLOSED TREE
Backed out changeset f0d4cb5f206c (bug 1112827) for Mulet permacrashing.
Bug 867348 - Part 1: Add an analysis that catches calls to certain functions involving arithmetic expressions; r=jrmuizel

--HG--
extra : rebase_source : d89b16b9ab591479400a3e5e89b217a67319669d
Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel

Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp.  Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles.  The first hunk in that file though
is a real bug that this analysis found.

--HG--
extra : rebase_source : b44bb6d90d95551d860e0b5a1afcf2bb35cde084
Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange

--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
Bug 1112483 - Add the layer bounds in the DisplayList dump. r=mattwoodrow

--HG--
extra : rebase_source : cb6d1329dc507607ef57bcd26d825dde052121ea
Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange

--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
Bug 1112925 - Don't re-enter JS with a pending exception in CheckForPendingException. r=terrence
Bug 1110546 - Allow null as the principal argument for the sandbox constructor. r=gabor
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
Bug 1109457 - Use Contains instead of std.find to detect whether we have keys in gmp-clearkey, and don't overwrite old decryptors when we get a new key. r=edwin.