Antonio Scandurra
c8fae110e7
Handle recovery when many windows save the same file simultaneously
2016-05-25 14:01:36 +02:00
Antonio Scandurra
3b4c1015cc
Forget window when it gets closed
2016-05-25 11:54:09 +02:00
Antonio Scandurra
b84feeb853
Emit {will,did}SavePath events synchronously
2016-05-25 00:11:30 +02:00
Antonio Scandurra
e57b35f8de
Merge branch 'master' into as-file-recovery-service
2016-05-24 19:16:31 +02:00
Antonio Scandurra
c0bed9ab50
🐛 Enforce block decorations to be 'before' by default
2016-05-24 10:49:59 +02:00
Antonio Scandurra
152c28a0e9
Merge branch 'master' into as-file-recovery-service
2016-05-24 10:07:30 +02:00
Antonio Scandurra
4f1efe6ef6
👕 Fix linter errors
2016-05-24 09:28:00 +02:00
Antonio Scandurra
c7f4b33eb8
Emit informative warning when a file can't be recovered
2016-05-24 09:04:06 +02:00
simurai
8710096cfe
Merge pull request #11804 from atom/sm-wrap-guide-note
...
Add a note how to hide the wrap-guide
2016-05-24 10:05:33 +09:00
Lee Dohm
2cfc4ee4e6
Merge pull request #11792 from Connormiha/object-assing-native
...
replace _.extend in favor of Object.assign
2016-05-23 16:01:27 -07:00
Lee Dohm
ea94f69051
Make the wording more clear and bold the Note
2016-05-23 15:20:13 -07:00
Antonio Scandurra
57195d7ba6
✅ Write specs for FileRecoveryService
2016-05-23 21:10:04 +02:00
Antonio Scandurra
ca32c1370f
🔥 Unnecessary variable assignments
2016-05-23 19:25:28 +02:00
Antonio Scandurra
770199c76c
🎨 event.sender -> window
2016-05-23 19:19:48 +02:00
Antonio Scandurra
b58ce49d0d
Create FileRecoveryService to restore corrupted files after a crash
2016-05-23 18:50:49 +02:00
Antonio Scandurra
de599f9c66
Make dialog asynchronous when a renderer process crashes
...
…so that other event handlers have the chance to execute even if the
user doesn't choose an option in the message box. This will allow us to
recover files when a window crashes.
2016-05-23 18:39:23 +02:00
Antonio Scandurra
049321a498
🐛 🔥 Remove double subscription to the same buffer
2016-05-23 18:37:47 +02:00
Antonio Scandurra
ef3ab03d28
Emit {will,did}SavePath on ipcMain before/after a buffer is saved
2016-05-23 18:37:26 +02:00
Antonio Scandurra
720ad9c0b4
Merge pull request #11474 from atom/wl-electron-37
...
Update Electron to 0.37
2016-05-23 11:07:21 +02:00
simurai
96292b41fe
📝 Typo
2016-05-21 21:45:04 +09:00
simurai
eac4ce5c95
📝 Add a note how to hide the wrap-guide
2016-05-21 10:22:14 +09:00
Antonio Scandurra
2d97c50583
Don't install devtron when toggling DevTools
2016-05-20 09:26:39 +02:00
Mihail Bodrov
d602655708
replace _.extend in favore of Object.assign
2016-05-20 01:27:27 +03:00
Antonio Scandurra
a624489d0f
Fix opening console in DevTools
2016-05-17 13:01:33 +02:00
Antonio Scandurra
124b5d5efe
🔥 Remove duplicate ipcMain.on
2016-05-17 11:18:13 +02:00
Antonio Scandurra
1cf4e4a8a2
📝 Remember why we added backgroundThrottling
2016-05-17 09:47:04 +02:00
Antonio Scandurra
764de235a8
📝 Remember why we added backgroundColor
2016-05-17 09:44:54 +02:00
Antonio Scandurra
21563ddb57
Merge branch 'master' into wl-electron-37
2016-05-17 09:30:36 +02:00
Lee Dohm
73525a1bcc
Merge pull request #11758 from stanfieldr/master
...
Paste text at cursor instead of beginning of line
2016-05-16 13:07:51 -07:00
Antonio Scandurra
683bef5b9d
Set BrowserWindow's background color to white to re-enable sub-pixel AA
...
In Electron 0.37.3 the default background color has changed from white
to transparent, and as per the sub pixel anti-aliasing specification,
the layer which hosts the glyphs that need to be rendered needs to have
an opaque background.
We have also observed that upon reload everything seems to work smoothly
even without this fix: this probably points in the direction of a
regression in Electron, but in the meantime this fix should suffice to
allow us to proceed.
2016-05-16 18:10:38 +02:00
Antonio Scandurra
896abe358c
Merge pull request #11765 from atom/as-fix-presenter-uncaught-exception
...
Don't render line-numbers corresponding to lines that need measuring
2016-05-16 14:21:43 +02:00
Antonio Scandurra
c13346a455
Show folded marker in the first screen row of a soft-wrapped buffer row
2016-05-16 11:23:54 +02:00
Antonio Scandurra
b5b324875e
Don't render line-numbers corresponding to lines that need measuring
...
Rendering those line numbers in the gutter isn't useful, and it puts
unneeded pressure to the DOM. In the process of changing
`updateLineNumbersState`, we have also refactored it to stop relying on
row ranges being contiguous. This allows that code path to be:
1. Less error-prone, because we were trying to access rows that weren't
actually rendered, thus potentially throwing errors when measuring
non-contiguous screen rows that weren't visible.
2. Tighter, because we can just iterate over each screen row and ask for
its soft-wrap descriptor.
2016-05-16 10:58:37 +02:00
Robert Stanfield
f36e148acc
When using the event editor:copy-selection, it pastes at the cursor
...
rather than the beginning of the line (see #11542 )
2016-05-15 20:45:45 -04:00
Antonio Scandurra
f9039a35f6
Refactor isRowVisible to isRowRendered
...
There's a distinction to make between rendered and visible rows, and we
were using the former as if it was the latter. In particular, if a tile
is visible, all its rows get rendered on screen, even though they might
not necessarily be visible by the user.
2016-05-14 17:38:49 +02:00
Lee Dohm
a5c6f2746a
Add Devtron to the Developer Tools window
2016-05-13 13:50:09 -07:00
Antonio Scandurra
e3790b8f20
📝 Do not mention persistent option for mark...Range methods
2016-05-06 14:11:47 +02:00
Antonio Scandurra
d06da3f470
Reset display layer when editor.atomicSoftTabs changes
2016-05-05 09:10:36 +02:00
Damien Guard
4da23fdc91
Merge pull request #11639 from BrainCrumbz/squirrel-refactor-pieces
...
🏁 refactor registry and PoSH out of squirrel-update
2016-05-04 14:17:15 -07:00
Wliu
02d7bdeaaa
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-37
2016-05-04 15:58:21 -04:00
Antonio Scandurra
ca041384fe
Merge pull request #11414 from atom/ns-switch-to-display-layers
...
Use display layers facility of text-buffer; delete all the code they replace
2016-05-04 20:46:15 +02:00
Damien Guard
ee3425d543
Merge pull request #11323 from clickthisnick/master
...
Update Grammar In Spec Files
2016-05-04 11:22:37 -07:00
Damien Guard
d3825e87f3
Merge pull request #11642 from atom/dg-buffered-process-options-shell
...
Fix some Buffered-Process specs, honor options.shell in Atom
2016-05-04 10:19:04 -07:00
Antonio Scandurra
3b46d7f50b
Merge branch 'master' into ns-switch-to-display-layers
...
# Conflicts:
# src/text-editor.coffee
2016-05-04 18:56:45 +02:00
Damien Guard
c56cbe3ce3
👕 Change fat arrow to thin arrow for linter warning
2016-05-03 16:50:06 -07:00
Josh Abernathy
3781bd2062
Merge pull request #11671 from atom/disentangle-text-editors-global
...
Remove TextEditor's dependency on the textEditors global
2016-05-03 10:33:41 -04:00
Antonio Scandurra
004bb6122c
🎨 🐎
2016-05-03 13:24:28 +02:00
Antonio Scandurra
36bcb542a8
Don't move down a line if it's the last buffer row
2016-05-03 12:58:59 +02:00
Lee Dohm
72721af3c6
Merge pull request #11478 from atom/ku-prompt-save-as-if-save-fails
...
Prompt user to save as if save fails
2016-05-02 17:36:56 -07:00
Wliu
bb46933d58
Explicitly set mini to false when it isn't passed
2016-05-02 20:08:35 -04:00