Henrik Friedrichsen
1edf28a165
make contextmenu aware of commands
...
e.g. to process vim-like keybindings for navigation
fixes #108 , fixes #157 , fixes #178 , fixes #199 , fixes #250
2020-08-23 20:44:03 +02:00
Henrik Friedrichsen
4f71b2489b
implement command to reload config ( #243 )
...
* implement command to reload themes
* refresh keybindings after config reload
2020-08-12 01:12:08 +02:00
Henry Snopek
0f08a56f90
[feat] add Command::Noop
2020-06-25 15:45:53 +02:00
Henrik Friedrichsen
65126c5c78
add configuration value to drop default keybindings
...
resolves #204
2020-06-18 19:33:46 +02:00
Henrik Friedrichsen
4e7af1c920
add command/binding to jump to currently playing track
...
fixes #181
2020-04-18 21:57:41 +02:00
Henrik Friedrichsen
705a54c08c
reformat + remove redundant closure
2020-04-02 21:21:51 +02:00
Marcin Sobczyk
07be9dc48d
Command::Move: Add support for extreme moves
...
This patch adds a 'MoveAmount' enum that permits movements by integer
values or to abstract extremes which loosely translate to "top" for up
direction, "bottom" for down direction, etc. The goal behind the effort
is to add support for buttons like "Home" and "End".
The new enum has a 'Default' impl that yields a value of integer
movement by 1 field. This replaces the previous 'Option' wrap, that
in fact served the same purpose, with the value of '1' scattered
around different places in code.
Along with the enum, new commands have been defined to make use of it:
- "move top"
- "move bottom"
- "move leftmost"
- "move rightmost"
2020-03-31 10:49:08 +02:00
Henrik Friedrichsen
082675a5d7
push help view to stack instead of making it a separate screen
...
fixes #157
2020-03-21 15:51:35 +01:00
Henrik Friedrichsen
dccb36d8e7
update to rust edition 2018 + bump version
2020-03-15 11:06:24 +01:00
Henrik Friedrichsen
fa960a4eba
add initial help screen + keybinding -> command parsing
...
still needs some more work, i.e. to show commands in help instead of parsed data
structures, but it's a start.
fixes #117
fixes #121
2020-02-02 21:51:40 +01:00
Henrik Friedrichsen
bf2a72ad81
expose keybindings in CommandManager for help view
2020-02-02 20:38:55 +01:00
Henrik Friedrichsen
8924b85390
fix deprecation warnings that occured due to cursive 0.14.0 upgrade
2020-02-02 20:10:21 +01:00
Jonas Frei
9916d2c7b8
Changed 'seek' keybinding to match ncmpcpp and added fast-seek
2020-01-21 21:39:06 +01:00
Henrik Friedrichsen
a5da4897de
implement software volume mixing
...
closes #115
2020-01-11 18:11:41 +01:00
Henrik Friedrichsen
bde9db2c38
fix parsing of '+' keybinding
...
since it is also the delimiter for keybindings with modifiers, it needs special
treatment
2020-01-11 18:09:43 +01:00
Henrik Friedrichsen
85e9e99d87
rebind + change playlist update command to update entire library
2019-11-30 17:13:41 +01:00
thiagolopes
bd52869cce
Add emacs navigation keybindings
2019-10-06 00:13:53 -03:00
Henrik Friedrichsen
d213e8a54c
introduce new context menu for simplified controls
...
as outlined in #75
2019-06-10 00:07:18 +02:00
Henrik Friedrichsen
b59e9b38e6
add CommandResult for modal views
2019-06-09 23:55:12 +02:00
Rasmus Larsen
5500b34887
Remove dead code
2019-05-21 16:34:50 +02:00
Rasmus Larsen
4343343ee7
Implement silent default non-behaviour of a few commands
2019-05-21 16:05:12 +02:00
Rasmus Larsen
1e0d9ea952
Handle default command behavior
2019-05-21 16:01:56 +02:00
Rasmus Larsen
0beaa82a1f
Clippy fixes
2019-05-20 22:32:28 +02:00
Rasmus Larsen
1671db14c1
Move to enum-based commands
2019-05-20 22:15:12 +02:00
Rasmus Larsen
9ec80ac668
Remove unused imports
2019-05-10 13:07:12 +02:00
Rasmus Larsen
224597ae92
Move share command handling completely to ListView
2019-05-10 12:55:22 +02:00
Rasmus Larsen
4897d97931
Move URL handling to relevant structs and share selected song
2019-05-09 16:04:07 +02:00
Rasmus Larsen
a145d73072
Move keybind to
2019-05-08 18:45:10 +02:00
Rasmus Larsen
de1dea5c68
Add a keybind and shortcut to share the currently playing song
2019-05-07 23:39:15 +02:00
KoffeinFlummi
dce2f76f6e
Rewind to start on previous cmd
2019-04-28 11:43:15 +02:00
Henrik Friedrichsen
18c2f6466a
fix most of the clippy linter warnings
2019-04-23 22:28:05 +02:00
KoffeinFlummi
eed218d0c3
Implement browsing for albums, artists, playlists
2019-04-23 01:40:00 +02:00
KoffeinFlummi
4c974a83f7
Use command system for queue saving
2019-04-18 15:43:04 +02:00
KoffeinFlummi
210c7d9f4e
Implement saved tracks, albums, and artists
2019-04-16 19:52:22 +02:00
KoffeinFlummi
dd69a8c6f2
Fix keybinding parsing for Mod+Char
2019-04-16 19:45:06 +02:00
Henrik Friedrichsen
b72f560e5a
implement moving of tracks in queue
2019-04-05 00:27:20 +02:00
Henrik Friedrichsen
14c909862f
implement parsing of modifier+key combinations
2019-04-05 00:19:39 +02:00
Henrik Friedrichsen
d7848ec333
code formatting + minor refactorings
2019-03-28 05:42:47 +01:00
KoffeinFlummi
486bc7617e
Refactor command handling
2019-03-28 03:05:25 +01:00
Henrik Friedrichsen
83a394790f
implement deletion of playlists
...
closes #11
2019-03-26 22:24:20 +01:00
Henrik Friedrichsen
0e3c9fc504
use constants for listview IDs and search edit
2019-03-26 21:28:25 +01:00
Henrik Friedrichsen
4f8342da83
refactorial spring cleaning (cargo fmt + clippy)
2019-03-26 20:51:39 +01:00
KoffeinFlummi
45062bd89e
Add shuffle and repeat
2019-03-25 18:32:51 +01:00
KoffeinFlummi
e6a7d8a693
Add seeking
2019-03-25 18:32:51 +01:00
Henrik Friedrichsen
53255a48af
implement playlist update on demand + prune stale playlists
2019-03-23 18:38:58 +01:00
Henrik Friedrichsen
b318ac84e6
remove debug view + implement debug logging to file
...
closes #41
2019-03-23 15:48:54 +01:00
KoffeinFlummi
b7e0e87e44
Add scroll bar to ListView, remove ScrollView
2019-03-20 22:32:45 +01:00
Henrik Friedrichsen
e0d1d456f4
select first item in listviews initially
2019-03-17 23:03:35 +01:00
Henrik Friedrichsen
9842b89457
remove obsolete events and callbacks
2019-03-17 22:14:59 +01:00
Henrik Friedrichsen
d9eaa507c6
hardcode and arrow up/down keybindings for list navigation
...
this is considered default behaviour
2019-03-17 18:00:45 +01:00