Commit Graph

34251 Commits

Author SHA1 Message Date
David Wilson
63e500b705 Merge pull request #16610 from atom/dw-fix-14716
Fix #14716: Error when deserializing TreeView for project
2018-01-22 17:26:30 -08:00
David Wilson
da22ea8f80 Decaffeinate src/item-registry.coffee 2018-01-22 16:14:25 -08:00
David Wilson
4a151ac210 Fix #14716: Error when deserializing TreeView for project
This change fixes an issue that appears when the user removes the last
project from the workspace and then re-adds it.  At this time an error
is thrown from within ItemRegistry because the PaneContainer that
holds the TreeView in the left-most dock does not clear out its
existing ItemRegistry before deserializing the old TreeView state.

The fix is to create a new ItemRegistry when a PaneContainer is
deserialized so that the previous Pane's items are not retained.
2018-01-22 15:13:37 -08:00
Bryant Ung
c100ad0108 Merge pull request #16525 from atom/wl-async-message-box
Use async dialog.showMessageBox
2018-01-21 13:39:48 -08:00
Antonio Scandurra
ef96cc770e Merge pull request #16595 from atom/as-fix-subpixel-aa
Don't break subpixel AA when cursor is at the end of longest line
2018-01-20 17:00:49 +01:00
Antonio Scandurra
8e74d06f64 Fix tests 2018-01-20 11:09:26 +01:00
Antonio Scandurra
ff6dc42fcd Merge pull request #16594 from atom/as-stop-transpiling-core-js-paths
Stop using Babel in Atom Core (benchmarks, exports, src)
2018-01-20 10:30:56 +01:00
Bryant Ung
571db7848b ⬆️ bracket-matcher 2018-01-19 14:42:14 -08:00
Max Brunsfeld
0f7d4f03ad Merge pull request #16599 from atom/mb-ns-refactor-launch
Refactor main process launch
2018-01-19 14:10:32 -08:00
Wliu
056c825d18 Merge branch 'master' into wl-async-message-box 2018-01-19 16:12:37 -05:00
Max Brunsfeld
9f35de4413 Always return an array from AtomApplication.launch 2018-01-19 13:08:49 -08:00
Max Brunsfeld
f7aba5a132 Replace loadState with side-effect-free loadPreviousWindowOptions
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 13:08:49 -08:00
Max Brunsfeld
47eb3949d1 Merge pull request #16592 from atom/mb-eliminate-main-process-sync-io
Eliminate synchronous IO in main process
2018-01-19 13:08:00 -08:00
Max Brunsfeld
744ae36f31 🔥 dead code
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 11:56:25 -08:00
Max Brunsfeld
fd5f8af292 Fix typo in StorageFolder.clear 2018-01-19 11:52:34 -08:00
Max Brunsfeld
61e53834e6 Make StorageFolder.load, AtomApplication.launch async
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 11:52:25 -08:00
Max Brunsfeld
e2ad4e6a8b Make StorageFolder.store async
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 11:37:07 -08:00
Antonio Scandurra
3fbfadde5a Don't break subpixel AA when cursor is at the end of longest line
With the Electron upgrade, something changed in the way characters are
rendered/measured, and that was causing subpixel anti-aliasing to stop
working when cursors were at the end of the longest line.

Every cursor has a width that is calculated in the following way:

* If there's a character after the cursor, the width corresponds to
width of such character.
* Otherwise, the width equals to the "base character width" measured on
a dummy line.

In the latter case, even if we were setting the width of the content
container to account for the width of such cursor, some rounding problem
was causing the cursor to be able to escape the container and thus break
subpixel anti-aliasing.

With this commit, instead of rounding the value we assign to the
container width, we will always ceil it. This ensures that cursors are
always strictly contained within the parent element and resolves the
subpixel anti-aliasing issue.
2018-01-19 11:20:53 +01:00
Antonio Scandurra
e68a2b1eb9 Replace import and export keywords with require and module.exports 2018-01-19 09:43:55 +01:00
Antonio Scandurra
86c3712520 Don't transpile JS files found in benchmarks, exports and src folders 2018-01-19 09:43:55 +01:00
simurai
08d5677ddc ⬆️ find-and-replace@v0.215.5 2018-01-19 16:10:20 +09:00
Max Brunsfeld
6a4991eb45 Remove obsolete .pairs file 2018-01-18 17:03:08 -08:00
Max Brunsfeld
1b2e135123 ⬆️ git-utils 2018-01-18 16:05:36 -08:00
Bryant Ung
eedfce8328 ⬆️ bracket-matcher 2018-01-18 15:48:48 -08:00
Max Brunsfeld
7c8f73b2d8 Make StorageFolder.clear async 2018-01-18 15:14:35 -08:00
Max Brunsfeld
400abcba34 Decaffeinate StorageFolder 2018-01-18 12:02:43 -08:00
Max Brunsfeld
9694448f9d Handle concurrent calls to the same channel in ipc helpers 2018-01-18 11:27:27 -08:00
Max Brunsfeld
0390548e2c Make FileRecoveryService async 2018-01-18 11:27:27 -08:00
Max Brunsfeld
13fdc4021d Merge pull request #16588 from atom/mb-fix-fold-buffer-row
Fix incorrect fold when folding at the last line of an indented block
2018-01-18 10:19:33 -08:00
Nathan Sobo
f0056426ca ⬆️ find-and-replace
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2018-01-18 11:04:14 -07:00
Nathan Sobo
0d99be88bc ⬆️ autocomplete-snippets
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2018-01-18 10:51:16 -07:00
Max Brunsfeld
a4e011d3b8 Fix foldBufferRow regression 2018-01-18 09:38:30 -08:00
Nathan Sobo
86b2565bfe ⬆️ git-diff 2018-01-18 09:40:07 -07:00
Linus Eriksson
8e2a8b15f8 Merge pull request #16585 from rickydam/master
Fix filename backtick inconsistency and fix wording in README
2018-01-18 09:25:35 +01:00
Ricky Dam
56600efc12 Fix filename backtick inconsistency and fix wording in README 2018-01-18 00:27:06 -05:00
Wliu
4f0209bb8e Merge pull request #16584 from atom/wl-appveyor-ci-skip-docs
`[ci skip]` must be in the title for Appveyor
2018-01-17 23:18:54 -05:00
Wliu
ca71d58103 📝 [ci skip] must be in the title for Appveyor 2018-01-17 23:17:16 -05:00
Max Brunsfeld
09751855b5 ⬆️ git-diff 2018-01-17 17:17:15 -08:00
Max Brunsfeld
83c28b49a0 ⬆️ text-buffer, find-and-replace 2018-01-17 17:17:15 -08:00
Damien Guard
9a3585fc44 :arrow-up: electron-winstaller 2018-01-17 15:37:12 -08:00
Wliu
abe5af2168 📝
[ci skip]
2018-01-17 18:26:35 -05:00
Wliu
a9aaf597bc 📝
[ci skip]
2018-01-17 18:06:28 -05:00
Wliu
1e1884ef27 📝
[ci skip]
2018-01-17 18:03:48 -05:00
Ian Olsen
2de6f05d8f Merge pull request #16161 from atom/wl-color-to-string
Add .toString() method for Color objects
2018-01-17 14:51:03 -08:00
Max Brunsfeld
3d8902d529 ⬆️ spell-check 2018-01-16 17:46:01 -08:00
Max Brunsfeld
ead8b907b9 ⬆️ text-buffer, find-and-replace 2018-01-16 17:42:48 -08:00
Nathan Sobo
c984897311 ⬆️ about 2018-01-16 13:31:39 -06:00
Nathan Sobo
9807e56154 Merge pull request #16575 from atom/ns-null-guard-scope-prefix
Null guard auto-prefixing of `.` to scopes for backward compatibility
2018-01-16 12:10:26 -07:00
Nathan Sobo
d93565423a Null guard auto-prefixing of '.' to scopes for backward compatibility
In some cases, packages such as atom-beautify manually construct scope
descriptors with an empty scopes array.
2018-01-16 11:30:27 -06:00
Wliu
32dfb019ee Merge pull request #16570 from UziTech/patch-5
Update all {Repository} to {GitRepository}
2018-01-16 00:37:47 -05:00