Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Aaron Klotz
094a7b0970
Bug 1161169: Clean up usage of mContentParent and clearly identify it as specifically for async plugin init; r=billm,jimm
...
mContentParent is really just to be used while handling a synchronous
ContentParent::RecvLoadPlugin call when async plugin init turned on.
In any other context, using it will be unsafe.
This patch adds comments and assertions to ensure that this value isn't set
otherwise, and converts the one use of mContentParent outside of async plugin
init to use an alternative mechanism for identifying the content process.
MozReview-Commit-ID: Esgt1kj0MCt
--HG--
extra : rebase_source : 166b913b401582c6948e4b61efc102dc1b9c8d2f
2016-03-03 00:24:36 -07:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jim Mathies
a10d0c34c0
Bug 1178998 - Identify which hang detector reports a hang. r=billm
2015-07-06 12:39:25 -05:00
Bill McCloskey
5a3098de24
Bug 1175975 - Null crash fix in ProcessHangMonitor (r=jimm)
2015-06-19 17:35:04 -07:00
Jim Mathies
ebf8adc0a6
Bug 1160142 - For e10s plugin hangs take the minidump of the browser process before we message the chrome UI about the hang. r=billm
2015-06-11 12:25:45 -05:00
Jacek Caban
dd8a8e94a3
Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (dom/plugins part). r=aklotz
2014-11-27 10:58:58 +01:00
Bill McCloskey
69446aded5
Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
...
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576 )
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Aaron Klotz
33625fe909
Bug 818307: Part 2 - Plugin Hang UI ChromeHang annotations; r=gfritzsche
2014-10-21 11:48:08 -06:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Ehsan Akhgari
3b5e7a8157
Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent
2014-03-03 21:35:51 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Trevor Saunders
d43c55ca0e
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
ffa374dc41
Bug 784739 - Switch from NULL to nullptr in dom/plugins/ipc/; r=ehsan
...
--HG--
extra : rebase_source : e04ab81d4686a4ab487ba51cb6a221d862760792
2013-10-23 16:34:46 -04:00
Benoit Jacob
ef57b5655b
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-19 09:54:39 -04:00
Wes Kocher
de3dfc4a8e
Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE
2013-09-18 17:21:02 -07:00
Benoit Jacob
1b7e3c520e
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Aaron Klotz
42c7bf43fe
Bug 891035: Provide mutual exclusion in Plugin Hang UI to protect against concurrent shutdown and user response. r=bsmedberg
...
--HG--
extra : rebase_source : c7960c2d74af8af57aa7e97867df61a975f4d7fe
2013-07-10 11:00:55 -06:00
Aaron Klotz
5f11f08cf8
Bug 858800: Removes premature cleanup of Plugin Hang UI's browser-side IPC. r=bsmedberg
...
--HG--
extra : rebase_source : a587db8df51399a1b68e2912dcc9063c05319080
2013-04-11 15:08:55 -06:00
Aaron Klotz
e542c35f8a
Bug 852164: Adds an addiitonal check to ensure that Plugin Hang UI user response doesn't race past a cancellation. r=bsmedberg
...
--HG--
extra : rebase_source : c626664d64183a00a9163202eaaa221c4daee260
2013-03-19 16:23:37 +01:00
Aaron Klotz
8e3ac4090b
Bug 834127 - Make Plugin Hang UI dialog unowned. r=bsmedberg
2013-02-14 18:03:05 -05:00
Aaron Klotz
163938d566
Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric
2013-02-12 15:05:39 -05:00
Aaron Klotz
a8423a5207
Bug 829909 - Fix some Plugin Hang UI synchronization problems. r=bbondy
2013-01-17 21:22:21 -05:00
Jacek Caban
3b559ff1f6
Bug 827262 - Fix plugin hang UI compilation on mingw. r=bsmedberg
2013-01-09 17:34:14 -05:00
Ben Turner
0406724a1c
Bug 827330 - 'Windows build error in PluginHangUIParent.cpp', r=bbondy.
2013-01-07 16:11:35 +01:00
Aaron Klotz
2b91478e8a
Bug 805591 - Win32 implementation of the Plugin Hang UI r=bsmedberg,bbondy
2013-01-04 17:59:05 -05:00
Ehsan Akhgari
b66d21436a
Backed out changeset a6acebd9c9d5 (bug 805591) because of build failures
2013-01-03 22:55:45 -05:00
Aaron Klotz
ea9d8f367c
Bug 805591 - Win32 implementation of the Plugin Hang UI. r=bsmedberg,bbondy
2013-01-03 22:24:07 -05:00