Commit Graph

36731 Commits

Author SHA1 Message Date
Antonio Scandurra
52631bab98 Use fs-plus instead of fs in AtomProtocolHandler
This commit fixes some deprecation warnings we were observing in our 
test suite, as well as when opening packages that registered protocol 
handlers such as the `welcome` package.

The warnings were due to using the `fs.(l)statSyncNoException` API, 
which will be deprecated from Electron 4 onwards. We had already dealt 
with this by shipping https://github.com/atom/fs-plus/pull/46, which 
provided a shim on `fs-plus` to suppress the warning. However, 
`AtomProtocolHandler` was still using the standard `fs` module, which 
was causing the warning to be displayed whenever a package registered a 
URL opener.
2019-05-20 18:03:14 +02:00
Antonio Scandurra
dc39210cc2 Merge pull request #18916 from atom/electron-3.1
⬆️ Electron 3 (Take Two)
2019-05-20 15:20:12 +02:00
Nathan Sobo
e18559f01c Merge pull request #19359 from atom/ns/fix-language-mode-leak
🚱 Fix leak of LanguageMode objects in tests
2019-05-18 12:14:26 -06:00
Antonio Scandurra
c8b96ea899 Use the new getActivatePromise method in TextEditorRegistry tests 2019-05-18 17:01:08 +02:00
Antonio Scandurra
623887b91e Return activatePromise when calling PackageManager.prototype.activate 2019-05-18 16:36:46 +02:00
Nathan Sobo
616f7845a9 Fix leak of LanguageMode objects in tests 2019-05-17 16:40:52 -06:00
Linus Eriksson
985306130e Merge pull request #19357 from atom/b3-no-more-todo-c
⬆️ language-c
2019-05-17 21:15:17 +02:00
Linus Eriksson
3143f2f54e ⬆️ language-c 2019-05-17 20:09:52 +02:00
Nathan Sobo
2d9d8174ef Fix package-lock.json 2019-05-17 11:45:25 -06:00
Nathan Sobo
68969962d5 ⬆️ language-json@1.0.1 for improved quote and URL theming 2019-05-17 11:43:53 -06:00
Nathan Sobo
9ced07e144 Merge pull request #19354 from atom/ns/fix-restart-prompt
Wait for config file to load before prompting to restart in config.onDidChange callback
2019-05-17 09:41:13 -06:00
Nathan Sobo
d5c84e5f4e Wait for config file to load before watching and prompting to restart 2019-05-17 05:18:24 -06:00
Nathan Sobo
fb961df248 Merge pull request #19352 from atom/ns/undo-notify
Undo integration of @atom/notify
2019-05-17 05:17:59 -06:00
Nathan Sobo
770b8fdcf8 Revert "Merge pull request #19244 from atom/ns/notify"
This reverts commit b2ecabd527, reversing
changes made to c3bf95194a.
2019-05-17 04:10:17 -06:00
Nathan Sobo
4f08da2a98 Revert "Merge pull request #19325 from atom/ns/notify-asar-exclude"
This reverts commit da8b1a1a42, reversing
changes made to 1edf94a240.
2019-05-17 04:10:10 -06:00
Nathan Sobo
145ebb1a63 Revert "Merge pull request #19331 from atom/ns-as/notify-snapshot-exclude"
This reverts commit 1e08ad8470, reversing
changes made to 0994d8ae80.
2019-05-17 04:09:52 -06:00
Nathan Sobo
bfe216c8ac Revert "Merge pull request #19345 from atom/ns/notify-retreat"
This reverts commit 3d37651ac1, reversing
changes made to e1a5d520e0.
2019-05-17 04:09:44 -06:00
David Wilson
c172cebaed Switch to atomeditor/atom-linux-ci image for Linux builds (#19349)
Switch to atomeditor/atom-linux-ci image for Linux builds
2019-05-16 15:12:34 -07:00
David Wilson
9d30731972 Switch to atomeditor/atom-docker-ci image for Linux builds 2019-05-16 13:28:32 -07:00
Rafael Oleza
b79d9088e2 Merge pull request #19347 from atom/decaffeinate-default-directory
Decaffeinate default-directory-searcher.coffee and its spec
2019-05-16 08:41:43 -07:00
Rafael Oleza
5c7deea8e1 Asyncify spec 2019-05-16 13:05:01 +02:00
Nathan Sobo
61c52e3185 Decaffeinate default-directory-searcher.coffee and its spec
Co-Authored-By: Rafael Oleza <rafeca@users.noreply.github.com>
2019-05-16 12:54:21 +02:00
Rafael Oleza
070be18c85 Merge pull request #19344 from atom/update-coffeestack
⬆️ coffeestack@1.2.0
2019-05-16 03:00:50 -07:00
Rafael Oleza
46997eae83 Merge branch 'master' into electron-3.1 2019-05-16 11:22:02 +02:00
Nathan Sobo
3d37651ac1 Merge pull request #19345 from atom/ns/notify-retreat
Disable @atom/notify on master for now
2019-05-15 21:57:16 -06:00
Max Brunsfeld
e1a5d520e0 ⬆️ tree-sitter-ruby 2019-05-15 16:36:53 -07:00
Nathan Sobo
425aaa7981 Disable @atom/notify again 2019-05-15 12:57:58 -06:00
Rafael Oleza
476d450703 ⬆️ coffeestack@1.2.0 2019-05-15 18:17:05 +02:00
Nathan Sobo
4e5e2e5293 Merge pull request #19336 from atom/ns/allow-quote-selectors
Allow escaped quote literals in the SyntaxScopeMap
2019-05-15 08:47:03 -06:00
Rafael Oleza
216404d043 Merge pull request #19339 from atom/remove-deprecated-buffer
Replace new Buffer() with Buffer.from()
2019-05-15 04:50:20 -07:00
Rafael Oleza
e01fe4ca90 Replace new Buffer() with Buffer.from()
This removes deprecation warnings on Node >=10

Co-Authored-By: Antonio Scandurra <as-cii@github.com>
2019-05-15 12:43:49 +02:00
Winston Liu
b07ce96a25 Merge pull request #19335 from atom/wl-dot-atom-gitignore
Add .atom-socket-secret-* to .atom's .gitignore
2019-05-14 19:43:05 -04:00
Nathan Sobo
81b1c150cf Merge branch 'master' into electron-3.1 2019-05-14 16:23:08 -07:00
Nathan Sobo
765d5122c3 Allow escaped " literals in the SyntaxScopeMap
In order to pass a quote literal to the postcss-selector-parser, it 
needs to be escaped. However, this escaping is not removed by the parser 
in the yielded value token, so in this commit I replace any escaped 
quote literals with unescaped quotes after we trim the outer quotes off 
of the string.
2019-05-14 17:17:49 -06:00
Winston Liu
04353b8db9 Add .atom-socket-secret-* to .atom's .gitignore 2019-05-14 18:12:41 -04:00
Nathan Sobo
50d890abea ⬆️ tree-view@0.228.0 for copying on ctrl/cmd-drag 2019-05-14 15:33:14 -06:00
Jason Rudolph
6e2c0b0732 ⬆️ electron-chromedriver@3.0.0 2019-05-14 16:53:53 -04:00
Jason Rudolph
b2a4810eaf ⬆️ electron@3.1.9 2019-05-14 16:50:56 -04:00
Nathan Sobo
1e08ad8470 Merge pull request #19331 from atom/ns-as/notify-snapshot-exclude
Fix @atom/notify subprocess path resolution when V8 startup snapshot is in effect
2019-05-14 14:42:19 -06:00
Nathan Sobo
682a38be8a ⬆️ @atom/notify@1.3.3
You can't rely on `__dirname` inside a snapshotted file. Now path 
resolution takes place inside a specific file that is excluded from the 
startup snapshot.
2019-05-14 09:30:18 -06:00
Winston Liu
2b15c1ed48 Merge branch 'master' into electron-3.1 2019-05-14 11:28:03 -04:00
Rafael Oleza
0994d8ae80 Merge pull request #19322 from atom/remove-cached-run-in-this-context
Remove cached-run-in-this-context dependency
2019-05-14 10:50:18 +02:00
Winston Liu
13448f2f6f Merge pull request #19329 from atom/wl-update-apm
Update apm to fix permission issues
2019-05-14 01:27:10 -04:00
Winston Liu
54beaa724f ⬆️ apm@2.2.3 to fix npm permission issues 2019-05-13 23:14:15 -04:00
Jason Rudolph
da8b1a1a42 Merge pull request #19325 from atom/ns/notify-asar-exclude
Exclude @atom/notify binary from the ASAR bundle
2019-05-13 17:38:14 -04:00
Nathan Sobo
90cde8647f ⬆️ @atom/notify@1.3.2 to remove unnecessary require.resolve step
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-05-13 14:23:49 -06:00
Rafael Oleza
1edf94a240 Merge pull request #19324 from atom/pr/15431
Integrate packager improvements from https://github.com/atom/atom/pull/15431
2019-05-13 22:18:44 +02:00
Rafael Oleza
fe95e05c51 Merge pull request #19302 from atom/use-eslint-for-linting
Use eslint + prettier for linting
2019-05-13 21:13:26 +02:00
Nathan Sobo
a952e40b31 Fix @atom/notify's binary path when running within Atom's ASAR archive
/cc @rafeca
2019-05-13 12:12:36 -06:00
Rafael Oleza
6b3e90699b Merge branch 'master' into HEAD 2019-05-13 19:51:45 +02:00