Commit Graph

28094 Commits

Author SHA1 Message Date
Kevin Sawicki
8427196d87 Merge pull request #9501 from atom/ks-add-menu-roles
Add menu roles
2015-11-09 13:37:14 -08:00
joshaber
86eef8cbbf 1.2.0-beta2 v1.2.0-beta2 2015-11-09 16:32:40 -05:00
Josh Abernathy
3a42a34092 ⬇️ pathwatcher
6.3.0 is broken on Windows (https://github.com/atom/node-pathwatcher/issues/96).
2015-11-09 16:31:59 -05:00
Josh Abernathy
4dba6f10fe ⬆️ git-utils 2015-11-09 16:31:52 -05:00
Kevin Sawicki
de6829d7b6 🎨 2015-11-09 12:47:21 -08:00
Kevin Sawicki
1ef7a2cc96 Add roles to services, window, and help menu items 2015-11-09 12:43:11 -08:00
Kevin Sawicki
589d489eb9 Retain role field from menu items config 2015-11-09 12:30:29 -08: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
Daniel Hengeveld
3d2ed07470 Revert "Use our own ::relativize"
This reverts commit 0322d8d3da.
2015-11-09 16:56:51 +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
0322d8d3da Use our own ::relativize
This allows us to remove the git-utils import.
2015-11-09 16:48:02 +01:00
Daniel Hengeveld
e3af723c9b Copy relativize and getPathStatus from #9469 2015-11-09 16:40:44 +01:00
joshaber
0745348bcf Merge remote-tracking branch 'origin/dh-async-repo' into dh-async-repo 2015-11-09 10:39:31 -05: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
Josh Abernathy
c83dae9c79 Merge pull request #9471 from atom/bump-git-utils-take-2
Bump git-utils take 2
2015-11-09 09:22:22 -05:00
Daniel Hengeveld
93046f550f Clean up lint errors from ./script/grunt standard:src 2015-11-09 15:13:00 +01:00
Daniel Hengeveld
7598be861b Add empty ignore array to standard config
- This version of grunt-standard requires SOMETHING to be set here, or it dies
  hard because it tries to push undefined into the array of ignored paths
2015-11-09 15:08:03 +01:00
Daniel Hengeveld
60f9180ec3 add license overrides for shelljs and log-driver 2015-11-09 14:26:24 +01:00
Daniel Hengeveld
995d912d76 remove devDependencies due to license issues 2015-11-09 13:35:31 +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
fc5788c43b Disable renderer backgrounding 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
213e7d0b35 Schedule marker updates with nextTick instead of setImmediate
From what I understand, nextTick callbacks actually happen at the end
of the current event loop cycle rather than the next one. The naming is
confusing.
2015-11-09 00:35:33 -07:00
Nathan Sobo
1aa4b7e06a Clear nextUpdatePromise immediately when an animation frame fires 2015-11-09 00:35:33 -07:00
Nathan Sobo
54a9012796 Clear next update promise when resetting ViewRegistry 2015-11-09 00:35:33 -07:00
Nathan Sobo
1a8adbb4e1 🎨 2015-11-09 00:35:33 -07:00
Nathan Sobo
fe88611e79 Tear down timers when destroying TextEditorPresenter 2015-11-09 00:35:33 -07:00
Nathan Sobo
b9528dcb39 Cancel ViewRegistry animation frames between specs 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
bddb601b45 ⬆️ snippets 2015-11-09 00:35:32 -07:00
Nathan Sobo
51a7c9ea68 Always set devMode to true for spec windows 2015-11-09 00:35:32 -07:00