Commit Graph

21752 Commits

Author SHA1 Message Date
Kevin Sawicki
0d9e250a24 ⬆️ temp@0.8.1 2015-02-11 15:21:21 -08:00
Kevin Sawicki
490f9e3227 ⬆️ whitespace@0.29 2015-02-11 15:21:21 -08:00
Kevin Sawicki
4230913e9c ⬆️ symbols-view@0.83 2015-02-11 15:21:21 -08:00
Kevin Sawicki
38a58c5c60 ⬆️ package-generator@0.38 2015-02-11 15:21:21 -08:00
Kevin Sawicki
cb1568dd64 ⬆️ markdown-preview@0.135 2015-02-11 15:21:21 -08:00
Kevin Sawicki
40b879d624 ⬆️ git-diff@0.52 2015-02-11 15:21:02 -08:00
Kevin Sawicki
01f2e8f0ed ⬆️ fuzzy-finder@0.66 2015-02-11 15:21:02 -08:00
Kevin Sawicki
950bcf9a9f ⬆️ find-and-replace@0.157 2015-02-11 15:21:02 -08:00
Kevin Sawicki
1087d18440 ⬆️ archive-view@0.48 2015-02-11 15:21:01 -08:00
Kevin Sawicki
f6742ac45a Dedupe atom-space-pen-views 2015-02-11 15:21:01 -08:00
Kevin Sawicki
c60e4345ed Add versions to output 2015-02-11 15:21:01 -08:00
Kevin Sawicki
e0654d62e8 Dedupe semver 2015-02-11 15:21:01 -08:00
Kevin Sawicki
35c9493640 ⬆️ atom-keymap@3.1.1 2015-02-11 15:21:01 -08:00
Kevin Sawicki
fc50781623 ⬆️ service-hub@0.3 2015-02-11 15:21:01 -08:00
Kevin Sawicki
e139e5b0fa ⬆️ text-buffer@4.1.3 2015-02-11 15:21:01 -08:00
Kevin Sawicki
c6a6463731 ⬆️ grim@1.1.1 2015-02-11 15:21:01 -08:00
Kevin Sawicki
ba5859044d ⬆️ exception-reporting@0.22 2015-02-11 15:21:01 -08:00
Kevin Sawicki
d4526bb4db ⬆️ text-buffer@4.1.2 2015-02-11 15:21:00 -08:00
Kevin Sawicki
cfde9954f2 Add grunt task to print duplicate modules 2015-02-11 15:21:00 -08:00
Ben Ogle
bc7198bab3 ⬆️ metrics@0.43.0 2015-02-11 15:08:47 -08:00
Kevin Sawicki
10b1d80957 Prepare 0.180 2015-02-11 12:49:05 -08:00
Kevin Sawicki
baf6795195 Use ATOM_HOME env var in protocol handler
Closes #5501
2015-02-11 12:20:24 -08:00
Kevin Sawicki
4bbd1257a3 ⬆️ grammar-selector@0.45 2015-02-11 12:08:15 -08:00
Kevin Sawicki
e53004c70c Clean out node_modules between builds
This is a temporary workaround while a dedupe PR is in process

Refs #5489
2015-02-11 11:29:56 -08:00
Kevin Sawicki
67fd52131d Clean out ~/.atom/.apm 2015-02-11 11:21:10 -08:00
Nathan Sobo
e4168d70b7 Use computed clientWidth instead of contentFrameWidth as max scrollWidth 2015-02-11 11:47:18 -07:00
Max Brunsfeld
f1bd4b2c83 ⬆️ packages to use status-bar service
* deprecation-cop
* encoding-selector
* image-view
* incompatible-packages
* release-notes
* settings-view
2015-02-11 10:22:57 -08:00
Kevin Sawicki
aaba6c7fdf ⬆️ apm@0.137 2015-02-11 09:59:40 -08:00
Michael Bolin
746fceb4ed s/repositoryPromisesByDirectory/repositoryPromisesByPath/g 2015-02-11 09:20:50 -08:00
Kevin Sawicki
ce58e7ec78 ⬆️ runas@2
Closes #5493
2015-02-11 09:20:24 -08:00
Michael Bolin
1191db009e Addressing @nathansobo's feedback. 2015-02-11 09:17:25 -08:00
Nathan Sobo
009d945e1e Destroy TextEditorPresenter when unmounting TextEditorComponent
Fixes atom/find-and-replace#348
2015-02-11 09:02:33 -07:00
Nathan Sobo
98e126b40d Remove redundant require 2015-02-11 07:54:54 -07:00
Michael Bolin
e04f17fe5f Set up the atom.repository-provider service and implement GitRepositoryProvider.
I tested this by creating a dummy implementation of an `HgRepositoryProvider`
(with the optional `createRepositorySync()` method implemented) and an `HgRepository`
in an Atom package with the following stanza in the `package.json`:

```
  "providedServices": {
    "atom.repository-provider": {
      "versions": {
        "0.1.0": "createHgRepositoryProvider"
      }
    }
  },
```

I opened a path with an Hg repository from the command line using Atom.
I verified that `atom.project.repositoryProviders` contains both a
`GitRepositoryProvider` and an `HgRepositoryProvider`.

I also verified that running the following printed out an `HgRepository`:

```
var Directory = require('pathwatcher').Directory;
atom.project.repositoryForDirectory(
    new Directory(atom.project.getPath(), /* symlink */ false)).then(
        function(repo) { console.log('repo: %o', repo); });
```

One thing that stands out to me about the current API for the
atom.repository-provider service is that the function used to create
a `RepositoryProvider` does not receive any arguments. If the creation
of the `GitRepositoryProvider` were done via the service, this would
be a problem because it needs a reference to `atom.project`, which is
not defined when it is created. (We work around this because it is
created in `Project`'s constructor, so it can pass `this` to
`new GitRepositoryProvider()`.)

We would have to create a `RepositoryProviderFactory` or something if
we wanted to specify arguments when creating a `RepositoryProvider`,
in general. Maybe that's too crazy / not an issue, in practice.

Though note that `GitRepository` cannot access `atom.project` lazily
because it uses it in its constructor to do the following:

```
if @project?
  @subscriptions.add @project.eachBuffer (buffer) => @subscribeToBuffer(buffer)
```

So long as we can guarantee that `atom.project` is defined before the
other providers are initialized, I think we should be OK.

Follow-up work:
* Replace the use of `RepositoryProvider.createRepositorySync()` with
`RepositoryProvider.repositoryForDirectory()` in `Project.setPaths()`.
* Replace all uses of `Project.getRepositories()` with
`Project.repositoryForDirectory()` in packages that are bundled with Atom
by default.
* Implement `Directory.exists()` and/or `Directory.existsSync()` and update
`git-repositor-provider.coffee`, as appropriate.
* Eliminate `GitRepositoryProvider.repositoryForDirectory()`'s use of
synchronous methods.
* Somewhat orthogonal to this diff, but the following fields need to be
removed from `Project` because they enforce the idea of a single root:
`path`, `rootDirectory`, and `repo`. This has implications around the
existing use of `@rootDirectory?.off()` and `@destroyRepo()`.
2015-02-10 21:46:02 -08:00
Kevin Sawicki
090561eb00 Merge pull request #5487 from atom/ks-dedupe-q
Upgrade and dedupe q
2015-02-10 16:25:38 -08:00
Kevin Sawicki
d0b56ba9af Dedupe q 2015-02-10 16:06:18 -08:00
Kevin Sawicki
0d7a1cb8ca ⬆️ text-buffer@4.1.1 2015-02-10 16:00:23 -08:00
Kevin Sawicki
d2241fca54 ⬆️ settings-view@0.176 2015-02-10 15:57:29 -08:00
Kevin Sawicki
29bf81a7bf ⬆️ symbols-view@0.82 2015-02-10 15:49:18 -08:00
Kevin Sawicki
9e8d6a0a5b ⬆️ pathwatcher@3.1.1 2015-02-10 15:49:04 -08:00
Kevin Sawicki
78c66943a7 ⬆️ q@1.1.2 2015-02-10 15:49:04 -08:00
Kevin Sawicki
03148d56f2 ⬆️ language-clojure@0.12 2015-02-10 15:45:04 -08:00
Kevin Sawicki
199401c532 Prepare 0.179 2015-02-10 15:41:38 -08:00
Nathan Sobo
7f0110f49e Update cursors as soon as all required measurements are assigned 2015-02-10 15:16:58 -07:00
Kevin Sawicki
7d8f26ba61 ⬆️ apm@0.136 2015-02-10 13:54:44 -08:00
Nathan Sobo
f5294454e6 Keep a minimum of 3 lines on screen when scrolling past end 2015-02-10 14:38:20 -07:00
Nathan Sobo
3e9b48ef71 Expand computed scrollHeight when editor.scrollPastEnd is enabled 2015-02-10 14:19:06 -07:00
Kevin Sawicki
f3347fd68c ⬆️ language-python@0.32 2015-02-10 12:45:34 -08:00
Kevin Sawicki
e3028b24d5 ⬆️ styleguide@0.44 2015-02-10 12:38:41 -08:00
Kevin Sawicki
6fdb11eaf0 ⬆️ archive-view@0.47 2015-02-10 12:22:03 -08:00