Commit Graph

31553 Commits

Author SHA1 Message Date
Antonio Scandurra
8c671e9f87 Merge branch 'master' into as-update-fs-plus
# Conflicts:
#	package.json
2017-03-10 08:47:30 +01:00
Matthew Dapena-Tretter
e85ed1dc7f Refactor open; separate creation and placement of items
This is a refactoring that sets up the work for #13878 (docks).

Because items will be able to dictate their preferred locations, we
need to detangle the item creation from their placement.
2017-03-09 23:29:51 -08:00
Nathan Sobo
f92e6da88d ⬆️ text-buffer 2017-03-09 20:36:06 -07:00
Max Brunsfeld
0207de2059 Merge pull request #13968 from atom/fb-mdt-remove-buildtexteditor-binding
Remove the buildTextEditor binding in workspace
2017-03-09 16:03:53 -08:00
Matthew Dapena-Tretter
4b3e2ccca4 Remove the buildTextEditor binding
The comment was actually no longer accurate since arrow functions
aren't newable. After doing an audit, @maxbrunsfeld determined that it
could just be removed.
2017-03-09 15:14:06 -08:00
Antonio Scandurra
9e864fac30 Merge branch 'master' into as-update-fs-plus 2017-03-09 20:33:13 +01:00
Antonio Scandurra
19d07172a7 Don't transform deprecated selectors for bundled packages 2017-03-09 16:15:54 +01:00
Antonio Scandurra
4c6805bf76 Store style sheet sources as auxiliary data in the snapshot 2017-03-09 14:23:58 +01:00
Amy Troschinetz
ac7bb27e22 Select the replaced text post replacement. 2017-03-08 20:24:31 -06:00
Michelle Tilley
82c49001f4 ⬆️ legal-eagle@0.14.0 2017-03-08 17:21:58 -08:00
Michelle Tilley
3274191203 Merge remote-tracking branch 'origin/master' into ku-mkt-restore-atom-env-when-adding-folder-to-fresh-window 2017-03-08 16:20:57 -08:00
Max Brunsfeld
4a1f98cb6c Create autoUpdateManager in AtomApplication constructor 2017-03-08 15:50:08 -08:00
Katrina Uychaco
2e2438ca27 Restore saved state when adding folder to empty project via open command 2017-03-08 14:41:41 -08:00
Katrina Uychaco
d891f2376c Restore saved state when adding folders to empty project 2017-03-08 14:40:58 -08:00
Katrina Uychaco
12ea7a7300 Add AtomEnvironment::restoreStateIntoEnvironment
This takes an existing Atom environment and restores a saved state from
the IndexDB state storage into it by:

1. Serializing the existing pane items
2. Restoring the saved state
3. Deserializing the saved pane items into the newly restored
environment
2017-03-08 14:15:36 -08:00
Katrina Uychaco
b701bc790e Add optional state key to AtomEnvironment::saveState and ::loadState 2017-03-08 14:12:42 -08:00
Hubot
982074061e 1.17.0-dev 2017-03-08 14:18:49 -06: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
simurai
40071265cb ⬆️ apm, take II 2017-03-08 22:27:09 +09: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
simurai
43868bb939 Revert "⬆️ atom-package-manager@v1.16.1"
This reverts commit 414ad13b09.
2017-03-08 15:36:41 +09:00
simurai
414ad13b09 ⬆️ atom-package-manager@v1.16.1 2017-03-08 13:41:29 +09:00
Wliu
80dd64c149 ⬆️ language-sql@0.25.4 2017-03-07 22:32:04 -05:00
Nathan Sobo
206bcac1bc Merge pull request #13955 from atom/fb-mdt-workspace-element-to-js
Convert workspace element and spec to JavaScript
2017-03-07 19:49:32 -07:00
Nathan Sobo
12165b1116 Merge pull request #13954 from atom/fb-mdt-panel-container-to-js
Convert Panel Container to JavaScript
2017-03-07 19:48:48 -07:00
Nathan Sobo
5858a22fe4 ⬆️ find-and-replace 2017-03-07 19:37:25 -07:00
Matthew Dapena-Tretter
3017b28ef7 Convert workspace element to JS: Cleanup 2017-03-07 16:31:00 -08:00
Matthew Dapena-Tretter
ca4d55954b Convert workspace element to JS: Lint 2017-03-07 15:56:57 -08:00
Matthew Dapena-Tretter
ede4a2972a Convert workspace element to JS: Decaffeinate 2017-03-07 15:49:22 -08:00
Matthew Dapena-Tretter
d6a354d6ba Convert panel container to JS: Cleanup 2017-03-07 14:52:32 -08:00
Matthew Dapena-Tretter
f56865b6f8 Convert panel container to JS: Lint 2017-03-07 14:30:33 -08:00
Matthew Dapena-Tretter
228b24b68b Convert panel container to JS: Decaffeinate 2017-03-07 14:20:27 -08: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
b6829f08fa Temporarily add faster script to build Atom 2017-03-07 17:56:36 +01:00
Wliu
6f9a536aca ⬆️ language-css@0.42.1 2017-03-07 11:04:45 -05:00
Antonio Scandurra
40bda19047 Merge branch 'as-update-fs-plus' into as-ns-startup-snapshot 2017-03-07 11:25:52 +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
45d41ca69f Register enter/leave fullscreen events in the main process
This will still notify render processes when such events are triggered
without, however, incurring the additional cost of synchronously
retrieving a `BrowserWindow` (and its properties) via `remote` during
startup.
2017-03-07 10:54:42 +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
Antonio Scandurra
051e27dbcb Expose load settings to BrowserWindows as JSON
When accessing objects in the main process via the `remote` module,
Electron returns proxy objects that are references to the original ones.
This means that trying to access a remote object's property or function
results in a synchronous message exchange with the main process.

In Atom core we frequently access the load settings coming from the main
process, especially during startup. This caused a lot of synchronous I/O
which was blocking the renderer process for several milliseconds.

With this commit, instead of exposing load settings as a JavaScript
object, we serialize them to JSON in the main process and parse them
back to a JavaScript object in the renderer processes. This allows us to
get a full copy of the object locally and pay for I/O just once when
retrieving load settings from the main process for the first time.
2017-03-07 10:54:42 +01:00
Wliu
24503806d7 ⬆️ language-c@0.57.0 2017-03-06 17:30:43 -05:00
Wliu
b0b18798af Merge pull request #13944 from proggga/patch-1
Fix path on macOS link
2017-03-06 16:04:03 -05:00
Wliu
b1747f50d3 Merge pull request #13941 from atom/wl-update-languages
Update languages
2017-03-06 15:21:37 -05:00
Damien Guard
bb07512564 Merge pull request #13945 from atom/dg-always-restore-reopen-project-menu
Always restore Reopen Project menu, fixes #13758
2017-03-06 12:20:11 -08:00
Antonio Scandurra
76ae6b29b3 ⬆️ electron-link to handle cyclic requires correctly 2017-03-06 19:58:03 +01:00
Damien Guard
59c20484aa Always restore Reopen Project menu, fixes #13758 2017-03-06 09:41:14 -08:00