James Teh
a6bb69bf42
Bug 1416986 part 1: Allow an mscom Handler to signal that it knows an interface is definitely not available. r=aklotz
...
If QueryHandlerInterface returns E_NOINTERFACE, the proxy will be queried for the interface.
However, the handler might know that the interface is definitely not available and could thus avoid a pointless cross-process call.
To facilitate this, the handler can now return S_FALSE to signal that the proxy should not be queried, thus immediately returning E_NOINTERFACE to the client.
MozReview-Commit-ID: 4RtBsA9BTOV
2017-11-15 09:59:44 +10:00
Aaron Klotz
1962f206fb
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
54b2bf9d0d
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
Sebastian Hengst
3da80f316b
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Aaron Klotz
f52513edd1
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
2017-09-11 13:47:38 -06:00
Chris Manchester
67a3d90503
Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
...
MozReview-Commit-ID: FMEtb5PY7iP
2017-09-11 11:33:26 -07:00
Aaron Klotz
31f875cce4
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
5447397538
Bug 1383501: Change remaining references to HKEY_CLASSES_ROOT to HKEY_LOCAL_MACHINE in mscom-related code; r=jimm
...
MozReview-Commit-ID: GAV3iqapXss
2017-08-28 15:15:35 -06:00
Aaron Klotz
1dc82c1867
Bug 1393600: Prevent mismatches between the handler's expected interface and the one being provided by content; r=jimm
...
MozReview-Commit-ID: 9DTZHplk4Cz
2017-08-24 15:31:02 -06:00
Aaron Klotz
e59591fb2a
Bug 1386422: Clean up error handling and stream positioning in StreamHandlerFromOBJREF; r=jimm
...
MozReview-Commit-ID: HmbZeX76bkb
2017-08-01 15:43:26 -06:00
Aaron Klotz
c9088a8119
Bug 1383260: Fix problems with unmarshaling handler-wrapped object when in its original apartment; r=jimm
2017-07-21 16:16:16 -06:00
Aaron Klotz
215706d46f
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
2017-06-06 17:35:51 -06:00
Aaron Klotz
5f967c1deb
Bug 1303060: Simplifications to mscom handler code; r=jimm
...
MozReview-Commit-ID: 5YEVtL8gw6S
2017-03-27 18:41:06 -06:00
Aaron Klotz
19093b8b80
Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
...
MozReview-Commit-ID: IYjONGbBraG
2017-02-17 16:20:51 -07:00
Phil Ringnalda
1f8ff08ac3
Backed out 2 changesets (bug 1303060) for Windows static-analysis bustage
...
CLOSED TREE
Backed out changeset 729a1b8c7e47 (bug 1303060 )
Backed out changeset 604605ca738c (bug 1303060 )
2017-02-22 21:55:15 -08:00
Aaron Klotz
9cb67425a6
Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
...
MozReview-Commit-ID: IYjONGbBraG
2017-02-17 16:20:51 -07:00