aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-21Adding crop feature in ncmpcYannick LM1-0/+2
The "crop" command deletes all songs from the playlist, except the one currently being played.
2008-09-18removed the clock screenMax Kellermann1-4/+0
Why should an audio player display a large clock?
2008-09-18code style, indent with tabs VIMax Kellermann1-214/+199
Follow the same code style als MPD itself.
2008-09-18use the glib main event loopMax Kellermann1-13/+3
This big patch replaces our custom main loop with the event based glib main loop. This has several advantages: we can make all the tiny code bits in the main loop independent from each others, we can add additional file descriptors for polling (e.g. the mpdclient socket). We don't need the ncurses timeout() anymore, because glib will poll stdin for us.
2008-09-17code style, indent with tabs IVMax Kellermann1-26/+26
Follow the same code style als MPD itself.
2008-09-15fix shadow warningsMax Kellermann1-6/+6
Rename local variables and function parameters, so they don't shadow global variables.
2008-09-15include cleanupMax Kellermann1-8/+6
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15fix function prototypesMax Kellermann1-4/+3
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
2008-09-15const pointersMax Kellermann1-4/+4
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-12/+12
Follow the same code style als MPD itself. This patch only fixes parts of the code which are going to be touched in the following bunch of patches, i.e. there will be more "code style" patches in the future.
2007-11-30cmd_select_all addedAndreas Obergrusberger1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@7061 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-11-08go to root/parent dir key addedAndreas Obergrusberger1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5034 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-07lots of cool stuff!Andreas Obergrusberger1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4577 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-05interruption of lyrics loading + po blablaAndreas Obergrusberger1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4567 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04the updated sourcesAndreas Obergrusberger1-0/+6
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-06Added an experimental artist (browser) screenKalle Wallin1-2/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-1/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-21Dont lookup key if key==0 in find_key_command()Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1889 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin1-15/+15
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin1-13/+32
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Mouse support is now optional (enable-mouse)Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Support SIGSTOP, SIGCONT in raw modeKalle Wallin1-2/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1858 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-02Added basic ncurses mouse supportKalle Wallin1-2/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-30Added flags for conflicting, modified key bindings - check_key_bindings()Kalle Wallin1-67/+103
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22Added key bindings for move-up, move-down (Ctrl-K, Ctrl-J)Kalle Wallin1-3/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1616 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20Support cursor/down with j and kKalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19display errors without exiting when key bindings are brokenKalle Wallin1-46/+77
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1564 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-18Added a add command (for adding files or urls to the playlist)Kalle Wallin1-1/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Added the get_keyboard_command_with_timeout() function.Kalle Wallin1-5/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1419 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added an optional clock screen :)Kalle Wallin1-1/+7
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Added initial i18n supportKalle Wallin1-59/+60
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Addded support for the mpd update command (CMD_DB_UPDATE)Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-0/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07Added support for moving songs in a playlist (move-up,move-down).Kalle Wallin1-3/+16
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@936 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-23Added prototype for screen_resize().Kalle Wallin1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@880 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Fixed resize handling (SIGWINCH).Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Added seek, crossfade commands.Kalle Wallin1-1/+7
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Added copyright notice and license noticeKalle Wallin1-18/+50
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14Added command names (used with key bindings).Kalle Wallin1-74/+219
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@752 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06Removed all binding to ESC (stop).Kalle Wallin1-5/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@614 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06Added alternate key bindings for Up,Down to enable irpty control.Kalle Wallin1-3/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@610 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-05Added support for (auto) center/focus playlists.Kalle Wallin1-1/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@604 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31Updated key bindings, make shore we can stop with a standard key 's'.Kalle Wallin1-9/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Added update command.Kalle Wallin1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@513 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Added delete playlist feature.Kalle Wallin1-1/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added reversed and wrapped list search (find).Kalle Wallin1-6/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@497 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Added commands FIND and FIND_NEXT.Kalle Wallin1-2/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@367 09075e82-0dd4-0310-85a5-a0d7c8717e4f