Commit Graph

97 Commits

Author SHA1 Message Date
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Johnny Stenback
f735d2b3ee Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Brian Smith
f2b558322e Bug 841477: Fix build bustage in the case MOZ_CRASHREPORTER_INJECTOR not being defined, rs=dholbert
--HG--
extra : rebase_source : bb2b4777d6b45bad6b856e23d21f71117e1b9381
2013-02-27 17:25:38 -08:00
Masatoshi Kimura
62ce59892e Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Aaron Klotz
5ab4d199fd Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric 2013-02-12 15:05:39 -05:00
Aaron Klotz
b1b3cfad7e Bug 839236 - Add nsRefPtr to a nsPluginHost::GetInst call. r=bsmedberg 2013-02-11 20:49:33 -05:00
Aaron Klotz
89cb7f8868 Bug 828034 - Fix crash when PluginModuleParent::CleanupFromTimeout runs before channel error notification. r=bsmedberg 2013-01-24 21:10:02 -05:00
Ben Turner
d7c5c23c6e Bug 831307 - Allow invalid file handles to not crash child processes. r=cjones. 2013-01-24 17:10:39 -08:00
Aaron Klotz
d826938329 Bug 805591 - Win32 implementation of the Plugin Hang UI r=bsmedberg,bbondy 2013-01-04 17:59:05 -05:00
Ehsan Akhgari
c962137cc8 Backed out changeset a6acebd9c9d5 (bug 805591) because of build failures 2013-01-03 22:55:45 -05:00
Aaron Klotz
192737bef9 Bug 805591 - Win32 implementation of the Plugin Hang UI. r=bsmedberg,bbondy 2013-01-03 22:24:07 -05:00
Benjamin Smedberg
4ddd8054dd Bug 818664 - Report plugin version in plugin crash reports, r=josh
--HG--
extra : rebase_source : 4e9c0fe80cafe5294a85599c5f31bffbc78ebee6
2012-12-13 12:06:52 -05:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Steven Michaud
5038f543ad bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Georg Fritzsche
fef817a5de Bug 788512 - Actually generate Flash process dumps instead of just collecting them if present. r=bsmedberg,ted
--HG--
extra : rebase_source : 3f418dfb63cd1d7f8830be548734d3b1cdca52e9
2012-09-26 22:49:20 +02:00
Georg Fritzsche
e348cee9bb Bug 788512 - Repost CleanupFromTimeout if it can't currently be processed. r=bsmedberg
--HG--
extra : rebase_source : 0a7e7a65df1448b7337a3bf5e549f29a2eccd5d4
2012-10-15 12:29:47 +02:00
Benjamin Smedberg
243bb7b3ea Bug 792372 - Use a check to solve a race notifying the browser process about a Flash crash while the channel is being closed [@ mozilla::ipc::AsyncChannel::CloseWithError()], r=gfritzsche 2012-10-04 12:58:42 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Georg Fritzsche
d4ef76ebda Bug 788512 - Add dumps for Flash processes to the modified plugin hang report. r=bsmedberg 2012-09-11 17:21:26 +02:00
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Georg Fritzsche
cf33482a3e Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Bob Clary
b814c458f7 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Georg Fritzsche
6d3f51f08a Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
3dfa8d43e7 Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Ben Turner
10787d0206 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Phil Ringnalda
6566a4f094 Back out ecb6aaee9601 (Bug 781133) for Windows moth orange
--HG--
extra : rebase_source : 1b1945149e808faf3b83eee5afe08bd84fe831e7
2012-08-08 22:44:21 -07:00
Georg Fritzsche
c4c677772c Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ryan VanderMeulen
1cecad8f26 Backout ac8d6c79a074 (bug 781133) and fccc68cc904f (bug 781124) for Windows bustage on a CLOSED TREE. 2012-08-08 18:30:26 -04:00
Georg Fritzsche
df5fd21d6b Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-08 19:01:51 +02:00
Georg Fritzsche
4fe4413da3 Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ms2ger
a45a0051cf Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Georg Fritzsche
755f0b9812 Bug 764660 - Collect and report on CPU utilization of a hung plugin process. r=bbondy 2012-07-25 14:38:43 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
850f3d80ad Bug 774813 - Bug 774139 will break Qt builds due to #define signals. r=cjones 2012-07-18 22:45:58 -04:00
Benjamin Smedberg
d19c5bb416 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Justin Wood
b43efade28 Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red. 2012-07-10 22:50:33 -04:00
Benjamin Smedberg
6d7c8015de Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Benjamin Smedberg
0006dc4f11 Followup to bug 769048 part F - actually annotate the crash report with the notes we've carefully collected, r=captain-obvious 2012-07-06 13:08:19 -04:00
Benjamin Smedberg
fcd6683cce Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones 2012-07-05 14:48:40 -04:00
Benjamin Smedberg
be3273a706 Bug 769048 part F - Add the final bits to PluginModuleParent which watch for new Flash processes and inject a crashreporter into them, r=jimm
--HG--
extra : rebase_source : dd00ee4c29ec0b2f7bee0e48eedd426644b1ae43
2012-07-03 07:49:23 -04:00
Martin Stransky
7930265fe3 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
d3dde67942 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Chris Jones
6d40dc48d4 Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg 2012-06-21 20:44:38 -04:00