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

461 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Sylvestre Ledru 41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D19663

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Mike Hommey ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Ryan Hunt 6315e17e86 Bug 1500257 part 1 - Fix unified build bustage. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D17441

--HG--
extra : source : 1615df089ad3b65333f50ac845a69e37c09b529f
extra : intermediate-source : 3abe61f5dc5c5afbade56821d96fe616404ed408
2019-01-23 11:08:24 -06:00
Jan Varga d0270542f0 Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Oana Pop Rus f9cf535efc Backed out changeset 04eecadabb48 (bug 1525291) for build bustages at build/src/obj-firefox/ipc/ipdl/PSessionStorageObserverChild.cpp on a CLOSED TREE 2019-02-07 11:33:00 +02:00
Jan Varga 93f5a88427 Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Alex Gaynor 0f01791ffc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

Differential Revision: https://phabricator.services.mozilla.com/D18132

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor 984f0333ea Bug 1512990 - Part 3 - remove declarations of Alloc/Dealloc methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Alloc/Dealloc methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

Differential Revision: https://phabricator.services.mozilla.com/D18131

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:07 +00:00
Alex Gaynor 75c7d1fa76 Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.

There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D16492

--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Kearwood "Kip" Gilbert 59f89dfbc5 Bug 1512429 - Ensure that VRProcessManager::Observer releases its pointer from VRProcessManager in case it outlives VRProcessManager and that only one VRProcessManager is allocatedi,r=daosheng
--HG--
extra : rebase_source : d4f89a919d99306032d9237c2c8c58631cf9552d
2019-01-02 14:58:14 -08:00
Jed Davis bcff2dd108 Bug 1487287 - Synchronize GeckoChildProcessHost destruction with launching. r=mccr8
In order to enable asynchronous launch, destruction of
GeckoChildProcessHost (and its subclasses) has to be delayed until after
launching (or anything else that might be made asynchronous in the
future) has completed, to prevent use-after-free.  However, there are
other dependencies on process hosts always being destroyed on the I/O
thread, so refcounting would be difficult to use.

Instead, GeckoChildProcessHost now may not be destroyed directly, but
must go through a method that handles the scheduling.

There are also some minor cleanups to the affected headers (removed
duplicate access modifiers, and made PluginProcessParent final).

Depends on D18010

Differential Revision: https://phabricator.services.mozilla.com/D18011

--HG--
extra : moz-landing-system : lando
2019-02-05 00:15:20 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Daosheng Mu 0c42be8bd7 Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
MozReview-Commit-ID: 5P7D75wAWI7

Differential Revision: https://phabricator.services.mozilla.com/D18301

--HG--
extra : moz-landing-system : lando
2019-02-04 15:19:33 +00:00
Oana Pop Rus 152993fa34 Backed out changeset 12b2328eedd1 (bug 1523926) as requested by daoshengmu. a=backout 2019-02-04 11:29:45 +02:00
Daosheng Mu f44b229914 Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
MozReview-Commit-ID: 5P7D75wAWI7

Differential Revision: https://phabricator.services.mozilla.com/D18301

--HG--
extra : moz-landing-system : lando
2019-02-03 07:19:58 +00:00
Gurzau Raul ea4efc845c Backed out changeset 52f541c1147e (bug 1523926) for xpcshell test crash mozilla::gfx::VR on a CLOSED TREE. 2019-02-02 01:47:26 +02:00
Daosheng Mu 033a88aff9 Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
MozReview-Commit-ID: 5P7D75wAWI7

Differential Revision: https://phabricator.services.mozilla.com/D18301

--HG--
extra : moz-landing-system : lando
2019-02-01 21:10:45 +00:00
Paul Rouget 934225357e Bug 1519035 - Add dedicated browser state for Servo. r=kip 2019-02-01 03:24:00 +02:00
Daosheng Mu 27c40bd158 Bug 1523154 - Remove SendShutdownVR() at VRProcessParent::Shutdown. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D17895

--HG--
extra : moz-landing-system : lando
2019-01-30 06:27:56 +00:00
Daosheng Mu 2328be62d7 Bug 1514417 - Using named mutex for VR threads to access Shmem on Windows. r=kip
MozReview-Commit-ID: FhLBI8l9SJm

Differential Revision: https://phabricator.services.mozilla.com/D17897

--HG--
extra : moz-landing-system : lando
2019-01-29 06:06:50 +00:00
Coroiu Cristina 77de4f7263 Backed out changeset e0034670b26a (bug 1514417) as requested by daoshengmu 2019-01-26 01:46:32 +02:00
Daosheng Mu e3c0193666 Bug 1514417 - Add mutex to avoid VR shmem be deadlock when VRService and VRSubmitFrame threads are accessing it. r=kip
MozReview-Commit-ID: 7uXdypiXTUH

Differential Revision: https://phabricator.services.mozilla.com/D17581

--HG--
extra : moz-landing-system : lando
2019-01-25 01:04:09 +00:00
Daosheng Mu 697ae6228a Bug 1518895 - Part 3: Removing VR system managers when VR process is shutdown. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D17037

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:51 +00:00
Daosheng Mu 9e6fcbe92a Bug 1518895 - Part 2: Crash report support in VR process. r=kip,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D16759

--HG--
extra : moz-landing-system : lando
2019-01-23 01:22:39 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Greg Tatum 7042c8f1c3 Bug 1520526 - Add categories to all profiler markers; r=mstange
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.

Differential Revision: https://phabricator.services.mozilla.com/D16864

--HG--
extra : moz-landing-system : lando
2019-01-18 15:40:15 +00:00
Daosheng Mu 9c5723acc2 Bug 1516554 - Part 7: Resolve MessageLoop destroy before VR IPC channels close issue. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16262

--HG--
extra : moz-landing-system : lando
2019-01-11 22:51:48 +00:00
Daosheng Mu 61804cecaf Bug 1516554 - Part 6: Remove BackgroundHangMonitor in VRProcessChild because we will init it by XPCOM. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16260

--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:33 +00:00
Daosheng Mu 7cd30b6720 Bug 1516554 - Part 5: Allow VR using the existing shmem. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16259

--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:03 +00:00
Daosheng Mu f5d35b145f Bug 1516554 - Part 4: Fix Win 7 try fails when VR process enable but no GPU process. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16258

--HG--
extra : moz-landing-system : lando
2019-01-11 22:49:20 +00:00
Daosheng Mu 2d64883f5c Bug 1516554 - Part 3: Fix VRGPUParent memory leak in the destructor. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16257

--HG--
extra : moz-landing-system : lando
2019-01-14 21:58:51 +00:00
Daosheng Mu 17dec4ca9f Bug 1516554 - Part 2: Fix nsTSubstring assertion when looking for Oculus VR lib. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16483

--HG--
extra : moz-landing-system : lando
2019-01-14 21:27:40 +00:00
thomasmo b16b2cbba6 Bug 1474034 - Use consistent prefixes for POD struct members in gfx/vr/external_api/moz_external_vr.h r=kip
This change updates the structs VRDisplayState, VRLayer_2D_Content, and VRLayer_Stereo_Immersive to not have 'm' prefix for its members.

Differential Revision: https://phabricator.services.mozilla.com/D16000

--HG--
extra : moz-landing-system : lando
2019-01-09 21:57:36 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

Differential Revision: https://phabricator.services.mozilla.com/D16936

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Kearwood "Kip" Gilbert fe5199bf8c Bug 1460619 - Do not run frame request callbacks immediately after updating a VR layer
--HG--
extra : rebase_source : 7f3a7f0da3a64a3b2b580bf2a7b48d67530fdcb4
2019-01-02 13:32:09 -08:00
Ciure Andrei 7a748ae68f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-04 01:03:06 +02:00
Daosheng Mu 2406b85da6 Bug 1430040 - Part 4: Make the parent process keep the OpenVR controller manifest info when VR process is enabled. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15419

--HG--
extra : moz-landing-system : lando
2018-12-28 22:09:44 +00:00
Daosheng Mu a5651d4c31 Bug 1430040 - Part 3: Closing Shmem only when VR process is shutdown. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15418

--HG--
extra : moz-landing-system : lando
2018-12-28 22:38:14 +00:00
Daosheng Mu 8c4a82ad4b Bug 1430040 - Part 2: According to VRDisplay's state to decide if spawn or shutdown VR process in VRManager. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15164

--HG--
extra : moz-landing-system : lando
2018-12-28 22:05:03 +00:00
Daosheng Mu 4749a36cf5 Bug 1430040 - Part 1: Adjust VR process IPC channels to allow VR process to be spawned and shutdown at runtime. r=kip,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D15163

--HG--
extra : moz-landing-system : lando
2019-01-03 20:28:52 +00:00
Daosheng Mu 5d300fd8ad Bug 1514192 - Fixing Oculus Touch touch events error. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15589

--HG--
extra : moz-landing-system : lando
2019-01-02 19:52:43 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru cccdda3c2a Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D15426

--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Daosheng Mu e628a129fd Bug 1515002 - Avoid OpenVR controllerInfo and manifest files be instanced in global to make a lot of static constructors. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15004

--HG--
extra : moz-landing-system : lando
2018-12-21 00:52:24 +00:00
thomasmo 32f32b7a86 Bug 1508225 - Change return type of VRDisplayExternal::GetSensorState to a reference r=kip,dmajor
This change fixes a compiler warning, where a VRSensorState object is returned on the stack as a rather large object.
To address this warning, the return type of VRDisplayExternal::GetSensorState now returns a const reference to the member. The rest of the change are updates to uphold the new constness.

Differential Revision: https://phabricator.services.mozilla.com/D13586

--HG--
extra : moz-landing-system : lando
2018-12-18 19:39:44 +00:00
Daosheng Mu f059c66d62 Bug 1496615 - Part 4: Make OpenVR use action-based input API. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14635

--HG--
extra : moz-landing-system : lando
2018-12-17 20:46:40 +00:00
Daosheng Mu 533d248449 Bug 1496615 - Part 2: Add controller action binding files. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14633

--HG--
extra : moz-landing-system : lando
2018-12-17 20:38:09 +00:00
Daosheng Mu 35f06c3565 Bug 1496615 - Part 1: update openvr to 1.0.17. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14631

--HG--
extra : moz-landing-system : lando
2018-12-17 20:36:28 +00:00