Commit Graph

28877 Commits

Author SHA1 Message Date
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
21a5ef6d74 Merge pull request #11826 from atom/as-main-process-test-runner
Add --main-process flag to run specs in the main process
2016-05-25 14:03:49 +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
33d58bfe69 Move devDependencies under dependencies 2016-05-25 10:58:27 +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
64f25f901d Merge pull request #11829 from atom/as-block-decorations-default-position-before
Enforce block decorations to be 'before' by default
2016-05-24 13:41:27 +02:00
Antonio Scandurra
a1a609a357 Output renderer/main processes failure message 2016-05-24 11:08:12 +02:00
Antonio Scandurra
209e9d8d9c Add coverage for position: 'after' in cursor's state specs 2016-05-24 10:54:01 +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
01e8601f7f 🎨 runCoreSpecs -> runRendererProcessSpecs 2016-05-24 10:01:51 +02:00
Antonio Scandurra
75d4919489 Restore concurrency on renderer specs 2016-05-24 10:01:12 +02:00
Antonio Scandurra
48c5db5e88 Use args.resourcePath instead of args.devResourcePath 2016-05-24 09:59:37 +02:00
Antonio Scandurra
7a12984af3 🔥 Unused requires on specs 2016-05-24 09:28:58 +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
858740cd5f 📝 Better description on spec 2016-05-24 08:32:29 +02:00
Antonio Scandurra
25fece4a1a 🎨 file-recovery-service-spec.js -> file-recovery-service.spec.js 2016-05-24 08:24:41 +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
Antonio Scandurra
97dd25d14f 💚 2016-05-24 08:10:48 +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
b9cfcf04cc Merge pull request #11824 from ruthgrace/readme_update
Updated README.md: flight manual links, no ebook versions
2016-05-23 15:21:56 -07:00
Lee Dohm
ea94f69051 Make the wording more clear and bold the Note 2016-05-23 15:20:13 -07:00
Lee Dohm
f31a94b30c Merge pull request #11814 from ruthgrace/master
Update CONTRIBUTING.md
2016-05-23 15:07:31 -07:00
Ruth Grace Wong
ec0e1ab85e Update CONTRIBUTING.md
No PDF version of the flight manual.
2016-05-23 18:04:05 -04:00
ruthgrace
4e8311f18f Updated README.md: flight manual links, no ebook versions 2016-05-23 18:01:16 -04:00
Lee Dohm
23ff6efc8e Merge pull request #11812 from neurosnap/node-version
match apms node version
2016-05-23 14:50:12 -07:00
Ruth Grace Wong
7245c1b6fd Update CONTRIBUTING.md 2016-05-23 17:27:47 -04:00
Damien Guard
d593028707 Merge pull request #11791 from atom/dg-sign-windows-using-squirrel
Sign Windows builds with Squirrel for MSI compatibility
2016-05-23 14:22:36 -07:00
Josh Abernathy
6f09ab0cf9 Merge pull request #11820 from atom/update-ohnogit
Update ohnogit@0.0.12
2016-05-23 17:15:01 -04:00
Ruth Grace Wong
5dab35290a Update CONTRIBUTING.md
Updated flight manual links as recommended by @50Wliu.
2016-05-23 16:55:14 -04:00
Antonio Scandurra
57195d7ba6 Write specs for FileRecoveryService 2016-05-23 21:10:04 +02:00
joshaber
eeee377c7e ⬆️ ohnogit@0.0.12 2016-05-23 14:32:14 -04: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
Ruth Grace Wong
248409b131 Update CONTRIBUTING.md
added flight manual to Your First Code Contribution
2016-05-22 22:45:17 -04:00
Eric Bower
39f769420e match apms node version 2016-05-22 11:27:50 -04:00
simurai
96292b41fe 📝 Typo 2016-05-21 21:45:04 +09:00