Commit Graph

1709 Commits

Author SHA1 Message Date
Andrzej Rybczak 1daa41bde6 allow for setting host and port with command line switches 2009-03-26 21:50:36 +01:00
Andrzej Rybczak 25f0b4fabc pass to iconv "utf-8" as name of utf8 encoding instead of "utf8"
it seems win32 libiconv doesn't support utf8.
2009-03-26 21:02:38 +01:00
Andrzej Rybczak 49a13222a3 get proper user home dir on WIN32 and adjust folders in this case a bit 2009-03-26 20:23:47 +01:00
Andrzej Rybczak a670be05fe fix compilation --without-curl 2009-03-26 19:22:48 +01:00
Andrzej Rybczak dd471ef1c6 handle iconv() function that takes const char ** instead of char ** 2009-03-26 18:37:47 +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 344fc21d76 use pthread_t * handlers rather than pthread_t
pthread-win32 doesn't accept assigning zero to pthread_t type,
so we need to use pointers instead. this is more semantic anyway.
2009-03-26 16:18:11 +01:00
Andrzej Rybczak c634059834 put macros definition into parenthesis to avoid bugs 2009-03-26 12:27:57 +01:00
Andrzej Rybczak a6635322a8 improve handling backspace key 2009-03-26 12:26:22 +01:00
Andrzej Rybczak cbc452fde5 check for Xinitscr in pdcurses and define XCURSES if available 2009-03-26 12:10:04 +01:00
Andrzej Rybczak 48f3361e2d improve conversions std::string <=> std::wstring 2009-03-26 12:00:11 +01:00
Andrzej Rybczak 79ac343fc0 fix overriding Clock::Scroll() 2009-03-25 23:15:29 +01:00
Andrzej Rybczak f04472641b make it compile under mingw32 --with-curl 2009-03-25 23:13:34 +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 fcf4a44042 allow to choose name another than XCurses for pdcurses library to search for 2009-03-25 20:14:02 +01:00
Andrzej Rybczak de98176198 make code from Browser::GetLocalDirectory() portable 2009-03-25 19:52:03 +01:00
Andrzej Rybczak 1b22f307ea add support for pdcurses 2009-03-25 17:47:10 +01:00
Andrzej Rybczak f24db993aa fix reapplying filter the same as the last one used
I was passing Menu::itsFilter by const reference to Menu::ApplyFilter().
however, the function was clearing all filtering related stuff, including
itsFilter itself, so passed reference was pointing at previously cleared
string. then the function checked if new filter was empty and it obviously
was, so exited then. funny bug.
2009-03-24 19:26:47 +01:00
Andrzej Rybczak 5b36fda511 reapply filter even if it's the same as the last one applied 2009-03-24 18:11:21 +01:00
Andrzej Rybczak 3710d3bafd fix blocking playlist update 2009-03-24 17:38:48 +01:00
Andrzej Rybczak e5b9d83a10 add keybinding for opening lyrics in external editor to help screen 2009-03-23 21:35:50 +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 8e350292ad ...but at first check if there is callback to invoke. 2009-03-22 20:06:03 +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 ffbcfb7e18 poll mpd once per second, no need to do it more often 2009-03-22 16:11:44 +01:00
Andrzej Rybczak bf71a01b1c ignore keycodes <10 || >10 && <32 in Window::GetString() 2009-03-22 15:14:12 +01:00
Andrzej Rybczak cf3746f301 always poll mpd twice per second 2009-03-22 15:10:04 +01:00
Andrzej Rybczak b58864e682 fix bolding np song with 'repeat one' function enabled 2009-03-21 13:41:53 +01:00
Andrzej Rybczak b2317df843 provide file with locales and corresponding encodings 2009-03-20 20:33:35 +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 eeb1951547 fix for clock misrendering
clearing screen explicitely before displaying it apparently
fixes the problem with last digits being misrendered sometimes.
2009-03-20 17:44:02 +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 a1a2ba4eed show columns' titles if browser displays them at start 2009-03-18 18:42:36 +01:00
Andrzej Rybczak 503c4964d5 Revert "use inline functions instead of macros in charset.h"
This reverts commit 7f2a635ac5.
2009-03-17 23:57:36 +01:00
Andrzej Rybczak 42b11910cc update NEWS / version bump 2009-03-17 19:58:24 +01:00
Andrzej Rybczak a9bad6863b check if ptr is NULL before dereferencing it in Menu::GetSelected() 2009-03-17 19:48:34 +01:00
Andrzej Rybczak 204189fe33 update man and example config 2009-03-17 19:44:27 +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 20055afac4 call Song::Localize() in Display::SongInColumns() 2009-03-15 22:42:28 +01:00
Andrzej Rybczak 1e511d1d8d fix now playing update if playlist is filtered 2009-03-15 13:35:18 +01:00
Andrzej Rybczak 31ab01cc1c fix prototype of write_data() function used by curl
maybe this works, but I don't want it to suddenly stop working
some day just because curl guys made their library more strict.
2009-03-14 22:15:25 +01:00
Andrzej Rybczak 24fc414826 fix bolding/unbolding items, if screen is filtered 2009-03-14 18:04:31 +01:00
Andrzej Rybczak aad83e9b6c fix clearing statusbar if playing is stopped 2009-03-13 15:24:12 +01:00