Commit Graph

33889 Commits

Author SHA1 Message Date
simurai
4cef36e566 ⬆️ one-dark/light-ui@v1.10.8 2017-08-26 10:21:43 +09:00
Max Brunsfeld
c8303d6391 Replace runas with fs-admin in CommandInstaller
Also, convert CommandInstaller to JavaScript.
2017-08-25 15:46:43 -07:00
Max Brunsfeld
514952614e Replace runas with fs-admin in install-application script 2017-08-25 14:18:26 -07:00
Max Brunsfeld
b546a97531 ⬆️ text-buffer 2017-08-25 12:05:57 -07:00
simurai
80ce237348 Merge pull request #14711 from atom/sm-native-tabs
Native tabs on macOS
2017-08-25 09:11:13 +09:00
Max Brunsfeld
125d642eaa ⬆️ pathwatcher 2017-08-24 15:14:43 -07:00
Nathan Sobo
dfe411a1d0 Merge pull request #15420 from atom/as-ns-simplify-line-node-lookup
Simplify line node lookup
2017-08-24 14:49:48 -06:00
Max Brunsfeld
07855f99d7 ⬆️ text-buffer 2017-08-24 13:13:58 -07:00
Max Brunsfeld
d5d7883012 ⬆️ text-buffer for pathwatcher crash fix 2017-08-24 09:40:04 -07:00
Jason Rudolph
4761f36eab Merge pull request #15433 from atom/b3-fix-split-specs
Fix so all directions are tested in the specs for moveActiveDirection
2017-08-24 11:53:17 -04:00
Linus Eriksson
27f17318d7 Don't attempt to move undefined items when splitting panes 2017-08-24 16:15:06 +02:00
Linus Eriksson
58faf475c9 Fix so all directions are tested in the specs 2017-08-24 14:49:48 +02:00
simurai
915e886711 Merge branch 'master' into sm-native-tabs 2017-08-24 13:52:52 +09:00
Katrina Uychaco
7c3fe7dba4 Replace pathwatcher w/ bundled watcher to catch created & rename events 2017-08-23 17:43:47 -07:00
Nathan Sobo
236d9011c8 ⬆️ notifications to revert metadata inclusion 2017-08-23 16:45:52 -06:00
Nathan Sobo
2fdf56f8df ⬆️ find-and-replace to revert autocomplete for now 2017-08-23 16:39:50 -06:00
Max Brunsfeld
44566ab2f2 ⬆️ text-buffer 2017-08-23 14:26:59 -07:00
Will Binns-Smith
2ac1d54557 handleEvent -> onDidDispatch 2017-08-23 13:27:16 -07:00
Max Brunsfeld
e8fd9dcfc0 ⬆️ text-buffer 2017-08-23 13:02:26 -07:00
Nathan Sobo
fcfdb36a88 ⬆️ notifications 2017-08-23 06:59:33 -06:00
Antonio Scandurra
f45c0236ab Enhance error when a line component is not found for a screen line
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-08-23 14:52:56 +02:00
Antonio Scandurra
74ae169fcc Maintain a map of line components instead of line nodes and text nodes
Other than simplifying the code, this will help us understand whether
https://github.com/atom/atom/issues/15263 might be related to a node
reuse issue.

Signed-off-by: Nathan Sobo <nathan@github.com>
2017-08-23 14:52:50 +02:00
Nathan Sobo
eaf358bd3e Merge pull request #15416 from atom/ns-more-metadata
Include more metadata when missing a line node in horizontal measurement
2017-08-23 06:40:48 -06:00
Will Binns-Smith
128f702784 Add documentation to addModalPanel api 2017-08-22 23:14:54 -07:00
Will Binns-Smith
236065d0f6 Remove more semicolons 2017-08-22 23:10:14 -07:00
Will Binns-Smith
e8913660fa Make autoFocus opt-in 2017-08-22 23:10:14 -07:00
Will Binns-Smith
7da76ec50d Remove semicolons :'( 2017-08-22 23:10:14 -07:00
Will Binns-Smith
0916b4c4f0 Manage focus for modal panels
This implements automatic focus management for modal panels using the
excellent focus-trap module.

Upon being shown, modals will have their first tabbable element
automatically focused, and shifting focus with the tab key (or more
correctly the core:focus-next command) will be limited to the contents
of the modal. If the modal does not have any tabbable elements, focus()
will be sent to the panel's root element (if it implements it).

I'm happy to update this to *always* calls focus on the panel's root
element, but then modal implementers would need to handle that and
focus things on their own. I'd argue the tabbable element behavior
is more accessible though :)

This has the effect of not automatically closing most of Atom's own
modals whenever the tab key is pressed, which was an odd nonstandard
behavior, IMO.

This also automates returning focus to the element that had focus before
the modal was shown, something up until now had to be implemented in
every modal in Atom.

This likely breaks a few contracts for existing Atom packages that
create modals, but I've found this doesn't conflict behaviorally with
well-behaved modals like the command palette which implement their own
focus management (which can be removed if this lands).

Released under CC0.
2017-08-22 23:09:44 -07:00
Nathan Sobo
b8d22fb4ba Fix lint error 2017-08-22 22:00:54 -06:00
Nathan Sobo
b5f68a6434 Include more metadata when missing a line node in horizontal measurement 2017-08-22 21:03:01 -06:00
Steven Hobson-Campbell
59f6065e9b Adding option to skip main process tests. Cleaning up resources in tests. 2017-08-22 19:09:52 -07:00
Nathan Sobo
4968a21b82 ⬆️ etch 2017-08-22 18:09:26 -06:00
Max Brunsfeld
0e50404cfb Merge pull request #15414 from atom/mb-fix-stopped-changing-event-error
Fix errors with stopped-changing event when buffer is modified in an event listener
2017-08-22 16:57:58 -07:00
Max Brunsfeld
c62d7dcee5 ⬆️ text-buffer 2017-08-22 16:57:13 -07:00
Ash Wilson
9299c57ec6 Merge pull request #15413 from atom/aw-project-doc
Documentation fix
2017-08-22 19:21:47 -04:00
Ash Wilson
22336fcb4d Documentation fix
It's `action`, not `type`.
2017-08-22 18:16:16 -04:00
Will Binns-Smith
c916c9d818 Better document the new api externally and internally 2017-08-22 10:53:04 -07:00
Will Binns-Smith
b3a296e802 Eagerly extract descriptor and callback 2017-08-22 10:53:04 -07:00
Will Binns-Smith
9b995c68ec Normalize listeners at registration time; add tests for rich functions 2017-08-22 10:53:04 -07:00
Will Binns-Smith
3aa95d96d4 [Commands] Add support for rich listener objects with first-class metadata
This adds support for listener objects which, in addition to the existing callback listeners, can optionally provide a displayName ahead of time to avoid a potentially awkward humanized displayName.
2017-08-22 10:53:04 -07:00
Nathan Sobo
a1fdf52eda Merge pull request #15407 from atom/as-fix-typing-while-holding-left-mouse-button
Don't select when typing while also holding the left mouse button
2017-08-22 11:47:17 -06:00
Damien Guard
abba8bff68 Include new language-typescript grammar 2017-08-22 09:47:02 -07:00
Antonio Scandurra
e6b84dbb44 Test handleMouseDragUntilMouseUp 2017-08-22 14:38:05 +02:00
Antonio Scandurra
0372db43bb Don't select when typing while also holding the left mouse button 2017-08-22 12:04:52 +02:00
Max Brunsfeld
411d878b36 ⬆️ fs-admin 2017-08-21 22:47:07 -07:00
Max Brunsfeld
337b7da4fe ⬆️ text-buffer 2017-08-21 22:27:14 -07:00
Max Brunsfeld
d3a8fe693b ⬆️ text-buffer 2017-08-21 15:58:54 -07:00
Max Brunsfeld
c823a5c6b5 ⬆️ text-buffer 2017-08-21 14:57:08 -07:00
Max Brunsfeld
3d8f0e2406 ⬆️ text-buffer 2017-08-21 14:30:02 -07:00
Nathan Sobo
5eae5ed5eb Merge pull request #15392 from atom/fb-wb-standard-env
Use standard (eslint's) 'env' field over globals
2017-08-21 09:38:34 -06:00