Commit Graph

32925 Commits

Author SHA1 Message Date
Ash Wilson
28a4203482 Apply config changes before an initial load, but also replay them 2017-09-12 11:22:40 -04:00
Ash Wilson
e275a5ff76 Ensure that .get calls before .requestLoad return .set properties 2017-09-12 11:21:20 -04:00
Ash Wilson
18a0a5a857 .set operations should be immediately visible through .get 2017-09-12 10:33:46 -04:00
Ash Wilson
4b7b513b93 The method is requestSave() 2017-09-12 10:21:47 -04:00
Ash Wilson
46d5ebb2f4 Only reset settings if the file is empty 2017-09-12 10:21:02 -04:00
Ash Wilson
8601a5df21 Only catch an expected EEXIST error 2017-09-12 10:20:30 -04:00
Ash Wilson
85ca408b29 Remove some console logging 2017-09-12 10:20:14 -04:00
Ash Wilson
b45fb2e918 Use the wx flag to atomically create a config file if it doesn't exist 2017-09-12 10:19:38 -04:00
Ash Wilson
8b94ed9558 "arguments" is overwritten by closure arguments 2017-09-12 10:18:47 -04:00
Ash Wilson
e9588c8fae Bring the new spec up to date 2017-09-12 10:18:09 -04:00
Ash Wilson
adb032adf1 Some cosmetic coffeescript changes 2017-09-12 10:16:50 -04:00
Ash Wilson
bf121eab72 Remove some diagnostics 2017-09-12 10:16:25 -04:00
Ash Wilson
fa0bd1e049 Use a real clock and artificial file mtimes to work with nsfw 2017-09-12 10:15:55 -04:00
Ash Wilson
21e220cd5f Stub the correct fs method 2017-09-12 10:13:05 -04:00
Ash Wilson
046ff87f01 Trick the specs into seeing the settings as loaded 2017-09-12 10:12:38 -04:00
Ash Wilson
a79ee746d1 ⬆️ season 2017-09-11 09:20:44 -04:00
Katrina Uychaco
494cb7ea4b WIP Add test for ensuring that set/unset operations take place after load 2017-08-25 20:32:17 -07:00
Katrina Uychaco
a0766d9b69 Ensure set/unset operations take place after user's config is loaded 2017-08-25 20:29:07 -07:00
Katrina Uychaco
b494d0fb9e WIP don't overwrite config file if it exists
Depends on https://github.com/atom/season/pull/22
2017-08-25 20:27:53 -07:00
Katrina Uychaco
1dc5dec816 WIP fix broken tests 2017-08-25 19:58:51 -07: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
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
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
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
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
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
Nathan Sobo
08f36de7ec Merge pull request #15394 from atom/fb-wb-command-registry-js
Convert CommandRegistry to JavaScript
2017-08-21 09:35:31 -06:00
Antonio Scandurra
bda74623ec ⬆️ tabs 2017-08-21 10:46:30 +02:00
Antonio Scandurra
66e576f6e3 Merge pull request #15378 from atom/as-fix-cropped-fonts
Drop use of GPU tiles for lines and line numbers
2017-08-21 10:44:58 +02:00
Antonio Scandurra
a8594bceb9 Merge pull request #15384 from atom/ns-fix-highlight-end
Fix highlight end pixel position calculation
2017-08-21 10:44:18 +02:00
Antonio Scandurra
2f46b8e00e Put back mistakenly deleted line 2017-08-21 09:53:54 +02:00
Will Binns-Smith
ac32ffb155 Convert CommandRegistry to JavaScript
This was bootstrapped with running `decaffeinate` on both command-registry
and its spec, but involved a line-by-line eyeing and updating for idioms
and, in one case, correctness:

For some reason, copying the keys to the new dispatchedEvent in
coffeescript (command-registry.coffee:235) currently does not result in a thrown
exception, as it should when trying to write over the read-only property
`isTrusted`, so I added a check to ensure that the key did not already
exist in the new event. Moreover, other definitions of `preventDefault`,
`stopPropagation` and friends, which are also enumerable afaict, would
also overwrite the ones defined just prior (command-registry.coffee:220
and command-registry.js:325), so that check ensures we don't overwrite
those either.

Test plan: `./script/lint && ./script/test`, and a lengthy smoke test of
various commands through keybindings, command palette, and package
interfaces.

Released under CC0.
2017-08-20 20:52:43 -07:00