Commit Graph

33889 Commits

Author SHA1 Message Date
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
Jason Rudolph
b2571e8976 Avoid inline assignments 2017-10-15 10:00:02 -04:00
Jason Rudolph
99aaafed1b DS103: Rewrite code to no longer use __guard__ 2017-10-15 10:00:02 -04:00
Jason Rudolph
94a552149d Remove unnecessary use of Array.from 2017-10-15 10:00:01 -04:00
Jason Rudolph
c1b0afe969 Remove unnecessary code created because of implicit returns 2017-10-15 10:00:01 -04:00
Justin Ratner
0c35c26805 fix infinite overlay resizing loop 2017-10-14 19:05:54 -06:00
Jason Rudolph
8f40af16a9 🎨 2017-10-14 17:07:09 -04:00
Jason Rudolph
dd6359b507 Remove Babel/TypeScript constructor workaround 2017-10-14 12:47:19 -04:00
Jason Rudolph
cab8824aae 👔 Fix linter violations 2017-10-14 12:47:00 -04:00
Jason Rudolph
25b7ddb328 ☠️ Decaffeinate src/project.coffee
Apply results of running:

```
$ decaffeinate --keep-commonjs --prefer-const --loose-default-params --loose-for-expressions --loose-for-of --loose-includes'

$ standard --fix src/project.js
```
2017-10-14 11:58:47 -04:00
Justin Ratner
8952cd315d ⬆️ text-buffer@13.5.7 2017-10-13 13:21:10 -06:00
leroix
6f1595c766 Merge pull request #15882 from leroix/jr-decaf-decoration
decaffeinate decoration.coffee
2017-10-13 09:37:54 -06:00
Justin Ratner
ae65b49b9b fix lint errors 2017-10-12 23:46:53 -06:00
Justin Ratner
763297df82 decaffeinate decoration.coffee 2017-10-12 21:26:52 -06:00
Ian Olsen
1fe2548ab9 ⬆️ electron@1.6.15 2017-10-11 13:21:10 -07:00
Antonio Scandurra
2fc852f407 ⬆️ snippets 2017-10-11 20:06:17 +02:00
Damien Guard
9ce189a695 ⬆️ language-typescript 2017-10-11 09:43:36 -07:00
Antonio Scandurra
5fd109f400 Merge pull request #15865 from atom/as-fix-marker-change-event-block-decorations
Don't throw when destroying block decorations inside marker change event
2017-10-11 16:16:20 +02:00
Antonio Scandurra
7853e3cd8c Don't throw when destroying block decorations inside marker change event 2017-10-11 09:42:53 +02:00
Justin Ratner
2ca2dfd841 ⬆️ autocomplete-plus@2.36.7 2017-10-10 18:30:09 -06:00
Damien Guard
c51b07e40f ⬆️ spell-check 2017-10-10 15:47:19 -07:00
Jason Rudolph
dec47761f9 Merge pull request #15838 from atom/jr-decaf-grammar-registry
Decaffeinate `GrammarRegistry`
2017-10-10 07:14:03 -04:00
Antonio Scandurra
3f0f72ad0b ⬆️ electron-link
This fixes the DevTools slowness we were observing in Atom. For more
information, see 7f5555c33e.
2017-10-10 12:41:02 +02:00
Nathan Sobo
52873ef3b2 ⬆️ autocomplete-plus 2017-10-09 17:15:36 -06:00
Damien Guard
36435964bb ⬆️ markdown-preview 2017-10-09 16:11:01 -07:00
Max Brunsfeld
87d38c0a4d Return a Point from cursor word methods
Fixes #15847
2017-10-09 12:23:55 -07:00
Damien Guard
bdfa61e841 ⬆️ settings-view 2017-10-08 21:42:34 -07:00
Linus Eriksson
b0079265fd ⬆️ atom-keymap@8.2.7 2017-10-08 20:38:05 +02:00
Lee Dohm
26b784d3b9 Merge pull request #15840 from atom/fix-stale-indentation
Add indentation to force YAML to leave certain lines the way they are
2017-10-07 13:05:16 -07:00
Lee Dohm
359e6b9a9a Add indentation to force YAML to leave certain lines the way they are 2017-10-07 12:59:59 -07:00
Jason Rudolph
7463925e94 Merge pull request #15834 from atom/jr-decaf-gutter-container
Decaffeinate `GutterContainer`
2017-10-07 15:12:38 -04:00