Aaron Klotz
116698fb6b
Bug 1344965: Clean up mscom interfaces to improve separation of concerns; r=jimm
...
MozReview-Commit-ID: C96y3i8hjWs
--HG--
extra : histedit_source : 8cee3ff07ecd0310ac9648d903328d54588d3dde
2017-03-06 17:22:43 -07:00
Aaron Klotz
90071c5f69
Bug 1344798: Allow mscom::AsyncInvoker to be able to handle proxied and non-proxied interfaces; r=jimm
...
MozReview-Commit-ID: 6lQg6fwuvmw
--HG--
extra : histedit_source : 28d66eb2ec245b8ca41baba85c7a74ecbc3341f2
2017-03-02 17:39:01 -07:00
Ryan VanderMeulen
8dbf7d75e2
Bug 1344187 - Add guards around code in ProxyStream.cpp that require the crash reporter. r=aklotz
2017-03-03 13:33:13 -05:00
Aaron Klotz
f394903529
Bug 1303060: Fix problematic annotation on mscom::InParamWalker; r=staticbustage-fix
...
MozReview-Commit-ID: 2QtUJ4Bbk1m
2017-03-01 11:05:35 -07:00
Aaron Klotz
10b6488d0c
Bug 1325834: Add crash reporter annotations to report COM marshaling failure codes; r=jimm
...
MozReview-Commit-ID: FcEBoU0DzzR
--HG--
extra : rebase_source : a6cb3f2735ff0470bcff96b3832bad794701783f
2017-02-27 11:55:42 -07:00
Aaron Klotz
833aa2af27
Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
...
MozReview-Commit-ID: IYjONGbBraG
--HG--
extra : rebase_source : a6eb90db7a9c21b91b9e763a15a9a661d41c5e77
2017-02-17 16:20:51 -07:00
Aaron Klotz
f3fa5ee8d2
Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm
...
MozReview-Commit-ID: 13NFW1pgxix
--HG--
extra : rebase_source : 18cc11d4c1dc62bc0ee428608f6cb57e32c4d0af
2017-02-17 17:30:03 -07:00
Aaron Klotz
1110b03572
Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman
...
MozReview-Commit-ID: BikO5ng6joM
--HG--
extra : rebase_source : f5b92fece72e627f7edf8e3e3a120e25f41a7686
2017-02-10 11:27:01 -07: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
Michael Layzell
893ed78ef5
Bug 1336510 - Part 10: Remove unnecessary assertion from SharedRef::Clear(), r=aklotz
...
MozReview-Commit-ID: Fx7CmxgiJpo
2017-02-24 14:34:32 -05:00
Michael Layzell
ac9295ead2
Bug 1336510 - Part 7: Stop capturing this by value in windows-only code, r=aklotz
...
MozReview-Commit-ID: B4dYo4ETzkL
2017-02-24 14:34:27 -05:00
Wes Kocher
7e8f316730
Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
...
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)
MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell
dac86659ac
Bug 1336510 - Part 7: Stop capturing this by value in windows-only code, r=aklotz
...
MozReview-Commit-ID: B4dYo4ETzkL
2017-02-23 12:24:12 -05:00
Phil Ringnalda
68316b419c
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
f3b557f70c
Bug 1303060: Additions to ipc/mscom for out-of-process components; r=jimm
...
MozReview-Commit-ID: IYjONGbBraG
--HG--
extra : rebase_source : a6eb90db7a9c21b91b9e763a15a9a661d41c5e77
2017-02-17 16:20:51 -07:00
Aaron Klotz
af5bd498da
Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm
...
MozReview-Commit-ID: 13NFW1pgxix
--HG--
extra : rebase_source : 18cc11d4c1dc62bc0ee428608f6cb57e32c4d0af
2017-02-17 17:30:03 -07:00
Aaron Klotz
3d7955bc43
Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm
...
MozReview-Commit-ID: CSkNYCIQYQe
--HG--
extra : rebase_source : 8e357eb60adf2040d30f826b1805c35163456aa0
2017-02-17 14:26:56 -07:00
Aaron Klotz
74cac7296d
Bug 1338596: Add support for agile references to mscom; r=jimm
...
MozReview-Commit-ID: 1NZoFZntO3g
--HG--
extra : rebase_source : 6d3ed1da4893747d38c1bd2c31671d8ecf535cfd
2017-02-10 11:18:26 -07: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
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
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
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
Aaron Klotz
d236f79291
Bug 1339942: Make mscom registration able to be compiled and run outside Mozilla processes; r=jimm
...
MozReview-Commit-ID: 3ETSE5Qn8nd
--HG--
extra : rebase_source : cfab62cd77e0bed75a8600d1f0441b9683966307
2017-02-15 14:37:20 -07:00
Aaron Klotz
b9df44ad52
Bug 1338600: Add support for COM asynchronous interfaces to mscom; r=jimm
...
MozReview-Commit-ID: EcbeH9KSZrQ
--HG--
extra : rebase_source : 11919a376bfa7f58d5a18d005ab78c9f84b63688
2017-02-15 14:09:02 -07:00
Nicholas Nethercote
334f89c567
Bug 1339327 (part 5) - Rename some profiler functions related to sleeping. r=mstange.
...
The new names make it clearer that these actions apply to just one thread.
- profiler_sleep_start() --> profiler_thread_sleep()
- profiler_sleep_end() --> profiler_thread_wake()
- profiler_is_sleeping() --> profiler_thread_is_sleeping()
- GeckoProfilerSleepRAII --> GeckoProfilerThreadSleepRAII
- GeckoProfilerWakeRAII --> GeckoProfilerThreadWakeRAII
2017-02-15 14:26:23 +11:00
Aaron Klotz
08f3a463ec
Bug 1334665: Eliminate runtime dynamic linking for pre-win7 functions in ipc/mscom; r=jimm
...
MozReview-Commit-ID: 7ySl728hdka
--HG--
extra : rebase_source : fd5914c70fb89176a71ffbc636c0f39662cf9d38
2017-01-27 14:53:20 -07:00
Aaron Klotz
3ef6514406
Bug 1335235: Add disabling of the COM BSTR cache to mscom::MainThreadRuntime; r=jimm
...
MozReview-Commit-ID: 5RQvHiBoD2B
--HG--
extra : rebase_source : 52425f3e5838939d17c29729caf70534212c328a
2017-01-30 16:39:08 -07:00
Joel Maher
566fa285c7
Bug 1333460 - add BUG_COMPONENT to ipc/* files. r=billm
...
MozReview-Commit-ID: G9jzVGDlAaz
2017-01-25 06:17:10 -05:00
Aaron Klotz
a2e223b2f8
Bug 1331687: Overload mscom::RegisterProxy to allow proxy registration from within xul.dll itself; r=jimm
...
MozReview-Commit-ID: EiIS5sOCntb
--HG--
extra : rebase_source : e0c5f6001bc4c85bdf1db10baa748e393df5a031
2017-01-17 13:19:40 -07:00
Chris Peterson
971f368adf
Bug 1330496 - Part 3: Remove other ipc checks for Windows Vista or 7+. r=aklotz
...
MozReview-Commit-ID: 9z5LKw71Veg
--HG--
extra : rebase_source : 34e4edb7f5dd92cdca0ca638398705ded48bd3bc
extra : histedit_source : 06350bb2aa8baf386431e634d63819d87cd18fe1
2017-01-09 21:03:57 -08:00
Wes Kocher
f2afbdd978
Backed out changeset 8da0d71a754c (bug 1325834) for mn-e10s bustage a=backout
...
MozReview-Commit-ID: 85BcTBhW6HY
2017-01-10 17:33:39 -08:00
Aaron Klotz
ab058eb02b
Bug 1325834: Add MOZ_DIAGNOSTIC_ASSERTs to mscom proxy deserialization code; r=jimm
...
MozReview-Commit-ID: 9i4A1SFkyZP
--HG--
extra : amend_source : 408641f3624861d6ce624e4766994dbc3d37e10c
2017-01-10 13:55:32 -07:00
Ting-Yu Chou
0643b83e9b
Bug 1322465 part 6 - Use explicit/MOZ_IMPLICIT for the unary constructors in ipc/. r=aklotz,Ehsan
...
MozReview-Commit-ID: 6vg1HZaWtS
--HG--
extra : rebase_source : 3d9a0b6ee94d86c6e9346b59a3567071667c5820
2016-12-16 15:56:04 +08: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
Ting-Yu Chou
4f285bd583
Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
...
MozReview-Commit-ID: FLTLZSg2yh9
--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Nathan Froyd
2ebbd09068
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Aaron Klotz
389462bb42
Bug 1294903: Add a default constructor to mscom::EnsureMTA that ensures that the MTA thread is running; r=jimm
...
MozReview-Commit-ID: IN4maTgdL4l
--HG--
extra : rebase_source : 95e31fb15b02f1dc04b20f4684464386848d1d93
2016-11-15 11:33:57 -07:00
Aaron Klotz
31db1f008a
Bug 1315638: Modify MainThreadHandoff::FixArrayElements to be able to distinguish between outparams with different levels of indirection; r=jimm
...
MozReview-Commit-ID: HZgED9JT16m
--HG--
extra : rebase_source : 3b147251d55229aa5722d9f9ec6a9ad832a83c87
2016-11-07 16:04:06 -07:00
Wes Kocher
db15df3e50
Merge m-c to inbound, a=merge CLOSED TREE
2016-11-04 15:19:49 -07:00
Jacek Caban
28399d9154
Bug 1263224: cross-compilation fixup.
2016-11-04 15:40:41 +01:00
Aaron Klotz
a7baaddbf0
Bug 1311748: Remove extra pointer dereference from MainThreadHandoff::FixArrayElements; r=jimm
...
MozReview-Commit-ID: 2hLgQ1km07J
--HG--
extra : rebase_source : 371222c8106fd662a4a455117621f22bbc1b3bef
2016-11-03 11:25:26 -06:00
Carsten "Tomcat" Book
9031c83f32
Merge mozilla-central to autoland
2016-10-26 17:14:27 +02:00
Aaron Klotz
8cfa990adf
Bug 1311834: Make MainThreadInvoker use a spin loop on multiprocessor machines; r=jimm
...
MozReview-Commit-ID: 5xKdm7Z4oKs
--HG--
extra : rebase_source : f71e3b762501d8e24446ba8913c841cfe03a277b
2016-10-25 15:43:40 -06:00
Aaron Klotz
938166ed49
Bug 1310841: Make mscom registration use CoGetClassObject so that COM will retain a reference to the proxy dll; r=jimm
...
MozReview-Commit-ID: GZxbLCC6gVi
--HG--
extra : amend_source : 3cee23be271cfd35860869bd9446a3c95aaa4945
extra : histedit_source : 25a8893fff465ffc50dc95c2a8a5f011f0fd381f
2016-10-25 15:04:47 -06:00
Aaron Klotz
9772dd793a
Bug 1306014: Modify ipc/mscom/moz.build to only build essentials when a11y is disabled in build config; r=jimm
...
MozReview-Commit-ID: 4B08546SS4w
--HG--
extra : rebase_source : bded5176afaf99cb681c1be4b70edb9457ed2028
2016-09-28 14:09:07 -06:00
Aaron Klotz
96c052cf1f
Bug 1304883: Modify mscom::MainThreadInvoker and Win32 widget to use atomic boolean to flag pending APCs; r=jimm
...
MozReview-Commit-ID: 7fXoDkBEd2V
--HG--
extra : rebase_source : 1960f9bf8294bfea15209554dd7fdc0ce1df5dcc
2016-09-22 15:07:01 -06:00
Carsten "Tomcat" Book
0f2c669a48
merge mozilla-inbound to mozilla-central a=merge
2016-09-09 12:02:43 +02:00
Aaron Klotz
fec23fc114
Bug 1301217: Ensure that RegisteredProxy objects are MTA-aware; r=jimm
...
MozReview-Commit-ID: HStX3pBl5ly
2016-09-07 16:10:45 -06:00
Aaron Klotz
23956d09e2
Bug 1301184: Notify the profiler and hang monitor when we're executing APCs; r=jimm
...
MozReview-Commit-ID: B4nTiAf9GNk
2016-09-06 14:39:37 -06:00