Commit Graph

80 Commits

Author SHA1 Message Date
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Georg Fritzsche
5446efd354 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
94cf6a98f4 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
ddd6c693ea 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
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Georg Fritzsche
7fcae06fbb Bug 788512 - Add dumps for Flash processes to the modified plugin hang report. r=bsmedberg 2012-09-11 17:21:26 +02:00
Ms2ger
10ec580e54 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Georg Fritzsche
40a04e4be6 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
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Bob Clary
4b000d6aa2 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
8c296bbcd4 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
148f87b1c8 Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
d4c52b352e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Ben Turner
81d9415df5 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
debd135a9a Back out ecb6aaee9601 (Bug 781133) for Windows moth orange
--HG--
extra : rebase_source : 1b1945149e808faf3b83eee5afe08bd84fe831e7
2012-08-08 22:44:21 -07:00
Georg Fritzsche
0cded142db Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ryan VanderMeulen
355728ff0a 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
9e83254a72 Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-08 19:01:51 +02:00
Georg Fritzsche
44d743d83e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-08 16:23:08 +02:00
Ms2ger
c861fd0028 Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Georg Fritzsche
5421b7b3f8 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
925bae17d1 Bug 774813 - Bug 774139 will break Qt builds due to #define signals. r=cjones 2012-07-18 22:45:58 -04:00
Benjamin Smedberg
5e47967333 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
b1e2528f23 Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red. 2012-07-10 22:50:33 -04:00
Benjamin Smedberg
d8435debee 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
2d9174eff0 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
1161c4f253 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
3f10b3b71c 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
8e60b812d6 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
7990326241 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Chris Jones
b49a6607bc Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg 2012-06-21 20:44:38 -04:00
Martin Stransky
02b62af313 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Josh Aas
510e100df5 Bug 758363: Implement NPN_ReloadPlugins for out-of-process plugins. r=bsmedberg 2012-05-30 10:23:03 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jacek Caban
f96d6c2893 Bug 754582 - Fixed unused-result warnings in Windows-specific code r=benjamin 2012-05-16 10:48:45 +02:00
Bas Schouten
f675148d85 Bug 748785: Enable NPAPI Async Drawing by default on windows. r=josh 2012-05-01 23:46:53 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Masayuki Nakano
eb57a32930 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Bas Schouten
252cced9e6 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Josh Aas
1fce7d11b3 Bug 729155: Fix warnings in plugin ipc code. r=bsmedberg 2012-02-21 19:32:06 -05:00
Bas Schouten
99fd260eb0 Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc 2012-02-08 16:34:27 +01:00