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

25 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D27245

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Martin Stransky e1d04ebd15 Bug 1433685 - Remove nsGConfService, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26484

--HG--
extra : moz-landing-system : lando
2019-04-10 10:18:14 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Adam Gashlin 3531136866 Bug 379290 - Add env var to auto submit crashes r=gsvelto
MozReview-Commit-ID: HguIy4GKMb0

--HG--
extra : rebase_source : ae9f9b5276f8b7c8cb448999ce13bd0a13c8eee2
2017-12-07 08:47:29 -08:00
Sylvestre Ledru bc5b6f4ff4 Bug 1366882 - Fix a resource leak - CID 221217 - r=ted
MozReview-Commit-ID: G3THkXZN9GA

--HG--
extra : rebase_source : 1a55c4fd3a6b57af4ba1743c755865d7a5d03d69
2017-05-22 23:23:08 +02:00
Gabriele Svelto 1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
Chris Peterson 1227e63de1 Bug 1190148 - Fix warnings in toolkit/crashreporter/client and mark as FAIL_ON_WARNINGS. r=ted 2015-08-01 11:59:40 -07:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
David Major d80937d12e Bug 1007534 - Part 2: Support for multiple upload files in the crash reporter clients. r=ted 2014-07-14 17:32:24 +12:00
David Major 02c81efdf7 Bug 1048091 - Support for multiple upload files in Breakpad. r=ted 2014-08-30 15:49:33 +12:00
Steven MacLeod 8c0f5091f2 Bug 994707 - Fix crash reporter writing submission events with CRLF line endings on windows. r=bsmedberg
This introduces a new argument to UIOpenWrite to open the file in binary
mode. We now write the submission events in binary mode so that LF
characters will not be translated to CRLF on Windows.

--HG--
extra : rebase_source : 828d593503960c77bcb6baee69d23161c838d3f6
2014-07-16 15:47:57 -04:00
Romain DEP. 6cca32afef Bug 980249 - Port GTK2 to GTK3 - toolkit/crashreporter/client does not build. r=karlt 2013-11-12 04:01:41 +01:00
Archana 65019f5ca3 Bug 414071 - Let escape key close crash reporter dialog. r=ted 2014-01-16 08:44:45 -05:00
Ryan VanderMeulen 68f927d176 Backed out changeset 796618164ade (bug 414071) for bustage. 2014-01-08 10:49:55 -05:00
Archana 685e28f858 Bug 414071 - Let escape key close crash reporter dialog. r=ted 2014-01-08 09:57:00 -05:00
Gian-Carlo Pascutto 7938cc0c62 Bug 925671 - Add missing nullptr includes. r=ted 2013-10-11 13:21:52 +02:00
Birunthan Mohanathas d0cf2be39f Bug 784739 - Switch from NULL to nullptr in toolkit/crashreporter/; r=ehsan 2013-10-10 16:39:09 -04:00
Doug Turner 3de9e6a0cf Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Ehsan Akhgari f301f745e3 Bug 883992 - Correctly compare the host string against an empty string in the gtk crash reporter app; r=ted 2013-06-17 15:40:22 -04:00
Ted Mielczarek 074526c766 bug 791775 - Update to Breakpad SVN r1047. r=glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/third_party/linux/include/glog/log_severity.h => toolkit/crashreporter/google-breakpad/src/third_party/glog/src/glog/log_severity.h
2012-09-25 07:52:54 -04:00
Arnaud Sourioux 3b85ab0d9c Bug 752313 - Add #include <unistd.h> to crashreporter_gtk_common.cpp to fix build failures. r=ted 2012-09-10 20:08:27 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ted Mielczarek 7c18a2e67b bug 557113 - sort out crash report certificate issues on Maemo. r=mfinkle,johnath
--HG--
extra : rebase_source : 5bd378a2721eeef2cb3abc3b54e15429be7c2416
2010-04-09 16:52:04 -04:00
Ted Mielczarek 793021b567 bug 546538 - crash reporter ui for maemo. r=mfinkle
--HG--
rename : toolkit/crashreporter/client/crashreporter_linux.cpp => toolkit/crashreporter/client/crashreporter_gtk_common.cpp
rename : toolkit/crashreporter/client/crashreporter_unix.cpp => toolkit/crashreporter/client/crashreporter_unix_common.cpp
extra : rebase_source : 544ea2a4956ca55b094c0549b7474c135baa70c3
2010-04-07 13:06:17 -04:00