Antonio Scandurra
70177e5a4d
Merge branch 'as-snapshot-atom-environment' into as-ns-optimize-stylesheets-loading
...
# Conflicts:
# script/package.json
# script/tdd
# src/atom-environment.coffee
# src/context-menu-manager.coffee
# src/keymap-extensions.coffee
# src/theme-manager.coffee
# src/workspace-element.coffee
2017-03-13 08:32:12 +01:00
Antonio Scandurra
ea440148d8
Fix remaining tests
2017-03-12 11:57:16 +01:00
Antonio Scandurra
fbcbfc4889
Validate selectors only in devMode
2017-03-11 18:56:29 +01:00
Antonio Scandurra
8bd409ede3
Fix dev mode
2017-03-11 18:50:13 +01:00
Antonio Scandurra
05eb737a94
Set config schema entirely in the snapshot
2017-03-10 16:50:50 +01:00
Antonio Scandurra
f5a19a6904
Move StateStore into the snapshot
2017-03-10 16:50:50 +01:00
Antonio Scandurra
c4d0944c0d
Snapshot more objects
2017-03-10 16:49:53 +01:00
Antonio Scandurra
c61df72548
Snapshot config, keymaps, tooltips, commands, grammars and styles
2017-03-10 16:48:00 +01:00
Antonio Scandurra
44e3573fcb
Start moving AtomEnvironment instantiation bits inside the snapshot
2017-03-10 16:48:00 +01:00
Antonio Scandurra
4b98843fae
Merge branch 'master' into as-ns-startup-snapshot
2017-03-10 16:47:27 +01:00
Antonio Scandurra
69ea645b85
Fix lint errors
2017-03-10 16:31:20 +01:00
Antonio Scandurra
1e040c62d9
Add AtomEnvironment.prototype.resolveProxy(url)
...
This new private API will allow settings-view to communicate
asynchronously with the main process to resolve proxies, instead of
using `remote` and blocking the renderer process during startup.
2017-03-10 16:08:02 +01:00
Antonio Scandurra
e61919cd60
Merge branch 'master' into as-ns-startup-snapshot
2017-03-10 15:04:26 +01:00
Antonio Scandurra
7e761d39af
Fall back to local storage when no history can be found
2017-03-10 14:37:37 +01:00
Antonio Scandurra
73e8642b96
Merge branch 'master' into as-ns-startup-snapshot
2017-03-10 09:04:30 +01:00
Antonio Scandurra
fce10242dc
Don't load base style sheets in AtomEnvironment
...
As it will happen again right after package activation.
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-03-08 18:10:54 +01:00
Antonio Scandurra
47391110e8
Set config schema entirely in the snapshot
2017-03-08 15:28:19 +01:00
Antonio Scandurra
9d123afb81
Move StateStore into the snapshot
2017-03-08 12:39:04 +01:00
Antonio Scandurra
3d4fdd051d
Snapshot more objects
2017-03-08 12:03:05 +01:00
Antonio Scandurra
21de78ce38
Snapshot config, keymaps, tooltips, commands, grammars and styles
2017-03-07 18:30:38 +01:00
Antonio Scandurra
41c9e35fcc
Start moving AtomEnvironment instantiation bits inside the snapshot
2017-03-07 18:07:48 +01:00
Antonio Scandurra
26028c8065
Merge branch 'as-minimize-startup-sync-io' into as-ns-startup-snapshot
2017-03-07 11:25:41 +01:00
Antonio Scandurra
cf9a5b13e3
Replace localStorage with StateStore in HistoryManager
...
Instead of using `localStorage` to store and retrieve the project
history, with this commit we will use `StateStore` so that we can
retrieve state asynchronously without blocking Atom during startup.
2017-03-07 11:02:40 +01:00
Antonio Scandurra
727472af58
Disable zoom in the main process
...
This commit will register the `display-added` and `display-removed`
events only once in the main process in order to disable zoom (see
https://github.com/atom/atom/pull/11345 ) directly instead of
unnecessarily paying for I/O in the renderer process during startup.
2017-03-07 10:54:42 +01:00
Damien Guard
59c20484aa
Always restore Reopen Project menu, fixes #13758
2017-03-06 09:41:14 -08:00
Max Brunsfeld
c26509cfab
Throw an error when assertions fail if built from source
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-03-02 10:14:59 -08:00
Antonio Scandurra
8d46de418f
Re-enable native module cache
2017-03-02 09:11:54 +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
90c707a4c2
Merge branch 'master' into as-ns-startup-snapshot
2017-02-23 13:19:25 +01:00
Antonio Scandurra
264ff4a865
Merge branch 'master' into as-ns-startup-snapshot
2017-02-23 10:01:52 +01:00
simurai
ec9aec6686
Merge branch 'master' into sm-custom-title-bar
2017-02-21 21:56:53 +09:00
Nathan Sobo
2ad6f83239
Allow metadata to be passed to atom.assert
2017-02-13 10:29:04 -07: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
simurai
6010c4d7df
Add custom-inset title-bar
2017-01-14 16:06:50 +09:00
simurai
c406cc4420
Merge branch 'master' into sm-hidden-all
2017-01-14 10:09:07 +09:00
Nathan Sobo
730c7c82a8
Don't add pane items in built-in resource openers
...
Calling `workspace.open` in an opener doesn't work properly with options
like `split: left` because it causes the opened item to be added to the
workspace as a side-effect. Since workspace openers are intended to be
used during the process of calling `workspace.open`, we need to use
`openTextFile`, which just creates an editor but does not attach it to
the workspace.
2017-01-09 10:57:31 -07:00
Damien Guard
5a446ff467
Clean up portable mode, try local .atom before ATOM_HOME
2016-12-11 15:59:24 -08:00
Antonio Scandurra
77b8089e3a
Use the snapshot result to require core modules
2016-11-15 18:03:36 +01:00
Antonio Scandurra
9176a6429f
Add core:loaded-shell-environment activation hook
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-11-11 19:08:34 +01:00
Antonio Scandurra
e34bc188d0
Make updateProcessEnv asynchronous
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-11-11 18:39:18 +01:00
Christopher Chedeau
089fa92117
Fix wrong binding on atom-environment.coffee
...
Context: I'm trying to run atom in the browser and have strict mode enabled and it threw on this line. We need it to be a fat arrow otherwise it's adding it to the window (or undefined in strict mode).
2016-11-03 16:04:17 -07:00
Damien Guard
8229924b96
History API, reopen project menu, command and list view
2016-10-21 15:13:59 -07:00
simurai
2571bbc6f2
Merge branch 'master' into sm-hidden-inset
...
# Conflicts:
# src/main-process/atom-application.coffee
2016-10-15 19:45:50 +09:00
simurai
ed2c72a586
Add option to hide the title bar
2016-10-15 19:12:53 +09:00
Nathan Sobo
718cc017e6
Hide click-triggered tooltips when clicking anywhere outside of tooltip
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-10-10 14:08:51 -06:00
Antonio Scandurra
18ddcf902b
Statically assign a clipboard instance to the TextEditor class
2016-10-07 18:21:09 +02:00
Wliu
0e99232615
Merge pull request #12782 from Ingramz/remove-unused-variables-obvious
...
Remove unused variables (obvious ones)
2016-09-29 16:58:06 -04:00
Indrek Ardel
55f3311c01
Remove unused variables
2016-09-26 20:52:13 +03:00
Indrek Ardel
f7bd0d451f
Update coffee-script to 1.11.0
2016-09-26 17:24:49 +03:00