Commit Graph

70 Commits

Author SHA1 Message Date
4ce6454ebb Add Norton Commander-like actions for F3 and F4 2018-12-03 22:05:00 +01:00
315b662581 Don't show .. in the root directory 2018-12-03 22:04:35 +01:00
4a2a49312b Fix formatting 2018-12-03 00:11:00 +01:00
7174b507d3 Fix crash on unknown groups 2018-12-01 15:57:35 +01:00
aae9c392fa Also sort symlinks to directories first 2018-11-10 01:32:59 +01:00
fad0d264a5 Support old libstdc++ 4.9
Now sdn can be built under Debian jessie with clang++ and libstdc++.
2018-11-04 19:46:06 +01:00
473aa8788c Update README 2018-11-03 17:04:50 +01:00
85ada4dd2b Fix build on not-my-system 2018-11-03 15:23:31 +01:00
e6ed7da395 Update README 2018-11-03 15:01:39 +01:00
c065238e75 Reliability improvement 2018-11-03 15:01:19 +01:00
579e4c9a34 Make confirming a search choose the item 2018-11-02 22:12:34 +01:00
3c056dde91 Add screenshot to README 2018-11-02 21:19:41 +01:00
081b4db5c3 Fix level popping 2018-11-02 20:22:50 +01:00
36454fb90c Fix history loading 2018-11-02 18:30:36 +01:00
6b1ff048b8 Flash column when sorting is changed 2018-11-02 18:30:35 +01:00
3790f8dfa0 Allow changing the sort column
Directories always come first and the .. entry even before that.
2018-11-02 18:07:06 +01:00
5c086016b5 Allow hiding so-called hidden files 2018-11-02 17:45:18 +01:00
232ecffa2d Allow reversing the sort 2018-11-02 17:25:10 +01:00
f3fffe4b25 Add an action to quit without chdir
Also fixed ACTION_CHOOSE_FULL to quote properly.
2018-11-02 15:50:58 +01:00
77313663a3 Update README 2018-11-02 15:40:56 +01:00
5f2eaa88e0 Create the config directory if needed 2018-11-02 15:37:56 +01:00
d6846e6327 Add an action for chdir 2018-11-02 15:09:27 +01:00
314ba114a1 Implement messages to the user 2018-11-02 15:05:04 +01:00
4de89faf7e Store runtime and configuration to a file
Added a toggle for gravity, now turned off by default.
2018-11-02 14:48:16 +01:00
beee2e2683 Unnecessary c_str() 2018-11-02 12:35:03 +01:00
4ab0db3c04 Make sure to quote empty strings 2018-11-02 12:08:43 +01:00
3624636c2f New config parser
Basically a subset of Bourne shell.
2018-11-01 22:42:49 +01:00
e80c56e249 Cleanup 2018-11-01 22:19:31 +01:00
2c595100ae Fix setcchar invocation 2018-11-01 20:05:06 +01:00
e4af5b4147 Remember cursor position in ancestor directories 2018-11-01 19:40:05 +01:00
c9bffc6046 Fix uninitialized iterator 2018-11-01 19:29:43 +01:00
292829852e Implement simple in-application help
It could be made more complicated but I guess it's fine for now.

We've learnt to run pagers.
2018-11-01 16:03:17 +01:00
db051698e6 Use words for prompts, not cryptic characters 2018-11-01 12:33:47 +01:00
51ed172d5d Only quote output when necessary 2018-10-27 21:26:11 +02:00
ffa5754b59 Cleanup 2018-10-26 07:51:44 +02:00
6f66aa3c06 Configurable key bindings 2018-10-25 23:05:34 +02:00
86b520006c Look up bindings through a map 2018-10-25 23:05:34 +02:00
2484c94b39 Fix key binding collisions
Still not fixed in handle_editor() though.
2018-10-25 23:05:33 +02:00
6e34f480a9 Finish copying the GNU ls coloring algorithm 2018-10-25 23:05:33 +02:00
1ba2709fda Align modification time right
To reflect GNU ls.
2018-10-25 14:58:53 +02:00
3e40137f7a Handle stat() errors, slight refactor
Symlink target information is now stored in entries.
2018-10-25 14:58:53 +02:00
6aa1e5d8a5 Show symlink targets
Rudimentary, needs a refactor.
2018-10-24 13:07:14 +02:00
6e879c9db9 Defer keypad() invocation 2018-10-24 10:23:37 +02:00
45f79abf9c Load users, groups and current time once per refresh
Avoids plenty of costly syscalls per loaded entry.
2018-10-24 10:23:26 +02:00
1b74b1976a Update copyright years 2018-10-24 07:45:23 +02:00
638d570cbd Add & and ~ chdir shortcuts
& goes to the starting directory, ~ goes home.
2018-10-24 05:16:22 +02:00
ae310d1380 Use Doxygen field comments 2018-10-24 05:05:26 +02:00
edf94db8df Limit inotify to visible events 2018-10-24 04:51:16 +02:00
70e391eed0 README: mention a similar project 2018-06-30 08:21:38 +02:00
4b4277b306 Make sure to fill the view when possible
When there were more items than would fit on the screen and the cursor
was at the end of the list, a reload causing items to disappear or
a vertical terminal enlargement would fail to adjust the start offset.
2018-06-22 19:51:05 +02:00