Kevin Sawicki
f29c3a0836
Check if module path is already loaded before doing fs operations
...
resolve now checks the existence of a module already loaded at the
given path before checking if the file exists on disk.
This removes the need for many redundant fs.exists and fs.isFile
calls for already loaded modules.
This speeds up package loading since most packages have a common
set of requires that were doing needless fs operations for each
searched path when the module was already in the cache at that
path.
2013-01-18 08:54:59 -08:00
Kevin Sawicki
b2ec05a2f2
Remove old bundles directory from include paths
2013-01-04 08:18:52 -08:00
Kevin Sawicki
4078046ac6
Vendor textmate bundles as submodules
2013-01-04 08:18:52 -08:00
Nathan Sobo
4ce8583cb2
Rename extensions to packages
...
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00
Corey Johnson
f7f64ea9f3
Only log require.resolve warning when verifyExistence is true
2012-10-29 11:54:13 -07:00
Corey Johnson
bdb0d2c709
Log a warning when require.resolve cannot find the file
2012-10-26 15:36:15 -07:00
Corey Johnson
5d70f416fc
Remove unused regex test from require.js
2012-09-26 16:30:22 -07:00
Corey Johnson & Nathan Sobo
85c37fd652
Move atom.resourcePath to window.resourcePath
...
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Nathan Sobo
14891696a5
Update require.coffee from CEF 1 atom
2012-08-27 11:05:55 -05:00
Nathan Sobo
589b183b26
Define atom.resourcePath (replaces atom.loadPath) when context is created
2012-08-26 16:41:31 -05:00
Nathan Sobo
c3e748a17c
WIP: Use rake to start compiling resources (like require.coffee)
2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0
Initial commit
2012-08-10 13:32:19 -06:00
Kevin Sawicki & Nathan Sobo
c87c0da35e
Don't explode when require.resolve doesn't find a file. Return null instead.
2012-08-22 13:43:46 -07:00
Nathan Sobo
13c95aae31
Add 'themes' directory with the default TextMate themes
2012-08-01 14:07:18 -06:00
Corey Johnson & Nathan Sobo
c6bae093c1
Starting on TextMate bundle support
2012-08-01 09:48:35 -07:00
Nathan Sobo
f5e46e57fc
Use bundled ack instead of grep
...
Our ack is slightly modified to use `'\0'` characters instead of `':'` in the --nogroup listing. This makes it easier to handle both `':'` characters and newlines in filenames, but we aren't really doing that yet.
2012-07-19 09:17:44 -06:00
Nathan Sobo
764265e97f
Kill console.log
2012-07-04 21:27:13 -06:00
Corey Johnson
2423a7413d
Storing cached coffeeScript in /tmp because it overwhelms localstorage
2012-07-03 15:58:12 -07:00
Nathan Sobo
f92faffb5b
Use html5 storage to cache coffee script compilation by file md5
2012-07-02 19:21:46 -06:00
Corey Johnson
91c361e478
Fix benchmark suit
2012-06-29 15:51:11 -07:00
Nathan Sobo
634a15cfb1
Move extensions into src/extensions directory
2012-04-23 10:54:56 -06:00
Corey Johnson
1efb712fd3
Rename App.coffee to Atom.coffee. This also required moving src/atom,spec/atom to src/app,spec/app
2012-04-03 10:33:24 -07:00
Corey Johnson & Nathan Sobo
18c8c7e14f
Add benchmark suite, which runs with ctrl-alt-meta-b
2012-03-07 18:21:17 -07:00
Corey Johnson
e874512284
Move atom.native to $native
2012-03-01 15:44:36 -08:00
Corey Johnson & Nathan Sobo
7e6132f5b7
Redo Xcode project FROM SCRATCH
2012-02-29 15:23:17 -08:00
Corey Johnson & Nathan Sobo
b37b45b4b1
atom variable holds all global state and is shared across contexts.
2012-02-28 13:14:35 -08:00
Corey Johnson
b99c4deb49
Fix path to specs. Now spec-suite runs.
2012-02-22 15:08:19 -08:00
Corey Johnson
82dac0e554
Building Atom with Chrome
2012-02-21 14:36:59 -08:00
Corey Johnson
99cbb5e0a2
Cache compiled CoffeeScript on the Objective-C side.
...
This is a temporary fix, it just stores compiled scripts in memory. It
doesn't speed up the app start since the scripts need to be compiled
once. Here are some numbers.
#file load
pre: 1.5 seconds
post: 0.25 seconds
#spec load
pre: 5.4 seconds
post: 0.36 seconds
2012-01-30 16:19:28 -08:00
Corey Johnson & Nathan Sobo
c6d90748f7
Meta-t adds file finder to bottom of layout.
2011-12-28 16:30:08 -06:00
Corey Johnson
c679df770b
CoffeeScript compiler is slow. Take steps to avoid it.
2011-12-19 14:56:11 -08:00
Corey Johnson & Nathan Sobo
ef774cb529
Coffeescript compile errors show file name.
2011-12-15 14:10:06 -08:00
Corey Johnson & Nathan Sobo
3aa46dbb6c
Ensures line numbers match up with required javascript.
2011-12-15 10:38:27 -08:00
Corey Johnson
fbb3efacf4
wii - gettings specs on App.open. Window closing not working quite right.
2011-12-14 16:24:30 -08:00
Corey Johnson & Nathan Sobo
0dd6df1ab6
Empty test suite runs when you hit ctr-alt-cmd-s
2011-12-12 15:05:59 -08:00
Corey Johnson
1c985bd899
Give JS access to the project dir so we can automate that shit.
2011-11-29 15:22:14 -05:00
Chris Wanstrath
0c88c38101
💄
2011-11-25 21:09:09 -08:00
Chris Wanstrath
15005657bf
💄
2011-11-25 19:20:10 -08:00
Chris Wanstrath
6167637dd7
typo
2011-11-25 19:19:17 -08:00
Chris Wanstrath
7f8dffa6e0
no more keybindings in static/
2011-11-10 00:55:15 -08:00
Chris Wanstrath
9dea4c24b2
atom and stdlib
2011-11-09 18:33:43 -08:00