Commit Graph

6950 Commits

Author SHA1 Message Date
Antonio Scandurra
754cbc2a67 Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	spec/tokenized-buffer-spec.coffee
2016-04-20 10:55:56 +02:00
Wliu
ea5ad4ae59 Coffeescript comment tokenization no longer matches the newline character 2016-04-19 21:31:53 -04:00
Damien Guard
42fef8c014 Merge pull request #11488 from atom/dg-fix-windows-specs
First batch of Windows specs fixes
2016-04-19 15:48:31 -07:00
Nathan Sobo
3bbeb9e680 Merge remote-tracking branch 'origin/master' into ns-switch-to-display-layers 2016-04-19 15:30:00 -06:00
Damien Guard
1500381ac9 Tweaks to the specs improvements from feedback 2016-04-19 14:25:44 -07:00
Michelle Tilley
b2aad098e1 Correctly autoindent \r\n in Selection#insertText 2016-04-18 11:06:51 -07:00
Michelle Tilley
e41b9f00fb Correctly autoindent single newline in Selection#insertText 2016-04-15 21:23:28 -07:00
Damien Guard
99e716f9ed Fix specs failures on Windows including paths 2016-04-15 11:25:05 -07:00
Antonio Scandurra
7eba972f39 Merge branch 'master' into ns-switch-to-display-layers 2016-04-15 17:39:15 +02:00
Antonio Scandurra
147fed3123 Revert "Remove this commit if it works on travis"
This reverts commit 303bb8c74e.
2016-04-14 15:46:50 +02:00
Antonio Scandurra
303bb8c74e Remove this commit if it works on travis 2016-04-14 11:24:59 +02:00
Antonio Scandurra
4adf23a595 Unconditionally report deprecations on every test environment 2016-04-14 11:24:01 +02:00
Antonio Scandurra
581dd45418 Merge branch 'master' into ns-switch-to-display-layers 2016-04-13 13:54:13 +02:00
Katrina Uychaco
49fb287592 Don't load packages starting with dot. Fixes #9805 2016-04-12 20:35:30 -07:00
Damien Guard
2d173911b2 Ignore autorun on our buffered process commands. Fixes #10082 2016-04-12 12:02:20 -07:00
Antonio Scandurra
f3c6a77954 💚 Use persistent instead of maintainHistory in specs 2016-04-09 09:30:47 +02:00
Antonio Scandurra
afdd8d2b6d Avoid creating line nodes twice in lines-yardstick-spec.coffee 2016-04-08 17:41:29 +02:00
Antonio Scandurra
c23ef9a168 Stop using tokenizedLineForScreenRow in random-editor-spec.coffee 2016-04-07 13:54:29 +02:00
Antonio Scandurra
a532000af4 Handle only buffer coordinates in TokenIterator 2016-04-07 13:39:13 +02:00
Antonio Scandurra
b0c485c4ea 🔥 Remove TokenizedLine specs 2016-04-07 11:48:18 +02:00
Nathan Sobo
85ab86df10 Merge branch 'master' into ns-use-display-layers 2016-04-05 16:40:41 -06:00
Antonio Scandurra
bef7539e34 Refactor DisplayBuffer to DecorationManager
This commit moves all the remaining concerns not related to decorations
out of `DisplayBuffer` and into `TextEditor`. This means the
`DisplayBuffer` is now free to be renamed to `DecorationManager`.
2016-04-05 18:43:08 +02:00
Antonio Scandurra
712b1f1f88 Fix LanguageMode specs
Also, avoid creating folds twice for the same position when calling
`foldAll`.
2016-04-05 14:19:59 +02:00
Antonio Scandurra
544b75c7b0 🔥 💚 Fix TokenizedBuffer specs 2016-04-05 12:19:45 +02:00
Antonio Scandurra
80b956e996 💚 Fix TextDecorationLayer API specs in TokenizedBuffer 2016-04-05 11:39:06 +02:00
Antonio Scandurra
e6cfb8d587 Use a zero-width nbsp as our fold character 2016-04-05 11:34:14 +02:00
Antonio Scandurra
a083a754a5 💚 Fix TextEditorPresenter specs 2016-04-05 11:12:51 +02:00
Antonio Scandurra
108513f994 Fix LinesYardstick specs to use the new tagCode-based scope structure
Also, remove specs testing RTL behavior. They don’t work as of today,
and I think we need a better approach to handle them, that doesn’t
solely rely on the DOM, but actually takes into account that e.g. (0, 0)
is the rightmost character on a right-to-left string.
2016-04-05 10:47:25 +02:00
Nathan Sobo
402a335eef Fix accented character menu spec 2016-04-04 19:50:39 -06:00
Nathan Sobo
a99ee14ac0 Make accented character menu detection work with left/right arrow keys 2016-04-04 17:47:36 -06:00
Nathan Sobo
bbef4c67c3 Get the TextEditorComponent specs green 2016-04-04 11:21:41 -06:00
Antonio Scandurra
fd960e9a37 Merge branch 'master' into ns-use-display-layers 2016-04-04 15:25:50 +02:00
Michelle Tilley
8575b38c7b Pending pane items shouldn't be made permanent before being replaced
Previously, when a Pane would replace a pending item with
another pending item, it would emit
`onItemDidTerminatePendingState` for that item, which was
not true because the item was actually being destroyed.
2016-04-02 17:48:24 -07:00
Antonio Scandurra
c735b3fe74 Merge pull request #11314 from atom/as-handle-update-error
Handle auto-updater errors
2016-04-01 09:09:37 +02:00
Antonio Scandurra
fa469121d8 Ensure getErrorMessage() works properly 2016-04-01 09:09:25 +02:00
Antonio Scandurra
51d71b4b55 Merge pull request #11325 from atom/as-fix-emojis
Fix emoji rendering on OSX
2016-03-31 17:45:58 +02:00
Antonio Scandurra
47bbd8b4bb Ensure we test for emojis only on Darwin 2016-03-31 17:45:32 +02:00
Antonio Scandurra
d89d34f4ef 💚 2016-03-31 13:02:52 +02:00
Antonio Scandurra
3fb2749583 Merge pull request #11324 from atom/as-jordanbtucker-config-save-state
Add restorePreviousWindowsOnStart setting
2016-03-31 11:56:43 +02:00
Antonio Scandurra
cd41b1a0ca Improve assertion
This allows us to test that the configuration can be changed outside of Atom.
2016-03-31 10:40:57 +02:00
Antonio Scandurra
4d4ee6bf3b Add applicationDelegate.getAutoUpdateManagerErrorMessage()
Sometimes, the error event gets emitted before the renderer process has
the chance to subscribe. Therefore, we expose an
`autoUpdateManager.getErrorMessage()` in the browser process, so that we
don’t lose that information.
2016-03-31 10:16:11 +02:00
Machisté N. Quintana
36be446060 Merge pull request #6631 from atom/mq-move-selected-columns
Add commands to move selections left and right by one column
2016-03-30 22:30:19 -07:00
joshaber
3b162717b4 Merge branch 'master' into serialize-async-git 2016-03-30 16:40:01 -04:00
joshaber
f19d3a2bce Unfocus. 2016-03-30 11:59:35 -04:00
joshaber
e701fcc292 Rename work queue to resource pool. 2016-03-30 11:47:05 -04:00
joshaber
f028c779b1 Treat it more like a pool. 2016-03-30 11:44:24 -04:00
Antonio Scandurra
2d5e697016 Add AutoUpdateManager.prototype.onUpdateError 2016-03-30 15:05:57 +02:00
joshaber
f1516f7de4 First pass at using the work queue. 2016-03-29 23:54:39 -04:00
joshaber
36121e3bf8 First pass at the git work queue. 2016-03-29 22:59:24 -04:00
Nathan Sobo
265aa2f6c8 Warn rather than failing if we detect leaked pathwatcher subscriptions 2016-03-29 16:46:57 -06:00