Commit Graph

16862 Commits

Author SHA1 Message Date
Max Brunsfeld
0422e0d61f 🚱 Fix leak when switching between tree-sitter languages 2018-06-07 17:03:45 -07:00
Max Brunsfeld
6346f5ec9e Grammar scoring, weigh grammar type higher than content regex match
This fixes another regression introduces in #17468
2018-06-07 16:17:23 -07:00
Max Brunsfeld
0148ee7d9b Always leave room for scrollbars 2018-06-07 14:42:06 -07:00
Max Brunsfeld
31f511aae7 Don't boost tree-sitter grammars' score unless they match in some way 2018-06-05 16:00:03 -07:00
Max Brunsfeld
ebf15ef050 Merge pull request #17468 from atom/mb-fix-content-regexes
Make Tree-sitter grammars' contentRegExp work as intended
2018-06-04 18:06:46 -07:00
Max Brunsfeld
4dbfadd0d5 Make Tree-sitter grammars' contentRegExp work as intended 2018-06-04 17:17:37 -07:00
David Wilson
ba9616506f Merge pull request #17464 from atom/extended-color-profile-bits
Extend the color profile PR (#17380)
2018-06-04 14:22:25 -07:00
David Wilson
fceb6b0063 Merge pull request #17380 from atom/fix-color-problems-using-electron-2.0
Restore color rendering following Electron 2.0 update
2018-06-04 12:40:50 -07:00
Jason Rudolph
c3d38ed360 Support configuring color profile via settings UI 2018-06-01 16:32:31 -04:00
Jason Rudolph
f9ba602c6c Gracefully handle missing config file
https://circleci.com/gh/atom/atom/7630
2018-06-01 16:21:04 -04:00
Jason Rudolph
266e0111b8 Decaffienate ScopeDescriptor
Oddly, I expect this to resolve the CI failure seen in 
https://travis-ci.org/atom/atom/builds/386819124#L1200.
2018-06-01 15:33:28 -04:00
Jason Rudolph
b67f8ac2ce 👕 2018-06-01 15:04:46 -04:00
Jason Rudolph
6985fb0ff3 Use Atom's standard config file to set custom color profile 2018-06-01 14:26:33 -04:00
Jason Rudolph
c71de84962 Look for .electron-switches in ATOM_HOME 2018-06-01 11:02:00 -04:00
Jason Rudolph
82ba358aa9 Read user's custom Electron switches from config file 2018-06-01 09:50:16 -04:00
Max Brunsfeld
d7e7c772c3 Merge pull request #17424 from atom/mb-workspace-open-exception-handling
Avoid masking exceptions as cancellations in Workspace.open
2018-05-29 14:30:12 -07:00
Lee Dohm
57572d5221 Merge pull request #17008 from saadq/flow-double-slash
allow the use of double slash flow comments
2018-05-29 14:24:59 -07:00
Max Brunsfeld
d4e132067b Avoid masking exceptions as cancellations in Workspace.open 2018-05-29 13:26:15 -07:00
npezza93
0938ea1a3d Fix deprecated hidden-inset title bar style
As of https://github.com/electron/electron/pull/11975 the hidden-inset
titleBarStyle has been removed so the custom-inset title bar option
renders a normal title bar which is not desired.
2018-05-24 10:40:01 -04:00
Max Brunsfeld
53dfa83ae9 Allow some synchronous parsing to avoid unnecessary re-renders 2018-05-23 15:58:33 -07:00
Max Brunsfeld
7a2667406b Rename out-of-date property: layer -> languageMode 2018-05-23 09:42:36 -07:00
Max Brunsfeld
d4d57c2c8e 🐎 Parse asynchronously when opening buffers 2018-05-23 09:42:36 -07:00
Max Brunsfeld
3548abe541 Fix bug w/ empty node handling, comment TreeSitterHighlightIterator 2018-05-23 08:11:54 -07:00
Max Brunsfeld
f6d2d57299 Reparse again if there were changes since the last parse started 2018-05-23 08:11:54 -07:00
Max Brunsfeld
aced30da1f Start work on async parsing 2018-05-23 08:11:54 -07:00
Jason Rudolph
d65a0971f9 Fix #17356
Refs:
https://github.com/electron/electron/issues/10732#issuecomment-390321086
2018-05-18 17:29:49 -04:00
hansonw
d646f70f12 Handle cases where the item may be destroyed 2018-05-15 11:32:31 -07:00
hansonw
1f685768d5 Ensure grammar activation hooks are called after emitting new editors 2018-05-15 11:32:31 -07:00
Jason Rudolph
db88a07e8c Fix test failure re: "Module._cache.hasOwnProperty is not a function"
Example build failure:
https://ci.appveyor.com/project/Atom/atom/build/job/fvtxos5ys6a5lek1#L634

As of Node 8.0.0, Module._cache.hasOwnProperty is no longer a function:
403b89e72b
2018-05-04 14:24:57 -04:00
Jordan Eldredge
c65c76cee9 Fix out of date doc block method name
Looks like this method name changed in https://github.com/atom/atom/pull/3456/files#diff-88c69a7ba7e0c0d0090f4501ca44472c but the comment did not get updated.
2018-05-02 10:09:55 -07:00
Max Brunsfeld
12a54fb04f Use callback when calling mkdirp in recovery service 2018-05-01 11:48:47 -07:00
Byron Igoe
305bf9b4cb Await async mkdirp 2018-05-01 11:48:47 -07:00
Byron Igoe
f17add20c1 Cleaned up 2018-05-01 11:48:47 -07:00
Byron Igoe
a885d8a030 Fixes https://github.com/atom/atom/issues/17013 by creating the recovery directory 2018-05-01 11:48:47 -07:00
Max Brunsfeld
3f8b463b15 Move auto update initialization back to AtomApplication.initialize
This fixes some CI problems introduced in #17216
2018-05-01 11:01:18 -07:00
Max Brunsfeld
d36c102ca0 Don't scroll in unfoldAll if there were no folds 2018-04-25 12:57:59 -07:00
Max Brunsfeld
79eab0527a Reassign language modes when toggling tree-sitter feature flag 2018-04-25 12:57:40 -07:00
Max Brunsfeld
1ad9715e9d Wait to initialize auto update manager until config is loaded 2018-04-25 09:33:53 -07:00
Max Brunsfeld
d233e20c32 Merge pull request #17212 from atom/mb-remove-project-flags
Remove 'project' command line flag
2018-04-25 09:14:02 -07:00
Max Brunsfeld
85d745cbec Remove 'project' command line flag
From what I can tell, this flag never worked correctly. Instead of
opening the paths specified in the project file, the directory
containing the project file itself would always be opened.
2018-04-25 07:45:58 -07:00
David Wilson
5b485dcb4b Merge pull request #15165 from segevfiner/sf-windows-update-process-env
Recognize Windows cmd or powershell environment in updateProcessEnv
2018-04-25 10:44:29 -04:00
Max Brunsfeld
7a5d727e22 Avoid writing to config file while quitting 2018-04-18 10:46:38 -07:00
Ash Wilson
c578cd2bfa .type 👉 .action 2018-04-16 14:09:55 -04:00
Ash Wilson
a0c68ec70b 👕 restore missing break 2018-04-12 14:43:13 -04:00
Ash Wilson
48a622cc74 Increment the version of the readOnly serialization key 2018-04-12 14:23:17 -04:00
Ash Wilson
0c2f458497 Boolean logic, my old enemy 2018-04-12 14:13:38 -04:00
Ash Wilson
4e9544583b Can't use the same name for the property and method 2018-04-12 14:07:17 -04:00
Ash Wilson
1def646e09 Return the property we're actually setting 2018-04-12 13:35:30 -04:00
Ash Wilson
1545768522 Derive the readonly attribute from model.isReadOnly() 2018-04-12 13:23:12 -04:00
Ash Wilson
6ee477a329 Disable the hidden input when the model is readOnly or keyboard disabled 2018-04-12 11:50:53 -04:00