Commit Graph

31161 Commits

Author SHA1 Message Date
Antonio Scandurra
b6829f08fa Temporarily add faster script to build Atom 2017-03-07 17:56:36 +01: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
Wliu
d298a4e7c6 ⬆️ language-text@0.7.2 2017-03-06 11:56:19 -05:00
Wliu
6c70984b29 ⬆️ language-yaml@0.29.0 2017-03-06 11:55:14 -05:00
Wliu
a58f732b0a ⬆️ language-json@0.19.0 2017-03-06 11:54:30 -05:00
Wliu
4e8ac61e54 ⬆️ language-php@0.37.5 2017-03-06 11:53:42 -05:00
Wliu
eb9cf0330a ⬆️ language-java@0.27.0 2017-03-06 11:53:02 -05:00
Wliu
e97c8f8e6b ⬆️ language-sass@0.58.0 2017-03-06 11:51:54 -05:00
Wliu
5d6cd1e542 ⬆️ language-property-list@0.9.1 2017-03-06 11:51:00 -05:00
Wliu
273dd5405e ⬆️ language-xml@0.35.0 2017-03-06 11:49:51 -05:00
Wliu
d64d99d2f7 ⬆️ autocomplete-css@0.15.1 2017-03-06 11:47:09 -05:00
Antonio Scandurra
46b06a4336 Put back .atom/compile-cache on AppVeyor 2017-03-06 17:44:18 +01:00
Antonio Scandurra
1846f9e233 Invalidate compile cache on AppVeyor 2017-03-06 17:07:30 +01:00
Antonio Scandurra
a9f91cc96e Delete test verifying that GitRepository.open works with file paths
With the upgrade of git-utils libgit2 was updated too and the behavior
tested by the deleted spec doesn't seem to be supported anymore.
However, we believe we can delete this test because the only entry point
for creating `GitRepository` instances is `repositoryForDirectorySync`
in `GitRepositoryProvider`, which only allows `Directory` objects to be
supplied as its input arguments.
2017-03-06 16:18:40 +01:00
Antonio Scandurra
a403d817ba Put back source map generation for babel files 2017-03-06 14:48:53 +01:00
Antonio Scandurra
e74737d38e Fix ThemeManager specs 2017-03-06 14:39:04 +01:00
Antonio Scandurra
f0e7290b8c Delete unnecessarily excluded modules from snapshot generator 2017-03-06 14:36:33 +01:00
Antonio Scandurra
f05e882911 Copy snapshot in the appropriate location on Linux and Windows 2017-03-06 14:21:13 +01:00
Antonio Scandurra
889f480c35 Delete obsolete asar code 2017-03-06 14:20:52 +01:00
Antonio Scandurra
f2ea38afba Add electron-mksnapshot and use the downloaded bin to generate snapshots 2017-03-06 14:12:18 +01:00
Antonio Scandurra
7fbe68e12e Exclude less from snapshot 2017-03-06 14:11:47 +01:00
Antonio Scandurra
ebe725de4d Assign globals to snapshotResult only if present 2017-03-06 13:36:41 +01:00
Antonio Scandurra
778db180db Fix Workspace specs 2017-03-06 13:34:43 +01:00
Max Brunsfeld
025de31846 Avoid using less imports in nested scopes
Apparently, these imports of 'octicon-utf-codes.less' within mixin
definitions cause any subsequent imports of this file to become noops,
because of the way less dedupes imports. The result is that the variables
defined in that file are only available in the nested scope.

This didn't happen in older versions of less because of bugs which
have been fixed since less 2.7.

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2017-03-06 13:23:53 +01:00
Antonio Scandurra
4f4fed6cb8 Upgrade fs-plus on Atom packages and node modules 2017-03-06 12:58:14 +01:00
Antonio Scandurra
134ef4f5a4 ⬆️ fs-plus 2017-03-06 11:15:33 +01:00
Damien Guard
ef0619048e Revert "Ensure recent project list populated when no project loaded, fixes #13758"
This reverts commit 52492c1386.
2017-03-05 17:49:01 -08:00
Damien Guard
52492c1386 Ensure recent project list populated when no project loaded, fixes #13758 2017-03-05 17:21:05 -08:00
Mikhail Fesenko
ab1fb2f217 Fix path on macOS link 2017-03-05 21:59:07 +03:00
Antonio Scandurra
89e74a277c Merge pull request #13929 from atom/as-fix-destroying-panel-container
Fix destroying a `PanelContainer` containing multiple panels
2017-03-04 16:17:04 +01:00
Antonio Scandurra
ed9a101de2 Fix destroying a PanelContainer containing multiple panels
Previously, when calling `destroy` on a `PanelContainer` containing
multiple panels, Atom would throw a `Cannot read property 'destroy' of
undefined` exception. This was due to iterating over the panels while at
the same time destroying them, which caused the iterated array to be
modified during the loop.

With this commit we slice the array before iterating over it so that
destroying a `PanelContainer` doesn't throw exceptions anymore.
2017-03-04 15:39:38 +01:00
Antonio Scandurra
8df511be55 ⬆️ symbols-view 2017-03-04 14:40:49 +01:00
Antonio Scandurra
78935dddd5 ⬆️ status-bar 2017-03-04 14:40:02 +01:00
Antonio Scandurra
6cde324290 Fix core renderer tests 2017-03-04 14:33:57 +01:00
Antonio Scandurra
07b6db7de9 ⬆️ fs-plus 2017-03-04 13:40:47 +01:00
simurai
c8bcb60380 ⬆️ one-dark/light-ui@v1.9.2 2017-03-04 09:20:42 +09:00
Max Brunsfeld
4f261731ae Merge pull request #13922 from atom/fb-mdt-workspace-to-js
Convert workspace to JavaScript
2017-03-03 13:03:36 -08:00
Max Brunsfeld
3c06381018 Fix usage of dynamic arguments variable in an arrow function 2017-03-03 12:00:45 -08:00
Antonio Scandurra
c06fd3f402 ⬆️ apm 2017-03-03 18:50:52 +01:00