Commit Graph

140 Commits

Author SHA1 Message Date
confused-Techie
03f2c30ee9 Migrate to getAppDetails()
Remove both `getAppName` and `getReleaseChannel` into `getAppDetails`. Move consumers over to new module. Rewrite config file path logic into shorter function, and move known users of this logic to new module
2023-09-03 14:50:39 -07:00
Maurício Szabo
ceec7ea914 Changes so that second-mate can work 2023-03-20 12:03:25 -03:00
Sertonix
33bf0fb2ae removed unused snippets 2022-11-10 09:00:10 +01:00
Maurício Szabo
beb6f40f31 Removed old JSON locks and deprecated checks 2022-11-03 21:25:24 -03:00
confused-Techie
4e651f5dd6 Additional uses found that prevent Shell startup, and editor startup
Running `yarn install` again here caused some packages to update.
2022-09-01 00:18:27 -07:00
confused-Techie
9ff325dc3e Removed telemetry testing. Removed remote crash reports 2022-08-29 20:17:08 -07:00
sadick254
04d6338c70
Add document.registerElement polyfill
Atom is upgrading to use electron 11.4.7 however on that version
chromium has deprecated `document.registerElement`.

There are some community packages whose implementations depend on
`document.registerElement`. Therefore shipping without a polyfill will
break those packages.

As Atom maintainers we wouldn't want to introduce a change
that has the potential of breaking many packages.
2021-08-26 11:00:41 +03:00
Sadick
be5aa06bc9
Add document.registerElement polyfill (#22901)
Atom is upgrading to use electron 11.4.7 however on that version
chromium has deprecated `document.registerElement`.

There are some community packages whose implementations depend on
`document.registerElement`. Therefore shipping without a polyfill will
break those packages.

As Atom maintainers we wouldn't want to introduce a change
that has the potential of breaking many packages.
2021-08-25 22:07:12 +03:00
Nathan Sobo
9793c74835 Include the release channel in data posted to Atom.io with crashes 2019-06-24 16:44:01 -06:00
Nathan Sobo
0e46298648 Remove redundant info when starting crash reporter
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-06-24 15:48:55 -06:00
Nathan Sobo
d90c34a7f5 Post crash reports to https://atom.io/crash_reports if consented
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-06-24 15:36:50 -06:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
David Wilson
c8cafbf7c2 Remove cached-run-in-this-context dependency
This dependency is no longer needed now that we use Node's built-in APIs
2019-05-13 16:21:09 +02:00
Rafael Oleza
90bcdf4cba Add markers for more granular logging of startup time 2019-05-09 20:12:07 +02:00
Jason Rudolph
c9e6d04e8c
Revert "Merge #18603 from atom/electron-3-0"
This reverts commit b92ae2ad04, reversing
changes made to d4fe5ccfeb.
2019-02-25 13:41:59 -05:00
David Wilson
6903be1b60 Remove cached-run-in-this-context dependency
This dependency is no longer needed now that we use Node's built-in APIs
2019-01-30 10:55:29 -08:00
Antonio Scandurra
a7066e387f Fix lint errors
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-19 11:07:38 +02:00
Antonio Scandurra
0e1bc58310 ⬆️ electron-link 2017-04-04 11:36:49 +02:00
Antonio Scandurra
ccbb276bf5 Bake source maps into the snapshot 2017-03-17 13:25:00 +01:00
Antonio Scandurra
b2983f63ba Replace backward with forward slashes when requiring files on Windows 2017-03-15 13:26:31 +01:00
Antonio Scandurra
3d40f55747 Fix lint errors 2017-03-10 10:00:09 +01:00
Antonio Scandurra
76ae6b29b3 ⬆️ electron-link to handle cyclic requires correctly 2017-03-06 19:58:03 +01:00
Antonio Scandurra
2f1fd15170 Don't assign snapshotResult.entryPointDirPath
...because we can use `process.resourcesPath` or
`atom.getLoadSettings()` in packages that need to resolve the absolute
path at runtime.
2017-03-03 11:21:29 +01:00
Antonio Scandurra
a9ada35354 Snapshot NativeCompileCache 2017-03-02 09:29:07 +01:00
Antonio Scandurra
8d46de418f Re-enable native module cache 2017-03-02 09:11:54 +01:00
Antonio Scandurra
70c82b1ffa Snapshot pathwatcher and fs-plus 2017-03-02 08:26:21 +01:00
Antonio Scandurra
e275570a4e Remove blob store and native module cache 2017-02-28 17:20:49 +01:00
Antonio Scandurra
deb94f6f4a Fix dev mode 2017-02-28 17:17:02 +01:00
Antonio Scandurra
66c7f2f83c Provide snapshotResult.entryPointDirPath 2017-02-28 17:12:57 +01:00
Antonio Scandurra
adb0e39166 WIP 2017-02-28 15:44:02 +01:00
Antonio Scandurra
9b8c7973d7 WIP 2017-02-28 09:34:55 +01:00
Antonio Scandurra
e453b04105 Put back code that was commented out 2017-02-27 16:45:57 +01:00
Antonio Scandurra
7b8849b835 🎨 2017-02-27 14:51:33 +01:00
Antonio Scandurra
aec8867904 Require electron once 2017-02-27 14:48:45 +01:00
Antonio Scandurra
681f0f9fe1 Make Atom work also without a snapshot 2017-02-27 14:47:20 +01:00
Antonio Scandurra
367d595ab8 Update static/index to match what we do on master 2017-02-24 11:49:17 +01:00
Antonio Scandurra
72b017b01a WIP: Start on requiring packages 2016-11-16 17:16:36 +01:00
Antonio Scandurra
77b8089e3a Use the snapshot result to require core modules 2016-11-15 18:03:36 +01:00
Thomas Johansen
2bb6e225f6 🔥 Remove window load time console output 2016-09-11 17:07:43 +02:00
Antonio Scandurra
b1dabc1e84 Load metadata._deprecatedPackages via script/deprecated-packages.json 2016-08-02 15:55:53 +02:00
Damien Guard
22922dec96
CrashReporter should not run on UI thread on Win/Linux 2016-06-27 16:31:01 -07:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Max Brunsfeld
81c15bd8b4 Make --profile-startup flag work w/ async initializion 2016-02-12 14:19:09 -08:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
Max Brunsfeld
9b2c791c86 Don't emit window:loaded event until async window initialization completes
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:28:01 -08:00
Max Brunsfeld
130f23166d Emit window:loaded event after editor window is started 2016-01-27 14:04:50 -08:00
Max Brunsfeld
28e535ee15 Apply window background color after resizing window 2016-01-27 13:00:18 -08:00
Wliu
7ee74ed4c7 Merge branch 'master' into wl-electron-35 2016-01-15 17:20:31 -05:00
joshaber
6948dd4e8d Linter was mad about these now. 2016-01-07 17:13:56 -05:00
Wliu
612ca6ecab Missed one of the crash reporters
Also convert even more requires...
2015-12-22 20:44:51 -05:00