Commit Graph

6688 Commits

Author SHA1 Message Date
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
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
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
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
simurai
127e4dbae4 Add specs for horizontal axis height 2016-02-01 11:34:09 -08:00
simurai
6944815a72 Add specs for header/footer widths 2016-02-01 11:34:09 -08:00
simurai
4cf8abc786 🎨 Rename top/bottom-bar to header/footer 2016-02-01 11:34:08 -08:00
simurai
b9cea80d4f Add top/bottom bar specs 2016-02-01 11:34:08 -08:00
Katrina Uychaco
a54f4679af Fix tests 2016-01-28 15:46:40 -07:00
Katrina Uychaco
54a03516bf Save state asynchronously on mousedown and keydown events. Tests WIP 2016-01-28 00:58:58 -07:00
Max Brunsfeld
fb0cb452ea Use old presenter interface in presenter spec 2016-01-27 23:04:30 -08:00
Max Brunsfeld
42d509ca4e Merge pull request #10062 from atom/mb-emit-state-update-on-model-scroll
Emit state update when model's scroll position is changed
2016-01-27 15:34:53 -08:00
Katrina Uychaco
126baafda3 Assign debounce interval to property 2016-01-27 15:11:40 -07:00
Katrina Uychaco
8d55bbcdea 🎨 clean up test 2016-01-27 15:10:35 -07:00
Katrina Uychaco
df83078d74 Save state on mousedown or keypress events (debounce 1s). Tests WIP 2016-01-27 11:15:02 -07:00
Katrina Uychaco
39cb52c224 Fix tests for serialization 2016-01-27 11:13:29 -07:00
Katrina Uychaco
a8692f1984 Extract serialize functionality from ::deactivatePackage. Tests WIP 2016-01-26 22:46:17 -07:00
Ben Ogle
8acb742c30 Merge pull request #7916 from oggy/descriptive-enums
Support descriptions for enum values in config.
2016-01-26 14:45:00 -08:00
Max Brunsfeld
d055a686ae Merge pull request #10486 from atom/bf-fix-submenu-items
Honor `created()` function for an item in a submenu.
2016-01-25 13:31:25 -08:00
Michael Bolin
83d3168609 Rename test function as suggested by @maxbrunsfeld. 2016-01-25 13:19:58 -08:00
Max Brunsfeld
c4adc38273 Merge branch 'stable' into beta 2016-01-25 10:29:29 -08:00
joshaber
191e607bd6 Merge branch 'stable' 2016-01-22 17:01:03 -07:00
Josh Abernathy
91eb2b2a28 Merge pull request #10293 from atom/as-more-flexible-inputs-for-blob-store
Ignore errors when loading an invalid blob store
2016-01-22 11:44:29 -07:00
Michael Bolin
ee4408976e Tightened up a test now that I confirmed that MenuHelpers.merge() intentionally strips the created field. 2016-01-21 10:18:04 -08:00
Wliu
08e796500d Merge pull request #10441 from casesandberg/bug/cleanup-specs
Remove Duplicate Require Statements and Unify Syntax on '
2016-01-20 15:25:36 -05:00
Michael Bolin
0e4a8303ae Apparently the created function is stripped as part of the clone? 2016-01-18 18:32:37 -08:00
Michael Bolin
0a4817693f Add unit test. Cannot seem to run locally because of nodegit but will see what happens in CI. 2016-01-18 16:50:16 -08:00
joshaber
7ab501ce9d Disable the test for now. 2016-01-15 17:42:48 -05:00
joshaber
1fb1376769 Even more async. 2016-01-15 17:40:14 -05:00
joshaber
e5aebcb351 Revert "Wait a tick before checking for path subscriptions?"
This reverts commit d9cf7a73c6.
2016-01-15 17:36:22 -05:00
case
59b8846667 Remove Accidental Semicolons 2016-01-15 16:22:08 -06:00
joshaber
d9cf7a73c6 Wait a tick before checking for path subscriptions? 2016-01-15 17:02:18 -05:00