electron/lib/common
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
..
api refactor: convert browser window state fns to props (#18618) 2019-06-04 22:44:16 -07:00
asar.js refactor: lazily hook into child_process in asar_init (#18576) 2019-06-03 13:19:52 -07:00
asar_init.js feat: upgrade to Node 12 (#17838) 2019-04-26 18:55:12 +09:00
buffer-utils.js chore: have 'use strict' consistently across our lib files (#14721) 2018-09-23 00:28:50 +12:00
clipboard-utils.js chore: rename atomBinding to electronBinding (#17419) 2019-03-18 12:37:06 -07:00
crash-reporter.js fix: use crashpad on Windows (#18483) 2019-06-13 15:42:21 +09:00
electron-binding-setup.ts chore: rename atom-binding-setup.ts to electron-binding-setup.ts (#17949) 2019-04-29 10:57:32 -04:00
error-utils.js refactor: use error-utils for remote exception serialization / deserialization (#14788) 2018-09-26 15:44:55 +10:00
init.ts chore: rename atom-binding-setup.ts to electron-binding-setup.ts (#17949) 2019-04-29 10:57:32 -04:00
parse-features-string.js fix: make feature strings more robust to whitespace (#15602) 2018-11-06 15:52:06 -08:00
path-utils.ts feat: only allow bundled preload scripts (#17308) 2019-03-28 11:38:51 +01:00
reset-search-paths.ts refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
web-view-methods.js feat: promisify webContents.printToPDF() (#16795) 2019-02-11 09:20:04 -10:00