Commit Graph

16862 Commits

Author SHA1 Message Date
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
Billy Janitsch
a433e974eb Stop scaling up small scroll wheel events 2018-02-15 10:42:57 -08:00
Max Brunsfeld
e3135f1938 Continue to normalize any non-URL path command line arg
Also, remove duplicate file stat'ing in AtomWindow
2018-02-15 10:40:31 -08:00
Tony Brix
daac2c4ee1 return value of sync confirm function 2018-02-14 21:49:45 -06:00
Max Brunsfeld
98070275b5 Normalize command line paths with windows drive letters 2018-02-14 17:22:36 -08:00
Max Brunsfeld
eb596ff7e5 Merge pull request #16744 from atom/mb-shim-private-language-mode-apis
Shim two private APIs on TreeSitterLanguageMode
2018-02-14 15:02:09 -08:00
Max Brunsfeld
b51f13cc90 Shim two private APIs on TreeSitterLanguageMode 2018-02-14 14:23:35 -08:00
Landon Abney
53c0f5f4a0 🐛 Prefer package name from metadata
When loading a package prefer the name specified in the package metadata
instead of the name of the folder that the package's files reside in.

Fixes #16703.
2018-02-14 12:02:17 -08:00
Max Brunsfeld
30e1233b11 Fix loadGrammar callback argument order
Fixes #16733
2018-02-14 10:01:47 -08:00
Max Brunsfeld
2ef0bc5ba6 Merge pull request #16738 from atom/mb-tree-sitter-crlf-handling
Fix difference in CRLF line ending handling between tree-sitter and text-buffer
2018-02-14 09:37:21 -08:00
Max Brunsfeld
3e7e8aecce Handle positions between CR and LF characters in TreeSitterTextBufferInput.seek 2018-02-14 07:49:02 -08:00
Ash Wilson
cb783fd15c Use @atom/watcher with a core.fileSystemWatcher setting 2018-02-14 09:29:28 -05:00
Max Brunsfeld
c47ed5ea06 Merge pull request #16701 from atom/fb-pw-configurable-loadSettings
add `configurable: true` to browserwindow.loadSettingsJSON
2018-02-08 23:07:56 +01:00
Philip Weiss
c3309ee9b9 remove trailing comma 2018-02-08 12:55:20 -08:00
Philip Weiss
ef50a52405 add configurable: true to browserwindow.loadSettingsJSON 2018-02-08 10:33:47 -08:00
Jordan Eldredge
a1d9671440 Fix accidental quadratic 2018-02-05 11:34:49 -08:00
Jordan Eldredge
ee73183dc9 Fix comment typo 2018-02-05 11:04:34 -08:00
Mihail Bodrov
de93441b5e Optimize process kill by pid 2018-02-03 18:44:15 +03:00
Jordan Eldredge
7a60c9920c Allow packages to control the order of context menu items 2018-01-31 16:35:15 -08:00
Antonio Scandurra
49e704291d Register for core.titleBar changes after the initial load of config
This prevents the change handler for `core.titleBar` from being
triggered every time a new instance of the main process is created. This
fixes a regression that was causing users to be prompted for a restart
every time they opened Atom.

Co-authored-by: Max Brunsfeld <maxbrunsfeld@github.com>
Co-authored-by: Nathan Sobo <nathan@github.com>
2018-01-31 09:24:15 -07:00
Max Brunsfeld
669b22ce1e Merge pull request #16544 from rosston/fix-cursor-movement
Fix includeNonWordCharacters regression in Cursor
2018-01-29 09:55:26 -08:00
Wliu
46d9d190c2 Merge pull request #16627 from atom/wl-revert-right-click-move
Revert change to move mouse cursor on right-click
2018-01-26 23:52:59 -05:00
Wliu
7e0635d2c0 Fix spec 2018-01-26 18:41:57 -05:00
Max Brunsfeld
02d61c1b28 Add the word Experimental to the tree-sitter setting description 2018-01-26 14:11:47 -08:00
Max Brunsfeld
8f5cecbacd Use a queue to prevent concurrent async writeFile calls 2018-01-26 11:15:35 -08:00
Max Brunsfeld
1d20b8ee1d Start work on routing all config file IO through main process 2018-01-25 20:35:00 -08:00
Max Brunsfeld
14c41e25d9 🎨 Config 2018-01-25 14:13:38 -08:00
Max Brunsfeld
5b776f7334 Merge pull request #16633 from atom/mb-fix-tree-sitter-highlight-updates
Fix typo in TreeSitterLanguageMode.onDidChangeHighlighting
2018-01-25 14:06:39 -08:00
Max Brunsfeld
34e2d354c2 Fix typo in TreeSitterLanguageMode.onDidChangeHighlighting 2018-01-25 14:02:31 -08:00
Max Brunsfeld
6715ade98f Merge pull request #16620 from captbaritone/decaf-menu-helpers
Decaffeinate menu-helpers.coffee
2018-01-25 11:01:14 -08:00
Jordan Eldredge
a924dafc7d Handle case where itemSpecificity is passed but falsy 2018-01-25 09:25:06 -08:00
Wliu
be24e6edf7 Revert change to move mouse cursor on right-click 2018-01-24 11:22:41 -05:00
Max Brunsfeld
8ba04f0f0c Merge pull request #16593 from atom/fb-pw-decaffeinate-config
decaffeinate config.coffee and config-spec.coffee
2018-01-23 22:52:43 -08:00
Jordan Eldredge
6c848239f4 Decaffeinate menu-helpers.coffee 2018-01-23 11:20:28 -08:00
David Wilson
6d09a5257a Fix #16538: Middle-click pastes into read only editor on Linux
This change fixes an issue where users on Linux are able to paste into
read only TextEditors by clicking the middle mouse button.  The fix is
to check for whether the TextEditorComponent's isInputEnabled method
returns true before pasting with middle click on Linux.
2018-01-22 18:50:07 -08:00