Clément Bœsch
a8b11797d8
cleanup: remove warnings under libmenu/
2011-06-24 22:55:09 +03:00
Uoti Urpala
23cb829072
input: move all key code lists to input/keycodes.h
...
Move the definitions of all special key codes (those not passed by
ASCII value) to input/keycodes.h. Before they were spread between
osdep/keycodes.h, input/joystick.h, input/mouse.h and input/ar.h, plus
some special values in input.h. This was especially inconvenient as
the codes had to be coordinated to not conflict between the files.
The change requires a bit of ugliness as appleir.c includes
<linux/input.h> which contains various conflicting KEY_* definitions.
Work around this by adding a special preprocessor variable which can
be used to avoid defining these in keycodes.h.
2011-05-02 00:43:31 +03:00
Uoti Urpala
c9026cb321
sub/OSD: move some related files to sub/
2011-01-26 20:39:05 +02:00
cboesch
fe3c4810e1
cleanup: remove NULL checks before free() all over the code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-14 13:11:20 +02:00
diego
c2e37e4346
manu.c: Remove unused static function menu_text_get_next_line
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31727 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:14:44 +02:00
Uoti Urpala
e1cd86076f
Merge svn changes up to r31141
2010-05-07 22:13:35 +03:00
cehoyos
02641f54ee
Add support for 12-bit color mode on framebuffer devices.
...
Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-06 10:18:25 +00:00
Uoti Urpala
00323c06e2
Delete things related to old translation system
...
Remove the help/ subdirectory, configure code to create toplevel
help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
2010-03-10 03:47:14 +02:00
Uoti Urpala
c37f09693d
Merge svn changes up to r30643
2010-03-10 00:00:06 +02:00
diego
93c1e23c47
Mark some more functions that are not used outside of their files as static.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30632 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 09:26:00 +00:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala
a3ab9e8e46
Merge svn changes up to r28149
2008-12-14 17:28:16 +02:00
diego
ea6c00a4b6
Add standard GPL headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28147 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 18:40:19 +00:00
Uoti Urpala
f6dfaf26f8
Make various functions static
2008-08-12 14:57:12 +03:00
Uoti Urpala
17d3e4b36d
Merge svn changes up to r27441
...
Conflicts:
cfg-common-opts.h
command.c
configure
input/input.c
libmpcodecs/dec_video.c
libmpcodecs/vd.c
libmpdemux/stheader.h
libvo/sub.c
libvo/video_out.c
libvo/vo_xv.c
libvo/vosub_vidix.c
libvo/x11_common.c
libvo/x11_common.h
mp_core.h
mplayer.c
stream/stream.h
2008-08-08 02:13:09 +03:00
diego
091d352d06
Rename font-related preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego
02135001b4
Change a bunch of video/audio-output-specific preprocessor directives from
...
a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
Uoti Urpala
6cce822505
Merge svn changes up to r27399
...
Conflicts:
libmpcodecs/vd.c
libmpcodecs/ve_raw.c
libvo/video_out.c
libvo/x11_common.c
mplayer.c
2008-08-02 22:04:35 +03:00
diego
d17f9943af
Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
...
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
Uoti Urpala
04f3909a72
Merge svn changes up to r27374
...
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
2008-07-30 16:39:24 +03:00
diego
4b141479da
Start unifying names of internal preprocessor directives.
...
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
2008-07-30 12:01:30 +00:00
Uoti Urpala
423b95bf5c
input: Move cmd_queue to context struct
...
Menu instances now also need a input context pointer to queue commands.
2008-04-30 14:46:21 +03:00
Uoti Urpala
fb33e286b5
Move global mconfig to mpctx
...
The global was used in the function cfg_include which handles the
-include option. Make the address available in that function by
creating a new dynamically allocated option in m_config_new that has
the address in the option's private data.
asxparser.c also used the global. Making it available through all ways
the code could get called required a number of relatively straightforward
changes to playtree and menu code.
2008-04-26 10:44:59 +03:00
diego
77eb726c3d
Remove pointless #ifdefs around extern declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-20 08:51:53 +00:00
ulion
b6870cc5ba
From now on, libmenu does not steal all input keys from input modules.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-26 13:13:48 +00:00
ulion
673246be0c
OSD menu support mouse selection.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:14:38 +00:00
ulion
5fdfc9124d
Calculate and draw osd accurately.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 09:34:28 +00:00
ulion
cccac8fa2a
Fix the menu uninit function name.
...
NOTE: Nobody call this function by now, should be fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 10:45:43 +00:00
ulion
ab7d5a37ad
Fix indent for last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:01:14 +00:00
ulion
2f0d486430
Ignore elements of keybindings other than 'binding'.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:58:46 +00:00
ulion
5ff065269c
Remove NO_REPEAT mask from keycode, fix keycode matching for JOY_BTN0, etc.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:55:45 +00:00
ulion
914c5bb994
Display parsed keycode in verbose output.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:53:38 +00:00
ulion
e9c921bbe1
Support chapter in OSD menu.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 08:39:45 +00:00
ulion
9fc4150e7d
Fix memory leak. I thought asx_get_attrib() return a const char *,
...
but indeed it return string by strdup.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25375 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 06:32:54 +00:00
ulion
eb7b516694
Support to run multiple mplayer commands set in menu.conf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25348 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 08:11:21 +00:00
ulion
a986e2a1f6
Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
...
by menu config file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 10:42:59 +00:00
ulion
7a11248973
Add type info to menu_t, now we can get the menu name and the type name of menu.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 11:14:50 +00:00
ulion
311e30c11a
Warning fixes:
...
menu.c:303: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:370: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:463: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:537: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:565: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:577: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:597: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:612: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 02:45:59 +00:00
ben
b0615f0024
get rid of -menu-utf8 and -menu-unicode once for all, patch by Guillaume Lecerf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 15:17:56 +00:00
ben
ee8969021b
fix libmenu compilation with fridibi enabled
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23256 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 20:45:23 +00:00
ben
61ead76aad
cast to what's really expected
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 19:48:15 +00:00
ben
0600d0b117
use already existing function to get utf8 char in libmenu (thx to reimar)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:02:42 +00:00
ben
a2e997c155
used FFMAX macro as pointed out by reimar
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:51:53 +00:00
ben
a797b105f3
removed useless casts as pointed out by reimar
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:48:55 +00:00
ben
0e71ae2f5f
support for hebrew through fribidi in libmenu (geexbox patch #580 )
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23246 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:59:53 +00:00
ben
7796893de0
support for unicode/utf8 in libmenu (geexbox patch #545 )
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:55:58 +00:00
uau
00b3c78196
Fix menu to work with mpctx
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 18:28:48 +00:00