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
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
probablycorey
9c6978e913
Operation creates a marker immediately when given a buffer
2013-03-19 14:32:25 -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
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
Chris Wanstrath
74c1e64bdb
use full paths in meta-t
2013-03-14 17:41:17 -07:00
John Barnette
694b499b21
Only relativize stuff under the project root
2013-03-14 16:53:33 -07:00
Nathan Sobo
fc7eaf57fc
Add window.profile, which is like measure but also records a profile
2013-03-14 17:47:07 -06:00
Nathan Sobo
a1882ffd1f
Move "GitHub" special-case to _.capitalize. Add specs.
2013-03-14 11:35:06 -06:00
Nathan Sobo
634117ed66
Make $.fn.document always take event name / doc string args
...
It's simpler and we don't use the other syntax right now.
2013-03-14 11:34:28 -06:00
John Barnette
eb5d0fe3f5
Actually make doc: work
2013-03-13 21:30:00 -07:00
John Barnette
460577d9ae
Spike optional doc: key for command
...
This isn't working yet.
2013-03-13 19:40:35 -07:00
Kevin Sawicki
8dbcb44d06
Rename traverseTree to traverseTreeSync
...
Also rename traverseTreeAsync to traverseTree
2013-03-13 14:40:31 -07:00
Kevin Sawicki
8fe9e31c08
Don't use a web worker for loading all paths
...
Instead use fs.realpath() and fs.stat() to walk the project
tree asynchronously.
2013-03-13 11:29:40 -07:00
Kevin Sawicki
65d5e631f8
Remove $native.absolute()
...
fs-utils.absolute() now recreates the same behavior
but instead using fs.readpathSync().
This brings over the same behavior for special handling
the /private directory for now.
2013-03-12 19:41:42 -07:00
John Barnette
b27a465e2f
Use absolute paths inside fuzzy-finder
...
This allows paths from outside the current project root to sanely
coexist in the buffer list.
2013-03-12 18:37:02 -07:00
Kevin Sawicki
c64d07d506
Return false if stat exception is thrown
...
Calling exists() and then statSync() ends up stat'ing
the file twice so removing the exists() check saves a stat
call.
2013-03-12 17:49:11 -07:00
Corey Johnson
3ec74f3211
Move toExistOnDisk matcher to spec helper
2013-03-12 16:55:28 -07:00
Corey Johnson
c236325c1a
Log errors (instead of crashing) when the config file cannot be parsed
...
Also, config won't overwrite changes to config.cson when the file can not be parsed. Closes #401
2013-03-12 16:47:26 -07:00
Corey Johnson
f7f034ad2a
Remove core:close event from window
2013-03-12 15:55:30 -07:00
Corey Johnson
d916962a80
Defer window close events until all modified pane items are handled
...
If the user presses cancel, the close event is canceled
2013-03-12 15:55:30 -07:00
Corey Johnson
44d4dc7e60
Use URI in prompt message if pane item doesn't have a title
2013-03-12 15:55:30 -07:00
Corey Johnson
9860f32d4c
Add cancel callback to promptToSaveItem
2013-03-12 15:55:30 -07:00
Kevin Sawicki & Nathan Sobo
879f4e92a6
Remove require.coffee
2013-03-12 14:59:42 -07:00
Kevin Sawicki & Nathan Sobo
051decc08c
Use fs.resolveOnLoadPath() instead of require.resolve()
2013-03-12 14:42:24 -07:00
Kevin Sawicki
e601c6e256
Use fs.resolveOnLoadPath() to find ctags executable
2013-03-12 13:37:12 -07:00
Kevin Sawicki
eea02cb807
Remove unneeded coffee-script require
...
This is handled by the wrapper around task-shell
to ensure coffee-script is required before the shell
is.
2013-03-12 13:06:23 -07:00
Kevin Sawicki
6699941da0
Remove unneeded resolved task shell path
2013-03-12 13:05:51 -07:00
Kevin Sawicki & Nathan Sobo
82bfd83da1
Require task shell path in blob snippet
2013-03-12 13:05:22 -07:00
Kevin Sawicki & Nathan Sobo
5399fdb939
Don't reassign to parameter
2013-03-12 12:17:12 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Kevin Sawicki
6f5138a56e
Revert "Remove $native.md5ForPath()"
...
This reverts commit 832df7149e .
2013-03-12 08:23:54 -07:00