Commit Graph

6436 Commits

Author SHA1 Message Date
joshaber
8da08724ad Added getDiffStats. 2015-12-02 23:51:33 -05:00
joshaber
cb62d917de Added getAheadBehindCount. 2015-12-02 17:20:38 -05:00
joshaber
aa634570e6 Added getShortHead 2015-12-02 16:16:30 -05:00
joshaber
6c58550bf4 Of course it's JS. 2015-12-02 14:36:25 -05:00
joshaber
e8a5864707 Do the work after waiting. 2015-12-02 14:23:27 -05:00
joshaber
fb7f2cce95 These may be called more than once and that's ok. 2015-12-02 14:23:11 -05:00
joshaber
11fb508039 🔥 all the disabled tests. 2015-12-02 14:22:57 -05:00
joshaber
8a6ab81325 100% less racy. 2015-12-02 13:26:06 -05:00
joshaber
c9813d8025 Ensure the repo is destroyed properly after testing. 2015-12-02 11:40:16 -05:00
joshaber
db7a3063e9 Call destroy on the synchronous repo. 2015-12-02 11:22:40 -05:00
joshaber
ca2fc8dbb0 Make sure we're testing the right thing. 2015-12-01 17:39:58 -05:00
joshaber
4559936af1 More const'ing. 2015-12-01 16:45:02 -05:00
joshaber
f290596542 Remove some lint. 2015-12-01 13:36:48 -05:00
joshaber
64d4716003 Use modern imports. 2015-12-01 12:47:11 -05:00
joshaber
9765cb55ea Merge branch 'master' into dh-async-repo 2015-12-01 10:16:48 -05:00
Max Brunsfeld
3827b19da4 Merge pull request #9687 from atom/mb-deprecate-load-time-package-code
Provide package.json fields so we can defer requiring packages' main modules
2015-11-30 15:53:37 -08:00
Nathan Sobo
f139992585 Avoid infinite recursion in Error.prepareStackTrace
Previously, prepareStackTraceWithStackAssignment could end up calling
itself when third-party code assigned Error.prepareStackTrace back
to its original value. Now, we short-circuit this process if the
rawStack property has already been assigned.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-11-30 10:51:21 -08:00
Max Brunsfeld
a36fc301f9 Merge branch 'master' into mb-deprecate-load-time-package-code 2015-11-30 10:51:14 -08:00
Max Brunsfeld
228e67838c Suppress false coffeelint error 2015-11-30 10:51:03 -08:00
Max Brunsfeld
d058814957 Merge remote-tracking branch 'origin/master' into mb-deprecate-load-time-package-code
Conflicts:
	package.json
2015-11-30 10:20:31 -08:00
joshaber
3a06953820 Merge branch 'master' into dh-async-repo 2015-11-30 11:44:20 -05:00
Nathan Sobo
8978691831 Merge pull request #9773 from atom/mb-ns-prepare-stack-trace-fixes
Allow Error.prepareStackTrace to be temporarily reassigned
2015-11-24 11:59:53 -07:00
Antonio Scandurra
c061b27076 2015-11-24 17:36:44 +01:00
Antonio Scandurra
9376738918 Make spec async because of Promise-based API 2015-11-24 12:28:31 +01:00
Max Brunsfeld
327cf6997b Remember which packages use atom APIs at main module load time
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 17:35:38 -08:00
Max Brunsfeld
24938c0361 Defer loading view providers until activation or deserializer use
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 16:28:08 -08:00
Max Brunsfeld
d6e5ea8564 Defer requiring packages' main modules if they use new package.json fields 2015-11-23 16:05:32 -08:00
Max Brunsfeld
2d29fd6e79 Load config schemas from packages' package.json files 2015-11-23 15:53:26 -08:00
Max Brunsfeld
4bc46db355 Still assign error's raw stack when prepareStackTrace is overridden
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 15:30:11 -08:00
Max Brunsfeld
4616b426b0 Allow Error.prepareStackTrace to be temporarily reassigned
Fixes https://github.com/atom/atom/issues/9660

Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 15:22:15 -08:00
Max Brunsfeld
30b3cb249e Merge pull request #9636 from DouweM/unique-title
Use unique text editor title in window and tab titles
2015-11-20 16:55:38 -08:00
Nathan Sobo
3e22d9f7a2 Merge PR #9607 with a small change 2015-11-20 10:41:22 -07:00
Nathan Sobo
704da43800 Prevent spec from closing window 2015-11-20 10:34:05 -07:00
Antonio Scandurra
a546005c65 Merge pull request #9709 from atom/as-fix-longest-screen-row-issue
Compute content width when the longest row is the first one
2015-11-20 09:24:33 -08:00
Antonio Scandurra
93481c8a0d Move ::isTextEditor down into Workspace 2015-11-19 17:56:53 -08:00
Antonio Scandurra
85ee586e2e More specs 2015-11-19 17:30:33 -08:00
Antonio Scandurra
d427091b49 Write specs for ::isTextEditor 2015-11-19 17:04:18 -08:00
Max Brunsfeld
cb2b068d77 Load view providers from files specified in package.json 2015-11-19 16:58:20 -08:00
Antonio Scandurra
0218431c62 🐛 Compute content width when the longest row is the first one 2015-11-19 16:38:20 -08:00
Antonio Scandurra
ff08642d3b Return early in FakeLinesYardstick for unrendered rows
This allows us to have a more consistent behavior with the real LinesYardstick.
2015-11-19 16:32:39 -08:00
Max Brunsfeld
91b651e86c Make model constructor argument to addViewProvider optional 2015-11-19 15:54:47 -08:00
Max Brunsfeld
a0a402c3f8 Remove 'atom' prefix from deserializers package.json key 2015-11-19 14:12:03 -08:00
Nathan Sobo
b04c26ba30 Discard highlights that end above the visible row range
Fixes #9628
2015-11-18 21:32:05 -08:00
Max Brunsfeld
46272cd192 Load deserializers lazily 2015-11-18 14:31:16 -08:00
Max Brunsfeld
ade1ef7a4c Load deserializers from files specified in package.json 2015-11-18 14:03:49 -08:00
Douwe Maan
5c701ed5df Use long title in tests 2015-11-18 20:31:42 +01:00
Nathan Sobo
9537007a2a Merge branch 'beta' 2015-11-17 16:57:33 -08:00
Nathan Sobo
e475065b45 Merge branch 'stable' into beta 2015-11-17 16:57:19 -08:00
Nathan Sobo
3b2c6afdaf Fix removeListener calls 2015-11-17 16:23:38 -08:00
joshaber
a8c297e7f2 Don't need these, we'll use the JS one. 2015-11-17 15:32:35 -08:00