Aaron Klotz
b36ad40063
Bug 1570701: Part 1 - Add IsClassThreadAwareInprocServer utility function to MSCOM; r=Jamie
...
We want to ensure that the code being added in part 2 is only used when it is
reasonable and safe to do so. One way to ensure this is to add a check that the
desired CLSID is an in-process, thread-aware server.
Differential Revision: https://phabricator.services.mozilla.com/D44518
--HG--
extra : moz-landing-system : lando
2019-09-03 23:58:39 +00:00
Aaron Klotz
9b3cf34d2e
Bug 1573679: Add IsCurrentThread(Explicit|Implicit)MTA utility functions to mscom; r=Jamie
...
This patch provides us with utility functions that give us more specific
information about the current thread's MTA if so desired.
Differential Revision: https://phabricator.services.mozilla.com/D41852
--HG--
extra : moz-landing-system : lando
2019-08-27 01:48:08 +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
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Aaron Klotz
ab58dd7f8b
Bug 1489317: Part 4 - Add asssertion that COM is initialized on the thread that is resolving an agile reference; r=mhowell
...
Depends on D5321
Differential Revision: https://phabricator.services.mozilla.com/D5323
--HG--
extra : moz-landing-system : lando
2018-09-12 18:56:10 +00:00
Cosmin Sabou
ee876fb168
Backed out 4 changesets (bug 1489317) for causing multiple windows tests timeouts. CLOSED TREE
...
Backed out changeset e35a9b02675b (bug 1489317)
Backed out changeset 7528056ab631 (bug 1489317)
Backed out changeset d5d432fd2433 (bug 1489317)
Backed out changeset fddf77dc2f9d (bug 1489317)
2018-09-11 09:22:37 +03:00
Aaron Klotz
a29e528ede
Bug 1489317: Part 4 - Add asssertion that COM is initialized on the thread that is resolving an agile reference; r=mhowell
...
Depends on D5321
Differential Revision: https://phabricator.services.mozilla.com/D5323
--HG--
extra : source : 07b44bee061cf080e70e6872f5f15e22e23819e0
2018-09-10 22:59:07 +00:00
Ciure Andrei
7a6f7c263a
Backed out 4 changesets (bug 1489317) for windows test failures CLOSED TREE
...
Backed out changeset 07b44bee061c (bug 1489317)
Backed out changeset b340f5acb7b5 (bug 1489317)
Backed out changeset 62b404e59c32 (bug 1489317)
Backed out changeset 2787fb454f40 (bug 1489317)
2018-09-11 04:22:44 +03:00
Aaron Klotz
e30084f558
Bug 1489317: Part 4 - Add asssertion that COM is initialized on the thread that is resolving an agile reference; r=mhowell
...
Depends on D5321
Differential Revision: https://phabricator.services.mozilla.com/D5323
--HG--
extra : moz-landing-system : lando
2018-09-10 22:59:07 +00:00
Ciure Andrei
66949099e9
Backed out 4 changesets (bug 1489317) for causing Windows test failures CLOSED TREE
...
Backed out changeset 8cf95604ce94 (bug 1489317)
Backed out changeset 9d444f92b939 (bug 1489317)
Backed out changeset e0535e0450c8 (bug 1489317)
Backed out changeset 0f8554d82b32 (bug 1489317)
2018-09-11 00:50:10 +03:00
Aaron Klotz
c603f63fc2
Bug 1489317: Part 4 - Add asssertion that COM is initialized on the thread that is resolving an agile reference; r=mhowell
...
Depends on D5321
Differential Revision: https://phabricator.services.mozilla.com/D5323
--HG--
extra : moz-landing-system : lando
2018-09-10 20:03:24 +00:00
James Teh
d4ef733244
Bug 1472137 - Prevent mutex reentry in mscom::Interceptor::Create if GetInitialInterceptorForIID fails. r=aklotz
...
If GetInitialInterceptorForIID fails, the live set lock is not released in most cases, but the newly created Interceptor will be destroyed.
The Interceptor's destructor tries to acquire the live set lock again, but that causes a deadlock, since reentry is no longer allowed for a mutex after bug 1364624.
GetInitialInterceptorForIID now ensures the live set lock is always released on failure, thus preventing the deadlock.
MozReview-Commit-ID: z0Q7JLnJXQ
--HG--
extra : amend_source : 0b9837e5500754b5782e72337fc59b7904c5e29c
2018-07-02 15:17:12 +10: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
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
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
Aaron Klotz
761daf6aed
Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm
...
MozReview-Commit-ID: 1nrxEHEgF3T
2017-06-13 14:50:05 -06:00
Wes Kocher
3ee39c3f47
Backed out 3 changesets (bug 1354077) for assertions in AccessibleWrap.cpp a=backout CLOSED TREE
...
Backed out changeset 1380fe0f701b (bug 1354077)
Backed out changeset 2b5602bd352a (bug 1354077)
Backed out changeset a0fc3a1a9122 (bug 1354077)
MozReview-Commit-ID: ABHV3evXKrG
2017-06-12 16:54:10 -07:00
Aaron Klotz
ed90562548
Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm
...
MozReview-Commit-ID: 1nrxEHEgF3T
--HG--
extra : rebase_source : f1851c890ed7747aaefc78c34bbdceaf9c70fecd
2017-06-08 18:07:24 -06:00
Aaron Klotz
230ddb60a5
Bug 1368571: Modify handler and interceptor marshaling code so that it strips out any handlers from proxies that are destined for non-Gecko processes; r=jimm
...
MozReview-Commit-ID: A1lCqvbQYAF
There is no clean API-based solution to this, so instead I went grovelling
through the DCOM wire protocol and was able to write a function that converts
handler OBJREFs into standard OBJREFs.
See also:
https://msdn.microsoft.com/en-us/library/cc226801
--HG--
extra : rebase_source : a650055c4adda3a1d99262e47f2b463074c6b935
2017-06-06 17:35:51 -06:00
Aaron Klotz
d82e0194e8
Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm
...
MozReview-Commit-ID: GCYLbtu1Nlb
--HG--
extra : rebase_source : 565c598dcba929cb1b774b3440180c60e78da9cd
extra : amend_source : dc0051579e0b005c89fd3835f0c2b0d4fd87a280
2017-05-04 15:41:35 -06:00
Aaron Klotz
518de5dc75
Bug 1346910: Ensure that the interface output by IServiceProvider::QueryService is correctly wrapped by the mscom interceptor; r=jimm
...
MozReview-Commit-ID: 40fF7cS0Mpx
--HG--
extra : rebase_source : 79573a2b845c65164dac35a5ad2b99fe7af13ac7
2017-03-14 11:04:46 -06:00
Ryan VanderMeulen
4c43de6e62
Bug 1341082 - Add ACCESSIBILITY guards to functions in Utils.cpp that depend on it being enabled. r=aklotz
2017-02-21 15:27:18 -05:00
Aaron Klotz
440976dd4f
Bug 1339947: Make mscom ArrayData lookup respect interface inheritance; r=jimm
...
MozReview-Commit-ID: 5zJTzT7JJhJ
--HG--
extra : rebase_source : 1cc459ae3b50a0424c336467e3e99db387eadd86
2017-02-10 14:16:29 -07:00
Aaron Klotz
7f91347e43
Bug 1261107: Add IsCurrentThreadMTA() to ipc/mscom/Utils; r=jimm
...
MozReview-Commit-ID: 3ezKIAmvZZM
--HG--
extra : rebase_source : 50fc20f3e7fa19c94cdc37afc15e262ac479ac28
2016-07-18 13:47:34 -06:00
Aaron Klotz
67768a9eb7
Bug 1287002: Utility functions for Microsoft COM glue; r=jimm
...
MozReview-Commit-ID: DTH2lIvKjX9
--HG--
extra : rebase_source : e7e4e32f2175322c4ab20a205e37f6b2d34822f8
2016-07-14 16:55:31 -06:00