aboutsummaryrefslogtreecommitdiffhomepage
path: root/input/lirc.c
Commit message (Collapse)AuthorAge
* input/ar.c, input/lirc.c: fix changes missing from 1916b95b8Gravatar Uoti Urpala2011-09-04
| | | | | | | | | | | | | 1916b95b8 changed two function types from returning "void" to returning "int", but was missing changes to add "return 0;" to the functions. Fix. The reason for the change in the original commit was that the functions were called through a function pointer returning int anyway, so the missing return probably made things no more likely to fail at runtime than they were before that commit. However, it caused a compilation failure with clang, which treats non-void function not returning a value as a fatal error (in GCC it's just a warning).
* cleanup: remove some unnecessary input.[ch] typedefsGravatar Uoti Urpala2011-07-16
| | | | | | | | | | | | Remove some unnecessary typedefs and remove pointless mp_ prefix from some internal struct names. Change the type of the "close_func" pointers from "void f(int fd)" to "int f(int fd)" so that using standard close() there is valid. Delete some useless assert() statements. Move internal MP_MAX_KEY_DOWN define from input.h to input.c.
* cleanup: remove NULL checks before free() all over the codeGravatar cboesch2010-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Delete things related to old translation systemGravatar Uoti Urpala2010-03-10
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Merge svn changes up to r30798Gravatar Uoti Urpala2010-03-10
|\
| * Include lirc.h in lirc.c to add missing prototypes.Gravatar cehoyos2010-02-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30767 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
* | Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
| * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
|/ | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move setting of O_NONBLOCK before lirc_readconfig, this avoids a memleakGravatar reimar2009-01-30
| | | | | | | due to not freeing the lirc config on error. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28390 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix an MSGT_INPUT to MSGT_LIRC in lirc.cGravatar reimar2009-01-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28389 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use select n lirc code, instead set the fd non-blocking.Gravatar reimar2009-01-27
| | | | | | | | | select can not work because lirc_nextcode buffers data internally, causing events to be delayed until the next keypress in some cases. Patch by Dennis Vshivkov [jaimor (at) orcon net nz] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28380 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo: pool -> pollGravatar reimar2009-01-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28356 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard GPL license header.Gravatar diego2008-12-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28146 b3059339-0415-0410-9bf9-f77b7e298cf2
* litle bug, didn't compile :(Gravatar ptt2006-10-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20197 b3059339-0415-0410-9bf9-f77b7e298cf2
* slight overall verbosity reductionGravatar diego2006-10-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move conditional compilation to the build system.Gravatar diego2006-09-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.Gravatar diego2005-10-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16861 b3059339-0415-0410-9bf9-f77b7e298cf2
* consume empty lirc events at once.Gravatar reimar2005-06-27
| | | | | | | Patch by Lev A. Melnikovsky {leva at kapitza ras ru}. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15826 b3059339-0415-0410-9bf9-f77b7e298cf2
* rewrote the lirc code to remove the forkGravatar arpi2002-10-23
| | | | | | | patch by Albeu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7884 b3059339-0415-0410-9bf9-f77b7e298cf2
* A bug fix + moved error msg from verbose to errorGravatar albeu2002-03-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make old and new lirc support independant from each otherGravatar albeu2002-02-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4824 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unuseful stuff and don't try to kill an unexistingGravatar albeu2002-02-04
| | | | | | | child process on uninit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4527 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added lirc support in inputGravatar albeu2002-01-31
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4433 b3059339-0415-0410-9bf9-f77b7e298cf2