Commit Graph

16743 Commits

Author SHA1 Message Date
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
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
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
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
Max Brunsfeld
6b9e87ecd6 Serialize settings as JSON when sending them to the main process 2018-02-21 09:18:15 -08:00
Max Brunsfeld
1cdb804824 Tweak config APIs for dealing w/ legacy scope aliases 2018-02-20 11:07:45 -08:00
Philip Weiss
ad40ff9825 add failure mode for reading project settings 2018-02-18 17:56:55 -08:00
Philip Weiss
c69b8d38e8 remove whitespace 2018-02-18 17:05:50 -08:00
Philip Weiss
e0db9777ba prevent collision in project name with hash 2018-02-18 17:03:09 -08:00
Philip Weiss
bf6a4e3db4 add .atomProject files 2018-02-18 15:03:00 -08:00
Max Brunsfeld
2575cf6b1a Fix path duplication after decaffeinating main process code 2018-02-16 13:41:17 -08:00
Nathan Sobo
e334f0419f Merge pull request #16753 from billyjanitsch/revert-15487
Stop scaling up small scroll wheel events
2018-02-16 11:58:33 -08:00
Max Brunsfeld
cd997e3d77 Simplify TreeSitterHighlightIterator.moveToSuccessor 2018-02-16 09:40:57 -08:00
Wliu
82d5974616 Merge pull request #16748 from UziTech/patch-6
return value of sync confirm function
2018-02-16 10:06:27 -05:00
Wliu
69af0141a1 🐛 params -> options 2018-02-15 18:35:50 -05:00
Nathan Sobo
f647109474 Merge pull request #15831 from atom/b3-failing-seed
Handle edits that scroll up due to hiding the horizontal scrollbar
2018-02-15 14:32:20 -08:00
Linus Eriksson
8cfcdf8c00 Revert always return false 2018-02-15 23:12:35 +01:00
Linus Eriksson
63326e969a Unfocus test and always return false to see if this fails on circle 2018-02-15 22:53:29 +01:00
Max Brunsfeld
adbd540029 Only return overridden language ids in .getGrammarOverride 2018-02-15 12:29:48 -08:00
Linus Eriksson
3059d14bd7 Merge remote-tracking branch 'origin/master' into b3-failing-seed 2018-02-15 19:49:58 +01:00