NARCIS BELEUZU
0a208387ad
Merge mozilla-central to autoland. r=merge a=merge on CLOSED TREE
2017-11-03 12:20:45 +02:00
Tom Ritter
433d959e05
Bug 1403358 Only reference ActivationContext if Acessibility is enabled r=aklotz
...
This also enables the crash reporter on the MinGW build, as this is the
only thing blocking that from working.
MozReview-Commit-ID: Hygd7UUQvwl
--HG--
extra : rebase_source : a4a12b8edaa5b1fba869d6f7c21fc8444be2d9d7
2017-10-26 15:09:50 -05:00
Aaron Klotz
6b2941a696
Update BUG_COMPONENT in ipc/mscom (no bug) DONTBUILD; r=me
2017-11-02 15:02:21 -06:00
Aaron Klotz
d223c72b0e
Bug 1411391: Ensure mscom::InterceptorLog covers time spent wrapping outparams in mscom::MainThreadHandoff; r=jimm
...
MozReview-Commit-ID: 8529IjAXZcb
--HG--
extra : rebase_source : 975d0ba8fc0358c2ddba5b935be967c4e78d919e
2017-10-23 16:55:26 -06:00
Sebastian Hengst
5c15da1f08
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
James Teh
73c24a66f6
Bug 1403180: Fix StripHandlerFromOBJREF for VT_DISPATCH on Windows 7. r=aklotz
...
StripHandlerFromOBJREF shortens the OBJREF by sizeof(CLSID), so it needs to seek the stream back after tweaking the OBJREF.
Previously, this was done using a relative seek.
Unfortunately, for some reason I can't fathom on Windows 7, this doesn't work when marshaling for VT_DISPATCH.
The Seek call succeeds, but either does nothing or sets the stream position to a garbage value.
Instead, we now use an absolute seek, which seems to behave.
This was breaking IAccessible::accNavigate and AccessibleChildren on Windows 7.
MozReview-Commit-ID: FEH93oiyP5R
--HG--
extra : rebase_source : b15db60da888b49cbd371bc5c8311577a2c7ece4
2017-10-23 15:37:24 +10:00
Aaron Klotz
5a394f86cf
Bug 1411439: Pass reference to owning interceptor into HandlerProvider for payload creation; r=Jamie
...
MozReview-Commit-ID: GUW4DrsJEn
--HG--
extra : amend_source : 755ff37c8bc40de408f8668e9e44ebfd41bd9136
2017-10-24 17:48:51 -06:00
Sylvestre Ledru
d60d69e2cb
Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
...
MozReview-Commit-ID: DjDkL20wRg0
--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
Aaron Klotz
eb3882c42d
Bug 1409538: Add durations to MSCOM log; r=jimm
...
This patch adds two additional fields to each mscom log entry: The first is
the duration, in microseconds, of time spent in mscom overhead when executing
a call from the MTA on behalf of a remote client.
The second field is the duration, in microseconds, of time spent actually
executing the method within Gecko itself.
(In other words, the sum of the two fields will equal the total duration of
time spent executing the call.)
MozReview-Commit-ID: EhFieEPrhE5
2017-07-25 15:57:18 -06:00
Aaron Klotz
8f79c15fdb
Bug 1409545: Add the ability to query a handler provider for the expected interface for an IUnknown outparam; r=jimm
...
MozReview-Commit-ID: 7eZ2giTfVG1
--HG--
extra : rebase_source : cc36fbd875ef798c41f20951b8354880138c0037
2017-10-16 16:15:02 -06:00
Nicholas Nethercote
8a68e6fb83
Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
...
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.
This patch greatly simplifies how things are exposed. The starting point is:
- GeckoProfiler.h can be #included unconditionally;
- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.
In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.
The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.
Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
Sebastian Hengst
5e0b457b10
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Aaron Klotz
aa44e53f36
Bug 1393600: Ensure that the handler sends a known interface to external clients; r=jimm
...
MozReview-Commit-ID: F5vxF2pB347
2017-09-24 14:32:36 -06:00
Aaron Klotz
35c65ef535
Bug 1393600: Prevent mismatches between the handler's expected interface and the one being provided by content; r=jimm
...
MozReview-Commit-ID: 4yQENc7i4LS
2017-09-21 16:53:56 -06:00
Tom Ritter
3b81e79e5a
Bug 1405417 Add typename keyword in ipc/mscom/PassthruProxy.h to resolve ambiguity around member type r=aklotz
...
MozReview-Commit-ID: 6zEBdk8bKb9
--HG--
extra : rebase_source : 7e7c7a240abbe066d7f4e1d8b6619471b76c1c2d
2017-10-03 12:32:24 -05:00
Aaron Klotz
f88fa2ef6c
Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm
...
MozReview-Commit-ID: 4wBjnFW9GRa
--HG--
extra : rebase_source : 43308d5c1d926300be222cb59d4913f61cc6c060
2017-09-29 15:41:28 -06:00
Aaron Klotz
da8dc618c4
Bug 1383501: Obtain and report the current activation context's manifest path; r=jimm
...
MozReview-Commit-ID: HJ1zNoEMzvS
2017-09-19 14:35:27 -06:00
Aaron Klotz
143a969b94
Bug 1399557: Follow-up: Add check for expected error code; r=bustage
...
--HG--
extra : rebase_source : bf2db1dc3f7869f360bd22557a793cc3f770aee7
extra : amend_source : 9fc98cc81cac846dcde68abad2ff1ab0c3f46dad
2017-09-20 14:40:41 -06:00
Aaron Klotz
c0a1a84af9
Bug 1399557: Add diagnostic asserts to interceptor creation code; r=jimm
...
MozReview-Commit-ID: 9fJxHbxCmgh
2017-09-18 10:49:15 -06:00
Aaron Klotz
6fdf5f0f15
Bug 1383501: Diagnostic assert when CoMarshalInterface returns E_INVALIDARG; r=jimm
...
MozReview-Commit-ID: JDSKZLgij83
2017-09-18 11:04:09 -06:00
Sebastian Hengst
ecf716b8bb
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Aaron Klotz
5ff52c6547
Bug 1398907: Handler path should be written using length of null-terminated string in bytes, not size of the buffer; r=eeejay
...
MozReview-Commit-ID: 64Zv3obsQie
--HG--
extra : amend_source : bddaf442ed1af677aac6d03417fa2afc754b07eb
2017-09-11 13:47:38 -06:00
Chris Manchester
c0a229d4c3
Bug 1386876
- Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
...
MozReview-Commit-ID: FMEtb5PY7iP
--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Aaron Klotz
d8518e56ab
Bug 1383501: Move stream creation below buffer size check in mscom::ProxyStream::ProxyStream; r=jimm
...
MozReview-Commit-ID: fG4an6mSiR
2017-09-06 10:38:13 -06:00
Bevis Tseng
cd0ef77297
Bug 1390076 - Label MainThreadInvoker using SystemGroup. r=aklotz
2017-08-28 14:11:38 +08:00
Aaron Klotz
5e15da4ff9
Bug 1395329: Modify mscom::Interceptor::Create to properly initialize IUnknown interfaces; r=jimm
...
MozReview-Commit-ID: 7ZLzpH030Of
--HG--
extra : rebase_source : c49df7205a20c8ef4afbfb31b6cc5f54475179a0
2017-08-30 16:34:43 -06:00
Sebastian Hengst
a895d4ae49
Backed out changeset 0eb505a8ac7c (bug 1395329) for Windows static bustage in Interceptor.obj. r=backout
2017-09-01 19:58:06 +02:00
Aaron Klotz
64fc054dc6
Bug 1395329: Modify mscom::Interceptor::Create to properly initialize IUnknown interfaces; r=jimm
...
MozReview-Commit-ID: 7ZLzpH030Of
--HG--
extra : rebase_source : 24fd48eb72bcee18bbc75a670d0035362dbeb92d
2017-08-30 16:34:43 -06:00
Aaron Klotz
693b60cf9c
Bug 1395840: Backed out changeset e7f2eaf99d46 on suspicion of breaking virtual buffers in a11y clients; r=backout
2017-09-01 10:44:41 -06:00
Aaron Klotz
a55d72f6da
Bug 1383501: Move a crash annotation so that it does not mask a previous annotation with the same key; r=handyman
...
MozReview-Commit-ID: 9u7VTKDglrS
2017-08-31 11:31:28 -06:00
Sebastian Hengst
030c11d7dd
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Aaron Klotz
81a34aa6ab
Bug 1383501: Change remaining references to HKEY_CLASSES_ROOT to HKEY_LOCAL_MACHINE in mscom-related code; r=jimm
...
MozReview-Commit-ID: GAV3iqapXss
--HG--
extra : rebase_source : c0ed0578ca2e560203fc6c1a8fd172272209e84c
2017-08-28 15:15:35 -06:00
Aaron Klotz
2614073612
Bug 1393600: Prevent mismatches between the handler's expected interface and the one being provided by content; r=jimm
...
MozReview-Commit-ID: 9DTZHplk4Cz
--HG--
extra : rebase_source : 6c948e34b2bab71ba9a8df21b3d49495e2c9477b
2017-08-24 15:31:02 -06:00
Aaron Klotz
f550f56c7e
Bug 1394395 - Fix mscom build when ACCESSIBILITY is disabled. r=jimm
...
MozReview-Commit-ID: KmMTWR9FQcx
--HG--
extra : rebase_source : afb5ebce0c9478b4fba26610c2ee4292ee4afcb2
2017-08-28 12:27:28 -06:00
Wes Kocher
2198196808
Merge inbound to central, a=merge
...
MozReview-Commit-ID: G6QZZ8RGk6n
2017-08-29 16:14:22 -07:00
Aaron Klotz
73a014d007
Bug 1383501: Restrict mscom::MainThreadRuntime crash annotations to chrome and content to avoid false-positive leakchecks in gpu process; r=bustage CLOSED TREE
...
--HG--
extra : rebase_source : df8afbd05f6743163710cb29b1dab18a7aeaed3a
2017-08-29 12:00:04 -06:00
Aaron Klotz
436ebb0970
Bug 1383501: Follow-up: Remove unnecessary assertion; r=bustage
2017-08-29 11:32:19 -06:00
Aaron Klotz
de44372d1c
Bug 1383501: More crash annotation improvements for mscom proxy unmarshaling failures; r=jimm
...
MozReview-Commit-ID: DIOsFREuhxj
--HG--
rename : ipc/mscom/InterfaceRegistrationAnnotator.cpp => ipc/mscom/RegistrationAnnotator.cpp
rename : ipc/mscom/InterfaceRegistrationAnnotator.h => ipc/mscom/RegistrationAnnotator.h
2017-08-28 15:16:20 -06:00
Tom Ritter
ecc4b5ef67
Bug 1394868 Fix include casing in VTableBuilder.h to fix MinGW build r=aklotz
...
MozReview-Commit-ID: 8YHKyOOd7S5
--HG--
extra : rebase_source : d1ae0def3418235632b2ac8d671d4e8d3f6fa2b4
2017-08-29 11:34:58 -05:00
Aaron Klotz
5921c2115b
Bug 1393589: Refactor NOPING marshaling into its own class, mscom::FastMarshaler, and use it with IGeckoBackChannel; r=jimm
...
MozReview-Commit-ID: 9osDoYcvtWV
--HG--
extra : rebase_source : 9ead42f1b0c79f11b15121274a996d33d7ad4830
2017-08-17 15:54:28 -06:00
Aaron Klotz
d7d645f5c4
Bug 1390652: Part 3 - Add proxy wrapper that passes its inner proxy through content as a blob; r=jimm
...
MozReview-Commit-ID: A4pAyiuJUlz
2017-08-21 15:47:44 -06:00
Aaron Klotz
153e6759b5
Bug 1390652: Part 2 - Add support for TABLESTRONG marshaling to mscom::ProxyStream; r=jimm
...
MozReview-Commit-ID: 8hSvkULxF50
2017-08-16 16:31:07 -06:00
Ryan VanderMeulen
2f60ba6fc6
Merge m-c to autoland. a=merge
...
CLOSED TREE
--HG--
extra : amend_source : 57c6e5e3155c1ad79d409f8a71c40704297b0600
2017-08-24 20:59:40 -04:00
Tom Ritter
9f954680d0
Bug 1392688 Make variable DebugOnly to silence warning about it being unused r=jld
...
MozReview-Commit-ID: 7wSkP2Lcd0W
--HG--
extra : rebase_source : 1aa49424442f9bc278c257a3a65d93b22f04aea8
2017-08-22 12:41:24 -05:00
Aaron Klotz
bd05dcbb61
Bug 1392681: Move IStream creation out of mscom::ProxyStream into its own utility functions; r=jimm
...
MozReview-Commit-ID: EucWtw0YeBI
2017-08-22 10:48:12 -06:00
Tom Ritter
d0293ed01d
Bug 1392684 Remove const qualifier that gets discarded after function return in mscom::AgileReference r=aklotz
...
gcc throws a warning-as-error saying that the const qualifier will be ignored by function callers.
Remove the const qualifier to remove the warning.
MozReview-Commit-ID: JRQMz6Zdcdz
--HG--
extra : rebase_source : 687a7b310270823180b848d6c65cba7ba688b2ae
2017-08-22 17:25:27 -05:00
Tom Ritter
c9aa053d8a
Bug 1394874 Fix function order and add include to fix MinGW build r=aklotz
...
nsPrintfCString.h was not included, so it caused an error
GetStringValue was called before it was defined
MozReview-Commit-ID: HYoyWyaxqaZ
--HG--
extra : rebase_source : bf2c253cdba0c2fcf079a5b9bb275d39c6074f44
2017-08-30 00:36:14 -05:00
Aaron Klotz
322aa4efee
Bug 1383501: Add crash report annotations to proxy unmarshaling failure paths; r=jimm
...
--HG--
extra : amend_source : 69af068238f7792d2e579e02031d0b1e67b95e52
2017-08-09 15:07:11 -06:00
Georg Koppen
235a9211b1
Bug 1372959 - Fix broken mingw-w64 build with --enable-accessibility. r=aklotz
...
This is a patch originally proposed by Jacek Caban.
--HG--
extra : rebase_source : 6f4c8049baec67f00484364b36a98d1a583eb2b5
2017-08-09 12:49:45 +02:00
Bill McCloskey
81720f1abb
Bug 1384336 - Fix to MainThreadInvoker to avoid deadlocks (r=aklotz)
...
When removing our Windows message loop pumping code in the content
process, a11y code on the MTA thread must have some way to wake up the
main thread. The main thread could be blocked either on a conditional
variable waiting for a Gecko event, or it could be blocked waiting on
a Windows HANDLE in IPC code (doing a sync message send). In the
former case, we wake it up by posting an event to the main thread. In
the latter case, we continue to use the asynchronous procedure call
mechanism.
MozReview-Commit-ID: FN6KWaGo9Zl
2017-08-09 21:24:20 -07:00