Commit Graph

6522 Commits

Author SHA1 Message Date
Antonio Scandurra
780979e122 Make sure showing errors works correctly 2015-11-11 12:05:03 -07:00
Nathan Sobo
db0149ca65 Merge pull request #9529 from atom/as-fix-bad-fat-arrow
Use fat arrow when showing errors in CommandInstaller
2015-11-11 12:02:36 -07:00
Max Brunsfeld
eafffd9733 Merge pull request #9444 from atom/mb-synchronous-scroll-position
Allow synchronous control of scroll position through TextEditor model
2015-11-11 09:58:05 -08:00
Nathan Sobo
ec4c5ddb68 Merge pull request #9477 from atom/jf-add-appveyor-build
Add Windows CI
2015-11-11 10:35:28 -07:00
Antonio Scandurra
0490b1482f Make sure showing success dialogs works correctly 2015-11-11 18:19:32 +01:00
Antonio Scandurra
60841e574a Make sure showing errors works correctly 2015-11-11 18:18:55 +01:00
Eli Fatsi
84a6f0cb75 Remap pane:show-item-9 to activate last pane item 2015-11-11 10:09:09 -07:00
Daniel Hengeveld
2246cca631 Fix typo 2015-11-11 16:11:17 +01:00
Daniel Hengeveld
861d7550b5 i am bad at using GH desktop 2015-11-11 16:09:57 +01:00
Daniel Hengeveld
55a1d3b75f Use async repo, add missing return 2015-11-11 16:06:18 +01:00
Nikolay Yakimov
fe47394b22 Update specs for deferred activation hooks 2015-11-11 07:51:04 -07:00
Daniel Hengeveld
c84c5cb72f Merge branch 'dh-async-repo' of github.com:atom/atom into dh-async-repo 2015-11-11 15:05:55 +01:00
Daniel Hengeveld
7421568134 Add simple ::relativize()
- remove spec
- Remove GitUtils from async repo
- Doesn't cover all the cases as the one in git-utils but I think they might have
  been specific to that library's implementation
2015-11-11 15:04:46 +01:00
Antonio Scandurra
38d713379f 🎨 Introduce Config::transactAsync 2015-11-11 09:55:20 +01:00
Max Brunsfeld
fefb387d3c Merge branch 'master' into mb-synchronous-scroll-position
Conflicts:
	src/text-editor-presenter.coffee
	src/text-editor.coffee
2015-11-10 16:23:39 -08:00
Indrek Ardel
6520240652 Update spec 2015-11-11 01:23:07 +02:00
Joe Fitzgerald
19334be188 Add Appveyor CI
- Add Appveyor badge
- Add Appveyor.yml definition, with encrypted ATOM_ACCESS_TOKEN
- Add cibuild.cmd script to launch cibuild on Windows
- Prepare to release Atom on Windows from Appveyor (but don't do it yet)
- Reduce dependence on JANKY in ci scripts + tasks
- Suppress release activities on PRs for Travis and Appveyor
- Cache ~/.atom/.apm, ~/.atom/.node-gyp/.atom, and ~/.atom/.npm on Appveyor
2015-11-10 15:37:01 -07:00
Kevin Sawicki
a0c208974b Add failing spec 2015-11-10 13:54:42 -08:00
joshaber
bfbbbf16cb Merge branch 'master' into dh-async-repo 2015-11-10 15:23:54 -05:00
joshaber
55cc08215d Be even less racy. 2015-11-10 15:23:47 -05:00
joshaber
f0283df7d5 Re-add this test. 2015-11-09 14:24:15 -05:00
Max Brunsfeld
1304648361 Make getLastVisibleScreenRow a model API again 2015-11-09 11:00:38 -08:00
joshaber
c11f8f77ba Re-enable that test. 2015-11-09 13:41:53 -05:00
Max Brunsfeld
48cc5e713e Make presenter respond to external changes to model's first visible screen row 2015-11-09 10:13:09 -08:00
joshaber
b97a7fb2c3 Unfocus 2015-11-09 12:42:27 -05:00
joshaber
51b15a6c00 Cleanup 2015-11-09 12:42:12 -05:00
joshaber
9da71cf7c0 Wait for the first refresh to complete. 2015-11-09 12:14:50 -05:00
joshaber
4b8bad2b0b Focus async its. 2015-11-09 12:10:49 -05:00
Daniel Hengeveld
371c68e65e Revert "await getCachedPathStatus in specs"
This reverts commit d8985c8175.
2015-11-09 16:57:08 +01:00
joshaber
cbc3dfb555 🔥 terribleWait. 2015-11-09 10:51:31 -05:00
joshaber
8f59693d83 Use asyncIt here too. 2015-11-09 10:51:31 -05:00
Daniel Hengeveld
d8985c8175 await getCachedPathStatus in specs 2015-11-09 16:51:02 +01:00
Daniel Hengeveld
60c6dc4da3 Merge branch 'dh-async-repo' of github.com:atom/atom into dh-async-repo 2015-11-09 16:48:16 +01:00
Daniel Hengeveld
e3af723c9b Copy relativize and getPathStatus from #9469 2015-11-09 16:40:44 +01:00
joshaber
a9dae48ac4 It's better if we actually run the tests. 2015-11-09 10:39:02 -05:00
Daniel Hengeveld
bdc8a38045 add final buffer event spec 2015-11-09 16:15:55 +01:00
Daniel Hengeveld
14d470a5e5 unforce spec 2015-11-09 16:01:35 +01:00
Daniel Hengeveld
ff4f26e1ec coffeelint fix 2015-11-09 15:38:24 +01:00
Daniel Hengeveld
e2a1337b84 Merge branch 'master' into dh-async-repo 2015-11-09 13:08:23 +01:00
Nathan Sobo
5587bad758 Add description to waitsFor 2015-11-09 00:35:34 -07:00
Nathan Sobo
a35e24658d Increase timeouts 2015-11-09 00:35:34 -07:00
Nathan Sobo
6dd18b348b Include more debug info when nextViewUpdatePromise times out 2015-11-09 00:35:34 -07:00
Nathan Sobo
98c420a408 Wait for nextTick after presenter updates
This gives any nextTick callbacks in the model a chance to complete
before proceeding with tests.
2015-11-09 00:35:34 -07:00
Nathan Sobo
21f8ad6958 Bump timeouts 2015-11-09 00:35:34 -07:00
Nathan Sobo
1a8adbb4e1 🎨 2015-11-09 00:35:33 -07:00
Nathan Sobo
ff681752f7 Add a nextViewUpdatePromise helper so we get stack traces from timeouts 2015-11-09 00:35:33 -07:00
Nathan Sobo
e9dfc080a3 Convert text-editor-component-spec to Babel for async/await
It's much easier to reason about async/await than Jasmine's
built-in queuing system, and using them made it easier to
debug flaky async tests.
2015-11-09 00:35:32 -07:00
Nathan Sobo
9ee3d53975 Destroy the selections marker layer when editors are destroyed 2015-11-09 00:35:31 -07:00
Nathan Sobo
2f81e5faac Store folds in their own marker layer 2015-11-09 00:35:31 -07:00
Nathan Sobo
29bb1bb31b Add TextEditor-level marker layers and use them for selections 2015-11-09 00:35:31 -07:00