Commit Graph

7546 Commits

Author SHA1 Message Date
Lee Dohm
6a76ef5dd6 Merge pull request #13764 from atom/wl-dont-soft-wrap-minis
Disable soft wrap on mini editors
2017-03-29 14:38:47 -07:00
Michelle Tilley
42fb2cc55f Convert more tests to use emitterEventPromise 2017-03-24 00:32:15 -07:00
Michelle Tilley
ae64b35dca We need more time 2017-03-23 23:58:27 -07:00
Michelle Tilley
67a9e19bf9 Oh we can put this back now 2017-03-23 23:48:19 -07:00
Michelle Tilley
2ee692d3cf Fix up helpers 2017-03-23 23:44:27 -07:00
Michelle Tilley
3ab08754db These should probably be here 2017-03-23 23:42:55 -07:00
Michelle Tilley
132f199fae Fix main process test race conditions 2017-03-23 23:37:18 -07:00
Michelle Tilley
6b92bd041a Add emitterEventPromise helper 2017-03-23 23:37:06 -07:00
Michelle Tilley
3c47b775d2 Let's make that async pls 2017-03-23 21:28:12 -07:00
Michelle Tilley
0f6489e347 Use test-until for more flexible test timeout 2017-03-23 16:51:59 -07:00
Michelle Tilley
648055c5a9 Just to be sure, let's use a longer timeout 2017-03-23 16:29:01 -07:00
Michelle Tilley
ed2c399997 Fix main process tests 2017-03-23 16:19:11 -07:00
Katrina Uychaco
3d9ce1610d 👕 2017-03-23 10:40:20 -07:00
Katrina Uychaco
4c1cb16e77 Merge remote-tracking branch 'origin/master' into ku-mkt-restore-atom-env-when-adding-folder-to-fresh-window 2017-03-22 20:36:59 -07:00
Michelle Tilley
01175d774c 🔥 fit 2017-03-22 20:30:08 -07:00
Michelle Tilley
d9b73fa645 Restore state when opening folders to applicable windows
Note: "clean window" is defined as 1) having an empty project and 2)
having no pane items or only empty unnamed buffers

When project is empty and there is saved state associated with the
opened/added folders...
* Open a file or folder (from command line or Open menu)
  * If we have a clean window, restore project state in window
  * If window is dirty, restore saved state in new window
2017-03-22 20:25:57 -07:00
Michelle Tilley
910fef97a0 Restore state when adding folders to applicable windows
Note: "clean window" is defined as 1) having an empty project and 2)
having no pane items or only empty unnamed buffers

Adding folder(s)
* If we have a clean window, restore project state in window
* If window is dirty, prompt user to
  * add folder to the existing window LOSING state
  * OR open project folder in a new window
2017-03-22 20:24:50 -07:00
Antonio Scandurra
934c377af6 Fix tests 2017-03-17 17:04:11 +01:00
Antonio Scandurra
d94c8811f3 Replace CommandRegistry.addBundled with a boolean param in .add 2017-03-17 16:19:25 +01:00
Antonio Scandurra
2f9a9ed657 Merge branch 'master' into as-snapshot-atom-environment 2017-03-17 15:25:10 +01:00
Antonio Scandurra
bade347e01 Revert "Upgrade to Babel 6 and apply fewer transformations when transpiling babel files" 2017-03-17 12:40:38 +01:00
Antonio Scandurra
81af989f0d Merge branch 'master' into as-snapshot-atom-environment 2017-03-16 21:08:41 +01:00
Antonio Scandurra
a8b885c4d5 Merge branch 'master' into as-ns-startup-snapshot 2017-03-16 10:52:34 +01:00
Ian Olsen
4ef9a0502f Merge pull request #11803 from lexicalunit/lexicalunit/replace-selected-text-tweak
Following replaceSelectedText(), update the selected text range accordingly.
2017-03-13 14:46:50 -07:00
Antonio Scandurra
0d29004723 Speed up FileSystemBlobStore.load by not storing invalidation keys
This was unneeded because we can simply compute the cache key by
concatenating the v8 version and the file's contents.
2017-03-13 19:11:53 +01:00
Antonio Scandurra
ea440148d8 Fix remaining tests 2017-03-12 11:57:16 +01:00
Antonio Scandurra
b1704ee7e6 Fix Workspace specs 2017-03-11 19:20:16 +01:00
Antonio Scandurra
284f2c62e5 Start fixing tests 2017-03-11 19:05:28 +01:00
Dirk Thomas
348553049a update specs 2017-03-10 10:41:20 -08:00
Antonio Scandurra
e61919cd60 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 15:04:26 +01:00
Antonio Scandurra
11961b09ac Merge pull request #13949 from atom/as-minimize-startup-sync-io
Minimize synchronous I/O during startup
2017-03-10 15:00:30 +01:00
Antonio Scandurra
7e761d39af Fall back to local storage when no history can be found 2017-03-10 14:37:37 +01:00
Antonio Scandurra
1248eb0b20 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 09:32:17 +01:00
Antonio Scandurra
5f9b62c603 💚 2017-03-10 09:31:59 +01:00
Antonio Scandurra
73e8642b96 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 09:04:30 +01:00
Antonio Scandurra
33f96bf6cb Fix workspace-spec.js 2017-03-10 09:01:10 +01:00
Antonio Scandurra
9e864fac30 Merge branch 'master' into as-update-fs-plus 2017-03-09 20:33:13 +01:00
Amy Troschinetz
ac7bb27e22 Select the replaced text post replacement. 2017-03-08 20:24:31 -06:00
Michelle Tilley
3274191203 Merge remote-tracking branch 'origin/master' into ku-mkt-restore-atom-env-when-adding-folder-to-fresh-window 2017-03-08 16:20:57 -08:00
Katrina Uychaco
d891f2376c Restore saved state when adding folders to empty project 2017-03-08 14:40:58 -08:00
Nathan Sobo
206bcac1bc Merge pull request #13955 from atom/fb-mdt-workspace-element-to-js
Convert workspace element and spec to JavaScript
2017-03-07 19:49:32 -07:00
Matthew Dapena-Tretter
3017b28ef7 Convert workspace element to JS: Cleanup 2017-03-07 16:31:00 -08:00
Matthew Dapena-Tretter
ca4d55954b Convert workspace element to JS: Lint 2017-03-07 15:56:57 -08:00
Matthew Dapena-Tretter
ede4a2972a Convert workspace element to JS: Decaffeinate 2017-03-07 15:49:22 -08:00
Matthew Dapena-Tretter
d6a354d6ba Convert panel container to JS: Cleanup 2017-03-07 14:52:32 -08:00
Matthew Dapena-Tretter
f56865b6f8 Convert panel container to JS: Lint 2017-03-07 14:30:33 -08:00
Matthew Dapena-Tretter
228b24b68b Convert panel container to JS: Decaffeinate 2017-03-07 14:20:27 -08:00
Antonio Scandurra
cf9a5b13e3 Replace localStorage with StateStore in HistoryManager
Instead of using `localStorage` to store and retrieve the project
history, with this commit we will use `StateStore` so that we can
retrieve state asynchronously without blocking Atom during startup.
2017-03-07 11:02:40 +01:00
Antonio Scandurra
a9f91cc96e Delete test verifying that GitRepository.open works with file paths
With the upgrade of git-utils libgit2 was updated too and the behavior
tested by the deleted spec doesn't seem to be supported anymore.
However, we believe we can delete this test because the only entry point
for creating `GitRepository` instances is `repositoryForDirectorySync`
in `GitRepositoryProvider`, which only allows `Directory` objects to be
supplied as its input arguments.
2017-03-06 16:18:40 +01:00
Antonio Scandurra
e74737d38e Fix ThemeManager specs 2017-03-06 14:39:04 +01:00