Antonio Scandurra
8355e7fe72
Use fs.copyFileSync for buffered copy
2016-05-26 19:06:15 +02:00
Antonio Scandurra
5e0e65b2e0
Merge branch 'master' into as-file-recovery-service
2016-05-26 12:01:50 +02:00
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
Michelle Tilley
3acd6d83e8
🔥 Unused import
2016-05-25 22:36:35 -07:00
Michelle Tilley
3c14b8d771
Add MessageRegistry
...
The MessageRegistry is similar to the CommandRegistry in that it maps
string message types to callback functions; however, messages are
dispatched to Atom from outside the application using URIs, and so
should be more restrictive about what they allow.
Signed-off-by: Katrina Uychaco <kuychaco@github.com >
2016-05-25 22:36:35 -07: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
Drew Noel
37086c6c09
Use proper coffeescript style
2016-05-25 10:57:51 -04:00
Drew Noel
92df095137
Fix uncaught exception when open file dialog is cancelled
2016-05-25 10:57:51 -04: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