Commit Graph

6399 Commits

Author SHA1 Message Date
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
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
836ff53ef3 Load index.html based on the resource path
Node uses the location of index as a starting point when looking for
node_modules. Previously, we always loaded index.html out of the app
bundle, which caused us to always load node_modules from the app
bundle as well, which is not what we want in dev mode. Since we no
longer depend on a compiled require.js, it's just as easy to load
index.html from the repository path when in dev mode.
2013-03-14 17:46:25 -06:00
Cheng Zhao
12d3686cb6 Update cefode: fix crash when throw error from node module's callback. 2013-03-14 19:24:30 +08:00
Nathan Sobo
aba0f8e362 Change condition for installing a local node-gyp 2013-03-13 18:58:33 -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
Cheng Zhao
20e2f2bb7c Update cefode.
This fixed two crashes:
1. (message loop) Crash occurred from micro webkit supression.
2. (cef) Random startup crash caused by proxy service initialization.
2013-03-14 01:15:18 +08:00
Kevin Sawicki
0df07a8c29 Upgrade to git-utils 0.5 2013-03-13 09:07:22 -07:00
Cheng Zhao
c393a0677e Update cefode for child_process.fork. 2013-03-13 21:57:12 +08:00
Cheng Zhao
347ba6c7ee Bundle offical node binary with Atom.
This is required for using child_process.fork.
2013-03-13 20:15:41 +08: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
426fc7ffc8 Remove themes from node search path 2013-03-12 18:03:47 -07:00
Kevin Sawicki
990f5a92ce Remove vendor/packages from search paths
This folder only contains text mate bundles which
can't be directly required.
2013-03-12 17:58:32 -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
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