Commit Graph

33465 Commits

Author SHA1 Message Date
Jason Rudolph
c6d438c509 Decaffeinate spec/view-registry-spec.coffee 2017-10-21 10:05:22 -04:00
Jason Rudolph
dfd1332a01 👔 Fix "A constructor name should not start with a lowercase letter" 2017-10-20 21:17:41 -04:00
Jason Rudolph
a67272e6ff 👔 Fix "Expected a conditional expression & instead saw an assignment" 2017-10-20 21:17:15 -04:00
Jason Rudolph
cdf3be846b Decaffeinate src/view-registry.coffee 2017-10-20 21:17:15 -04:00
Wliu
1975e37e31 Merge pull request #13597 from Ingramz/rework-grammar-scores
Prioritize first line matches over bundled/non bundled cirteria in grammar scoring
2017-10-20 22:30:51 +02:00
Jason Rudolph
d6f742d187 Merge pull request #15936 from atom/decaf-project-spec
Decaffeinate `spec/project-spec.coffee`
2017-10-20 08:17:59 -04:00
Indrek Ardel
0f89211d55 Prioritize first line matches over bundled/non bundled cirteria 2017-10-20 13:34:15 +03:00
Justin Ratner
02b1338443 ⬆️ autocomplete-plus@2.36.8 2017-10-19 12:37:12 -06:00
Wliu
fc83739e28 Revert "Merge pull request #15939 from atom/fk_update_perl"
This reverts commit cee38a41d5, reversing
changes made to 53203e7f17.
2017-10-19 17:54:22 +02:00
Wliu
cee38a41d5 Merge pull request #15939 from atom/fk_update_perl
⬆️ language-perl@0.38.0
2017-10-19 17:13:14 +02:00
Florian Kinder
f3dc52c0bd ⬆️ language-perl@0.38.0 2017-10-19 17:07:29 +02:00
Ian Olsen
53203e7f17 ⬆️ tree-view@0.220.0 2017-10-18 21:31:50 -07:00
Justin Ratner
50243c71f5 ⬆️ autocomplete-snippets@1.11.2 2017-10-18 21:23:19 -06:00
Ian Olsen
d79e6c4b63 ⬆️ tabs@0.108.0 2017-10-18 17:52:03 -07:00
Jason Rudolph
4db60e34b8 👔 Fix linter error: "Arrow function should not return assignment." 2017-10-18 20:13:55 -04:00
Jason Rudolph
49655a97c8 🎨 2017-10-18 20:10:24 -04:00
Jason Rudolph
6e78281a73 🎨 Prefer fat arrow function syntax 2017-10-18 19:54:51 -04:00
Jason Rudolph
498d7c90eb Rewrite code to no longer use __guard__ 2017-10-18 19:54:51 -04:00
Jason Rudolph
db115d3ab8 Remove unnecessary code created because of implicit returns 2017-10-18 19:54:51 -04:00
Jason Rudolph
61b228d8a0 Remove unnecessary use of Array.from 2017-10-18 19:54:51 -04:00
Jason Rudolph
c632e6ca58 Decaffeinate spec/project-spec.coffee
Apply results of running:

```
$ decaffeinate --keep-commonjs --prefer-const --loose-default-params --loose-for-expressions --loose-for-of --loose-includes spec/project-spec.js

$ standard --fix spec/project-spec.js
```
2017-10-18 19:54:51 -04:00
Michelle Tilley
85c9f2291d ⬆️ settings-view@0.252.0 2017-10-18 15:16:11 -07:00
Antonio Scandurra
280253fdfa Merge pull request #15916 from atom/as-jr-stop-dragging-when-interacting-with-keyboard
Stop dragging only when user interacts with keyboard
2017-10-18 11:38:52 +02:00
Michelle Tilley
d6a3a60469 Merge pull request #11399 from atom/mkt-url-based-command-dispatch
Package URL handlers - mapping atom:// URIs to package functions
2017-10-17 16:29:27 -07:00
Michelle Tilley
5bbf0b6ade 🎨 package activation 2017-10-17 15:37:49 -07:00
Michelle Tilley
8b989ffc4e More url -> URI 2017-10-17 15:29:27 -07:00
Michelle Tilley
9b5f95a14d openWithAtomUrl -> openPackageUriHandler 2017-10-17 15:26:29 -07:00
Michelle Tilley
5e43084cd3 url -> URI 2017-10-17 15:23:10 -07:00
Michelle Tilley
e02337265a Reset history when destroying UrlHandlerRegistry 2017-10-17 14:42:11 -07:00
Michelle Tilley
2504118d8b ⌨️ fix typo 2017-10-17 14:42:00 -07:00
Michelle Tilley
2b70f57405 🎨 return undefined 2017-10-17 14:41:50 -07:00
Michelle Tilley
7aa79bc3a1 Unregister package URL handlers when deactivating 2017-10-17 12:59:21 -07:00
Wliu
641898ed2a ⬆️ tree-view@0.219.0 2017-10-17 21:55:02 +02:00
Michelle Tilley
e3b00f8dde Merge pull request #15918 from FalkF/fix-redundant-text
textChange(CoreSettings): remove redundancy
2017-10-17 11:32:04 -07:00
anon
894f5471e6 textChange(CoreSettings): remove redundancy 2017-10-18 22:09:11 +02:00
Michelle Tilley
5e96429c9e Merge remote-tracking branch 'origin/master' into mkt-url-based-command-dispatch 2017-10-17 11:18:02 -07:00
Antonio Scandurra
65af9e953b Stop dragging only when user interacts with keyboard
Previously, we used to prevent the user from dragging the selection
further when the buffer was about to change. This was problematic
because any change in the buffer, even one that was performed
"automatically" by a package, would cancel the dragging action and
result in a confusing experience for the user.

On the other hand, we want to prevent users from accidentally selecting
text when they perform an edit (see #15217, #15405).

This commit addresses both concerns by canceling the dragging as soon as
the user interacts with the keyboard, instead of canceling the dragging
when the buffer is about to change.

One downside of this approach is that it changes the behavior of
pressing a keystroke that does not result in a buffer change, e.g.
Shift, Arrow Keys, etc.

Signed-off-by: Jason Rudolph <jasonrudolph@github.com>
2017-10-17 18:50:20 +02:00
Jason Rudolph
274b809b12 Merge pull request #15898 from atom/decaf-project
Decaffeinate `src/project.coffee`
2017-10-16 21:23:14 -04:00
Katrina Uychaco
de66cf218a ⬆️ github@0.7.0 2017-10-16 17:53:45 -07:00
leroix
83cb0b9a14 Merge pull request #15894 from leroix/jr-overlay-resize-bug
Fix overlay resizing infinite loop
2017-10-16 13:31:51 -06:00
Lee Dohm
2f02a095d2 Merge pull request #15906 from atom/b3-move-docs-to-flight-manual
Link to the flight-manual instead of duplicating documentation
2017-10-16 12:15:15 -07:00
Linus Eriksson
9b61114c0f Update contributing-to-packages.md 2017-10-16 21:05:41 +02:00
Linus Eriksson
be61d6d6b9 Merge pull request #15904 from laurmurclar/patch-1
Link to more accurate local dev instructions
2017-10-16 21:03:17 +02:00
Laura Murphy-Clarkin
2ae8b5d46c Link to more accurate local dev instructions
The Flight Manual contains more accurate instructions for local development on official Atom packages. I was caught out by this (as you can see in https://github.com/atom/bracket-matcher/issues/306) so I'm changing it for future contributors. 😊 I think it's better to just link to the Flight Manual rather than maintaining the instructions in two places.
2017-10-16 19:27:06 +01:00
Jason Rudolph
a4ea46c57e Rename local variable
/xref: https://github.com/atom/atom/pull/15898#discussion_r144850427
2017-10-16 11:04:56 -04:00
Jason Rudolph
5ec9d0f134 🐛 Fix bug disposing watchers in Project::addPath
`this.rootDirectories` is an Array of Directory objects. `path` is a
String. Therefore, `this.rootDirectories.includes(path)` will always
evaluate to `false`. We instead need to look for an entry in
`this.rootDirectories` where the Directory object's path is equal to the
given path.
2017-10-15 10:00:14 -04:00
Jason Rudolph
5937b95b49 Fix loop contructs that got borked by decaffeinate 2017-10-15 10:00:02 -04:00
Jason Rudolph
790e202549 🎨 2017-10-15 10:00:02 -04:00
Jason Rudolph
8df4cfbe58 🎨 2017-10-15 10:00:02 -04:00
Jason Rudolph
48625584e4 🎨 Use shorter variations of null checks 2017-10-15 10:00:02 -04:00