Commit Graph

6528 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
ef595c74ef Update GFM snippets to atom syntax instead of textmate 2013-03-21 16:17:50 -06:00
Corey Johnson & Nathan Sobo
b169759f98 Flip version to 2.0 so we don't auto-upgrade after rake install 2013-03-21 16:01:52 -06:00
Corey Johnson & Nathan Sobo
2f3b4b9e5f Move scoped properties out of the grammar file and into a directory
Closes #435
2013-03-21 14:07:32 -07:00
Corey Johnson & Nathan Sobo
0b719bfecf Atom packages can load cson grammars and TextMate packages can't 2013-03-21 13:26:56 -07:00
Kevin Sawicki
1929899365 Remove z-index on editor stats
Wasn't needed now that it just sits below the status bar.

Closes #389
2013-03-21 11:28:16 -07:00
Kevin Sawicki
6e472064dd Add Mustache bundle as a submodule
Closes #398
2013-03-21 11:13:07 -07:00
Kevin Sawicki
b006841fa7 Install npm locally and use during bootstrap
This ensures the expected version is used regardless
of the global version already installed.

Closes #439
2013-03-21 10:56:43 -07:00
Kevin Sawicki
4b5d375638 Merge pull request #431 from github/cefode
Support node API
2013-03-21 10:17:31 -07:00
Kevin Sawicki
39ee6f66ba Remove unused import 2013-03-21 10:02:14 -07:00
Cheng Zhao
95090d735e Update cefode: Fix crash when throwing exception from window context. 2013-03-21 21:56:45 +08:00
Kevin Sawicki
71f28ad9e5 💄 2013-03-20 18:50:20 -07:00
Kevin Sawicki
77b7e71920 Move jasmine-helper from vendor/ to spec/ 2013-03-20 18:38:19 -07:00
Kevin Sawicki
8668998b1a Move jasmine-focused to spec folder
This JS file was previously loaded in the vendor folder
even though it was internally written.

It has also been converted to CoffeeScript.
2013-03-20 18:36:55 -07:00
Kevin Sawicki
661ef175d5 Remove $native.getPlatform()
process.platform should now be used instead.
2013-03-20 17:51:51 -07:00
Kevin Sawicki
efe44fd78c Upgrade to git-utils 0.7.0 2013-03-20 16:52:17 -07:00
Kevin Sawicki
912b9292c4 Upgrade to ctags 0.2.0 2013-03-20 16:12:09 -07:00
Kevin Sawicki
1051ad83c8 Use async queue in fs-utils traverseTree()
This removes the need for tracking when the traversal is done.
2013-03-20 15:54:23 -07:00
Kevin Sawicki
61cc592605 Use absolute paths in Editor.reloadGrammar() specs 2013-03-20 15:04:20 -07:00
Kevin Sawicki
529b3ac583 💄 2013-03-20 14:56:27 -07:00
Kevin Sawicki
a55fdc7551 Return absolute paths from resolve methods
This mirrors the behavior of require.resolve for
all the resolve methods provided by fs-utils.
2013-03-20 14:52:48 -07:00
probablycorey
d2b2c6fc8d Remove unused code 2013-03-20 14:33:52 -07:00
Kevin Sawicki
5f771978ac Update path when move events occur 2013-03-20 14:18:40 -07:00
Corey Johnson & Kevin Sawicki
6c357aaca7 Make paths absolute before calling $native.watchPath
Also return a subscription that can be unwatched instead
of returning an id that is later passed to $native.unwatchPath
along with the watched path.

This allows specs to pass when run from a symlink'ed folder.
2013-03-20 13:27:49 -07:00
Kevin Sawicki
ae96a48572 Call populateProjectPaths when callback completes
This removes duplicate code for the cases when a callback
is used and when the view already has populated paths.
2013-03-20 11:59:38 -07:00
Kevin Sawicki & Nathan Sobo
2f190025a9 Use new parseFileSync method of plist npm 2013-03-20 10:59:54 -06:00
Kevin Sawicki & Nathan Sobo
46f0bfb991 Kill dead code 2013-03-20 10:55:00 -06:00
Kevin Sawicki & Nathan Sobo
38e8f0494d Merge branch 'cefode' of https://github.com/github/atom into cefode 2013-03-20 10:50:37 -06:00
Kevin Sawicki & Nathan Sobo
501dc9b76c Merge remote-tracking branch 'origin/master' into cefode
Conflicts:
	native/v8_extensions/native.mm
	spec/app/config-spec.coffee
	spec/app/window-spec.coffee
	spec/spec-helper.coffee
	spec/stdlib/fs-utils-spec.coffee
	src/app/atom-package.coffee
	src/app/config.coffee
	src/app/window.coffee
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
	src/packages/markdown-preview/lib/markdown-preview-view.coffee
	src/packages/tree-view/spec/tree-view-spec.coffee
	src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Cheng Zhao
977941655f Updae cefode: make sure exceptions thrown in node context can show in devtools. 2013-03-21 00:37:25 +08:00
probablycorey
9c6978e913 Operation creates a marker immediately when given a buffer v0.1.0 2013-03-19 14:32:25 -07:00
Corey Johnson & Nathan Sobo
aae705e82c Run rake clean before running tests 2013-03-19 12:33:16 -07:00
Corey Johnson & Nathan Sobo
dfa91f0f3c Use explicit path for node-gyp 2013-03-19 12:32:50 -07:00
probablycorey
35ab49eff0 SelectAllMatchesInProject Operations create buffers on demand 2013-03-19 11:30:49 -07:00
Corey
1f23fa8cfc 💄 2013-03-19 11:30:49 -07:00
Corey Johnson
4702f3775d Calling collapseAllPaths creates elements for every Dom node 2013-03-19 11:30:48 -07:00
Corey Johnson & Nathan Sobo
10f405f61f Create preview list Dom elements only when needed 2013-03-19 11:30:48 -07:00
Corey Johnson
6b3d527dda Add one operations at a time to PathViews 2013-03-19 11:30:48 -07:00
Corey Johnson
014d5e7bb3 Remove setLineNumberWidth 2013-03-19 11:30:48 -07:00
Corey Johnson
7798f04cc4 Index variable from operations is not longer used 2013-03-19 11:30:48 -07:00
Corey Johnson
919cee3e4a Allow operations to be added to a PathView 2013-03-19 11:30:48 -07:00
Nathan Sobo
e7f371ac62 Nuke node_modules before 'rake test' 2013-03-19 12:17:29 -06:00
Nathan Sobo
4a203a9eb6 Use plist NPM instead of vendor/plist.js. Use new synch parsing api.
This also adds a `readObject` method to `fs-utils`, which loads the
file as cson if it ends with json/cson, and otherwise tries to load
it as a plist.

For now, we're using my fork which is tolerant to a node environment
with a `window` global and suppresses some logging of non-fatal
errors. If the upstream author accepts my pull requests we can switch
back.
2013-03-19 11:32:23 -06:00
Nathan Sobo
5270a99f7b Use eachSeries to load snippets so we don't exhaust file descriptors 2013-03-19 11:32:23 -06:00
Nathan Sobo
91587cbb99 Guard loadAtomSnippets against non-existent snippet directories 2013-03-19 11:32:23 -06:00
Corey Johnson & Nathan Sobo
dfecef24e9 Only load necessary packages in snippets spec 2013-03-19 11:32:15 -06:00
Nathan Sobo
e5436974eb Replace snippet loader task w/ async loading 2013-03-18 14:57:09 -07:00
Kevin Sawicki
b01a3ff9cc Release repo when destroy is called 2013-03-17 21:46:26 -05:00
Kevin Sawicki
cdb7f14c03 Release repository when worker is done
Closes #414
2013-03-17 17:22:34 -05:00
Cheng Zhao
a9b9e5651f Update cefode: speed up node's requrie by removing exceptions. 2013-03-16 00:43:43 +08:00
Nathan Sobo
875fbba024 Measure spec suite require time 2013-03-15 09:09:56 -06:00