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
442872e7ac
Call openDevTools on WebContents rather than on BrowserWindow
...
Fixes #13171
2016-11-21 18:44:10 +01:00
Thomas Johansen
2bb6e225f6
🔥 Remove window load time console output
2016-09-11 17:07:43 +02:00
Antonio Scandurra
b1dabc1e84
Load metadata._deprecatedPackages via script/deprecated-packages.json
2016-08-02 15:55:53 +02:00
Damien Guard
22922dec96
CrashReporter should not run on UI thread on Win/Linux
2016-06-27 16:31:01 -07:00
Max Brunsfeld
4bc969d1df
Merge branch 'master' into wl-electron-35
2016-02-16 13:16:13 -08:00
Max Brunsfeld
81c15bd8b4
Make --profile-startup flag work w/ async initializion
2016-02-12 14:19:09 -08:00
Max Brunsfeld
0ea06bad31
Merge branch 'master' into wl-electron-35
2016-02-12 12:57:54 -08:00
Max Brunsfeld
9b2c791c86
Don't emit window:loaded event until async window initialization completes
...
Signed-off-by: Katrina Uychaco <kuychaco@github.com >
2016-02-09 14:28:01 -08:00
Max Brunsfeld
130f23166d
Emit window:loaded event after editor window is started
2016-01-27 14:04:50 -08:00
Max Brunsfeld
28e535ee15
Apply window background color after resizing window
2016-01-27 13:00:18 -08:00
Wliu
7ee74ed4c7
Merge branch 'master' into wl-electron-35
2016-01-15 17:20:31 -05:00
joshaber
6948dd4e8d
Linter was mad about these now.
2016-01-07 17:13:56 -05:00
Wliu
612ca6ecab
Missed one of the crash reporters
...
Also convert even more requires...
2015-12-22 20:44:51 -05:00
Wliu
3ebff4b322
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35
2015-12-18 20:02:22 -05:00
Antonio Scandurra
fa48b2fbe0
Make v8 version part of the key
2015-12-11 17:47:04 +01:00
Cheng Zhao
c186d70bec
Also use require('electron') in specs
2015-12-11 10:03:20 +08:00
Cheng Zhao
1f9cfc929c
Update the API usages after merge
2015-12-11 09:50:18 +08:00
Cheng Zhao
1725b9bf54
Use require('electron')
2015-12-11 09:30:58 +08:00
Wliu
fec1507ff4
Require ipc-renderer where it belongs
2015-11-18 21:10:40 -05:00
Wliu
6cd480b37e
Fix Electron deprecations
2015-11-17 21:16:09 -05:00
Kevin Sawicki
0982825c4a
Link to right issue
2015-11-03 15:34:42 -08:00
Kevin Sawicki
0e6da955cd
Link fully to issue
2015-11-03 15:32:06 -08:00
Kevin Sawicki
70f5f86052
Go back to using ATOM_HOME
2015-11-03 14:36:49 -08:00
Kevin Sawicki
91a4d04ace
Return early if ATOM_HOME is already set
2015-11-03 14:36:06 -08:00
Kevin Sawicki
a0f68ec978
Setup ATOM_HOME immediately after parsing load settings
2015-11-03 14:35:30 -08:00
Kevin Sawicki
b9d30176d8
Remove unused method
2015-11-03 14:31:52 -08:00
Kevin Sawicki
2e6b8a3e96
Guard against loadSettings error
2015-11-03 14:31:35 -08:00
Dave Rael
f92188fc27
Remove unused inclusion of fs
2015-11-03 14:10:55 -08:00
Dave Rael
5d5d83d474
Remove duplication of locating Atom Home
2015-11-03 14:10:37 -08:00
Kevin Sawicki
de7cf162f9
Merge pull request #8442 from atom/portable-mode
...
Enable Portable Mode
2015-11-03 12:49:54 -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
Antonio Scandurra
e1087acf9e
Save BlobStore only when unloading editor window
2015-11-02 19:49:14 +01:00
Antonio Scandurra
a8b5bb243f
Save BlobStore only in the first window
2015-11-02 10:53:04 +01:00
Antonio Scandurra
27a6f36738
Remove references to cache
2015-10-30 18:49:06 +01:00
Antonio Scandurra
abcfc8579b
Rename to FileSystemBlobStore
2015-10-30 18:42:38 +01:00
Antonio Scandurra
72639e5393
🎨 Satisfy linter requirements
2015-10-30 11:36:58 +01:00
Antonio Scandurra
71b6871d3b
🐎 Make IO faster for v8 compile cache
2015-10-30 10:14:14 +01:00
Antonio Scandurra
c684273ecf
Introduce NativeCompileCache
2015-10-30 10:14:14 +01:00
Ivan Žužak
683949b75d
Increase timeout for starting a profile after opening devtools
2015-10-21 12:06:32 +02:00
Dave Rael
e0697ecc7f
Merge branch 'master' into portable-mode
...
Conflicts:
src/atom-environment.coffee
2015-10-20 20:58:14 -06:00
Dave Rael
82f5e81cec
Restore check on ATOM_HOME
...
(undo db57479bf9 )
Check on ATOM_HOME is not superfluous - needed on Linux because of
difference in inheriting environment variables between browser and render
processes
2015-10-16 04:24:57 -06:00
Antonio Scandurra
82fbec0879
🐛 Give priority to initial window background
...
Otherwise, since we now add styles element right during AtomEnvironment
construction, the default background gets showed (i.e. white on my machine).
/cc: @nathansobo
2015-10-15 11:05:16 +02:00
Dave Rael
db57479bf9
Remove superfluous check on ATOM_HOME
...
always set at the process level, so always set here
2015-10-09 11:21:41 -06:00
Nathan Sobo
e886d8b253
Rename “bootstrap” scripts
...
They’re just window initialization scripts, and this new naming makes
that a lot clearer.
2015-10-07 15:24:50 -05:00
Nathan Sobo
3fc9ab8ffa
Remove unused function
2015-09-22 10:37:09 -06:00
Nathan Sobo
68fe7026a8
Disable deprecated APIs in specs
2015-09-22 10:37:07 -06:00
Max Brunsfeld
a4b9b9c6cd
👕 Use standard style for js code
2015-08-21 16:56:32 -07:00
Max Brunsfeld
b533aff8f4
🐎 Minimize dependencies loaded before the module-cache
2015-08-21 13:48:56 -07:00
Max Brunsfeld
49e37f5410
Use source-map-support to handle stack trace conversion
...
Previously, our Error.convertStackTrace function was provided by coffeestack,
which only works for coffee-script. This adds a dependency on 'source-map-support',
which works for any source file with inline source maps.
This also refactors the code for registering our compilers (coffee-script,
typescript, and babel) so that caching logic is shared.
2015-08-19 17:55:29 -07:00