Commit Graph

28 Commits

Author SHA1 Message Date
Garen Torikian
16cef29925 Update directory 2013-05-01 17:01:53 -07:00
Garen Torikian
2357f46761 Fix block comments in src 2013-05-01 16:58:43 -07:00
Kevin Sawicki
848761710e 💄 2013-04-18 20:16:49 -07:00
Garen Torikian
a50cfa26cc Updates for new biscotto 2013-04-18 13:05:40 -07:00
Garen Torikian
742a28ca9c Define file stuff 2013-04-10 02:20:55 -05:00
Cheng Zhao
e0865e8c38 Use node-pathwatcher. 2013-04-07 16:35:35 +08:00
Kevin Sawicki
513ed3b4b1 Show symlink file icon in tree view 2013-03-25 16:51:39 -04:00
Corey Johnson & Nathan Sobo
bfd2667c51 Don't throw exceptions from Directory.getEntries for non-files
Just don't create entry objects for them.
2013-03-22 17:35:34 -06:00
Corey Johnson & Kevin Sawicki
6c357aaca7 Make paths absolute before calling $native.watchPath
Also return a subscription that can be unwatched instead
of returning an id that is later passed to $native.unwatchPath
along with the watched path.

This allows specs to pass when run from a symlink'ed folder.
2013-03-20 13:27:49 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1 Use node's require instead of internal require 2013-03-12 10:38:05 -07:00
Kevin Sawicki
2212222c47 Use underscore node module 2013-03-11 11:22:36 -07:00
Nathan Sobo
5a409dde3c Rename File and Directory 'contents-change' to 'contents-changed' 2013-01-03 18:16:19 -07:00
Jon Rohan
fbbe59714e Having the trailing / in the directory treeview is cruft
I wanted to remove the trailing / in the tree view. However, I have no
idea if this breaks other stuff?
@nathansobo @probablycorey
2012-12-24 17:15:50 -08:00
Kevin Sawicki
20c69118ff Decorate ignored files/folders in tree-view 2012-11-02 15:33:38 -07:00
Corey Johnson
71562a6c33 Directory entries can only be files or other directories.
Does not handle file like broken symlinks for now
2012-09-11 11:07:59 -07:00
Nathan Sobo
c3e748a17c WIP: Use rake to start compiling resources (like require.coffee) 2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Corey Johnson
81f83482b0 Rename File.getName and Directory.getName to .getBaseName 2012-08-02 11:37:49 -07:00
Nathan Sobo
454557b502 Merge branch 'master' into global-find
Conflicts:
	spec/extensions/command-panel-spec.coffee
	src/app/buffer.coffee
	src/extensions/command-panel/command-panel.coffee
	src/extensions/command-panel/keymap.coffee
2012-07-24 17:59:49 -06:00
Corey Johnson
a95e406bf3 Remove unused vars from Directory 2012-06-27 10:12:44 -07:00
Corey Johnson
28f39cbdab When project's constructor is given a file as its path, it sets its path to the parent directory of the given file 2012-05-01 09:18:22 -07:00
Corey Johnson & Nathan Sobo
69a76d1b47 Can move files from the tree view 2012-04-27 14:18:55 -07:00
Corey Johnson & Nathan Sobo
3ac49e1cd5 add $native.unwatch(path, id) 2012-04-25 18:03:51 -07:00
Corey Johnson & Nathan Sobo
5aed1b012a PathWatcher executes callback when path is changed 2012-04-25 13:49:53 -07:00
Corey Johnson & Nathan Sobo
3f97d98ef9 Start on directory change events 2012-04-25 11:33:44 -06:00
Nathan Sobo
ea6930af54 Expanded/collapsed state of directories is preserved when an ancestor is collapsed 2012-04-23 16:23:57 -06:00
Nathan Sobo
b23785f28f Display directories first in the tree view. Style file names at same indent as directory names (beyond disclosure arrow) 2012-04-23 15:00:11 -06:00
Nathan Sobo
55c78e9550 Start on TreeView. It renders the entries in the current project's root directory. 2012-04-23 14:20:17 -06:00