Mihail Bodrov
6e59852456
Use native isArray, endsWith
2018-03-03 19:18:35 +03:00
Max Brunsfeld
40c608d015
Merge pull request #16668 from Connormiha/optimize-kill-process
...
Optimize process kill by pid
2018-03-02 16:39:46 -08:00
Philip Weiss
f111eaa543
remove console log
2018-03-01 21:02:48 -08:00
Philip Weiss
faf0d78f3e
remove console log
2018-03-01 21:00:24 -08:00
Philip Weiss
04081ba0e5
fix linting issues
2018-03-01 20:12:25 -08:00
Philip Weiss
fd970c35b4
remove getallforpriority
2018-03-01 19:49:15 -08:00
Philip Weiss
232f821c35
remove getProjectSettings
2018-03-01 19:45:40 -08:00
Philip Weiss
7ce5b000e4
address more of max's comments
2018-03-01 19:35:59 -08:00
Philip Weiss
d5aaf9117a
update with max's suggestions
2018-03-01 19:09:22 -08:00
Matthew Dapena-Tretter
6f194c7811
Make sure there's a single source of truth for dock hover state
...
Previously, the workspace's idea of the hovered dock and the docks'
themselves could be out of sync.
2018-03-01 14:56:52 -08:00
Philip Weiss
9d95fd613e
Merge branch 'fb-pw-simple-project-config' of github.com:atom/atom into fb-pw-simple-project-config
2018-03-01 13:28:25 -08:00
Philip Weiss
9fb756feeb
save entire settings object, rather than just the filename
2018-03-01 13:28:16 -08:00
Matthew Dapena-Tretter
c69c82d05a
Fix dock dragging and dropping
...
This fixes #16769 , which described an issue whereby trying to drop into
a closed dock would cause the dock to repeatedly open and close.
I tried to describe in comments why this was happening and how we can
make sure to avoid it.
The solution adds another DOM measurement which I'm not too thrilled
about but I profiled and it didn't seem to be an issue.
2018-02-28 18:14:13 -08:00
Ash Wilson
fc8e12fadb
Merge pull request #16859 from jerry88kim/add-await-remove-unnecessary-param
...
Add 'await' keyword at async function call and remove unnecessary parameter
2018-02-28 10:29:28 -05:00
Ash Wilson
001aada5ac
Merge pull request #16851 from atom/aw-filter-event-paths
...
Test .oldPath and .path on rename events
2018-02-28 08:19:40 -05:00
youngjoo88kim
9d55753ccb
Add 'await' keyword at async function call and remove unnecessary parameter
2018-02-28 18:48:12 +09:00
Ash Wilson
72c30d7e78
Thanks, linter ✨
2018-02-27 21:40:30 -05:00
Ash Wilson
1dab06c4da
Remove redundant filtered declaration
2018-02-27 21:06:37 -05:00
Ash Wilson
b9117c14be
Avoid calling fs.realpath on editors without a path
2018-02-27 17:22:30 -05:00
Ash Wilson
4c8f1fe3ad
There's no modifyEvent there
2018-02-27 17:16:08 -05:00
Ash Wilson
f7f6564b7d
Test .oldPath and .path on rename events
2018-02-27 17:14:41 -05:00
Philip Weiss
8f672b2e5f
Merge branch 'master' into fb-pw-simple-project-config
2018-02-26 17:13:58 -08:00
Philip Weiss
5d6e531ede
replace -> did-replace
2018-02-26 17:03:54 -08:00
Philip Weiss
8567b8feea
fix linting issues
2018-02-26 15:56:36 -08:00
Philip Weiss
48d3677664
update project api names
2018-02-26 15:45:56 -08:00
Philip Weiss
547b067f3e
add callback to onDidReplaceAtomProject and add tests
2018-02-26 14:38:50 -08:00
Philip Weiss
607b3ffe52
add callback to ondidreplaceatomproject
2018-02-26 10:34:12 -08:00
Philip Weiss
a9fd84d8e9
flesh out clearatomproject
2018-02-25 22:00:49 -08:00
Philip Weiss
e376096e8f
use setpaths instead of command line paths
2018-02-25 21:57:18 -08:00
Philip Weiss
bd4231b936
relativize to atom project
2018-02-25 20:46:52 -08:00
Philip Weiss
f2eede833e
add onDidReplaceAtomProject api
2018-02-25 20:24:03 -08:00
Philip Weiss
89fbf1e25b
change API to clearAtomProject
2018-02-24 18:23:31 -08:00
Philip Weiss
b1490e951c
fix linting issues
2018-02-24 18:17:34 -08:00
Philip Weiss
20203b798c
update comments for getAll
2018-02-24 18:16:47 -08:00
Philip Weiss
6eee51be7e
atomProject -> atomproject
2018-02-24 18:04:56 -08:00
Philip Weiss
a419d47ef8
fix linting issues
2018-02-24 18:03:06 -08:00
Philip Weiss
347d547d5f
guard against edge cases
2018-02-24 17:58:46 -08:00
Philip Weiss
1483c0c96d
add more data passed through with projectSettings
2018-02-24 17:50:18 -08:00
Philip Weiss
9eee256396
change atomproject key
2018-02-24 17:12:39 -08:00
Philip Weiss
e2c480847c
atom project open in their own windows and behave more sanely
2018-02-23 17:38:36 -08:00
Matthew Dapena-Tretter
880148259f
Convert PaneContainerElement and PaneElement to JS
2018-02-23 14:39:57 -08:00
Landon Abney
138115f2a8
🐛 Handle empty username
...
If Atom is launched in a shell that is missing the `USER`/`USERNAME`
environment variable it locks up due to an unhandled error from
`crypto.update`. This switches to using Node.js's built in
`os.userInfo()` method to retrieve the current user name,
allowing Atom to complete initialization in this scenario.
Fixes #16821 .
2018-02-22 13:18:56 -08:00
Jordan Eldredge
fa9c8d1ace
Merge pull request #16661 from captbaritone/context-menu-order-master
...
Enable packages to control order of context menu items
2018-02-22 09:36:43 -08:00
Will Binns-Smith
b42972fa84
Add custom properties to atom-workspace to track editor properties ( #16731 )
...
* Add custom properties to atom-workspace
These track the editor's current font size, font family, and line
height.
* Move editor styles to text-editor; add monospace fallback
* Add default font family
So that there will always be a valid value.
* Fix specs
2018-02-21 19:02:14 -08:00
Segev Finer
b35607508f
🐛 Recognize Windows cmd or powershell environment in updateProcessEnv
...
Fixes #14986
2018-02-22 01:02:23 +02:00
Max Brunsfeld
2100f90cf4
Provide a default scope descriptor if language mode doesn't provide them
2018-02-21 14:55:58 -08:00
Max Brunsfeld
e638100158
Merge pull request #16810 from atom/mb-dont-write-config-when-quitting
...
Don't try to write config file while quitting
2018-02-21 10:44:56 -08:00
Max Brunsfeld
a0e231dea3
Merge pull request #16809 from atom/mb-fix-color-config
...
Serialize settings as JSON when sending them to the main process
2018-02-21 10:39:07 -08:00
Max Brunsfeld
ea8165a1ca
Make TreeSitterLanguageMode.scopeDescriptorForPosition accept arrays
...
Fixes #16808
2018-02-21 10:16:50 -08:00
Max Brunsfeld
fb85656d8f
Don't try to write config file while quitting
2018-02-21 09:29:02 -08:00