Commit Graph

14093 Commits

Author SHA1 Message Date
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
John Barnette
c720274221 Alphabetize flags 2013-03-15 19:49:19 -07:00
John Barnette
e5f6133e40 Bump vendored CS to 1.6.1 2013-03-15 19:47:12 -07:00
John Barnette
8a1c16c35e Enable source maps
We'll figure out how to use them later.
2013-03-15 13:32:57 -07:00
John Barnette
c1b22cfa90 Bump coffee-script to 1.6 2013-03-15 13:26:29 -07: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
44f53e5ed0 Merge remote-tracking branch 'origin/dev' 2013-03-14 19:08:06 -06:00
John Barnette
09259a579d Let's not accidentally publish this ❤️ 2013-03-14 18:06:55 -07:00
Chris Wanstrath
74c1e64bdb use full paths in meta-t 2013-03-14 17:41:17 -07:00
John Barnette
d120804520 Merge remote-tracking branch 'origin/master' into absolute-paths-in-fuzzy-finder 2013-03-14 16:57:19 -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
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
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
Nathan Sobo
25839c5cf5 Add spec coverage for $.fn.command 2013-03-14 11:25:33 -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
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
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
Kevin Sawicki
2b35eaa414 Update python bundle to 70dd4be
Adds .gypi to file types
2013-03-13 08:42:23 -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
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
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
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
4755233f92 💄 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
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