Compare commits
3 Commits
v0.9
...
d124f43cf6
| Author | SHA1 | Date | |
|---|---|---|---|
|
d124f43cf6
|
|||
|
0e2a050c4f
|
|||
|
6c1546e919
|
@@ -98,8 +98,8 @@ endforeach (page)
|
|||||||
|
|
||||||
# CPack
|
# CPack
|
||||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "MPD client")
|
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "MPD client")
|
||||||
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
|
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
|
||||||
set (CPACK_PACKAGE_CONTACT "Přemysl Janouch <p@janouch.name>")
|
set (CPACK_PACKAGE_CONTACT "Přemysl Eric Janouch <p@janouch.name>")
|
||||||
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
||||||
set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR})
|
set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR})
|
||||||
set (CPACK_PACKAGE_VERSION_MINOR ${project_VERSION_MINOR})
|
set (CPACK_PACKAGE_VERSION_MINOR ${project_VERSION_MINOR})
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2016 - 2018, Přemysl Janouch <p@janouch.name>
|
Copyright (c) 2016 - 2018, Přemysl Eric Janouch <p@janouch.name>
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted.
|
purpose with or without fee is hereby granted.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* line-editor.c: a line editor component for the TUI part of liberty
|
* line-editor.c: a line editor component for the TUI part of liberty
|
||||||
*
|
*
|
||||||
* Copyright (c) 2017 - 2018, Přemysl Janouch <p@janouch.name>
|
* Copyright (c) 2017 - 2018, Přemysl Eric Janouch <p@janouch.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted.
|
* purpose with or without fee is hereby granted.
|
||||||
|
|||||||
7
nncmpp.c
7
nncmpp.c
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* nncmpp -- the MPD client you never knew you needed
|
* nncmpp -- the MPD client you never knew you needed
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016 - 2018, Přemysl Janouch <p@janouch.name>
|
* Copyright (c) 2016 - 2018, Přemysl Eric Janouch <p@janouch.name>
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted.
|
* purpose with or without fee is hereby granted.
|
||||||
@@ -286,6 +286,9 @@ poller_curl_on_socket_action (CURL *easy, curl_socket_t s, int what,
|
|||||||
}
|
}
|
||||||
if (what == CURL_POLL_REMOVE)
|
if (what == CURL_POLL_REMOVE)
|
||||||
{
|
{
|
||||||
|
// Some annoying cURL bug. Never trust libraries.
|
||||||
|
fd->fd.closed = fcntl(fd->fd.fd, F_GETFL) < 0 && errno == EBADF;
|
||||||
|
|
||||||
poller_fd_reset (&fd->fd);
|
poller_fd_reset (&fd->fd);
|
||||||
LIST_UNLINK (self->fds, fd);
|
LIST_UNLINK (self->fds, fd);
|
||||||
free (fd);
|
free (fd);
|
||||||
@@ -2008,6 +2011,8 @@ g_normal_defaults[] =
|
|||||||
{ "C-n", ACTION_GOTO_ITEM_NEXT },
|
{ "C-n", ACTION_GOTO_ITEM_NEXT },
|
||||||
{ "C-b", ACTION_GOTO_PAGE_PREVIOUS },
|
{ "C-b", ACTION_GOTO_PAGE_PREVIOUS },
|
||||||
{ "C-f", ACTION_GOTO_PAGE_NEXT },
|
{ "C-f", ACTION_GOTO_PAGE_NEXT },
|
||||||
|
{ "C-y", ACTION_SCROLL_UP },
|
||||||
|
{ "C-e", ACTION_SCROLL_DOWN },
|
||||||
|
|
||||||
{ "H", ACTION_GOTO_VIEW_TOP },
|
{ "H", ACTION_GOTO_VIEW_TOP },
|
||||||
{ "M", ACTION_GOTO_VIEW_CENTER },
|
{ "M", ACTION_GOTO_VIEW_CENTER },
|
||||||
|
|||||||
Reference in New Issue
Block a user