Commit Graph

6734 Commits

Author SHA1 Message Date
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
Katrina Uychaco
baa2c32a51 Merge branch 'master' into ku-crash-recovery 2016-02-10 11:10:57 -08:00
Katrina Uychaco
7b808257a6 Add test to check for indexedDB connection 2016-02-10 11:04:30 -08:00
joshaber
c1a3535ab2 Don't need to repeat ourselves here. 2016-02-10 11:09:52 -05:00
joshaber
0c6235de71 Add failing test. 2016-02-10 11:00:20 -05:00
Alex
fff2a54258 Specs for variable tabLength
For #9198
2016-02-10 02:53:01 -06:00
Max Brunsfeld
0f02663f6b Add --user-data-dir flag, to control indexedDB directory
This way, we can still use indexedDB in the integration tests

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:58 -08:00
Max Brunsfeld
b0cf440f9c Handle database connection errors gracefully
When opening a second Atom instance (e.g. when running the integration specs)
indexedDB connections will fail. In this case, StateStore.prototype.save
and StateStore.prototype.load will become noops.

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:10 -08:00
Nathan Sobo
4597d1e436 Merge pull request #7953 from acontreras89/ac-pane-split
Improve multi-pane API
2016-02-08 17:51:16 -08:00
Aaron Contreras
cbff7394c6 🐛 Reuse scroll position on text editor's copy. Fixes #8765
 Update specs to avoid regressions
2016-02-09 00:36:37 +01:00
Aaron Contreras
ee86cee4e0 Add specs for new commands, update old specs 2016-02-09 00:36:37 +01:00
Katrina Uychaco
656cac8814 Merge branch 'master' into ku-crash-recovery 2016-02-08 15:24:00 -08:00
Wliu
8ca1071168 Update presenter specs 2016-02-08 16:52:47 -05:00
Wliu
5127789a68 Update tokenized buffer spec 2016-02-07 21:26:13 -05:00
joshaber
563984a7b2 Test it. 2016-02-05 16:16:38 -05:00
Max Brunsfeld
7c733f6dc4 Merge branch 'master' into wl-electron-35 2016-02-05 10:22:01 -08:00
Katrina Uychaco
6e0328b048 Refactor to use StateStore instead of StorageFolder 2016-02-04 21:45:00 -08:00
Katrina Uychaco
3b500daab4 Create StateStore class and specs for storing state in IndexedDB 2016-02-04 21:43:44 -08:00
Wliu
b4f8bf12cb 💚 Fix Tokenized Buffer spec 2016-02-04 14:34:49 +00:00
Max Brunsfeld
49776d114c Merge branch 'beta' 2016-02-02 12:00:08 -08:00
Max Brunsfeld
6d56185300 Merge branch 'stable' into beta 2016-02-02 11:59:42 -08:00
Max Brunsfeld
19349edc7a Only add local paths to recent documents list
Also, add them in Workspace::open and not AtomEnvironment::openLocations
so that files opened in an existing window will also be added to the
list
2016-02-02 11:16:14 -08:00
Katrina Uychaco
5e21f7bad9 Serialize package upon deactivation 2016-02-01 16:11:10 -08:00