Commit Graph

6937 Commits

Author SHA1 Message Date
Antonio Scandurra
7690331555 Merge branch 'master' into wl-electron-37
# Conflicts:
#	package.json
2016-04-30 09:23:14 +02:00
Antonio Scandurra
005022567b Merge pull request #11348 from atom/wl-drewmnoel-electron
Update Electron to 0.36.12
2016-04-30 09:19:17 +02:00
Wliu
e237a37987 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-37 2016-04-29 18:43:48 -04:00
Wliu
a9da862678 Decrease spec timeouts
Reverts a35e24658d
2016-04-29 18:43:45 -04:00
Antonio Scandurra
c5a76d4a7d Persist the entire state on reload
This fixes an annoying problem that prevented the state of marker layers
from being saved when the window was reloaded either via `Cmd+R` in
DevTools or via `Ctrl+Option+Cmd+L` in Atom.

The issue was that we were *always* scheduling `saveState` on an idle
callback: `window.onbeforeunload`, however, doesn't wait for that event
before closing the window, and thus that state was never saved in those
situations.

The solution is to use idle callbacks only during the critical code path
(i.e. on mousedown and keydown), but save it synchronously otherwise.
Saving something to IndexedDB is actually asynchronous too, but it seems
like Chrome fulfills `put` requests that get executed right during
`onbeforeunload`.
2016-04-29 14:41:34 +02:00
joshaber
4727d6611e Revert "Fix the test."
This reverts commit 630b8c69a6.
2016-04-27 17:06:37 -04:00
joshaber
630b8c69a6 Fix the test. 2016-04-27 16:24:29 -04:00
joshaber
20e2486bfb Merge branch 'master' into fix-cached-status 2016-04-27 15:53:23 -04:00
joshaber
a279db5568 Failing test. 2016-04-27 12:50:13 -04:00
joshaber
30d6353fd8 Spec for openedPath. 2016-04-27 12:03:29 -04:00
joshaber
aa9e8ab620 Update the spec. 2016-04-26 14:56:00 -04:00
Josh Abernathy
bb1b89da60 Merge pull request #11603 from atom/remove-packagemanager-dependency
Remove TextEditor's dependency on PackageManager
2016-04-26 12:43:35 -04:00
joshaber
0541755ac8 Consistent indentation. 2016-04-26 09:49:38 -04:00
joshaber
67c7c60dcc Test getUpstreamBranch 2016-04-26 09:49:03 -04:00
joshaber
e16e987e08 Give the fixture a remote 2016-04-26 09:46:04 -04:00
joshaber
ff43d917be Lower case 2016-04-26 09:23:54 -04:00
joshaber
f86a15e5fc Spec for getOriginURL 2016-04-26 09:22:56 -04:00
joshaber
f589bdd8d9 Add a remote to the fixture. 2016-04-26 09:22:38 -04:00
joshaber
759d64501d Better test. 2016-04-25 16:07:49 -04:00
joshaber
6852d6e91c Test it. 2016-04-25 15:34:46 -04:00
joshaber
956e037681 But without the space. 2016-04-25 14:20:54 -04:00
joshaber
d494f065df Update the spec. 2016-04-25 14:12:42 -04:00
joshaber
3574613fa3 Don't need resource pool anymore. 2016-04-21 14:19:24 -04:00
joshaber
809d194f31 Update the tests 2016-04-21 13:17:35 -04:00
Wliu
ea5ad4ae59 Coffeescript comment tokenization no longer matches the newline character 2016-04-19 21:31:53 -04:00
Damien Guard
42fef8c014 Merge pull request #11488 from atom/dg-fix-windows-specs
First batch of Windows specs fixes
2016-04-19 15:48:31 -07:00
Damien Guard
1500381ac9 Tweaks to the specs improvements from feedback 2016-04-19 14:25:44 -07:00
Michelle Tilley
b2aad098e1 Correctly autoindent \r\n in Selection#insertText 2016-04-18 11:06:51 -07:00
Michelle Tilley
e41b9f00fb Correctly autoindent single newline in Selection#insertText 2016-04-15 21:23:28 -07:00
Damien Guard
99e716f9ed Fix specs failures on Windows including paths 2016-04-15 11:25:05 -07:00
Wliu
fe54f30cf4 Merge branch 'master' into wl-electron-37 2016-04-15 16:19:44 +00:00
Wliu
e03df6e1a4 Reduce spec timeout duration 2016-04-14 20:33:56 -04:00
Wliu
58f029e92d 📝 2016-04-14 14:19:09 +00:00
Wliu
09b88cd1d5 Fix defective spec and associate 'screen' as a renderer module 2016-04-14 14:11:25 +00:00
Antonio Scandurra
147fed3123 Revert "Remove this commit if it works on travis"
This reverts commit 303bb8c74e.
2016-04-14 15:46:50 +02:00
Antonio Scandurra
303bb8c74e Remove this commit if it works on travis 2016-04-14 11:24:59 +02:00
Antonio Scandurra
4adf23a595 Unconditionally report deprecations on every test environment 2016-04-14 11:24:01 +02:00
Katrina Uychaco
49fb287592 Don't load packages starting with dot. Fixes #9805 2016-04-12 20:35:30 -07:00
Wliu
3ecfce88ad Merge remote-tracking branch 'refs/remotes/origin/master' into wl-drewmnoel-electron 2016-04-12 17:32:07 -04:00
Damien Guard
2d173911b2 Ignore autorun on our buffered process commands. Fixes #10082 2016-04-12 12:02:20 -07:00
Nathan Sobo
402a335eef Fix accented character menu spec 2016-04-04 19:50:39 -06:00
Nathan Sobo
a99ee14ac0 Make accented character menu detection work with left/right arrow keys 2016-04-04 17:47:36 -06:00
Michelle Tilley
8575b38c7b Pending pane items shouldn't be made permanent before being replaced
Previously, when a Pane would replace a pending item with
another pending item, it would emit
`onItemDidTerminatePendingState` for that item, which was
not true because the item was actually being destroyed.
2016-04-02 17:48:24 -07:00
Drew Noel
fb5bfe1b3a Fix old electron require syntax in specs 2016-04-01 22:17:00 -04:00
Antonio Scandurra
c735b3fe74 Merge pull request #11314 from atom/as-handle-update-error
Handle auto-updater errors
2016-04-01 09:09:37 +02:00
Antonio Scandurra
fa469121d8 Ensure getErrorMessage() works properly 2016-04-01 09:09:25 +02:00
Antonio Scandurra
51d71b4b55 Merge pull request #11325 from atom/as-fix-emojis
Fix emoji rendering on OSX
2016-03-31 17:45:58 +02:00
Antonio Scandurra
47bbd8b4bb Ensure we test for emojis only on Darwin 2016-03-31 17:45:32 +02:00
Antonio Scandurra
d89d34f4ef 💚 2016-03-31 13:02:52 +02:00
Antonio Scandurra
3fb2749583 Merge pull request #11324 from atom/as-jordanbtucker-config-save-state
Add restorePreviousWindowsOnStart setting
2016-03-31 11:56:43 +02:00