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
Nathan Sobo
fc7eaf57fc
Add window.profile, which is like measure but also records a profile
2013-03-14 17:47:07 -06: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
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
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
Kevin Sawicki
115b960ce7
Handle reading and writing in cson.coffee
...
Moves helpers from fs.coffee to cson.coffee
2013-03-11 22:40:00 -07:00
Kevin Sawicki
832df7149e
Remove $native.md5ForPath()
2013-03-11 20:58:57 -07:00
Kevin Sawicki
ec8a5b368b
Use node's crypto from fs.md5ForPath()
2013-03-11 19:20:36 -07:00
Kevin Sawicki
cc7ddc59ff
Set input encoding to utf8
2013-03-11 19:15:49 -07:00
Kevin Sawicki
2a78183a15
Use node's crypto API for pasteboard md5s
2013-03-11 19:07:08 -07:00
Kevin Sawicki
5d8a40d240
Use d3 npm
2013-03-11 15:48:29 -07:00
Kevin Sawicki
2ecb2d9ba1
Remove unneeded _.clone call
...
This is no longer needed after upgrading underscore which
fixed a bug with object equality across objects created in
different contexts.
2013-03-11 13:39:54 -07:00
Kevin Sawicki
03b32ec29c
Use coffee-script node module
...
This required upgrading underscore which to fix issues
with _.isEqual working across objects created from different
documents.
The upgrade required adding a custom _.isEqual extension that
added back support for object's having an isEqual method that
was removed in underscore 1.4.0.
2013-03-11 13:39:17 -07:00
Kevin Sawicki
2212222c47
Use underscore node module
2013-03-11 11:22:36 -07:00
Kevin Sawicki
7c41907a7d
Check if path exists before moving
...
fs.move() no longer throws an exception if the target exists
so check for it explicitly when the dialog is confirmed.
2013-03-09 14:55:17 -08:00
Kevin Sawicki
28f89672d0
Use status helpers from git-utils module
2013-03-09 14:38:04 -08:00
Kevin Sawicki
f3049681bd
Use git-utils module
...
Removes the need to include libgit2 as this is now handled by the
git-utils module which provides functions that were previously in
git.mm and git.coffee
2013-03-09 14:34:06 -08:00
Kevin Sawicki
7bee41f1e2
Use git-utils from status handler
2013-03-09 13:59:22 -08:00
Kevin Sawicki
99dc796f42
Remove $native calls from require.coffee
2013-03-07 19:00:02 -08:00
Kevin Sawicki
2f8b1d5e3e
Remove $native.remove()
2013-03-07 18:36:20 -08:00
Kevin Sawicki
d91c540d47
Remove $native.move()
2013-03-07 18:25:25 -08:00
Kevin Sawicki
5202e846de
Remove $native.write()
2013-03-07 18:20:29 -08:00
Kevin Sawicki
6abf1ff1aa
Remove $native.makeDirectory()
2013-03-07 18:02:55 -08:00
Kevin Sawicki
e7050b2083
Remove unused $native.lastModified()
2013-03-07 18:00:35 -08:00
Kevin Sawicki
fedf43ca0a
Remove $native.exists()
2013-03-07 17:57:28 -08:00
Kevin Sawicki
4bc513a8e3
Remove $native.isFile() and $native.isDirectory
2013-03-07 17:55:13 -08:00
Kevin Sawicki
acf5f4ce5e
Remove fs/$native.getAllFilePathsAsync()
...
This was previously only used by project.getFilePath()
which should have been using fs.traverseTree() instead.
2013-03-07 17:48:36 -08:00
Kevin Sawicki
ce8867fac9
Remove unused ChildProcess class
2013-03-07 17:40:24 -08:00
Kevin Sawicki
c22d14c5b0
Use child_process.spawn from Project.scan
2013-03-07 17:36:21 -08:00
Kevin Sawicki
eddfb8a1bb
Remove unused import
2013-03-07 17:08:26 -08:00
Kevin Sawicki
7cfdf0ad9c
💄
2013-03-07 17:07:05 -08:00
Kevin Sawicki
689088c1a8
Report exit status to callback
2013-03-07 17:01:21 -08:00
Kevin Sawicki
01faf6ea1e
Create helper to buffer process lines
2013-03-07 16:58:09 -08:00
Kevin Sawicki
f3c2b41f4f
💄
2013-03-07 16:11:00 -08:00
Kevin Sawicki
beb0754faa
Use child_process.exec to chmod atom cli
2013-03-07 16:06:37 -08:00
Kevin Sawicki
e36e3c0a78
Merge remote-tracking branch 'origin/dev' into cefode
2013-03-07 16:01:09 -08:00
Kevin Sawicki
0b33c6473e
Use child_process.spawn for ctags command
2013-03-07 15:58:30 -08:00
Corey Johnson & Nathan Sobo
0375d7f45a
💄
2013-03-07 14:25:34 -08:00
Corey Johnson & Nathan Sobo
17f4d6f064
EditSession reloads its grammar on the 'grammars-loaded' event
2013-03-07 14:25:14 -08:00