Commit Graph

2056 Commits

Author SHA1 Message Date
Nathan Sobo
d181cdedbd Handle errors when attempting to add a file from the TreeView 2012-05-08 15:08:15 -06:00
Nathan Sobo
a59c96d3a9 Flash red and show an error message when there's an error on moving a file 2012-05-08 14:18:21 -06:00
Nathan Sobo
b528196d1b Refactor AddDialog and MoveDialog into a single Dialog class 2012-05-08 13:16:52 -06:00
Nathan Sobo
9215d7f083 Remove console.log from root view spec 2012-05-08 13:16:24 -06:00
Nathan Sobo
5645f76289 Merge branch 'master' of github.com:github/atom 2012-05-08 11:28:50 -06:00
Nathan Sobo
01add56985 Can move files to non-existent directories 2012-05-08 11:28:19 -06:00
Corey Johnson
8a921d2799 When the project's path changes, the TreeView's root directory updates. 2012-05-08 09:57:01 -07:00
Corey Johnson
f4c5536391 Add path-change event to Project 2012-05-08 09:45:39 -07:00
Corey Johnson
7e32d73d73 TreeView doesn't raise exceptions when RootView's project has no path. 2012-05-08 09:02:35 -07:00
Nathan Sobo
af2263f49b Don't activate TreeView extension in window. It was breaking specs. 2012-05-07 19:46:49 -06:00
Nathan Sobo
648649d472 Merge branch 'master' of github.com:github/atom
Conflicts:
	spec/app/root-view-spec.coffee
	src/app/root-view.coffee
2012-05-07 19:38:01 -06:00
Nathan Sobo
7017aef3bb Don't add single-line class to editor in command panel and file finder… it's defunct 2012-05-07 19:34:50 -06:00
Nathan Sobo
b554318048 Clear file finder's mini-editor between togglings 2012-05-07 19:33:17 -06:00
Nathan Sobo
31163f1d8c Convert FileFinder to a proper extension and remove references from RootView code 2012-05-07 19:30:07 -06:00
Corey Johnson
e4125448ec Make RootView.initialize unaware of deserialization.
When RootView is created without a pathToOpen, no editor is created.
2012-05-07 17:51:08 -07:00
Corey Johnson
dd1e617a41 remove compiled coffee file from src dir 2012-05-07 17:51:08 -07:00
Nathan Sobo
81b7105a52 Merge branch 'master' of github.com:github/atom 2012-05-07 17:31:26 -06:00
Nathan Sobo
2c8bb91d85 Autocomplete is cancelled if the mini editor loses focus before a selection is confirmed 2012-05-07 17:31:14 -06:00
Corey Johnson
2285f764f3 Pressing left arrow on collapsed tree view root no longer raises an exception 2012-05-07 15:39:17 -07:00
Corey Johnson
f75755e90b Backspace/delete removes a file from the file finder 2012-05-07 15:29:52 -07:00
Corey Johnson
b422040d52 $native.alert takes an array of [name, callback] tuples for buttons.
I'd rather use a hash, but they aren't ordered.
2012-05-07 15:29:52 -07:00
Corey Johnson
eef2c54ae8 Native file for $native functions that don't fit anywhere else.
Mostly created so we can make mocks (the pure native methods can't be mocked)
2012-05-07 15:29:52 -07:00
Corey Johnson
88eda01768 $native.alert can work without buttons 2012-05-07 15:29:52 -07:00
Nathan Sobo
e60e68b69d Focus the root view when file finder closes, not an editor. Will test this when we extract it as an extenison. 2012-05-07 15:20:13 -06:00
Nathan Sobo
eeb28111f3 Double clicking a file changes focus to editor. Double clicking a directory toggles expansion. Single clicking doesn't ever change focus away from tree view. 2012-05-07 14:55:33 -06:00
Nathan Sobo
64c65ea0fc Preserve tree view focus state on refresh 2012-05-07 13:46:18 -06:00
Nathan Sobo
683a260a54 Merge branch 'master' of github.com:github/atom 2012-05-07 12:45:40 -06:00
Nathan Sobo
050e4695fe Merge branch 'master' of github.com:github/atom 2012-05-07 12:43:27 -06:00
Nathan Sobo
f41ca1843b Make editor scroller overflow be auto, not scroll 2012-05-07 12:35:25 -06:00
Nathan Sobo
6117897665 Update flexbox test to demonstrate Chrome Canary 2012-05-07 12:34:32 -06:00
Corey Johnson
886e2caa52 TreeView scrolls to selected path when move-down or move-up are triggered 2012-05-07 10:39:36 -07:00
Corey Johnson
78d3418c8c Add $native.moveToTrash 2012-05-04 15:14:12 -07:00
Corey Johnson
2229c4be21 Moving up in tree view doesn't skip over files inside of directories 2012-05-04 14:56:41 -07:00
Nathan Sobo
37438c6da8 Status bar path and cursor position updates 2012-05-04 13:58:11 -06:00
Corey Johnson & Nathan Sobo
798da4c79a Add flexbox-test.html so we can test flexbox behavior in Atom as well as Chrome/Chrome Canary 2012-05-04 12:39:41 -06:00
Corey Johnson & Nathan Sobo
28ff26e845 Merge branch 'master' into statusbar
Conflicts:
	src/app/editor.coffee
	src/app/project.coffee
	src/app/root-view.coffee
2012-05-04 11:41:13 -06:00
Corey Johnson
9c28370cbc Merge branch 'mother-fucking-cef' 2012-05-04 10:15:12 -07:00
Corey Johnson
7ca50efa30 Use Atom+sharedApplication to init CEF 2012-05-04 10:13:01 -07:00
Corey Johnson
bf87f467ef 💣 2012-05-04 10:13:01 -07:00
Corey Johnson
afce9df09e Forgot to add these files 2012-05-04 10:13:00 -07:00
Corey Johnson & Nathan Sobo
d83d2a54f9 Upgraded to version 1.1025.607 of CEF1 2012-05-04 10:12:36 -07:00
Corey Johnson
670717ca3b RootView deactivates extensions when it is deactivated 2012-05-03 17:31:37 -07:00
Corey Johnson & Nathan Sobo
f3c89240a3 Rename RootView.registerExtension() to RootView.activateExtension() 2012-05-03 17:13:09 -07:00
Corey Johnson & Nathan Sobo
870db53d3e Directory spec calls .off() when testing unwatch path 2012-05-03 09:43:45 -07:00
atom-bot
1c5dff2155 test for atom-bot checkin 2012-05-03 09:19:43 -07:00
Corey Johnson & Nathan Sobo
7fd614fe2f updated ssh key 2012-05-03 09:19:07 -07:00
Scott Chacon
568d35b89c pointers are confusing 2012-05-03 09:00:29 -07:00
Scott Chacon
eadf1e57d8 unwatchPath throws a javascript exception 2012-05-02 18:00:55 -07:00
Corey Johnson & Nathan Sobo
5d8c23dc82 💄 2012-05-02 16:22:59 -07:00
Corey Johnson & Nathan Sobo
bb689574d0 Project drawer state is restored upon refresh 2012-05-02 16:08:02 -07:00