Antonio Scandurra
df263a2cb1
Return early when a recovery file can't be stored
2016-05-26 11:39:05 +02:00
Antonio Scandurra
6c34844956
🐛 Don't try to recover the same file twice
2016-05-26 11:27:56 +02:00
Antonio Scandurra
aefcbcda47
🔥 Remove unneeded WeakSet
2016-05-25 17:19:59 +02:00
Antonio Scandurra
d8564add7a
Be a little more defensive when retaining/releasing recovery files
2016-05-25 17:02:02 +02:00
Antonio Scandurra
8733b52992
🔥 Extra imports
2016-05-25 15:56:14 +02:00
Antonio Scandurra
3f8f3c95a8
🔥 Remove extra comma
2016-05-25 15:55:36 +02:00
Antonio Scandurra
49a603a873
Show also a message box when recovery is not successful
2016-05-25 15:54:39 +02:00
Antonio Scandurra
8ba275a75d
🎨 Move RecoveryFile down
2016-05-25 15:47:12 +02:00
Antonio Scandurra
c2b01d54b8
Make coupling looser between the recovery service and the windows
2016-05-25 15:46:37 +02:00
Antonio Scandurra
1a7858c9f1
Log a more informative message when cannot recover a file
2016-05-25 15:15:53 +02:00
Antonio Scandurra
a2a734a372
Generate readable recovery filenames
2016-05-25 14:19:39 +02:00
Antonio Scandurra
30307231e6
👕 Fix linting issues
2016-05-25 14:05:09 +02:00
Antonio Scandurra
3ce7d0a974
Merge branch 'master' into as-file-recovery-service
2016-05-25 14:04:16 +02:00
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
5e3f343e41
Merge branch 'master' into as-main-process-test-runner
2016-05-25 11:03:10 +02:00
Antonio Scandurra
df0b3dedd7
browser -> main-process
2016-05-25 11:02:29 +02:00
Antonio Scandurra
1817c79a53
Run tests after the application is ready
2016-05-25 10:57:40 +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
48c5db5e88
Use args.resourcePath instead of args.devResourcePath
2016-05-24 09:59:37 +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
Antonio Scandurra
62d48c64ea
Add --main-process flag to run specs in the main process
...
…so that we can write unit tests for code in the main process. Below a
list of conventions we'll be adopting:
1. Use mocha as the test framework.
2. Use chai as the assertion library.
3. Name specs `foo-bar.spec.js`, to prevent the renderer process from
running specs written fro the main process e.g. when calling
`atom --test spec`.
4. Write specs in ES6.
Although somewhat inconsistent with the conventions we use for renderer
process specs, this will hopefully be a first step towards migrating our
entire Jasmine 1.3 test suite to a more modern environment.
2016-05-24 08:23:27 +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