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
1559fd3d00
Bug 1433046: Use WeakReferenceSupport::StabilizeRefCount instead of regular kung-fu death grips when aggregating; r=Jamie
...
This fix is completely speculative, but I have strong reason to believe that
we are having lifetime issues, and that refcount stabilization might be coming
into play.
The situation is this:
Suppose we're aggregating an object, so we pass |this| as the outer IUnknown.
The inner object might perform AddRef() and Release() on |this| during its
initialization.
But if we're in the process of creating the outer object, that refcount might
not yet have been incremented by 1, so the inner object's invocation of the
outer object's Release() could trigger a deletion.
The way around this is to temporarily bump the refcount when aggregating another
object. The key, though, is to not do this via AddRef() and Release(), but by
direct maniuplation of the refcount variable, so that we don't trigger any of
the self-deletion stuff.
MozReview-Commit-ID: 3WA2AJvb6jY
--HG--
extra : rebase_source : ab05a52760541a4ab11f1245a5ddeae938998047
2018-01-25 13:45:21 -07:00
Aaron Klotz
37fc167ff3
Bug 1428759: Remove mutual exclusion from WeakReferenceSupport interface queries; r=Jamie
...
--HG--
extra : rebase_source : 1626509510d4f6018381b3f183ca40f2085f46d5
2018-01-12 14:17:18 -07: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
54a2de515e
Bug 1371345: Fix deadlock caused by holding mscom Interceptor live set lock while posting work to the main thread; r=jimm
...
MozReview-Commit-ID: H6buwB98Bmu
2017-06-08 11:52:53 -06:00
Aaron Klotz
7d2dd562c2
Bug 1342992: Make mscom::Weakref final; r=jimm
...
MozReview-Commit-ID: 7SZpXP2adK7
--HG--
extra : rebase_source : 49e9108c9ade5d4392f9a4ec52fb8413512ccc88
2017-02-27 11:44:45 -07:00
Aaron Klotz
d8a1f446d1
Bug 1339951: Refactor mscom weak reference support and establish lock hierarchy within; r=jimm
...
MozReview-Commit-ID: BJJpSj44alY
--HG--
extra : rebase_source : ed64776fc38dd59af48edd6b24959c012755b67a
2017-02-17 17:35:01 -07:00
Sebastian Hengst
892a8de889
Backed out changeset 06cd86f16c70 (bug 1339951) in hope for fix for a11y related crashes e.g. in Mn-e10s on Windows 8 x64 debug test_accessibility.py TestAccessibility.test_click_raises_element_not_accessible. r=backout
2017-02-18 01:18:45 +01:00
Aaron Klotz
a6c766977b
Bug 1339951: Refactor mscom weak reference support and establish lock hierarchy within; r=jimm
...
MozReview-Commit-ID: BJJpSj44alY
--HG--
extra : rebase_source : 2a18f861da83633a6cd443b80155946483e7cf49
2017-02-15 15:33:32 -07:00
Ting-Yu Chou
76cef3b73d
Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan
...
MozReview-Commit-ID: B0mAMZp5sll
--HG--
extra : rebase_source : fb5e25352089e26172189b9c4f2be8c5553fa5a8
2016-12-14 14:34:26 +08:00
Jacek Caban
28399d9154
Bug 1263224: cross-compilation fixup.
2016-11-04 15:40:41 +01:00
Aaron Klotz
05c8c56d9d
Bug 1263224: Add support for thread-safe weak references for COM-based objects; r=jimm
...
MozReview-Commit-ID: JxVMyDhNPs4
--HG--
extra : rebase_source : 66366989c31c6b4fb1e640e54ba3b81d3729526b
2016-07-19 13:36:55 -06:00