11196 Commits

Author SHA1 Message Date
Max Brunsfeld
0eb742566f Always open w/ one untitled buffer when no paths are given
Fixes #5607
2015-02-18 11:17:52 -08:00
Max Brunsfeld
39a225821e Reuse current window if it has no project path
Fixes #5615
2015-02-18 10:29:48 -08:00
Kevin Sawicki
63af713a3f Guard against detected repository that does not open
Closes #5609
2015-02-18 09:16:06 -08:00
Max Brunsfeld
7fcec6e3c3 Restore old behavior of atom.open 2015-02-17 15:59:49 -08:00
Max Brunsfeld
bcfa4ef608 Restore old behavior for multiple path CLI args
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-17 15:25:50 -08:00
Max Brunsfeld
a857932d6f Merge pull request #5537 from atom/try-assign-repo-after-provider-is-registered
Try to set the Project's repo if it does not have one when a new Reposit...
2015-02-17 10:48:08 -08:00
Jeremy Engel
6256f62217 Change "optinal" to "optional" 2015-02-14 09:36:20 -08:00
Michael Bolin
5805bf9675 Try to set the Project's repo if it does not have one when a new RepositoryProvider is registered.
I tested this using my test `HgRepositoryProvider`. Now when I run the following from the
command line:

    atom <path-to-directory-with-hg-repository>

And then run the following in the console:

    atom.project.getRepositories()

I get an array with an `HgRepository` in it. Previously, I got an empty array because the
`Project`'s paths were set before my `HgRepositoryProvider` was registered.
2015-02-13 22:27:13 -08:00
Nathan Sobo
55a70da3cf Hide scrollbars on mini editors
Fixes #5548
2015-02-13 19:37:27 -07:00
Max Brunsfeld
9517410ef4 Incrementally initialize presenter in random mutation spec
Fix resulting failures

Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-13 18:05:05 -08:00
Michael Bolin
8f9b6a3082 Replace directoryExistsSync() with Directory::existsSync().
This makes it possible to remove a TODO in `GitRepositoryProvider`.
2015-02-13 13:25:02 -08:00
Max Brunsfeld
ac7057bb2e Always open new window when --wait is passed
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-13 13:04:22 -08:00
Kevin Sawicki
f7138e5190 ⬆️ pathwatcher@3.3 2015-02-13 12:30:37 -08:00
Kevin Sawicki
a3b64d55ad Merge pull request #5526 from atom/upgrade-6to5-to-3.6.0
Move reactCompat option to transform as per 6to5 deprecation warning.
2015-02-13 09:24:51 -08:00
Max Brunsfeld
476876e479 Restore behavior of reusing focused window for opened files 2015-02-12 21:18:20 -08:00
Max Brunsfeld
29662efe7c Don't re-use dev windows for non-dev or vise-versa 2015-02-12 21:18:20 -08:00
Max Brunsfeld
f7e1629cfc Set multiple project paths for multiple cmd-line paths
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 21:18:18 -08:00
Max Brunsfeld
4ebfd22e3d Add Project::addPath 2015-02-12 21:16:26 -08:00
Max Brunsfeld
8ab4ad54d8 Allow Project::setPaths to handle multiple paths
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 21:16:15 -08:00
Max Brunsfeld
ce02c74b76 Remove unused instance variable
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 20:37:40 -08:00
Max Brunsfeld
c732ae8774 Add atom.pickFolder
For showing the native file-picker dialog. The tree-view
will use this to add new root folders

Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 20:37:35 -08:00
Nathan Sobo
6a36bdda25 Replace ::hasRequiredMeasurements() with specific criteria in presenter
Now each update method requires a list of specific variables to be
defined before running.
2015-02-12 19:48:06 -07:00
Nathan Sobo
5b6990f14c Don’t update state in presenter unless prerequisites are defined
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-12 19:39:11 -07:00
Kevin Sawicki
dbf384f719 mkdirp -> fs.makeTree 2015-02-12 17:16:07 -08:00
Kevin Sawicki
582b819efa Remove unused guid dependency 2015-02-12 16:30:32 -08:00
Kevin Sawicki
80f82e189e Defer runas require until it is used 2015-02-12 16:18:27 -08:00
Nathan Sobo
a7f2e89b2c Merge pull request #5534 from atom/ns-mb-optimize-auto-indent-on-paste
Optimize auto-indent on paste
2015-02-12 17:06:23 -07:00
Kevin Sawicki
9df0a83597 Add missing 6to5 segment 2015-02-12 15:44:14 -08:00
Nathan Sobo
b2d322f531 🎨 Dry up buildTokenizedLineForRow methods on TokenizedBuffer
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-12 16:40:18 -07:00
Nathan Sobo
18826f414c 🎨 Dry up suggested indent methods in LanguageMode
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-12 16:33:42 -07:00
Nathan Sobo
fc3d88aada 🐎 Auto-indent lines prior to inserting in buffer
Needs cleanup

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-12 16:21:45 -07:00
Kevin Sawicki
375b6edeb4 Ensure registered extension is enumerable 2015-02-12 14:22:46 -08:00
Kevin Sawicki
b2d5a4da4b 🎨 2015-02-12 14:22:46 -08:00
Kevin Sawicki
718886a077 Pass in full path to root cache dir 2015-02-12 14:22:46 -08:00
Kevin Sawicki
20b2be51d9 Add initial compile cache spec 2015-02-12 14:22:46 -08:00
Kevin Sawicki
3f246035da Remove semicolon 2015-02-12 14:22:45 -08:00
Kevin Sawicki
01f059d156 Allow atom home to be passed in 2015-02-12 14:22:45 -08:00
Kevin Sawicki
86cdfaeb94 Set cache directory in tasks 2015-02-12 14:22:45 -08:00
Kevin Sawicki
a5f40e2e7f Call setCacheDirectory on CoffeeCache 2015-02-12 14:22:45 -08:00
Kevin Sawicki
efd8f160da Add helper to warm caches on apm install 2015-02-12 14:22:45 -08:00
Kevin Sawicki
57bb4c322c Add source map caching to tasks 2015-02-12 14:22:45 -08:00
Kevin Sawicki
da3b1a4881 Add root cache check in browser process 2015-02-12 14:22:44 -08:00
Kevin Sawicki
e9eb3d1d34 Remove old coffee cache 2015-02-12 14:22:44 -08:00
Kevin Sawicki
0738d456b5 Use coffee-cash module 2015-02-12 14:22:44 -08:00
Michael Bolin
e5926395ce Move reactCompat option to transform as per 6to5 deprecation warning.
Bumped the version of 6to5-core to `^3.6.0` to ensure `reactCompat` is
available as a transform rather than an option.
2015-02-12 12:41:34 -08:00
Nathan Sobo
e739444800 Add an assertion when line is null in presenter
Refs #5527
2015-02-12 13:23:42 -07:00
Max Brunsfeld
723117a2dc 🎨 fix linter errors 2015-02-12 11:36:16 -08:00
Max Brunsfeld
8339819c7b Revert "Move reactCompat option to transform as per 6to5 deprecation warning."
This reverts commit 698b870491.
2015-02-12 11:33:05 -08:00
Michael Bolin
698b870491 Move reactCompat option to transform as per 6to5 deprecation warning.
Bumped the version of 6to5-core to `^3.6.0` to ensure `reactCompat` is
available as a transform rather than an option.
2015-02-12 11:29:14 -08:00
Max Brunsfeld
aa59c38264 Merge pull request #5491 from bolinfest/repository-provider
Set up the atom.repository-provider service and implement GitRepositoryP...
2015-02-12 11:00:05 -08:00