Commit Graph

6756 Commits

Author SHA1 Message Date
Max Brunsfeld
ea5500a124 Print line number of wait timeout in presenter spec 2016-02-22 16:31:06 -08:00
joshaber
01751c038a Ensure we're treating it as case insensitive. 2016-02-22 11:53:38 -05:00
joshaber
04cab58c56 Failing test. 2016-02-22 11:18:54 -05:00
Max Brunsfeld
2e7101e5eb Don't display an editor window in atom-environment-spec 2016-02-18 15:11:26 -08:00
Max Brunsfeld
8a24364e80 Import fit in text-editor-component-spec
So that you can focus a test while keeping it async
2016-02-18 15:10:16 -08:00
Max Brunsfeld
dec328dab7 Remove stray console.log in spec 2016-02-18 15:09:22 -08:00
Katrina Uychaco
bbd425b6af Merge pull request #10878 from atom/ku-allow-pasting-white-space
Allow pasting white space when `autoIndentOnPaste` is enabled
2016-02-18 13:57:06 -08:00
Katrina Uychaco
746afb98ad Add spec for inserting white-space-only lines 2016-02-18 12:04:08 -08:00
Max Brunsfeld
300362163d Merge pull request #10888 from atom/mb-fix-package-deserializers
Load packages before deserializing state
2016-02-18 10:27:04 -08:00
Max Brunsfeld
43656a9861 Load packages before deserializing state 2016-02-18 09:17:34 -08:00
Antonio Scandurra
3d953632e6 Merge pull request #10861 from atom/as-update-foldable-status
Compute line foldability lazily
2016-02-18 15:26:44 +01:00
Antonio Scandurra
d6132888fa 💚 Attempt to fix specs 2016-02-18 14:18:27 +01:00
Katrina Uychaco
a146401f21 Terminate pending state for opened file if pending option is false 2016-02-17 14:14:59 -08:00
Katrina Uychaco
912df0ae03 Merge pull request #10846 from atom/ku-pending-tabs-option
Add core setting for pending tabs configuration
2016-02-17 11:57:40 -08:00
Katrina Uychaco
b8677c13df Rename config to allowPendingPaneItems and improve description 2016-02-17 11:56:50 -08:00
Antonio Scandurra
68bf2f8dc7 💚 Fix unrelated failing spec 2016-02-17 17:20:54 +01:00
Antonio Scandurra
bea324eae9 🔥 Use just isFoldableAtBufferRow 2016-02-17 15:05:31 +01:00
Antonio Scandurra
90c75fd6da Delete specs testing previous behavior
When emitting the `did-change` event, `updateFoldableStatus` used to extend the
change region up and down to include all the lines that changed their
foldability status because of a buffer change. I assume this was supposed to
invalidate folds that *contained* the change whenever a line was edited in a way
that affected also the previous or subsequent ones.

That information, however, is not being used by `DisplayBuffer`, which does not
alter existing folded regions when they become invalid.

I believe the correct behavior should be to unfold the invalid region and
recompute those screen lines. Nonetheless, it seems reasonable to me to keep the
original (wrong) behavior and not address it in this branch, because it strays
from the original intent of this refactoring.

We should probably fix it once for all in another PR or when
integrating/implementing `DisplayLayer`.
2016-02-17 14:35:22 +01:00
Antonio Scandurra
a613fa5133 Adapt specs to use the new API 2016-02-17 11:17:24 +01:00
Antonio Scandurra
2c71a448b3 Put foldable specs back 2016-02-17 11:04:19 +01:00
Antonio Scandurra
0afa9bb21c Don't update foldable status, ever 2016-02-17 10:34:21 +01:00
Katrina Uychaco
c9150c3f73 Add test for core.openPendingPaneItems setting 2016-02-16 15:24:18 -08:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Katrina Uychaco
bf264c6a6a Merge branch 'master' into ku-crash-recovery 2016-02-15 21:40:59 -08:00
joshaber
e86ffa0d27 Merge branch 'master' into subdir-status-fixes 2016-02-15 20:33:09 -05:00
joshaber
f0a179fdb5 Add the decoration after subscribing to state updates
Same fixe as #10792.
2016-02-15 17:19:32 -05:00
joshaber
2e8569d7b3 Port failing tests.
Bring the failing tests over from
https://github.com/atom/atom/pull/10758 and
https://github.com/atom/atom/pull/10797.
2016-02-15 17:03:09 -05:00
Josh Abernathy
9e073d807d Merge pull request #10792 from atom/fix-test-timeout
Fix TextEditorPresenter spec timeout.
2016-02-12 17:24:29 -05:00
joshaber
cc3f6b888f Don't need to duplicate this line. 2016-02-12 16:35:16 -05:00
joshaber
82860a12a0 Fix waitsForStateToUpdate proper like. 2016-02-12 16:35:10 -05:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
joshaber
9fa766e01a Don't use synchronous updates anymore. 2016-02-12 15:13:10 -05:00
joshaber
72f3d0b309 Unfocused. 2016-02-12 14:45:26 -05:00
joshaber
25e58eb1a2 Stop logging. 2016-02-12 14:45:05 -05:00
joshaber
98a051080b Failing test. 2016-02-12 14:43:55 -05:00
joshaber
6813bf50a0 Use waitsForStateToUpdateAsync in a bunch of places. 2016-02-12 14:00:47 -05:00
joshaber
272ff19d7b Decrease the timeout interval. 2016-02-12 13:58:54 -05:00
joshaber
8b14f5afdc Let's get some deterministic failures. 2016-02-12 13:58:38 -05:00
joshaber
319043c93d Update this test too. 2016-02-12 12:11:52 -05:00
joshaber
07d35245e0 Move it around again. 2016-02-12 11:51:48 -05:00
joshaber
a3ec51f492 Let's try rearranging this. 2016-02-12 11:46:43 -05:00
joshaber
dd6a6be8b1 Once more, with feeling. 2016-02-12 10:56:36 -05:00
joshaber
3e7de73580 Bump the timeout. 2016-02-12 09:58:37 -05:00
Katrina Uychaco
255b943d45 Add ability to clear IndexedDB state object store 2016-02-11 19:56:25 -08:00
Katrina Uychaco
6f4936983e Revert test since startEditorWindow no longer returns a promise 2016-02-11 15:40:04 -08:00
Katrina Uychaco
7cfe0b659e Revert "Wait for tab to open in webdriverio waitForPaneItemCount command"
This reverts commit 8e33f8bf5b.
2016-02-11 14:50:51 -08:00
Katrina Uychaco
5e7f2741b4 In startup-spec check pane item count after editor has been loaded 2016-02-11 14:50:30 -08:00
Katrina Uychaco
8e33f8bf5b Wait for tab to open in webdriverio waitForPaneItemCount command 2016-02-11 11:50:44 -08:00
Max Brunsfeld
9c0aa629d7 Let packages define deserializers & view providers as main module methods 2016-02-10 14:28:57 -08:00
Josh Abernathy
306560616b Merge pull request #10758 from atom/fix-status-in-subdir
Fix status in subdir
2016-02-10 15:15:10 -05:00