Commit Graph

167 Commits

Author SHA1 Message Date
Ash Wilson
e7fcb0d079 Adjust Project root directory watching to account for async watchers 2017-08-18 09:10:20 -04:00
Ash Wilson
ea91723b36 Only deal with watcher stopping in the onDidChangeFiles spec 2017-08-04 10:37:41 -04:00
Ash Wilson
3b57d2a259 Let's see if we're still green without diagnostics! 2017-08-03 20:29:01 -04:00
Ash Wilson
dc9cb76fa4 tfw your diagnostic tests don't even run because of a linter error 2017-08-03 19:07:52 -04:00
Ash Wilson
7b61d4f62f Log a few more things 2017-08-03 18:21:24 -04:00
Ash Wilson
a84694fac1 Stop watchers in an afterEach block 2017-08-03 18:21:11 -04:00
Ash Wilson
095f6da379 Default to the appveyor home dir 2017-08-03 18:15:39 -04:00
Ash Wilson
94c91c57b1 Explicitly put the logfile in ${HOME} 2017-08-03 15:32:18 -04:00
Ash Wilson
bb91bb58e5 Okay fine let's do this the dumb way 2017-08-03 14:30:40 -04:00
Ash Wilson
263adde377 Use async cleanup to avoid ENOTEMPTY on Windows 2017-08-03 14:22:54 -04:00
Ash Wilson
dedf5193cd Does stderr work there... ? 2017-08-03 13:11:09 -04:00
Ash Wilson
3deb26b6a0 console.log debugging 2017-08-03 11:52:15 -04:00
Ash Wilson
3e3ab73748 Use distinct names for spec directories 2017-08-03 07:48:22 -07:00
Ash Wilson
b9080bcec5 Don't use "path" as a variable name 2017-08-02 12:59:38 -04:00
Ash Wilson
00346614a0 Spec for onDidChangeFiles 2017-08-01 15:58:38 -04:00
Max Brunsfeld
8f106d2d44 Don't serialize undo/redo stacks when the user is idle 2017-06-07 11:21:39 -07:00
Max Brunsfeld
2c2d00a403 Don't create duplicate buffers if a path is opened twice concurrently 2017-05-23 07:27:56 -07:00
Max Brunsfeld
6c0b70f5f3 Start work on integrating new native TextBuffer version 2017-05-19 11:33:49 -07:00
Aleksei Gusev
fd9dbb6e87 Normalize disk drive letter in path on Windows
Currently atom creates two buffers for the same file if passed
paths use difference case for disk drive letter,
e.g. d:\file.txt and D:\file.txt
2017-02-18 11:32:44 +03:00
Damien Guard
3fd1dbdce3 Clean up temporary files when running specs 2016-12-01 10:48:45 -08:00
Damien Guard
7a5b5ef400 👕 2016-11-29 16:55:14 -08:00
Damien Guard
711d83925e Project and Window-Event-Handler spec pass on Win32 2016-11-29 16:55:14 -08:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Max Brunsfeld
09b50f8740 Don't remove non-local directories on Project deserialization 2016-09-15 16:32:14 -07:00
Max Brunsfeld
fe480d8fa4 Do not add project directories that do not exist
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-14 13:48:17 -07:00
Andres Suarez
4ca6eaff34 Add atom.project.observeBuffers
This makes `onDidAddBuffer` symmetrical with other `onDidAddX` methods and their `observeXs`. It also documents `onDidAddBuffer` and adds tests for it.

Released under CC0.
2016-08-22 18:00:54 -07:00
Antonio Scandurra
95932081b2 Recreate repository if the same project is added after being removed
:pear:ed with @nathansobo.
2016-06-20 17:06:50 +02:00
Antonio Scandurra
ef3ab03d28 Emit {will,did}SavePath on ipcMain before/after a buffer is saved 2016-05-23 18:37:26 +02:00
Antonio Scandurra
754cbc2a67 Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	spec/tokenized-buffer-spec.coffee
2016-04-20 10:55:56 +02:00
Damien Guard
99e716f9ed Fix specs failures on Windows including paths 2016-04-15 11:25:05 -07:00
Antonio Scandurra
f3c6a77954 💚 Use persistent instead of maintainHistory in specs 2016-04-09 09:30:47 +02:00
Antonio Scandurra
12587073d2 🎨 isQuitting -> isUnloading 2016-03-07 10:52:16 +01:00
Antonio Scandurra
3d15b6e16b Merge branch 'master' into as-serialize-history-without-snapshots 2016-03-07 10:33:52 +01:00
Antonio Scandurra
046cdddefe 📝 2016-03-04 17:53:14 +01:00
Antonio Scandurra
41c293ef9d Always pass {isQuitting} in tests 2016-03-04 17:23:19 +01:00
Antonio Scandurra
011fe380e9 Pass markerLayer: false to buffer.serialize when not quitting 2016-03-04 16:57:02 +01:00
Nathan Sobo
47a348f557 Filter out non-directory project paths when deserializing Project
Closes #10628
2016-03-01 18:22:43 -07:00
case
8c5c795b35 Remove Duplicate Require Statements and Unify Syntax on ' 2016-01-15 14:35:28 -06:00
Max Brunsfeld
a9c8640ab1 Stop using directory providers when their providing packages are deactivated 2015-10-08 15:20:13 -07:00
Max Brunsfeld
b754f1e125 Clean up project specs for custom directory and repository providers 2015-10-08 15:15:02 -07:00
Max Brunsfeld
2af6f995b4 Clean up repository-providers when their providing packages are are deactivated 2015-10-08 13:49:37 -07:00
Max Brunsfeld
9a4cbb9e16 Wait for async service consumption in project spec 2015-10-08 12:40:23 -07:00
Nathan Sobo
eb2ace37b4 Move TextEditor construction to Workspace
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:56 -05:00
Nathan Sobo
3491fa3650 Construct Project during Atom environment construction
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
26f0ef5424 Move Project.deserialize to instance method
So we can instantiate atom.project during Atom environment construction.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
d997c80d31 Don’t use Serializable mixin in Project 2015-09-22 10:50:11 -06:00
Nathan Sobo
75f6127b90 🔥 Remove deprecations from Project 2015-09-22 10:37:08 -06:00
Nathan Sobo
d2d802e76f Remove progress spec on Project::open 2015-09-18 21:26:16 -06:00
Max Brunsfeld
6df058c7f3 Allow adding a root folder that's within another root folder 2015-08-26 15:26:02 -07:00
Max Brunsfeld
886c51aed1 Fix flaky project spec caused by async service hub 2015-07-27 10:16:11 -07:00