Code

ncmpc.git
20 years agoSupport cursor/down with j and k
Kalle Wallin [Sun, 20 Jun 2004 20:15:33 +0000 (20:15 +0000)]
Support cursor/down with j and k

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

20 years agoAdded _utf8 suffix to all functions that take utf8 arguments.
Kalle Wallin [Sun, 20 Jun 2004 20:02:33 +0000 (20:02 +0000)]
Added _utf8 suffix to all functions that take utf8 arguments.

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

20 years agoDont set the xterm title
Kalle Wallin [Sun, 20 Jun 2004 10:01:53 +0000 (10:01 +0000)]
Dont set the xterm title

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

20 years agolet mpd add directories (just send the path)
Kalle Wallin [Sun, 20 Jun 2004 10:00:25 +0000 (10:00 +0000)]
let mpd add directories (just send the path)

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

20 years agoAdded $Id$ to svn:keywords, Added NEWS to project doc files
Kalle Wallin [Sat, 19 Jun 2004 20:04:07 +0000 (20:04 +0000)]
Added $Id$ to svn:keywords, Added NEWS to project doc files

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

20 years agoMake shure the list window is repainted after a completion list is displayed
Kalle Wallin [Sat, 19 Jun 2004 19:53:38 +0000 (19:53 +0000)]
Make shure the list window is repainted after a completion list is displayed

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

20 years agoadded help for the add command
Kalle Wallin [Sat, 19 Jun 2004 19:52:45 +0000 (19:52 +0000)]
added help for the add command

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

20 years agoadded type argument to gcmp_list_from_path()
Kalle Wallin [Sat, 19 Jun 2004 19:33:46 +0000 (19:33 +0000)]
added type argument to gcmp_list_from_path()

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

20 years agotry to complete even if the line is empty
Kalle Wallin [Sat, 19 Jun 2004 19:32:52 +0000 (19:32 +0000)]
try to complete even if the line is empty

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

20 years agofixed the display of completion lists
Kalle Wallin [Sat, 19 Jun 2004 19:32:19 +0000 (19:32 +0000)]
fixed the display of completion lists

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

20 years agodisplay errors without exiting when key bindings are broken
Kalle Wallin [Sat, 19 Jun 2004 19:31:14 +0000 (19:31 +0000)]
display errors without exiting when key bindings are broken

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

20 years agoAdded completion stuff
Kalle Wallin [Fri, 18 Jun 2004 14:21:53 +0000 (14:21 +0000)]
Added completion stuff

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

20 years agoAdded utils.c, utils.h to the project
Kalle Wallin [Fri, 18 Jun 2004 14:21:01 +0000 (14:21 +0000)]
Added utils.c, utils.h to the project

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

20 years agoAdded a add command (for adding files or urls to the playlist)
Kalle Wallin [Fri, 18 Jun 2004 14:20:19 +0000 (14:20 +0000)]
Added a add command (for adding files or urls to the playlist)

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

20 years agoAdded the mpdclient_cmd_add_path function
Kalle Wallin [Fri, 18 Jun 2004 14:19:23 +0000 (14:19 +0000)]
Added the mpdclient_cmd_add_path function

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

20 years agoenabled plchanges, update playlist_length after removing songs
Kalle Wallin [Thu, 17 Jun 2004 21:38:50 +0000 (21:38 +0000)]
enabled plchanges, update playlist_length after removing songs

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

20 years agoadded ncmpc.h to POTFILES
Kalle Wallin [Wed, 16 Jun 2004 11:20:36 +0000 (11:20 +0000)]
added ncmpc.h to POTFILES

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

20 years agoChanged option syntax and added list-format and status-format to CONFIGURATION
Kalle Wallin [Wed, 16 Jun 2004 11:18:48 +0000 (11:18 +0000)]
Changed option syntax and added list-format and status-format to CONFIGURATION

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

20 years agoUse the alert color in screen_readln()
Kalle Wallin [Wed, 16 Jun 2004 11:14:25 +0000 (11:14 +0000)]
Use the alert color in screen_readln()

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

20 years agolibmpdclient updated (r1507) - added path to mpdclient_cmd_db_update()
Kalle Wallin [Wed, 16 Jun 2004 11:13:27 +0000 (11:13 +0000)]
libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update()

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

20 years agoDisable plchanges - need to redesign the plchanges code
Kalle Wallin [Tue, 15 Jun 2004 21:12:55 +0000 (21:12 +0000)]
Disable plchanges - need to redesign the plchanges code

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

20 years agoModified %shortfile% format to not shorten urls
Kalle Wallin [Tue, 15 Jun 2004 15:32:18 +0000 (15:32 +0000)]
Modified %shortfile% format to not shorten urls

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

20 years agoRenamed %basename% format %shortfile%
Kalle Wallin [Tue, 15 Jun 2004 13:31:19 +0000 (13:31 +0000)]
Renamed %basename% format %shortfile%

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

20 years agogit-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Kalle Wallin [Tue, 15 Jun 2004 13:17:22 +0000 (13:17 +0000)]
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded list-format and status-format conf options
Kalle Wallin [Tue, 15 Jun 2004 13:10:54 +0000 (13:10 +0000)]
Added list-format and status-format conf options

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

20 years agoSort playlist if needed after plchanges,
Kalle Wallin [Tue, 15 Jun 2004 12:53:46 +0000 (12:53 +0000)]
Sort playlist if needed after plchanges,
update the song position fields in mpdclient_cmd_move,
use song id's by default (ENABLE_SONG_ID)

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

20 years agoOnly display the "change color" error message if we need init_color()
Kalle Wallin [Mon, 14 Jun 2004 23:26:28 +0000 (23:26 +0000)]
Only display the "change color" error message if we need init_color()

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

20 years agoUpdated error handling
Kalle Wallin [Mon, 14 Jun 2004 23:05:24 +0000 (23:05 +0000)]
Updated error handling

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

20 years agoFixed mpdclient_filelist_update()
Kalle Wallin [Mon, 14 Jun 2004 21:28:18 +0000 (21:28 +0000)]
Fixed mpdclient_filelist_update()

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

20 years agoMajor cleanup of the mpd client code (mpc->mpdclient)
Kalle Wallin [Mon, 14 Jun 2004 18:32:31 +0000 (18:32 +0000)]
Major cleanup of the mpd client code (mpc->mpdclient)

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

20 years agoAdded the strscroll function
Kalle Wallin [Wed, 9 Jun 2004 17:36:27 +0000 (17:36 +0000)]
Added the strscroll function

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

20 years agoUpdated the reconnect code to allow user to abort in raw mode
Kalle Wallin [Wed, 9 Jun 2004 17:31:24 +0000 (17:31 +0000)]
Updated the reconnect code to allow user to abort in raw mode

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

20 years agoUpdated the get_title callback.
Kalle Wallin [Wed, 9 Jun 2004 17:27:05 +0000 (17:27 +0000)]
Updated the get_title callback.

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

20 years agoUse the terminal in raw mode - ignore terminal control characters
Kalle Wallin [Wed, 9 Jun 2004 17:24:11 +0000 (17:24 +0000)]
Use the terminal in raw mode - ignore terminal control characters
Changed arguments to the get_title callback

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

20 years agoAdded the get_keyboard_command_with_timeout() function.
Kalle Wallin [Wed, 9 Jun 2004 17:17:31 +0000 (17:17 +0000)]
Added the get_keyboard_command_with_timeout() function.

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

20 years agoFixed a small layout bug whith long strings in list_window_paint()
Kalle Wallin [Wed, 9 Jun 2004 17:03:53 +0000 (17:03 +0000)]
Fixed a small layout bug whith long strings in list_window_paint()

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

20 years agoDisplay the the entire url when a streams metadata==NULL
Kalle Wallin [Tue, 8 Jun 2004 14:02:24 +0000 (14:02 +0000)]
Display the the entire url when a streams metadata==NULL
s no metadata, can you display the

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

20 years agoCheck playlist length and remove songs (plchanges command)
Kalle Wallin [Tue, 8 Jun 2004 13:15:03 +0000 (13:15 +0000)]
Check playlist length and remove songs (plchanges command)

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

20 years agoDisplay stream names in the list window.
Kalle Wallin [Mon, 7 Jun 2004 21:48:16 +0000 (21:48 +0000)]
Display stream names in the list window.

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

20 years agoFixed resize handling
Kalle Wallin [Mon, 7 Jun 2004 21:42:49 +0000 (21:42 +0000)]
Fixed resize handling

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

20 years agoSupport plchanges
Kalle Wallin [Mon, 7 Jun 2004 21:32:49 +0000 (21:32 +0000)]
Support plchanges

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

20 years agoDisable nls support if glib is pre 2.4 (OSX)
Kalle Wallin [Mon, 7 Jun 2004 21:29:10 +0000 (21:29 +0000)]
Disable nls support if glib is pre 2.4 (OSX)

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

20 years agoAdded an optional clock screen :)
Kalle Wallin [Sun, 6 Jun 2004 21:03:03 +0000 (21:03 +0000)]
Added an optional clock screen :)

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

20 years agoAdded the svn:ignore property
Kalle Wallin [Sun, 6 Jun 2004 19:05:41 +0000 (19:05 +0000)]
Added the svn:ignore property

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

20 years agoAdded the svn:ignore property
Kalle Wallin [Sun, 6 Jun 2004 18:56:53 +0000 (18:56 +0000)]
Added the svn:ignore property

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

20 years agoAdded wreadln.c, wreadln.h a simple line editor
Kalle Wallin [Sun, 6 Jun 2004 16:40:16 +0000 (16:40 +0000)]
Added wreadln.c, wreadln.h a simple line editor

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

20 years agoMoved charset initialization code to main.c, added bind_textdomain_codeset()
Kalle Wallin [Sun, 6 Jun 2004 14:11:06 +0000 (14:11 +0000)]
Moved charset initialization code to main.c, added bind_textdomain_codeset()

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

20 years agoi18n - ncmpc is now bilingual (sv)
Kalle Wallin [Sun, 6 Jun 2004 11:02:26 +0000 (11:02 +0000)]
i18n - ncmpc is now bilingual (sv)

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

20 years agogit-svn-id: https://svn.musicpd.org/ncmpc/trunk@1347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Kalle Wallin [Sat, 5 Jun 2004 18:58:37 +0000 (18:58 +0000)]
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1347 09075e82-0dd4-0310-85a5-a0d7c8717e4f

20 years agoAdded initial i18n support
Kalle Wallin [Sat, 5 Jun 2004 18:51:26 +0000 (18:51 +0000)]
Added initial i18n support

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

20 years agoAddded support for the mpd update command (CMD_DB_UPDATE)
Kalle Wallin [Sat, 5 Jun 2004 12:56:56 +0000 (12:56 +0000)]
Addded support for the mpd update command (CMD_DB_UPDATE)

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

20 years agoChanged directory layout (for future use of gettext)
Kalle Wallin [Sat, 5 Jun 2004 11:21:43 +0000 (11:21 +0000)]
Changed directory layout (for future use of gettext)

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

20 years agoRedesigned ncmpc's color support
Kalle Wallin [Fri, 7 May 2004 07:52:19 +0000 (07:52 +0000)]
Redesigned ncmpc's color support

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

20 years agoAdded support for moving songs in a playlist (move-up,move-down).
Kalle Wallin [Fri, 7 May 2004 07:49:06 +0000 (07:49 +0000)]
Added support for moving songs in a playlist (move-up,move-down).

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

20 years agoThe background color can now be assigned to 'none' (use the current color).
Kalle Wallin [Mon, 3 May 2004 11:44:22 +0000 (11:44 +0000)]
The background color can now be assigned to 'none' (use the current color).

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

20 years agoChanged the old CVS Id tag to a SVN Id tag, version updated to 0.10.2-svn
Kalle Wallin [Mon, 3 May 2004 11:32:15 +0000 (11:32 +0000)]
Changed the old CVS Id tag to a SVN Id tag, version updated to 0.10.2-svn

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

20 years agoReverted back to r875
Kalle Wallin [Fri, 23 Apr 2004 18:34:32 +0000 (18:34 +0000)]
Reverted back to r875

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

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