15 Commits

Author SHA1 Message Date
Kevin Sawicki
b8285a00b0 Require path after setting start time 2014-10-30 10:49:08 -07:00
Kevin Sawicki
025967193a Add path require to top 2014-10-30 10:48:51 -07:00
Kevin Sawicki
75627f50a2 Normalize process.resourcesPath on load
This ensures the drive letter is consistent on Windows for when
package paths are compared to the resources path to determine
whether to use the metadata cache for a bundled package.

Closes #3932
2014-10-30 10:31:37 -07:00
Kevin Sawicki
0c590d6170 Load CoffeeScript when using a custom resource path
Load CoffeeScript early whenever the resource path a subdirectory
from process.resourcesPath

Close #3993
2014-10-29 10:21:23 -07:00
Kevin Sawicki
6a6c7b1852 Calculate load time in index.js
Do it previously in window-bootstrap caused several things to not be
included such as requiring coffee script and atom shell modules.

Now it is a much more accurate representation of on load time.
2014-10-15 13:09:46 -07:00
Kevin Sawicki
289f17b119 Require coffee before module cache in dev mode 2014-10-15 13:09:46 -07:00
Kevin Sawicki
d745b9ef5f Register module cache as early as possible 2014-10-15 13:09:45 -07:00
Kevin Sawicki
934c0720d8 Require ipc when needed 2014-10-15 13:09:44 -07:00
Kevin Sawicki
41598af2b2 Add pre-resolved path to require('atom') 2014-10-15 13:09:44 -07:00
Kevin Sawicki
171411823f 🐎 Resolve uncached core dependencies
Trust modules under the resource path to be there without stat-ing and
verifying.
2014-10-15 13:09:43 -07:00
Kevin Sawicki
8a0755340f Remove extra ) 2014-10-15 13:09:43 -07:00
Kevin Sawicki
bdebe575b7 💄 Use regular require paths 2014-10-15 13:09:43 -07:00
Kevin Sawicki
d877872c71 Use right require path 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
Patrick Toomey
2e3aec81e7 initial attempt at CSP policy to see what breaks 2014-03-05 09:03:27 -06:00