mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Merge branch 'master' into atom-shell
Conflicts: .gitmodules
This commit is contained in:
84
.gitmodules
vendored
84
.gitmodules
vendored
@@ -1,90 +1,6 @@
|
||||
[submodule "vendor/packages/text.tmbundle"]
|
||||
path = vendor/packages/text.tmbundle
|
||||
url = https://github.com/textmate/text.tmbundle.git
|
||||
[submodule "vendor/packages/css.tmbundle"]
|
||||
path = vendor/packages/css.tmbundle
|
||||
url = https://github.com/textmate/css.tmbundle.git
|
||||
[submodule "vendor/packages/html.tmbundle"]
|
||||
path = vendor/packages/html.tmbundle
|
||||
url = https://github.com/textmate/html.tmbundle.git
|
||||
[submodule "vendor/packages/javascript.tmbundle"]
|
||||
path = vendor/packages/javascript.tmbundle
|
||||
url = https://github.com/textmate/javascript.tmbundle.git
|
||||
[submodule "vendor/packages/ruby-on-rails-tmbundle"]
|
||||
path = vendor/packages/ruby-on-rails-tmbundle
|
||||
url = https://github.com/drnic/ruby-on-rails-tmbundle.git
|
||||
[submodule "vendor/packages/ruby.tmbundle"]
|
||||
path = vendor/packages/ruby.tmbundle
|
||||
url = https://github.com/textmate/ruby.tmbundle.git
|
||||
[submodule "vendor/packages/coffee-script-tmbundle"]
|
||||
path = vendor/packages/coffee-script-tmbundle
|
||||
url = https://github.com/kevinsawicki/coffee-script-tmbundle.git
|
||||
[submodule "vendor/packages/puppet-textmate.tmbundle"]
|
||||
path = vendor/packages/puppet-textmate.tmbundle
|
||||
url = https://github.com/cburyta/puppet-textmate.tmbundle.git
|
||||
[submodule "vendor/packages/c.tmbundle"]
|
||||
path = vendor/packages/c.tmbundle
|
||||
url = https://github.com/textmate/c.tmbundle.git
|
||||
[submodule "vendor/packages/objective-c.tmbundle"]
|
||||
path = vendor/packages/objective-c.tmbundle
|
||||
url = https://github.com/textmate/objective-c.tmbundle.git
|
||||
[submodule "vendor/packages/git.tmbundle"]
|
||||
path = vendor/packages/git.tmbundle
|
||||
url = https://github.com/kevinsawicki/git.tmbundle.git
|
||||
[submodule "vendor/packages/json.tmbundle"]
|
||||
path = vendor/packages/json.tmbundle
|
||||
url = https://github.com/textmate/json.tmbundle.git
|
||||
[submodule "vendor/packages/shellscript.tmbundle"]
|
||||
path = vendor/packages/shellscript.tmbundle
|
||||
url = https://github.com/textmate/shellscript.tmbundle
|
||||
[submodule "vendor/packages/xml.tmbundle"]
|
||||
path = vendor/packages/xml.tmbundle
|
||||
url = https://github.com/textmate/xml.tmbundle.git
|
||||
[submodule "vendor/packages/property-list.tmbundle"]
|
||||
path = vendor/packages/property-list.tmbundle
|
||||
url = https://github.com/textmate/property-list.tmbundle.git
|
||||
[submodule "vendor/packages/python.tmbundle"]
|
||||
path = vendor/packages/python.tmbundle
|
||||
url = https://github.com/textmate/python.tmbundle
|
||||
[submodule "vendor/packages/clojure.tmbundle"]
|
||||
path = vendor/packages/clojure.tmbundle
|
||||
url = https://github.com/mmcgrana/textmate-clojure
|
||||
[submodule "vendor/packages/yaml.tmbundle"]
|
||||
path = vendor/packages/yaml.tmbundle
|
||||
url = https://github.com/textmate/yaml.tmbundle.git
|
||||
[submodule "vendor/packages/java.tmbundle"]
|
||||
path = vendor/packages/java.tmbundle
|
||||
url = https://github.com/textmate/java.tmbundle.git
|
||||
[submodule "vendor/packages/php.tmbundle"]
|
||||
path = vendor/packages/php.tmbundle
|
||||
url = https://github.com/textmate/php.tmbundle.git
|
||||
[submodule "vendor/packages/perl.tmbundle"]
|
||||
path = vendor/packages/perl.tmbundle
|
||||
url = https://github.com/textmate/perl.tmbundle.git
|
||||
[submodule "vendor/packages/sass.tmbundle"]
|
||||
path = vendor/packages/sass.tmbundle
|
||||
url = https://github.com/alexsancho/SASS.tmbundle.git
|
||||
[submodule "vendor/packages/less.tmbundle"]
|
||||
path = vendor/packages/less.tmbundle
|
||||
url = https://github.com/mathewbyrne/less.tmbundle.git
|
||||
[submodule "vendor/packages/mustache.tmbundle"]
|
||||
path = vendor/packages/mustache.tmbundle
|
||||
url = https://github.com/kevinsawicki/Mustache.tmbundle.git
|
||||
[submodule "vendor/packages/go.tmbundle"]
|
||||
path = vendor/packages/go.tmbundle
|
||||
url = https://github.com/rsms/Go.tmbundle
|
||||
[submodule "vendor/bootstrap"]
|
||||
path = vendor/bootstrap
|
||||
url = https://github.com/twitter/bootstrap
|
||||
[submodule "vendor/packages/pegjs.tmbundle"]
|
||||
path = vendor/packages/pegjs.tmbundle
|
||||
url = https://github.com/alexstrat/PEGjs.tmbundle
|
||||
[submodule "vendor/packages/sql.tmbundle"]
|
||||
path = vendor/packages/sql.tmbundle
|
||||
url = https://github.com/textmate/sql.tmbundle
|
||||
[submodule "vendor/packages/hyperlink-helper.tmbundle"]
|
||||
path = vendor/packages/hyperlink-helper.tmbundle
|
||||
url = https://github.com/textmate/hyperlink-helper.tmbundle
|
||||
[submodule "vendor/apm"]
|
||||
path = vendor/apm
|
||||
url = https://github.com/github/apm.git
|
||||
|
||||
30
package.json
30
package.json
@@ -29,7 +29,35 @@
|
||||
"optimist": "0.4.0",
|
||||
"season": "0.7.0",
|
||||
"humanize-plus": "1.1.0",
|
||||
"semver": "1.1.4"
|
||||
"semver": "1.1.4",
|
||||
"c-tmbundle": "1.0.0",
|
||||
"coffee-script-tmbundle": "2.0.0",
|
||||
"css-tmbundle": "1.0.0",
|
||||
"git-tmbundle": "1.0.0",
|
||||
"go-tmbundle": "1.0.0",
|
||||
"html-tmbundle": "1.0.0",
|
||||
"hyperlink-helper-tmbundle": "1.0.0",
|
||||
"java-tmbundle": "1.0.0",
|
||||
"javascript-tmbundle": "1.0.0",
|
||||
"json-tmbundle": "1.0.0",
|
||||
"less-tmbundle": "1.0.0",
|
||||
"mustache-tmbundle": "1.0.0",
|
||||
"objective-c-tmbundle": "1.0.0",
|
||||
"pegjs-tmbundle": "1.0.0",
|
||||
"perl-tmbundle": "1.0.0",
|
||||
"php-tmbundle": "1.0.0",
|
||||
"property-list-tmbundle": "1.0.0",
|
||||
"puppet-textmate-tmbundle": "1.0.0",
|
||||
"python-tmbundle": "1.0.0",
|
||||
"ruby-on-rails-tmbundle": "1.0.0",
|
||||
"ruby-tmbundle": "1.0.0",
|
||||
"sass-tmbundle": "1.0.0",
|
||||
"shellscript-tmbundle": "1.0.0",
|
||||
"sql-tmbundle": "1.0.0",
|
||||
"text-tmbundle": "1.0.0",
|
||||
"textmate-clojure": "1.0.0",
|
||||
"xml-tmbundle": "1.0.0",
|
||||
"yaml-tmbundle": "1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"biscotto": "0.0.11"
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
set -ex
|
||||
rm -rf ~/.atom
|
||||
git clean -df
|
||||
rake clean test
|
||||
|
||||
@@ -92,8 +92,16 @@ window.atom =
|
||||
|
||||
resolvePackagePath: (name) ->
|
||||
return name if fsUtils.isDirectory(name)
|
||||
|
||||
path = fsUtils.resolve(config.packageDirPaths..., name)
|
||||
path if fsUtils.isDirectory(path)
|
||||
return path if fsUtils.isDirectory(path)
|
||||
|
||||
packagePath = fsUtils.join(window.resourcePath, 'node_modules', name)
|
||||
return packagePath if @isInternalPackage(packagePath)
|
||||
|
||||
isInternalPackage: (packagePath) ->
|
||||
{engines} = Package.loadMetadata(packagePath, true)
|
||||
engines?.atom?
|
||||
|
||||
getLoadedPackage: (name) ->
|
||||
@loadedPackages[name]
|
||||
@@ -109,9 +117,14 @@ window.atom =
|
||||
|
||||
getAvailablePackagePaths: ->
|
||||
packagePaths = []
|
||||
|
||||
for packageDirPath in config.packageDirPaths
|
||||
for packagePath in fsUtils.list(packageDirPath)
|
||||
packagePaths.push(packagePath) if fsUtils.isDirectory(packagePath)
|
||||
|
||||
for packagePath in fsUtils.list(fsUtils.join(window.resourcePath, 'node_modules'))
|
||||
packagePaths.push(packagePath) if @isInternalPackage(packagePath)
|
||||
|
||||
_.uniq(packagePaths)
|
||||
|
||||
getAvailablePackageNames: ->
|
||||
|
||||
1
vendor/packages/c.tmbundle
vendored
1
vendor/packages/c.tmbundle
vendored
Submodule vendor/packages/c.tmbundle deleted from c8a6516c11
1
vendor/packages/clojure.tmbundle
vendored
1
vendor/packages/clojure.tmbundle
vendored
Submodule vendor/packages/clojure.tmbundle deleted from 546b39c972
1
vendor/packages/coffee-script-tmbundle
vendored
1
vendor/packages/coffee-script-tmbundle
vendored
Submodule vendor/packages/coffee-script-tmbundle deleted from 32d2852470
1
vendor/packages/css.tmbundle
vendored
1
vendor/packages/css.tmbundle
vendored
Submodule vendor/packages/css.tmbundle deleted from aa549903ff
1
vendor/packages/git.tmbundle
vendored
1
vendor/packages/git.tmbundle
vendored
Submodule vendor/packages/git.tmbundle deleted from 5117cd42f1
1
vendor/packages/go.tmbundle
vendored
1
vendor/packages/go.tmbundle
vendored
Submodule vendor/packages/go.tmbundle deleted from d6db06051b
1
vendor/packages/html.tmbundle
vendored
1
vendor/packages/html.tmbundle
vendored
Submodule vendor/packages/html.tmbundle deleted from af4fef34e1
1
vendor/packages/hyperlink-helper.tmbundle
vendored
1
vendor/packages/hyperlink-helper.tmbundle
vendored
Submodule vendor/packages/hyperlink-helper.tmbundle deleted from e37fd810cd
1
vendor/packages/java.tmbundle
vendored
1
vendor/packages/java.tmbundle
vendored
Submodule vendor/packages/java.tmbundle deleted from 1c315ed461
1
vendor/packages/javascript.tmbundle
vendored
1
vendor/packages/javascript.tmbundle
vendored
Submodule vendor/packages/javascript.tmbundle deleted from 58e81b0eae
1
vendor/packages/json.tmbundle
vendored
1
vendor/packages/json.tmbundle
vendored
Submodule vendor/packages/json.tmbundle deleted from 5765750aa9
1
vendor/packages/less.tmbundle
vendored
1
vendor/packages/less.tmbundle
vendored
Submodule vendor/packages/less.tmbundle deleted from a202dd9942
1
vendor/packages/mustache.tmbundle
vendored
1
vendor/packages/mustache.tmbundle
vendored
Submodule vendor/packages/mustache.tmbundle deleted from 21ed7c4a49
1
vendor/packages/objective-c.tmbundle
vendored
1
vendor/packages/objective-c.tmbundle
vendored
Submodule vendor/packages/objective-c.tmbundle deleted from b0826e645a
1
vendor/packages/pegjs.tmbundle
vendored
1
vendor/packages/pegjs.tmbundle
vendored
Submodule vendor/packages/pegjs.tmbundle deleted from 8c75a902d6
1
vendor/packages/perl.tmbundle
vendored
1
vendor/packages/perl.tmbundle
vendored
Submodule vendor/packages/perl.tmbundle deleted from fccaee006d
1
vendor/packages/php.tmbundle
vendored
1
vendor/packages/php.tmbundle
vendored
Submodule vendor/packages/php.tmbundle deleted from bb576b5575
1
vendor/packages/property-list.tmbundle
vendored
1
vendor/packages/property-list.tmbundle
vendored
Submodule vendor/packages/property-list.tmbundle deleted from 8a2b90aec0
1
vendor/packages/puppet-textmate.tmbundle
vendored
1
vendor/packages/puppet-textmate.tmbundle
vendored
Submodule vendor/packages/puppet-textmate.tmbundle deleted from 5ef4949b2c
1
vendor/packages/python.tmbundle
vendored
1
vendor/packages/python.tmbundle
vendored
Submodule vendor/packages/python.tmbundle deleted from df88cd66d0
1
vendor/packages/ruby-on-rails-tmbundle
vendored
1
vendor/packages/ruby-on-rails-tmbundle
vendored
Submodule vendor/packages/ruby-on-rails-tmbundle deleted from 683f6e652c
1
vendor/packages/ruby.tmbundle
vendored
1
vendor/packages/ruby.tmbundle
vendored
Submodule vendor/packages/ruby.tmbundle deleted from 4b74231cb2
1
vendor/packages/sass.tmbundle
vendored
1
vendor/packages/sass.tmbundle
vendored
Submodule vendor/packages/sass.tmbundle deleted from e2bef05afa
1
vendor/packages/shellscript.tmbundle
vendored
1
vendor/packages/shellscript.tmbundle
vendored
Submodule vendor/packages/shellscript.tmbundle deleted from 02893ae5fd
1
vendor/packages/sql.tmbundle
vendored
1
vendor/packages/sql.tmbundle
vendored
Submodule vendor/packages/sql.tmbundle deleted from 1e047e07ad
1
vendor/packages/text.tmbundle
vendored
1
vendor/packages/text.tmbundle
vendored
Submodule vendor/packages/text.tmbundle deleted from 061224bd78
1
vendor/packages/xml.tmbundle
vendored
1
vendor/packages/xml.tmbundle
vendored
Submodule vendor/packages/xml.tmbundle deleted from 9d9446f7da
1
vendor/packages/yaml.tmbundle
vendored
1
vendor/packages/yaml.tmbundle
vendored
Submodule vendor/packages/yaml.tmbundle deleted from 173808ba47
Reference in New Issue
Block a user