Code

ncmpc.git
20 years agoUse wattroff after painting the top line.
Kalle Wallin [Fri, 23 Apr 2004 17:21:49 +0000 (17:21 +0000)]
Use wattroff after painting the top line.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded prototype for screen_resize().
Kalle Wallin [Fri, 23 Apr 2004 17:05:11 +0000 (17:05 +0000)]
Added prototype for screen_resize().

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@880 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMake shure the cursor stays on the same row when deleting.
Kalle Wallin [Fri, 23 Apr 2004 17:04:22 +0000 (17:04 +0000)]
Make shure the cursor stays on the same row when deleting.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@879 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoDocumentation update.
Kalle Wallin [Fri, 23 Apr 2004 16:48:31 +0000 (16:48 +0000)]
Documentation update.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@878 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFixed list_window_check_selected().
Kalle Wallin [Thu, 22 Apr 2004 20:38:28 +0000 (20:38 +0000)]
Fixed list_window_check_selected().

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@876 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoChanged the way songs are added/deleted from playlist (#0000220).
Kalle Wallin [Thu, 22 Apr 2004 20:34:52 +0000 (20:34 +0000)]
Changed the way songs are added/deleted from playlist (#0000220).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@875 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFix that keeps the cursor hidden on aterm/Eterm when the terminal is resized.
Kalle Wallin [Thu, 22 Apr 2004 20:28:42 +0000 (20:28 +0000)]
Fix that keeps the cursor hidden on aterm/Eterm when the terminal is resized.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@874 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFixed resize handling (SIGWINCH).
Kalle Wallin [Wed, 21 Apr 2004 19:06:18 +0000 (19:06 +0000)]
Fixed resize handling (SIGWINCH).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoDisplay the target time when seeking.
Kalle Wallin [Wed, 21 Apr 2004 14:40:04 +0000 (14:40 +0000)]
Display the target time when seeking.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@869 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved a duplicate entry for CMD_TOGGLE_FIND_WRAP.
Kalle Wallin [Wed, 21 Apr 2004 14:28:36 +0000 (14:28 +0000)]
Removed a duplicate entry for CMD_TOGGLE_FIND_WRAP.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@868 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated
Kalle Wallin [Wed, 21 Apr 2004 08:42:46 +0000 (08:42 +0000)]
Updated

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@867 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoShow a message if a change is not applied.
Kalle Wallin [Wed, 21 Apr 2004 08:42:04 +0000 (08:42 +0000)]
Show a message if a change is not applied.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@866 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAS_HELP_STRING -> AC_HELP_STRING, because the first one failed on darwin.
Kalle Wallin [Wed, 21 Apr 2004 08:40:11 +0000 (08:40 +0000)]
AS_HELP_STRING -> AC_HELP_STRING, because the first one failed on darwin.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@865 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded seek_target_time, seek_song_id.
Kalle Wallin [Wed, 21 Apr 2004 08:37:08 +0000 (08:37 +0000)]
Added seek_target_time, seek_song_id.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@864 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded screen_idle() function.
Kalle Wallin [Wed, 21 Apr 2004 08:35:30 +0000 (08:35 +0000)]
Added screen_idle() function.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@863 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded support for seek,crossfade.
Kalle Wallin [Wed, 21 Apr 2004 08:34:30 +0000 (08:34 +0000)]
Added support for seek,crossfade.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@862 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded seek, crossfade commands.
Kalle Wallin [Wed, 21 Apr 2004 08:32:47 +0000 (08:32 +0000)]
Added seek, crossfade commands.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@861 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoInitialize highlight to zero.
Kalle Wallin [Tue, 20 Apr 2004 10:50:51 +0000 (10:50 +0000)]
Initialize highlight to zero.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@845 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agogit-svn-id: https://svn.musicpd.org/ncmpc/trunk@835 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Kalle Wallin [Mon, 19 Apr 2004 22:14:08 +0000 (22:14 +0000)]
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@835 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded keydef screen
Kalle Wallin [Mon, 19 Apr 2004 22:12:53 +0000 (22:12 +0000)]
Added keydef screen

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@834 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded copyright notice and license notice
Kalle Wallin [Mon, 19 Apr 2004 22:10:13 +0000 (22:10 +0000)]
Added copyright notice and license notice

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMajor cleanup. The goal of this is to simplify addition of "screens".
Kalle Wallin [Mon, 19 Apr 2004 22:06:41 +0000 (22:06 +0000)]
Major cleanup. The goal of this is to simplify addition of "screens".

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@832 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoSpecified that the highlight entry in help_text_row_t should be signed (ppc).
Kalle Wallin [Wed, 14 Apr 2004 20:54:23 +0000 (20:54 +0000)]
Specified that the highlight entry in help_text_row_t should be signed (ppc).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@765 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated ChangeLog.
Kalle Wallin [Wed, 14 Apr 2004 20:38:51 +0000 (20:38 +0000)]
Updated ChangeLog.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@764 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agogit-svn-id: https://svn.musicpd.org/ncmpc/trunk@763 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Kalle Wallin [Wed, 14 Apr 2004 20:35:03 +0000 (20:35 +0000)]
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@763 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRenamed ncmpcrc.sample config.sample.
Kalle Wallin [Wed, 14 Apr 2004 20:33:01 +0000 (20:33 +0000)]
Renamed ncmpcrc.sample config.sample.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@762 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded a sample key configuration file.
Kalle Wallin [Wed, 14 Apr 2004 20:32:24 +0000 (20:32 +0000)]
Added a sample key configuration file.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@761 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded optional support for a wide_cursor.
Kalle Wallin [Wed, 14 Apr 2004 20:27:18 +0000 (20:27 +0000)]
Added optional support for a wide_cursor.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@760 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoHighlight and center current track even when paused.
Kalle Wallin [Wed, 14 Apr 2004 19:34:28 +0000 (19:34 +0000)]
Highlight and center current track even when paused.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@759 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUse screen_status_printf() to display character conversion errors. Only use
Kalle Wallin [Wed, 14 Apr 2004 19:26:25 +0000 (19:26 +0000)]
Use screen_status_printf() to display character conversion errors. Only use
stderr if DEBUG is enabled.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@758 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoForce curses repaint the status window when adding directories (doupdate).
Kalle Wallin [Wed, 14 Apr 2004 19:24:18 +0000 (19:24 +0000)]
Force curses repaint the status window when adding directories (doupdate).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@757 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUse get_key_names() for the keys displayed in the welcome message.
Kalle Wallin [Wed, 14 Apr 2004 19:07:40 +0000 (19:07 +0000)]
Use get_key_names() for the keys displayed in the welcome message.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@756 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated version and added a SYSCONFDIR define to CFLAGS.
Kalle Wallin [Wed, 14 Apr 2004 19:05:59 +0000 (19:05 +0000)]
Updated version and added a SYSCONFDIR define to CFLAGS.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@755 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUse key descriptions from get_key_description (command.c).
Kalle Wallin [Wed, 14 Apr 2004 19:02:29 +0000 (19:02 +0000)]
Use key descriptions from get_key_description (command.c).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@754 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoCheck key bindings and quit if they are insane.
Kalle Wallin [Wed, 14 Apr 2004 19:00:51 +0000 (19:00 +0000)]
Check key bindings and quit if they are insane.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@753 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded command names (used with key bindings).
Kalle Wallin [Wed, 14 Apr 2004 18:57:27 +0000 (18:57 +0000)]
Added command names (used with key bindings).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@752 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agorelocated configuration file to ~/.ncmpc/config and added support for
Kalle Wallin [Wed, 14 Apr 2004 18:55:48 +0000 (18:55 +0000)]
relocated configuration file to ~/.ncmpc/config and added support for
key bindings in ~/.ncmpc/keys.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@751 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoPoll mpd twice/second, print a newline when exiting.
Kalle Wallin [Tue, 13 Apr 2004 18:49:17 +0000 (18:49 +0000)]
Poll mpd twice/second,  print a newline when exiting.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@733 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUse wclrtoeol instead of wclear in list_window_paint (wclear is slow).
Kalle Wallin [Tue, 13 Apr 2004 18:36:44 +0000 (18:36 +0000)]
Use wclrtoeol instead of wclear in list_window_paint (wclear is slow).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@732 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated readme.
Kalle Wallin [Tue, 6 Apr 2004 19:32:45 +0000 (19:32 +0000)]
Updated readme.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@617 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoSOCKLEN_T
Kalle Wallin [Tue, 6 Apr 2004 19:32:06 +0000 (19:32 +0000)]
SOCKLEN_T

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@616 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded a new test for socklen_t.
Kalle Wallin [Tue, 6 Apr 2004 19:31:05 +0000 (19:31 +0000)]
Added a new test for socklen_t.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@615 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved all binding to ESC (stop).
Kalle Wallin [Tue, 6 Apr 2004 15:05:20 +0000 (15:05 +0000)]
Removed all binding to ESC (stop).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@614 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoReplaced F1,F2,F3 with 1,2,3.
Kalle Wallin [Tue, 6 Apr 2004 15:02:56 +0000 (15:02 +0000)]
Replaced F1,F2,F3 with 1,2,3.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@613 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded a sample lirc (irpty) configuration file.
Kalle Wallin [Tue, 6 Apr 2004 13:45:42 +0000 (13:45 +0000)]
Added a sample lirc (irpty)  configuration file.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@612 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded alternate key bindings for Up,Down to enable irpty control.
Kalle Wallin [Tue, 6 Apr 2004 08:57:46 +0000 (08:57 +0000)]
Added alternate key bindings for Up,Down to enable irpty control.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@610 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded a welcome message (help).
Kalle Wallin [Tue, 6 Apr 2004 08:45:11 +0000 (08:45 +0000)]
Added a welcome message (help).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@609 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFixed the list_window_check_selected() function.
Kalle Wallin [Mon, 5 Apr 2004 08:59:59 +0000 (08:59 +0000)]
Fixed the list_window_check_selected() function.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@607 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded input_timeout.
Kalle Wallin [Mon, 5 Apr 2004 08:58:48 +0000 (08:58 +0000)]
Added input_timeout.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@606 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved old reference to mpc-ncurses.
Kalle Wallin [Mon, 5 Apr 2004 08:57:38 +0000 (08:57 +0000)]
Removed old reference to mpc-ncurses.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@605 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded support for (auto) center/focus playlists.
Kalle Wallin [Mon, 5 Apr 2004 08:56:50 +0000 (08:56 +0000)]
Added support for (auto) center/focus playlists.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@604 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded auto-center option.
Kalle Wallin [Mon, 5 Apr 2004 08:54:23 +0000 (08:54 +0000)]
Added auto-center option.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@603 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded strcasestr prototype.
Kalle Wallin [Wed, 31 Mar 2004 21:45:19 +0000 (21:45 +0000)]
Added strcasestr prototype.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@574 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFixed som spelling errors.
Kalle Wallin [Wed, 31 Mar 2004 14:34:49 +0000 (14:34 +0000)]
Fixed som spelling errors.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@558 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoOnly delete a song if it exits.
Kalle Wallin [Wed, 31 Mar 2004 14:22:55 +0000 (14:22 +0000)]
Only delete a song if it exits.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@557 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved cursor to main window (selected_row,0) when idle.
Kalle Wallin [Wed, 31 Mar 2004 14:05:43 +0000 (14:05 +0000)]
Moved cursor to main window (selected_row,0) when idle.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@556 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoDocumentation changes for the 0.10.0 realease.
Kalle Wallin [Wed, 31 Mar 2004 13:53:33 +0000 (13:53 +0000)]
Documentation changes for the 0.10.0 realease.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@555 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved cursor to main window (selected_row,0) when idle.
Kalle Wallin [Wed, 31 Mar 2004 13:52:36 +0000 (13:52 +0000)]
Moved cursor to main window (selected_row,0) when idle.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@554 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated key bindings, make shore we can stop with a standard key 's'.
Kalle Wallin [Wed, 31 Mar 2004 13:51:24 +0000 (13:51 +0000)]
Updated key bindings, make shore we can stop with a standard key 's'.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@553 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoReplaced g_utf8_strlen() with strlen()
Kalle Wallin [Mon, 29 Mar 2004 20:02:08 +0000 (20:02 +0000)]
Replaced g_utf8_strlen() with strlen()

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@545 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded error handling in the character conversion functions.
Kalle Wallin [Mon, 29 Mar 2004 19:43:12 +0000 (19:43 +0000)]
Added error handling in the character conversion functions.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@544 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoCall g_build_filename() the correct way.
Kalle Wallin [Mon, 29 Mar 2004 18:38:44 +0000 (18:38 +0000)]
Call g_build_filename() the correct way.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@542 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved the concat_path() function.
Kalle Wallin [Mon, 29 Mar 2004 18:15:45 +0000 (18:15 +0000)]
Removed the concat_path() function.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@540 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoChanged non blocking read timeout from 100ms to 250ms.
Kalle Wallin [Mon, 29 Mar 2004 18:14:29 +0000 (18:14 +0000)]
Changed non blocking read timeout from 100ms to 250ms.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@539 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoStarted to use glib.
Kalle Wallin [Mon, 29 Mar 2004 18:13:24 +0000 (18:13 +0000)]
Started to use glib.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved --with-default-charset option.
Kalle Wallin [Mon, 29 Mar 2004 18:12:30 +0000 (18:12 +0000)]
Removed --with-default-charset option.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@537 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoRemoved extra source - langinfo.c
Kalle Wallin [Mon, 29 Mar 2004 18:11:44 +0000 (18:11 +0000)]
Removed extra source - langinfo.c

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@536 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated to 0.10.1
Kalle Wallin [Mon, 29 Mar 2004 18:11:11 +0000 (18:11 +0000)]
Updated to 0.10.1

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@535 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded password support.
Kalle Wallin [Mon, 29 Mar 2004 18:09:38 +0000 (18:09 +0000)]
Added password support.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@534 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoStarted to use glibs neat timer functionality in the main loop.
Kalle Wallin [Sun, 28 Mar 2004 23:25:00 +0000 (23:25 +0000)]
Started to use glibs neat timer functionality in the main loop.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@527 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoWe now allocate and free memory with glib
Kalle Wallin [Sun, 28 Mar 2004 21:27:11 +0000 (21:27 +0000)]
We now allocate and free memory with glib

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@526 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoCorrected a spelling error strup => strdup.
Kalle Wallin [Sun, 28 Mar 2004 21:00:23 +0000 (21:00 +0000)]
Corrected a spelling error strup => strdup.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@525 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoStarted to use glib (not iconv) for character set conversions.
Kalle Wallin [Sun, 28 Mar 2004 20:45:29 +0000 (20:45 +0000)]
Started to use glib (not iconv) for character set conversions.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@524 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved cursor to main window (0,0) when idle
Kalle Wallin [Sun, 28 Mar 2004 16:38:25 +0000 (16:38 +0000)]
Moved cursor to main window (0,0) when idle

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@523 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoDistinguish directories, music and playlists with <d>,<m> and <p>.
Kalle Wallin [Sun, 28 Mar 2004 14:55:37 +0000 (14:55 +0000)]
Distinguish directories, music and playlists with <d>,<m> and <p>.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@522 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoClear top window when the header changes.
Kalle Wallin [Sun, 28 Mar 2004 14:53:22 +0000 (14:53 +0000)]
Clear top window when the header changes.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@521 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved random,repeat notification from main.c
Kalle Wallin [Sat, 27 Mar 2004 23:14:00 +0000 (23:14 +0000)]
Moved random,repeat notification from main.c

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@520 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved random,repeat notification to main.c
Kalle Wallin [Sat, 27 Mar 2004 21:44:58 +0000 (21:44 +0000)]
Moved random,repeat notification to main.c

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@519 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoInclude "config.h" before support.h
Kalle Wallin [Sat, 27 Mar 2004 20:56:22 +0000 (20:56 +0000)]
Include "config.h" before support.h

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@518 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoInclude "config.h" before "support.h"
Kalle Wallin [Sat, 27 Mar 2004 20:55:26 +0000 (20:55 +0000)]
Include "config.h" before "support.h"

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@517 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMoved IS_WHITESPACE macor to support.h
Kalle Wallin [Sat, 27 Mar 2004 20:54:30 +0000 (20:54 +0000)]
Moved IS_WHITESPACE macor to support.h

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@516 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoInitialize iconv_to_utf8 (used when saving playlists).
Kalle Wallin [Sat, 27 Mar 2004 20:51:28 +0000 (20:51 +0000)]
Initialize iconv_to_utf8 (used when saving playlists).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@515 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded update command.
Kalle Wallin [Sat, 27 Mar 2004 16:52:36 +0000 (16:52 +0000)]
Added update command.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@513 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded delete playlist feature.
Kalle Wallin [Sat, 27 Mar 2004 16:36:01 +0000 (16:36 +0000)]
Added delete playlist feature.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@512 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoDefine the read timeout in screen.h
Kalle Wallin [Sat, 27 Mar 2004 16:34:56 +0000 (16:34 +0000)]
Define the read timeout in screen.h

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@511 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded function list_window_check_selected().
Kalle Wallin [Sat, 27 Mar 2004 16:22:04 +0000 (16:22 +0000)]
Added function list_window_check_selected().

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@510 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded function screen_getch().
Kalle Wallin [Sat, 27 Mar 2004 16:21:19 +0000 (16:21 +0000)]
Added function screen_getch().

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@509 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoOnly use colors if the terminal supports colors.
Kalle Wallin [Sat, 27 Mar 2004 12:03:40 +0000 (12:03 +0000)]
Only use colors if the terminal supports colors.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@508 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoFixed bug 0000212
Kalle Wallin [Fri, 26 Mar 2004 23:16:49 +0000 (23:16 +0000)]
Fixed bug 0000212

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@505 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded file langinfo.c, used on systems without nl_langinfo() support.
Kalle Wallin [Fri, 26 Mar 2004 17:27:57 +0000 (17:27 +0000)]
Added file langinfo.c, used on systems without nl_langinfo() support.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@503 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoReplaced wrefresh() with wnoutrefresh().
Kalle Wallin [Fri, 26 Mar 2004 13:28:51 +0000 (13:28 +0000)]
Replaced wrefresh() with wnoutrefresh().

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@499 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded support for CMD_TOGGLE_FIND_WRAP.
Kalle Wallin [Fri, 26 Mar 2004 12:32:29 +0000 (12:32 +0000)]
Added support for CMD_TOGGLE_FIND_WRAP.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@498 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded reversed and wrapped list search (find).
Kalle Wallin [Fri, 26 Mar 2004 12:31:40 +0000 (12:31 +0000)]
Added reversed and wrapped list search (find).

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@497 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoUpdated the logic in charset_close(), why free stuff that isnt allocated.
Kalle Wallin [Fri, 26 Mar 2004 11:06:29 +0000 (11:06 +0000)]
Updated the logic in charset_close(), why free stuff that isnt allocated.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@496 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoSwitch to the version shipped with libiconv instead of one shipped with
Kalle Wallin [Fri, 26 Mar 2004 10:57:42 +0000 (10:57 +0000)]
Switch to the version shipped with libiconv instead of one shipped with
gnu gettext (0.12.1). autogen.sh should now work on darwin.

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@495 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoforgot to add this
Warren Dukes [Fri, 26 Mar 2004 05:03:28 +0000 (05:03 +0000)]
forgot to add this

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@492 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoneed to put a Makefile in doc directory, so that
Warren Dukes [Fri, 26 Mar 2004 04:44:46 +0000 (04:44 +0000)]
need to put a Makefile in doc directory, so that
man pages and such are installed in the proper place

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@491 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoMore stuff done :)
Kalle Wallin [Thu, 25 Mar 2004 12:56:31 +0000 (12:56 +0000)]
More stuff done :)

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@479 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded sample configuration file to doc_DATA
Kalle Wallin [Thu, 25 Mar 2004 12:55:29 +0000 (12:55 +0000)]
Added sample configuration file to doc_DATA

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@478 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded support for loading playlists
Kalle Wallin [Thu, 25 Mar 2004 12:54:51 +0000 (12:54 +0000)]
Added support for loading playlists

git-svn-id: https://svn.musicpd.org/ncmpc/trunk@477 09075e82-0dd4-0310-85a5-a0d7c8717e4f