Commit Graph

6 Commits

Author SHA1 Message Date
Allan Odgaard
0defc9ea20 Prune redundant items from SCM data source
For uncommitted items we no longer show folders if items from these folders are already shown.

For untracked items we only show the top-level (untracked) directory and not the items it contains.
2012-08-18 15:30:25 +02:00
Allan Odgaard
af55f6b7bd Add deselectAll: to OakFileBrowser
I feel that the better API would be to make the selectedURLs property r/w (instead of read-only), but that is more involved since there is the case of setting a selection while the file browser is still loading items.
2012-08-18 15:30:24 +02:00
Allan Odgaard
64ff8a53e7 Go to SCM Status is now a toggle
This is implemented by invoking “go back” if already showing an SCM URL. If there is no history (unlikely) then we instead “go up (parent)” which should take us to the root of the repository.
2012-08-18 15:30:24 +02:00
Allan Odgaard
1250964a6d File browser shows context menu on ⌥F2
The key is consistent with the default key for bringing up the context menu in the text view — that key is however taken from the key bindings dictionary, so ideally we’d do the same in the file browser. Need to factor out the key bindings parsing code first though, and in theory the key bindings dictionary allow for multi-stroke bindings.

This implements issue #18.
2012-08-15 00:33:33 +02:00
jtbandes
0112532e64 Stop using deprecated NSSavePanel/NSOpenPanel methods 2012-08-12 12:59:43 +02:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00