aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* removed my_wgetch(), switch to wgetch()Max Kellermann2008-10-061-11/+1
| | | | | There are no special cases left for my_wgetch() to handle. We can remove it and use the original wgetch() instead.
* disable ncurses raw modeMax Kellermann2008-10-061-9/+0
| | | | | We're better off doing our own signal handling, instead of switching ncurses to raw mode. Anyway, it was commented out and didn't work...
* removed KEY_RESIZEMax Kellermann2008-10-031-4/+0
| | | | | Since we are handling SIGWINCH, we do not need to handle KEY_RESIZE from ncurses. Remove it.
* code style, indent with tabs XIMax Kellermann2008-10-031-148/+144
| | | | Follow the same code style als MPD itself.
* moved i18n macros to i18n.hMax Kellermann2008-10-021-0/+1
| | | | | Don't make everybody include ncmpc.h just to have generic features. Move generic i18n macros to a separate header.
* Adding crop feature in ncmpcYannick LM2008-09-211-0/+2
| | | | | The "crop" command deletes all songs from the playlist, except the one currently being played.
* removed the clock screenMax Kellermann2008-09-181-4/+0
| | | | Why should an audio player display a large clock?
* code style, indent with tabs VIMax Kellermann2008-09-181-214/+199
| | | | Follow the same code style als MPD itself.
* use the glib main event loopMax Kellermann2008-09-181-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.
* code style, indent with tabs IVMax Kellermann2008-09-171-26/+26
| | | | Follow the same code style als MPD itself.
* fix shadow warningsMax Kellermann2008-09-151-6/+6
| | | | | Rename local variables and function parameters, so they don't shadow global variables.
* include cleanupMax Kellermann2008-09-151-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.
* fix function prototypesMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-4/+4
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* code style, indent with tabsMax Kellermann2008-09-151-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.
* cmd_select_all addedAndreas Obergrusberger2007-11-301-0/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@7061 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* go to root/parent dir key addedAndreas Obergrusberger2006-11-081-0/+4
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5034 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* lots of cool stuff!Andreas Obergrusberger2006-08-071-1/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4577 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* interruption of lyrics loading + po blablaAndreas Obergrusberger2006-08-051-0/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4567 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-0/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an experimental artist (browser) screenKalle Wallin2005-06-061-2/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a search screenKalle Wallin2004-11-151-1/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Dont lookup key if key==0 in find_key_command()Kalle Wallin2004-07-211-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1889 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin2004-07-131-15/+15
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin2004-07-131-13/+32
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Mouse support is now optional (enable-mouse)Kalle Wallin2004-07-121-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Support SIGSTOP, SIGCONT in raw modeKalle Wallin2004-07-121-2/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1858 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added basic ncurses mouse supportKalle Wallin2004-07-021-2/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added flags for conflicting, modified key bindings - check_key_bindings()Kalle Wallin2004-06-301-67/+103
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added key bindings for move-up, move-down (Ctrl-K, Ctrl-J)Kalle Wallin2004-06-221-3/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1616 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Support cursor/down with j and kKalle Wallin2004-06-201-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* display errors without exiting when key bindings are brokenKalle Wallin2004-06-191-46/+77
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1564 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a add command (for adding files or urls to the playlist)Kalle Wallin2004-06-181-1/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added the get_keyboard_command_with_timeout() function.Kalle Wallin2004-06-091-5/+12
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1419 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an optional clock screen :)Kalle Wallin2004-06-061-1/+7
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added initial i18n supportKalle Wallin2004-06-051-59/+60
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Addded support for the mpd update command (CMD_DB_UPDATE)Kalle Wallin2004-06-051-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+429
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f