Commit Graph

10005 Commits

Author SHA1 Message Date
Kevin Sawicki
472a48092d Export cache for debugging purposes 2014-10-15 13:09:42 -07:00
Kevin Sawicki
0a297d7642 Load module cache in index.js 2014-10-15 13:09:42 -07:00
Kevin Sawicki
20f6489232 Disable debug mode 2014-10-15 13:09:42 -07:00
Kevin Sawicki
2c737b8927 Move debug property into cache object 2014-10-15 13:09:42 -07:00
Kevin Sawicki
0df5045edb Move registered property into cache object 2014-10-15 13:09:42 -07:00
Kevin Sawicki
b91c25186f Use hasOwnProperty 2014-10-15 13:09:42 -07:00
Kevin Sawicki
7b8a293f30 Inline path to listSync call 2014-10-15 13:09:42 -07:00
Kevin Sawicki
26df31aa1f 💄 Group exported methods 2014-10-15 13:09:42 -07:00
Kevin Sawicki
36ff22e30a generateDependencies -> create 2014-10-15 13:09:42 -07:00
Kevin Sawicki
495fa43753 Allow passing in metadata to ModuleCache.add 2014-10-15 13:09:41 -07:00
Kevin Sawicki
2954aacb1c Ignore invalid ranges
They cannot be cache since multiple commits/branches may
map to the same version number which would lead to
unpredictable results.
2014-10-15 13:09:41 -07:00
Kevin Sawicki
1bf8f516c3 Cache parsed ranges 2014-10-15 13:09:41 -07:00
Kevin Sawicki
e0a84232c3 💄 2014-10-15 13:09:41 -07:00
Kevin Sawicki
8c204bb60e Restore cache 2014-10-15 13:09:41 -07:00
Kevin Sawicki
245c77869f Add require time and load count tracking 2014-10-15 13:09:41 -07:00
Kevin Sawicki
508a30efb1 Return when package.json can't be required 2014-10-15 13:09:41 -07:00
Kevin Sawicki
5ad54bbe92 Wire up cache to Module._resolveFilename 2014-10-15 13:09:41 -07:00
Kevin Sawicki
4da6513fb5 Add initial cache of resource path module 2014-10-15 13:09:41 -07:00
Kevin Sawicki
1154490a97 Store main path of module
This is the key in Module._cache
2014-10-15 13:09:41 -07:00
Kevin Sawicki
0e7e24ca6b relative -> relativePath 2014-10-15 13:09:40 -07:00
Kevin Sawicki
944ac14be7 Make dependencies an array of objects 2014-10-15 13:09:40 -07:00
Kevin Sawicki
7aa28920cf Use fs.listSync 2014-10-15 13:09:40 -07:00
Kevin Sawicki
6ce6553456 Add initial task to generate dependencies 2014-10-15 13:09:40 -07:00
Kevin Sawicki
b4470a14cb Explicitly register cache 2014-10-15 13:09:40 -07:00
Kevin Sawicki
5b629e6b29 💄 2014-10-15 13:09:40 -07:00
Kevin Sawicki
7304b97547 Parse resource path for relativizing cache paths 2014-10-15 13:09:40 -07:00
Kevin Sawicki
f523c5eb73 Do hasOwnProperty check first 2014-10-15 13:09:40 -07:00
Kevin Sawicki
5981cfb8c9 Ignore native modules since they are already cached 2014-10-15 13:09:40 -07:00
Kevin Sawicki
d1e966349f Add initial cache lookup method 2014-10-15 13:09:40 -07:00
Kevin Sawicki
dc19fa4baa 📝 Add a couple notes 2014-10-15 13:09:40 -07:00
Kevin Sawicki
84e90d140f Wire initial module cache 2014-10-15 13:09:40 -07:00
Kevin Sawicki
bbfac9430e Use -> instead of => 2014-10-14 18:06:40 -07:00
Nathan Sobo
c9869580d4 Use more specific selectors for Workspace::horizontal/::vertical outlets
Fixes #3793
2014-10-14 12:03:42 -06:00
Cheng Zhao
fcf230ccb5 --harmony_collections is no more needed 2014-10-14 22:01:32 +08:00
Ben Ogle
c16d84527d fix specs related to title 2014-10-13 17:48:06 -07:00
Ben Ogle
5c8e20a01d 💄 2014-10-13 17:30:40 -07:00
Ben Ogle
ae0b3b47e3 Merge pull request #3814 from Parasithe/master
Add Atom in the title bar
2014-10-13 17:27:16 -07:00
Ben Ogle
3ba44b955d Deprecate Token::scopes 2014-10-13 17:12:35 -07:00
Ben Ogle
b1e9e6b312 Deprecate the use of scopes. 2014-10-13 16:52:49 -07:00
Ben Ogle
22e43600d2 Fix Token::isEqual() to accept scopes for now. 2014-10-13 16:51:10 -07:00
Ben Ogle
b9f13d05a8 📝 Update docs for Config::get 2014-10-13 16:50:42 -07:00
Ben Ogle
b2cc190a3b Actually get the cursor 2014-10-13 16:35:50 -07:00
Ben Ogle
274bbeec27 Fix deprecate reference 2014-10-13 16:32:17 -07:00
Ben Ogle
c0091b4601 scopes -> scopeDescriptor
!!!
2014-10-13 16:30:41 -07:00
Ben Ogle
8cf36af1dc scopesForPosition -> scopeDescriptorForPosition 2014-10-13 16:18:36 -07:00
Ben Ogle
80f52aa3ef Reorganize scopes section 2014-10-13 16:17:01 -07:00
Ben Ogle
56c6c3516a scopesForBufferPosition -> scopeDescriptorForBufferPosition 2014-10-13 16:16:44 -07:00
Ben Ogle
f7ab04404c Remove scopesAtCursor from TextEditor class 2014-10-13 16:15:58 -07:00
Ben Ogle
b0de88de74 grammarScopeDescriptor -> rootScopeDescriptor 2014-10-13 16:15:05 -07:00
Ben Ogle
6ab002d4be Cursor::getScopes -> Cursor::getScopeDescriptor 2014-10-13 16:14:31 -07:00