Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc f9ceee67e8 Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric
The tree doesn't have a robust and reusable API for interfacing with
crash data. This patch is the start of a new API.

In this patch, the CrashManager type is introduced. It has APIs for
retrieving the lists of files related to crash dumps. In subsequent
patches, I will convert existing code in the tree that does similar
things to the new API. I will also build the events/timeline API onto
this type.

I made CrashManager generic because I hate, hate, hate singletons and
global variables. Allowing it to be instantiated multiple times with
different options (instead of say binding a global instance to ProfD)
makes the testing story much, much nicer. That is reason enough, IMO. In
a subsequent patch, I'll add an XPCOM service that instantiates the
"global" instance of CrashManager with the appropriate options.

It was tempting to add this code into the existing CrashReports.jsm.
However, this file does not import cleanly in xpcshell tests and I
didn't want to bloat scope to include fixing that file... yet.
CrashReports.jsm is using synchronous I/O. So, depending on how
adventerous I feel, I may replace consumers of CrashReports.jsm with the
new CrashManager.jsm, remove CrashReports.jsm, and eliminate another
source of synchronous I/O in the tree.

--HG--
extra : rebase_source : 379fa6a78b53bc0dea0c7c64e8b1bdcf85b61a7c
2013-11-19 14:08:25 -08:00
David Rajchenbach-Teller 2cfd84a757 Bug 854169 - Build the binary support for Lz4.js. r=glandium 2014-01-09 17:10:04 +01:00
Yura Zenevich 15294922b8 Bug 853439 - Add js-ctypes bindings for sqlite. r=yoric, r=gps, sr=Mossop 2013-12-19 11:47:25 -05:00
Michael Brennan 14cf08d9e0 Bug 888373: Simple API for detecting startup/shutdown crashes;r=yoric,gps 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen 6c92e4685d Backed out changesets 4117364f58fb and cb99aff2574e (bug 888373) for xpcshell failures. 2013-12-02 13:11:44 -05:00
Michael Brennan f65bd5e29e Bug 888373 - Simple API for detecting startup/shutdown crashes. r=yoric 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen ccdd6e36c5 Backed out 5 changesets (bug 854169) for Android crashes.
Backed out changeset 8898b6c66941 (bug 854169)
Backed out changeset 12cebd8b5669 (bug 854169)
Backed out changeset 844860e32631 (bug 854169)
Backed out changeset 4ede802f8dbb (bug 854169)
Backed out changeset ccae8b3f0a7d (bug 854169)
2013-11-08 10:52:02 -05:00
David Rajchenbach-Teller 4d7636707a Bug 854169 - Build the binary support for Lz4.js. r=glandium 2013-11-08 09:16:04 -05:00
David Rajchenbach-Teller 28aeb4c8b9 Bug 903433 - Add FinalizationWitnessService. r=Waldo, r=glandium, sr=Mossop 2013-10-12 14:17:43 -04:00
Joey Armstrong e3210c223f bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
David Rajchenbach-Teller db0da677ba Bug 872421 - Simple module loader for workers. r=gozala 2013-06-10 11:01:59 -04:00
Shane Caraveo 86b86d8e0b bug 869209 order provider entries by frecency, r=mak 2013-05-11 10:54:31 -07:00
Fabrice Desré 9b82bf1f9e Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Paolo Amadini d54af1672c Bug 851461 - Make the JavaScript API for downloads available in parallel to nsIDownloadManager. r=mak 2013-04-22 04:23:25 +02:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc 2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00