Commit Graph

57 Commits

Author SHA1 Message Date
Max Brunsfeld
3e6b95bfbb Preload language-ruby's main module during snapshotting 2018-07-20 12:46:12 -07:00
Max Brunsfeld
1c64fc85a8 Preload main modules of language-html and language-javascript 2018-07-06 14:56:46 -07:00
Max Brunsfeld
93f5ab4780 Don't set TextEditor class's schedule in AtomEnvironment constructor
We construct multiple AtomEnvironment instances in the tests. I don't
know how the tests ever worked with this code in there.
2017-11-21 13:32:28 -08:00
Antonio Scandurra
729ae0ea51 Merge branch 'master' into tj-upgrade-electron
# Conflicts:
#	script/package.json
#	src/task.coffee
2017-05-11 18:05:12 +02:00
Michelle Tilley
839c3ee905 Include github package in snapshot generation 2017-05-08 08:07:14 +02:00
Nathan Sobo
1b1cffb32d ⬆️ etch to allow arbitrary objects as keys 2017-05-05 09:29:28 +02:00
Nathan Sobo
1676617218 Add static TextEditor.viewForOverlayItem method to avoid using global 2017-05-05 09:29:28 +02:00
Antonio Scandurra
5a6060d247 Delete mistakenly added package from the snapshot require list 2017-04-11 09:46:55 +02:00
Michelle Tilley
d9bc474e3d Only pre-require core packages if we're generating a snapshot 2017-04-06 00:45:32 -07:00
Antonio Scandurra
de47a26c5d WIP: Start preloading packages 2017-03-28 10:22:29 +02:00
Antonio Scandurra
44e3573fcb Start moving AtomEnvironment instantiation bits inside the snapshot 2017-03-10 16:48:00 +01:00
Antonio Scandurra
a9ada35354 Snapshot NativeCompileCache 2017-03-02 09:29:07 +01:00
Antonio Scandurra
8d46de418f Re-enable native module cache 2017-03-02 09:11:54 +01:00
Antonio Scandurra
e275570a4e Remove blob store and native module cache 2017-02-28 17:20:49 +01:00
Antonio Scandurra
adb0e39166 WIP 2017-02-28 15:44:02 +01:00
Antonio Scandurra
9b8c7973d7 WIP 2017-02-28 09:34:55 +01:00
Antonio Scandurra
e453b04105 Put back code that was commented out 2017-02-27 16:45:57 +01:00
Antonio Scandurra
91a38b633e Require wrap-guide during snapshot 2017-02-24 13:22:24 +01:00
Antonio Scandurra
e624f24b6d WIP 2017-02-23 17:26:41 +01:00
Antonio Scandurra
264ff4a865 Merge branch 'master' into as-ns-startup-snapshot 2017-02-23 10:01:52 +01:00
Nathan Sobo
c6cae5b8fd Store represented directory paths directly on AtomWindow in main process
Fixes #13729

Previously, when adding a window, we were unable to read its current
project paths out of the hash of the URL during window initialization
because the window still considered itself to be loading. Rather than
fixing this issue, we decided to completely eliminate the sharing of
state between processes in the window.location and instead switch to
cached synchronous RPC for the loadSettings and a dedicated RPC-based
mechanism for the project paths.
2017-02-07 13:15:27 -07:00
Antonio Scandurra
72b017b01a WIP: Start on requiring packages 2016-11-16 17:16:36 +01:00
Antonio Scandurra
77b8089e3a Use the snapshot result to require core modules 2016-11-15 18:03:36 +01:00
Antonio Scandurra
e34bc188d0 Make updateProcessEnv asynchronous
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-11-11 18:39:18 +01:00
Max Brunsfeld
97943a3432 Shorten redundant paths to electron-shims.js 2016-10-27 13:19:55 -07:00
Antonio Scandurra
18ddcf902b Statically assign a clipboard instance to the TextEditor class 2016-10-07 18:21:09 +02:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Max Brunsfeld
e7444b1ebe Add shims for legacy electron APIs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-07 16:33:52 +02:00
Joe Fitzgerald
b7a48967fa Fix Regression In #12317 For zsh
In Atom 1.7 and 1.8, the environment would be patched for users of the zsh shell on OS X. A whitelist of shells was established in #12317, which is extended here.
2016-08-11 12:45:02 -06:00
Max Brunsfeld
4634091e9b Don't update the NODE_PATH when updating the environment on launch
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-03 15:50:21 -07:00
Joe Fitzgerald
82fa61e54d Allow Multiple Launches Of Atom To Result In An Updated Environment 2016-04-12 11:29:33 -06:00
Lee Dohm
ed744c12a9 Move location of call to environmentHelpers.normalize 2016-03-14 08:43:16 -07:00
Joe Fitzgerald
6b38049b8d Remove Project API, Work With process.env Directly
- Convert environment.coffee and environment-spec.coffee to JavaScript
- Pass the process's environment across the wire when launching atom multiple times from the command line
2016-03-10 15:30:04 -07:00
Max Brunsfeld
43656a9861 Load packages before deserializing state 2016-02-18 09:17:34 -08:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
Katrina Uychaco
f6ced98be8 Fix bug from merge with PR#10743 2016-02-11 11:43:41 -08:00
Katrina Uychaco
baa2c32a51 Merge branch 'master' into ku-crash-recovery 2016-02-10 11:10:57 -08:00
joshaber
03e33b4474 Use default dimensions the first time we load a window, but saved dimensions after that. 2016-02-08 21:20:36 -05:00
Katrina Uychaco
6e0328b048 Refactor to use StateStore instead of StorageFolder 2016-02-04 21:45:00 -08:00
Max Brunsfeld
130f23166d Emit window:loaded event after editor window is started 2016-01-27 14:04:50 -08:00
Max Brunsfeld
32f5149196 Wait for browser process to acknowledge window manipulation IPC requests
We need to avoid using the  module for synchronous IPC on startup, but
in some cases, we need to know when our asynchronous IPC messages have taken
effect. Now,  methods like  and
return Promises that indicate when the message has been processed.
2016-01-27 12:59:24 -08:00
Nathan Sobo
e475065b45 Merge branch 'stable' into beta 2015-11-17 16:57:19 -08:00
Nathan Sobo
6e72ebb886 Load packages before deserializing workspace
This ensures that package-defined deserializers work.
2015-11-17 16:28:53 -08:00
Antonio Scandurra
6290822067 Export a function in windowInitializationScript
...so that we can pass BlobStore to AtomEnvironment
2015-11-03 09:51:08 +01:00
Nathan Sobo
dc44d11a2c Don’t load/save config if enablePersistence option is false 2015-10-14 20:05:06 -06:00
Antonio Scandurra
b25d3e944b Parameterize configDirPath and move config.load in ctor 2015-10-14 12:41:36 +02:00
Nathan Sobo
903ecca1f7 Parameterize document on AtomEnvironment 2015-10-13 19:48:56 -06:00
Nathan Sobo
65ae175e72 Pass explicit window global into AtomEnvironment on construction 2015-10-13 19:35:51 -06:00
Nathan Sobo
f989ed65e1 Move ipc handling from WindowEventHandler to ApplicationDelegate
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 16:57:02 -06:00