Commit Graph

196 Commits

Author SHA1 Message Date
Benoit Girard
4146042cfd Bug 851611 - Part 2: Update profiler calls. r=jrmuizel 2013-03-16 00:47:02 -04:00
Johnny Stenback
e41a6bd869 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
90c9bf415e Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
627fcd7895 Backed out changeset d195190adc48 (bug 851611) 2013-03-18 14:10:30 +00:00
Benoit Girard
0b880319f3 Bug 851611 - Part 3: Rename headers. r=jrmuizel 2013-03-18 14:41:02 +01:00
Benoit Girard
6d0dfa5b89 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel 2013-03-16 00:47:02 -04:00
Brian Smith
c0fe5a7ae9 Bug 841477: Fix build bustage in the case MOZ_CRASHREPORTER_INJECTOR not being defined, rs=dholbert 2013-02-27 17:25:38 -08:00
Masatoshi Kimura
c31223e77c Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Aaron Klotz
d47b9cd80d Bug 833560 - Part 2: Add timings to Plugin Hang UI telemetry. r=vdjeric 2013-02-12 15:05:39 -05:00
Aaron Klotz
9b7e4b31f1 Bug 839236 - Add nsRefPtr to a nsPluginHost::GetInst call. r=bsmedberg 2013-02-11 20:49:33 -05:00
Aaron Klotz
2c90884e15 Bug 828034 - Fix crash when PluginModuleParent::CleanupFromTimeout runs before channel error notification. r=bsmedberg 2013-01-24 21:10:02 -05:00
Ben Turner
0586cfdfbc Bug 831307 - Allow invalid file handles to not crash child processes. r=cjones. 2013-01-24 17:10:39 -08:00
Aaron Klotz
09f0f2a1b0 Bug 805591 - Win32 implementation of the Plugin Hang UI r=bsmedberg,bbondy 2013-01-04 17:59:05 -05:00
Ehsan Akhgari
7d7844c454 Backed out changeset a6acebd9c9d5 (bug 805591) because of build failures 2013-01-03 22:55:45 -05:00
Aaron Klotz
77dec009bd Bug 805591 - Win32 implementation of the Plugin Hang UI. r=bsmedberg,bbondy 2013-01-03 22:24:07 -05:00
Benjamin Smedberg
11f7764115 Bug 818664 - Report plugin version in plugin crash reports, r=josh 2012-12-13 12:06:52 -05:00
Nathan Froyd
cb4c9c2a0d Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Steven Michaud
881c04e390 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Georg Fritzsche
e78e47072d Bug 788512 - Actually generate Flash process dumps instead of just collecting them if present. r=bsmedberg,ted 2012-09-26 22:49:20 +02:00
Georg Fritzsche
6ac567e633 Bug 788512 - Repost CleanupFromTimeout if it can't currently be processed. r=bsmedberg 2012-10-15 12:29:47 +02:00
Benjamin Smedberg
5e30963b05 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
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Georg Fritzsche
d8ee094dae Bug 788512 - Add dumps for Flash processes to the modified plugin hang report. r=bsmedberg 2012-09-11 17:21:26 +02:00
Ms2ger
934e7c6e7a Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Georg Fritzsche
110578ead9 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
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Bob Clary
4425f49297 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
243c878d26 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
7835267e8f Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
04877f00ba Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Ben Turner
c8df603ac2 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones. 2012-08-16 00:02:32 -04:00
Phil Ringnalda
a2fc2a2c74 Back out ecb6aaee9601 (Bug 781133) for Windows moth orange 2012-08-08 22:44:21 -07:00
Georg Fritzsche
29bc27e9bf Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ryan VanderMeulen
d24e109c5b 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
c30640aae7 Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-08 19:01:51 +02:00
Georg Fritzsche
1c9657d9ba Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ms2ger
26fa23777d Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Georg Fritzsche
7f06e87d73 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
fbed9ff250 Bug 774813 - Bug 774139 will break Qt builds due to #define signals. r=cjones 2012-07-18 22:45:58 -04:00
Benjamin Smedberg
540dd8a6ee 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
530ae73640 Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red. 2012-07-10 22:50:33 -04:00
Benjamin Smedberg
4346cbf347 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
10f1b44ae5 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
00862f3934 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
b8a18a817d Bug 769048 part F - Add the final bits to PluginModuleParent which watch for new Flash processes and inject a crashreporter into them, r=jimm 2012-07-03 07:49:23 -04:00
Martin Stransky
9f24c66177 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
183a1466e1 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Chris Jones
a5723b9d89 Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg 2012-06-21 20:44:38 -04:00
Martin Stransky
a378b97cdb Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00