aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
Commit message (Collapse)AuthorAge
* Merge svn changes up to r27399Gravatar Uoti Urpala2008-08-02
|\ | | | | | | | | | | | | | | | | | | Conflicts: libmpcodecs/vd.c libmpcodecs/ve_raw.c libvo/video_out.c libvo/x11_common.c mplayer.c
| * Rename preprocessor directive HAVE_MENU --> CONFIG_MENU.Gravatar diego2008-07-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27377 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Rename two GUI-related preprocessor directives:Gravatar diego2008-07-30
| | | | | | | | | | | | | | HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27374Gravatar Uoti Urpala2008-07-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h cfg-mplayer.h command.c configure libmpcodecs/dec_video.c libmpcodecs/vd.c libmpcodecs/vf_vo.c libmpdemux/demuxer.h libmpdemux/stheader.h mp_core.h mplayer.c stream/stream_radio.c
| * Start unifying names of internal preprocessor directives.Gravatar diego2008-07-30
| | | | | | | | | | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27123Gravatar Uoti Urpala2008-06-23
|\| | | | | | | | | | | | | Conflicts: libmenu/menu_filesel.c libmenu/menu_pt.c
| * Change DVDNAV command key names.Gravatar ben2008-06-19
| | | | | | | | | | | | | | | | Parameters now use a string much more intuitive than previous int value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27100 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Group all input command defines in one big enumGravatar ben2008-06-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27098 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26979Gravatar Uoti Urpala2008-06-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the conflicts are trivial. Conflicts: Makefile cfg-mplayer.h input/input.c libmenu/vf_menu.c libmpcodecs/dec_video.c libmpcodecs/vf_expand.c libmpcodecs/vf_vo.c libmpdemux/demux_mkv.c libmpdemux/demuxer.c libmpdemux/demuxer.h libvo/vo_directfb2.c libvo/vo_gl.c libvo/vo_winvidix.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c libvo/x11_common.c mplayer.c osdep/timer-linux.c stream/cache2.c
| * Add a slave command to stop stream playback.Gravatar ben2008-05-27
| | | | | | | | | | | | | | | | | | Mostly useful when used with -idle mode. Patch by Mathieu Schroeter ( mathieu dot schroeter at gamesover dot ch ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26909 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add potentially missing typesGravatar ben2008-05-20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26841 b3059339-0415-0410-9bf9-f77b7e298cf2
| * fix compilation of input.c if neither macosx/linux apple remote codeGravatar ben2008-05-18
| | | | | | | | | | | | | | | | is compiled in git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26829 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Keep AppleIR enabled by default on MacOSX but have it disable on Linux.Gravatar ben2008-05-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26799 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not enable AppleIR by default.Gravatar ben2008-05-18
| | | | | | | | | | | | | | | | | | The amount of computers capable of using it is too low in the field to enable it by default. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26797 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for AppleIR Remote as an input under Linux systems.Gravatar ben2008-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | This requires Linux 2.6 with evdev and appleir drivers. The keymapping is done to mimics the one that was done for MacOSX. WARNING: Most distributions do not seems to bother and only let root access to the device. Modify udev rules accordingly if you want regular user to be able to use the remote. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26795 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove useless parentheses from return statements.Gravatar diego2008-05-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26783Gravatar Uoti Urpala2008-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile common.mak configure libmpcodecs/vd_ffmpeg.c libmpdemux/demux_mkv.c libvo/vo_xv.c mplayer.c
| * Use standard license headers with standard formatting.Gravatar diego2008-05-14
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26775 b3059339-0415-0410-9bf9-f77b7e298cf2
| * usec_sleep(0) is not the same as not sleeping at all.Gravatar reimar2008-05-10
| | | | | | | | | | | | Fixes massive slowdown on Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26718 b3059339-0415-0410-9bf9-f77b7e298cf2
* | input.c: Use talloc for all memory allocationsGravatar Uoti Urpala2008-05-01
| | | | | | | | | | | | Convert the remaining non-talloc memory allocations so that everything in the file consistently uses talloc. Make one additional minor code simplification in read_cmd.
* | Move input options to option structGravatar Uoti Urpala2008-04-30
| |
* | input: Use talloc for struct mp_cmd and things under itGravatar Uoti Urpala2008-04-30
| |
* | input: Move command filedescriptor list to context structGravatar Uoti Urpala2008-04-30
| |
* | input: Move cmd_queue to context structGravatar Uoti Urpala2008-04-30
| | | | | | | | Menu instances now also need a input context pointer to queue commands.
* | input.c: Change a static variable to localGravatar Uoti Urpala2008-04-30
| |
* | input: Move key filedescriptor list to context structGravatar Uoti Urpala2008-04-30
| | | | | | | | | | The context variable is now passed to VOs too as it's now needed to add a callback on the X filedescriptor.
* | input.c: Move variable from static to localGravatar Uoti Urpala2008-04-30
| |
* | input.c: Move key down state to context structGravatar Uoti Urpala2008-04-30
| |
* | input.c: Use talloc for command bind allocationsGravatar Uoti Urpala2008-04-30
| |
* | input.[ch]: Move some type definitions from .h to .cGravatar Uoti Urpala2008-04-30
| | | | | | | | These aren't used outside input.c.
* | input.c: Remove mp_input_ prefixes from static function namesGravatar Uoti Urpala2008-04-30
| | | | | | | | The prefixes make the code unnecessarily verbose for no real benefit.
* | input.c: Make two functions staticGravatar Uoti Urpala2008-04-30
| |
* | Remove INITIALIZED_INPUT from mpctx->initialized_flagsGravatar Uoti Urpala2008-04-30
| | | | | | | | | | The input functions are never uninited except at exit. Move the uninit to player exit function and remove the flag.
* | input: Move command bind variables to context structGravatar Uoti Urpala2008-04-30
| |
* | Create a context for input.c stateGravatar Uoti Urpala2008-04-30
| | | | | | | | | | | | | | | | | | Start moving static variables to a context struct. Only autorepeat state is moved to the struct in this commit. mp_input_check_interrupt now requires the context variable. Change stream functions to pass it. It's still stored in a static variable in stream/.
* | input.c: Remove _st prefix from struct namesGravatar Uoti Urpala2008-04-30
| |
* | input.c: Use union instead of void *Gravatar Uoti Urpala2008-04-29
| |
* | input: Remove separate mp_input_add_event_fdGravatar Uoti Urpala2008-04-29
| | | | | | | | | | | | | | | | Use the same mp_input_add_key_fd for all uses and add a context argument to its callback that was before only in the event fd callbacks. Instead of checking in input.c whether keys were inserted to the keypress FIFO during the callback do the check in the callback before returning and set return value accordingly.
* | input.c: Revert code uglifications done for gcc 2.95Gravatar Uoti Urpala2008-04-29
| | | | | | | | | | | | It's unlikely that this branch will ever compile with gcc 2.95 again, so it's pointless to keep code uglifications done to work around its limitations.
* | input.c: Remove unnecessary #include "osdep/getch2.h"Gravatar Uoti Urpala2008-04-29
| |
* | Merge svn changes up to r26587Gravatar Uoti Urpala2008-04-29
|\| | | | | | | | | | | | | | | Conflicts: Makefile configure osdep/timer-darwin.c
| * Use full path for libavutil #includes.Gravatar diego2008-04-28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26575 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Mark some constant symbols as suchGravatar Uoti Urpala2008-04-26
| |
* | Add a context argument to mp_input_add_event_fd callbackGravatar Uoti Urpala2008-04-23
| |
* | input/input.c: Minor simplificationGravatar Uoti Urpala2008-04-23
|/
* Get rid of recursive make for the input/ subdirectory.Gravatar diego2008-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26340 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix handling of comments in input.c, current code had useless ifs and in ↵Gravatar reimar2008-03-11
| | | | | | | | | addition could treat more data as comments than correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26222 b3059339-0415-0410-9bf9-f77b7e298cf2
* joystick.c is only ever compiled on Linux, remove pointless #ifdefGravatar diego2008-02-28
| | | | | | | around the whole file and dummy functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26112 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.Gravatar diego2008-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializedGravatar diego2008-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2