Commit Graph

6380 Commits

Author SHA1 Message Date
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
8f177c3835 Remove unused $native.md5ForPath() 2013-03-12 17:43:33 -07:00
Kevin Sawicki
3a3f4e2ce6 Use pegjs node module 2013-03-12 17:41:18 -07:00
Kevin Sawicki
e091f48b81 Only search in benchmark and spec when running specs 2013-03-12 17:33:21 -07:00
Kevin Sawicki & Nathan Sobo
879f4e92a6 Remove require.coffee 2013-03-12 14:59:42 -07:00
Kevin Sawicki & Nathan Sobo
aaf0d48edf Use coffee-cache module 2013-03-12 14:59:21 -07:00
Kevin Sawicki & Nathan Sobo
051decc08c Use fs.resolveOnLoadPath() instead of require.resolve() 2013-03-12 14:42:24 -07:00
Kevin Sawicki & Nathan Sobo
d8a3848c1a Round top position before comparing to height 2013-03-12 14:40:39 -07:00
Kevin Sawicki
e461c4d94a 💄 2013-03-12 13:49:28 -07:00
Kevin Sawicki
4939b636da Add missing spec segment to fixture packages path 2013-03-12 13:48:43 -07:00
Kevin Sawicki
c61bf804a4 Add root resource path as last searched path 2013-03-12 13:41:27 -07:00
Kevin Sawicki
e601c6e256 Use fs.resolveOnLoadPath() to find ctags executable 2013-03-12 13:37:12 -07:00
Kevin Sawicki
96a949983c Use fs.resolveOnLoadPath() instead of require.resolve() 2013-03-12 13:33:25 -07:00
Kevin Sawicki
8b82c06c6f Include fixtures/packages in resource paths when running specs 2013-03-12 13:32:21 -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 & Nathan Sobo
cec037333f Add all resource paths to NODE_PATH env var 2013-03-12 08:50:09 -07:00
Kevin Sawicki
6f5138a56e Revert "Remove $native.md5ForPath()"
This reverts commit 832df7149e.
2013-03-12 08:23:54 -07:00
Cheng Zhao
a5a41cf292 Update cefode to branch 1432 revision 1135. 2013-03-12 20:55:32 +08: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
9139df5779 Remove unused vendor assert.js 2013-03-11 17:36:48 -07:00
Kevin Sawicki
10fe754dfd Only install headers if directory does not exist 2013-03-11 15:59:34 -07:00
Kevin Sawicki
5d8a40d240 Use d3 npm 2013-03-11 15:48:29 -07:00
Kevin Sawicki
f3990722e3 Install node-gyp with custom node distribution
This should be done before the rest of the dependencies
are installed to that the correct headers are used for
compiling native modules.
2013-03-11 15:38:15 -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
9bf7c9459d Upgrade to oniguruma 0.5 2013-03-09 21:28:13 -08:00
Kevin Sawicki
e6ec46d7f0 Upgrade to git-utils 0.3 2013-03-09 21:26:18 -08: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
9d706d6d5c Add git-utils dependency 2013-03-09 12:45:42 -08:00
Kevin Sawicki
52f7e52255 💄 2013-03-07 19:01:36 -08:00
Kevin Sawicki
99dc796f42 Remove $native calls from require.coffee 2013-03-07 19:00:02 -08:00
Kevin Sawicki
6ba9f24381 Remove unused include 2013-03-07 18:37:33 -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
d55e1bfb67 Remove unused $native.read() 2013-03-07 18:21:36 -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