Commit Graph

104 Commits (replace-browserview-update)

Author SHA1 Message Date
Keeley Hammond 15202aeb44
Merge branch 'main' into replace-browserview 2023-08-29 11:47:05 -07:00
Duncan Hewett 2c700da4de
docs: add Bugsnag as a 3rd party crash server (#32053) 2022-01-03 14:48:15 -05:00
Milan Burda e6b1d95a1c
docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
Jeremy Rose 40e76dca07
feat: switch to crashpad on linux (#30278) 2021-08-03 14:01:12 -07:00
Jeremy Rose 502d4c19ce
feat: allow omitting submitURL when uploadToServer is false (#28105) 2021-03-18 14:15:19 -07:00
Milan Burda 022bafc485
chore: remove deprecated crashReporter APIs (#26695) 2020-11-26 22:07:40 +03:00
Jeremy Rose 3ceaf4aa54
docs: document process.crashReporter apis in node children (#25579) 2020-09-24 08:22:50 -07:00
Jeremy Rose 4dc09ea9dc
feat: [crashReporter] enable compression by default (#25288) 2020-09-03 12:43:58 -07:00
GitHubPang 5c5e006e46
docs: fix typos (#24982)
* docs: sync table of content from pull-requests.md to CONTRIBUTING.md

This also fixes some incorrect / dead links.

* docs: fix a bunch of typos
2020-08-18 16:55:16 +09:00
Jeremy Rose d93bb34ac4
fix: increase max crash key value length (#24782)
* fix: increase max crash key value length

* chore: fix linting

* chore: fix linux

* Update spec-main/api-crash-reporter-spec.ts

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
2020-07-29 19:04:04 -07:00
Jeremy Apthorp 87a670f74d
feat: allow compressing crash uploads on linux (#23597)
* chore: align crash patch with upstream

* feat: allow compressing crash uploads on linux

* update patches

Co-authored-by: Electron Bot <anonymous@electronjs.org>
2020-05-18 11:09:50 -04:00
Jeremy Apthorp 06bf0d08dc
fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
Jeremy Apthorp aeaccd00a2
feat: crashReporter: expose rateLimit and compress options (#23062) 2020-04-14 10:36:31 -07:00
Jeremy Apthorp 8dad0c7aaa
test: move crashReporter specs to the main process (#20417) 2019-10-14 14:38:54 -07:00
Samuel Attard cfd230d7f1
docs: remove implicit 'any' and 'Object' types from the docs (#19585)
* docs: remove implicit 'any' and 'Object' types from the docs

* docs: more docs improvements, remove all remaining empty interfaces

* chore: update tests for better types
2019-08-05 10:45:58 -07:00
Charles Kerr 792f6b246c
docs: fix spelling and grammar errors (#18910) 2019-06-21 16:19:21 -05:00
Nitish Sakhawalkar f98454e5dd fix: use crashpad on Windows (#18483)
* Initial changes to use crashpad for windows

* Remove crashpad patch

* Report error when failed to connect pipe

* Allow crashpad to communicate with named pipe

* Add patch to make crashpad named pipe work

* Windows also needs crashReporter on main process

* Call SetUnhandledExceptionFilter in node process

Node can also use crash reporter.

* Do not treat node process as browser process

* No more need to manually start crash service

* Use base::StringPrintf for better readbility

* Print error when pipe name not available

* Make sure pipe name is updated

Note that the crashpad may be started after renderer process gets
created.

* Fix some tests

* Update node

* Exclude crashpad files on Linux and MAS

* Fix lint warning

* Remove unused checks

* kCrashpadPipeName is only available on Windows

* Fix uploadToServer tests

* Fix extra params tests

* Fix getCrashesDirectory tests

* Run crashReporter tests on CI

* Style fixes

* Update crashreporter docs

* Rename InitBreakpad to Init

* Add comment for process_type_.empty() and UTF16ToASCII to UTF16ToUTF8.

* Update build.gn include crashpad headers

* Address comment https://github.com/electron/electron/pull/18483#discussion_r290887898

* Avoid using api::WebContents

* Put kRunAsNode in atom_constants

* Remove duplicate settings on upload params

* Fix building on macOS

* Update description for crashpad_pid_check.patch
2019-06-13 15:42:21 +09:00
Shelley Vohr 01cd6e7a06
docs: clarify crash report extra param length (#18386)
Resolves #17746.

Clarifies that the extra field of the crashReporter options object only needs to be < 64 characters on Windows.
2019-05-28 10:17:01 -07:00
Jeremy Apthorp 96e19f1cc4
docs: fix name of Backtrace in crash reporter docs (#18180) 2019-05-09 10:30:37 -07:00
Bobby Galli 175fae722a docs: added BugSplat to list of hosted solutions (#18162) 2019-05-06 19:37:24 -07:00
Shelley Vohr 8d83518f9a
refactor: make name a prop on app (#17701)
Update app.name to be a property on app.
2019-04-30 13:55:33 -07:00
Shelley Vohr b25279df89
docs: clarify documentation for getLastCrashReport (#17458)
* docs: clarify documentation for getLastCrashReport

* address feedback
2019-03-20 15:34:21 -07:00
Jeremy Apthorp 72f3a22ecc docs: reorder crashReporter notes to make more sense (#16825)
the note about reports from child processes on Windows should be next to the code snippet.

Side note: is that code even still necessary?
2019-02-08 13:26:59 -08:00
Samuel Attard 558fff69e7
chore: update to standard 12 2018-09-14 14:57:01 +10:00
Shelley Vohr e415efaceb
docs: crashReporter companyName is not optional 2018-08-16 09:15:17 -07:00
popod 13f97b4cae Add Sentry.io to 3rd party hosted solution list for crash reports (#13281)
* Add Sentry.io to 3rd party hosted solution list for crash reports

* Single link to sentry doc
2018-06-19 10:32:37 -05:00
Phil Freo 738b10adea
Include backtrace i/o as a crash reporter backend option
Note: I have no affiliation with this company - just thought this would be helpful for people
2018-02-28 14:21:14 -05:00
Shelley Vohr fc025064f7
remove setExtraParameter for 2.0 2018-02-20 08:26:10 -05:00
Toinane 0a0d88a5dc
remove all double spaces not needed 2017-11-29 11:58:24 +01:00
Toinane 323ea2b27b
fix(docs): fix all missing dots and add some links 2017-11-29 11:38:35 +01:00
Shelley Vohr 14df9a58c7
remove setExtraParam from docs 2017-11-01 22:30:48 -04:00
Shelley Vohr dc9c2673d7
docs typo fix 2017-11-01 22:25:10 -04:00
Shelley Vohr 3af83f1c97
add new method and mark setExtraParameter for deprecation 2017-11-01 21:57:43 -04:00
Shelley Vohr 33092e6324
update docs to reflect parameter method change 2017-11-01 21:21:41 -04:00
Samuel Attard 195cb91721
Make crashesDirectory optional 2017-09-08 13:21:35 +10:00
Benjamin Pasero 54bd60d657 add crashesDirectory to crash reporter options 2017-09-07 06:07:28 +02:00
Zeke Sikelianos d3ac9a3f3b fix crash reporter typo 2017-06-27 10:40:14 -07:00
Kevin Sawicki cbaf3d4787 Tweak character limit description 2017-06-26 08:35:57 -07:00
foo bar code 4bed743417 Extra properties must be less than 63 characters
I found out that after trying to putting some long text in my extra properties that it was truncated, digging around I found these:

897d58bde1/atom/common/crash_reporter/crash_reporter_win.cc
const int kNameMaxLength = 64;
const int kValueMaxLength = 64;
2017-06-16 14:41:12 +02:00
Thiago de Arruda f0d447cd68 Pass `uploadToServer` to windows crash reporter 2017-03-31 13:46:30 -03:00
Thiago de Arruda e03e37e984 Pass `uploadToServer` parameter to linux crash reporter 2017-03-09 17:23:52 -03:00
Kevin Sawicki 07173cdd9d Tweak setExtraParameter description 2017-02-14 09:37:09 -08:00
Kevin Sawicki 3b7207da9f Support removing extra parameters 2017-02-14 09:37:09 -08:00
Kevin Sawicki 41fef3999c Document setExtraParameter 2017-02-14 09:37:09 -08:00
Kevin Sawicki cfe3ae234b Correct , -> . typo 2017-02-14 09:37:09 -08:00
Kevin Sawicki ce6a46ee59 Use template strings 2017-01-24 14:08:10 -08:00
Kevin Sawicki 108a3473ed Use crashesDirectory in example 2017-01-24 14:07:00 -08:00
Kevin Sawicki 4985e073c4 Mention how to test 2017-01-24 14:04:56 -08:00
Kevin Sawicki 7b03c05b4e Capitalize Electron, fence as JS 2017-01-24 14:03:54 -08:00
Ramya Achutha Rao dc5129f32e Updated docs for crash reporter to support child processes 2017-01-17 21:59:23 -08:00