Andrzej Rybczak
84a9af2ee9
make use of gcc's __attribute__ extension
2009-05-03 15:14:31 +02:00
Andrzej Rybczak
ab7dbe9cbe
redraw statusbar after terminal resize
...
previous changes broke this, so here is the fix.
2009-04-28 16:22:06 +02:00
Andrzej Rybczak
12fa8a9bf6
count number of applied formatting flags
2009-04-26 12:33:24 +02:00
Andrzej Rybczak
c7251ebb98
improve formatting removal
2009-04-19 22:19:52 +02:00
Andrzej Rybczak
88fa887776
new feature: allow searching in help, lyrics and info screens
2009-04-18 04:34:23 +02:00
Andrzej Rybczak
0978f2c228
prepare for physical song/dir deletion implementation
2009-04-17 13:25:28 +02:00
Andrzej Rybczak
33b2b829ab
fix moving single file within playlist
2009-04-17 03:15:07 +02:00
Andrzej Rybczak
2d8b5f7abc
rename Screen::Cmp() to Screen::ActiveWindow() as it's more logical
2009-04-03 22:29:03 +02:00
Andrzej Rybczak
1a9c035f0a
align \s in macro definitions
2009-04-03 22:22:13 +02:00
Andrzej Rybczak
2eb573bad2
use "" instead of '' in messages
2009-04-03 22:08:44 +02:00
Andrzej Rybczak
7f85a0dcd1
use flag to force status update rather than doing additional update
2009-04-01 16:15:19 +02:00
Andrzej Rybczak
00dcadcc8a
add support for consume mode
...
info about this feature can be found in mpd docs.
2009-04-01 14:51:09 +02:00
Andrzej Rybczak
b33c006fe4
improve reconnection handling
2009-04-01 14:18:38 +02:00
Andrzej Rybczak
310b6c0ecd
new feature: cyclic scrolling
2009-03-30 20:03:23 +02:00
Andrzej Rybczak
21bf4ff91c
do not check in local browser if mpd_music_dir var is set
2009-03-27 17:06:17 +01:00
Andrzej Rybczak
5f41640cd9
handle single command and remove hacks used as substitute for it
...
mpd-git has single command, which provides functionality
of both "repeat one" and "stop after current track" modes.
repeat one = single && repeat
stop after current track = single && !repeat
2009-03-27 16:40:55 +01:00
Andrzej Rybczak
343f778256
disable detecting currently used encoding as it's extremely ugly
2009-03-26 17:00:00 +01:00
Andrzej Rybczak
65f52da949
make it compile under mingw32 --without-curl --without-taglib
...
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
1b22f307ea
add support for pdcurses
2009-03-25 17:47:10 +01:00
Andrzej Rybczak
3710d3bafd
fix blocking playlist update
2009-03-24 17:38:48 +01:00
Andrzej Rybczak
f78e88e6aa
do not fetch status after succesful setvol command, set it locally
2009-03-23 16:30:12 +01:00
Andrzej Rybczak
9270a83a78
invoke callback immediately after sending update command succesfully
2009-03-22 20:01:39 +01:00
Andrzej Rybczak
ab265f2fdf
do not fetch mpd_Stats from mpd as it's unneded
2009-03-22 17:52:27 +01:00
Andrzej Rybczak
cf3746f301
always poll mpd twice per second
2009-03-22 15:10:04 +01:00
Andrzej Rybczak
23567ed4f1
show notification if given value is out of bounds
2009-03-20 18:19:24 +01:00
Andrzej Rybczak
3d5e62aa65
change default behaviour of 'go to given position' function
...
before that number without any other signs was treated as time
in seconds to go, now it's threated as %. treating a number as
seconds needs you to type 's' after numeric value.
2009-03-20 17:53:32 +01:00
Andrzej Rybczak
5cfe75a0c2
Revert "limit clear and crop function to playlist/playlist editor"
...
This was silly idea, I did this so no one could clear the playlist
by accident, but I forgot about the common situation when one can
just clear playlist and add new songs e.g. form browser immediately.
This reverts commit 047dabd41a .
2009-03-19 18:48:58 +01:00
Andrzej Rybczak
047dabd41a
limit clear and crop function to playlist/playlist editor
...
this will minimize the risk of unwanted clearing of playlist e.g. by
pressing 'c' key accidentaly in other screen than playlist/playlist editor.
2009-03-17 18:25:44 +01:00
Andrzej Rybczak
d1d1011eeb
make function 'clear' in playlist editor clear selected playlist
2009-03-17 18:24:35 +01:00
Andrzej Rybczak
b382784f6a
notify about selected items being removed from playlist
2009-03-17 16:58:55 +01:00
Andrzej Rybczak
aea0540f16
a few improvements for 'add selected' function
2009-03-17 16:43:33 +01:00
Andrzej Rybczak
a1b08c5776
add ('a') items to currently selected playlist in playlist editor
2009-03-16 17:10:43 +01:00
Andrzej Rybczak
8a1223aa18
enable playlist highlighting after saving playlist
2009-03-16 16:36:48 +01:00
Andrzej Rybczak
1e511d1d8d
fix now playing update if playlist is filtered
2009-03-15 13:35:18 +01:00
Andrzej Rybczak
3477c1514d
put check for playlist filtering in macro
2009-03-13 14:35:35 +01:00
Andrzej Rybczak
0aa36f3fb2
move Global::Timer to Playlist class
2009-03-12 20:20:26 +01:00
Andrzej Rybczak
24c37eb592
do not store commands list in MPD::Connection
...
it should have sent commandlist begin and end commands from the beginning,
having separated functions just to handle queueing commands was plainly ugly.
2009-03-12 17:30:25 +01:00
Andrzej Rybczak
2bb0aaef18
if selected items are separated, group them while moving
2009-03-12 13:32:24 +01:00
Andrzej Rybczak
c0d227a0c8
move selected items to actual cursor position, not to given one
...
this is much better as no position couting is needed.
2009-03-11 21:31:41 +01:00
Andrzej Rybczak
fd7ac3b3f5
new feature: move item(s) in playlist to given position
2009-03-11 20:27:55 +01:00
Andrzej Rybczak
29f49415dd
add support for regular expressions (basic and extended)
...
it intruduces regex support in search engine
and filtering/searching in all screens
2009-03-08 22:16:18 +01:00
Andrzej Rybczak
6be91a8216
improve searching a bit / fix going to previous found position
2009-03-08 17:45:28 +01:00
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
2009-03-08 01:58:49 +01:00
Andrzej Rybczak
b21ede24f4
move searching to Menu class, also remember last constraint
...
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
2009-03-07 18:23:31 +01:00
Andrzej Rybczak
3523caa592
some fixes for non-unicode locales
2009-03-07 13:26:36 +01:00
Andrzej Rybczak
e209a86e8e
allow for position go to in %, mm:ss format and numer of seconds
2009-03-06 14:12:40 +01:00
Andrzej Rybczak
67b7aaae8a
define mDialog as object, not ptr to object
2009-03-04 16:18:48 +01:00
Andrzej Rybczak
73f7980019
make blocking search constraints change after successful searching optional
...
it's still enabled by default though.
2009-03-03 21:13:02 +01:00
Andrzej Rybczak
b9cbacebff
new function: stop playing after current song
2009-03-01 11:26:39 +01:00
Andrzej Rybczak
aed227ab5f
new feature: go to currently playing song in browser
2009-02-27 00:20:45 +01:00