Commit Graph

7063 Commits

Author SHA1 Message Date
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
0243a345b7 Merge branch 'master' into ns-use-display-layers 2016-02-09 12:42:57 -07: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
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
Max Brunsfeld
d091a106a4 Merge branch 'master' into wl-electron-35 2016-02-01 11:18:18 -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
Max Brunsfeld
32f5149196 Wait for browser process to acknowledge window manipulation IPC requests
We need to avoid using the  module for synchronous IPC on startup, but
in some cases, we need to know when our asynchronous IPC messages have taken
effect. Now,  methods like  and
return Promises that indicate when the message has been processed.
2016-01-27 12:59:24 -08: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
Nathan Sobo
d0e29bfc2c Avoid recursive call to moveToSuccessor, which is blowing the stack 2016-01-26 17:42:28 -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
f4be23049d Wait for window resize to take effect in text editor component spec 2016-01-26 13:26:12 -08:00
Wliu
3f471cd94f Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2016-01-25 16:33:50 -05: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