Commit Graph

163 Commits

Author SHA1 Message Date
reynaldo c71983202c gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
ben c1d46330ea support for auto_close parameter in menu command list (geexbox patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18823 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 21:24:46 +00:00
ben be1d649e96 declaring static functions with the same name than libc ones was not the best idea ever
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18821 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 20:59:12 +00:00
diego 4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
albeu 9c31929204 Verticaly center the background around the text.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18205 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 18:29:29 +00:00
albeu 22f7791e6c There is a draw_alpha for uyvy, use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 17:04:38 +00:00
albeu ced4a23f8d Fix menu background drawing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18194 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 16:22:33 +00:00
corey 8dec4eaf25 Minor spelling and grammar fixes for part 1 of Otvos Attila's
"printf2mp_msg" changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18007 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 05:49:05 +00:00
reynaldo bf25812a43 Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 06:40:58 +00:00
albeu 9c301c3e16 Add a function to draw flat boxes and use it to make the list
menu and console look much cooler. Idea take from Otvos Atilla's
patches (oattila_At_chello--.--hu).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17994 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 02:52:54 +00:00
albeu 3db345c707 Fix cycling in menu with hidden items.
Thanks again to Jonas Jermann for the report.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 19:27:42 +00:00
albeu 32b285a093 Turn the preferences menu in something usefull using the new
property API.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17950 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 20:49:36 +00:00
albeu d915b85253 Allow hiding list elements and disableing the pointer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17947 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 18:15:37 +00:00
albeu 0e38597ae8 Allow 6 ways (up/down/left/right/ok/cancel) navigation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17946 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 17:32:10 +00:00
diego 3e56c5bb6b cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
to ease patching in the future.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 10:38:37 +00:00
michael 35b0fb5056 10l (forgot ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17909 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 22:31:49 +00:00
nicodvb 25e163a19b auto hide dvb menu if auto-close is specified in menu.conf; patch by Ben Zores ben a geexbox di org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17683 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 23:01:40 +00:00
diego 89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
rathann bb3f61e4ff This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
libaf's and libmenu's Makefiles and -g from main Makefile.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 23:38:16 +00:00
diego 5aba6c3cfd Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16863 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-26 00:07:43 +00:00
aurel e190bcd2bb add some closedir() to fix some opendir() leaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16062 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-22 22:52:13 +00:00
aurel 543dcc07a5 enable the run slave commande even without libmenu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14088 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-02 14:37:16 +00:00
faust3 8352d2c244 support newer gcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13529 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-02 12:17:28 +00:00
faust3 a5b8e5f858 handle sigchld in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13392 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-19 18:45:11 +00:00
faust3 0e339fc397 option to display menu at startup, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13345 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 13:37:49 +00:00
diego 2ba6a1517e Fix typos and better explanatory text.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12875 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-20 17:58:33 +00:00
diego 42b784ac1a string handling security fixes
patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net>
reviewed by Pontscho, Alex, Rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:49:53 +00:00
alex 0fc20ac930 ranlib cleanup by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
nicodvb 4956c017df new configuration structure, multi-card support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12309 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 21:20:37 +00:00
attila 4b1211d2d0 Patch by Nico <nsabbi@libero.it>
this patch fixes a recently discovered bug for which DVB-C users
couldn't tune
(wrong parsing of the config file and incorrect parameter passing to
tune_it())
and includes the still unapplied patch posted in date 6/9/2003:

-  it works correctly with and without caches; in the former case it
doesn't take anymore a lot of time to empty the cache before changing channel;
the uninit_cache() function is called in mplayer.c just after
the new tuning operation
- initialized a variable identifying the tuner type, and exit if it
isn't supported


- doesn't crash anymore when
1) the channels file doesn't exists
2) the tuner is used by another application
3) in the menu, when trying to select a channel before the first
4) some mp_msg() called in case of error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11353 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 15:17:01 +00:00
lumag 6ebdf741f7 Fix long-known bug with handling 'down key' in lists.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10936 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-24 07:35:59 +00:00
faust3 67831d551c make menu work on mingw (run command is still disabled), based on patch by Christophe Perinaud
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10865 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-13 18:02:20 +00:00
alex c74c417816 libmenu is missing the dvb headers, patch by Gotz Waschk <waschk@informatik.uni-rostock.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10792 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-02 14:00:37 +00:00
albeu 017eaef61a Finnaly commit Nico's dvb menu. Sorry for committing this
months later :(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10627 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-16 09:51:05 +00:00
albeu 38a2fa46fd I've juste found a bug which prevent to load a file whose name contain
a quote ('). The menu simply execute a "loadfile '%p'" but when the %p
is replaced by the actual value, quotes in it are not escaped !
Moreover, mp_input_parse_cmd contain some code to unescape strings but
this code was placed after the string was copied in his final buffer.

So this patch correct this issue.

By Aurélien Jacobs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10625 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 18:45:35 +00:00
diego 8838b4afa6 output typo fixes: unknow --> unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-09 01:30:24 +00:00
alex 6c3692acf6 64bit support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10334 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-24 19:59:14 +00:00
alex 23e0f24f27 10l fix by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9904 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-10 15:07:59 +00:00
albeu 90a3d11031 10L forgot this filter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9756 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:15:19 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
arpi cbe52ff6e4 lstat->stat
found by Sebastian Kapfer <sebastian_kapfer@web.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9250 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 09:33:22 +00:00
arpi 95d4edb1b0 Fixes a problem where the menu won't work, if you just use freetype fonts
and have no font.desc.
patch by Andreas Hess <jaska@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9213 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 01:43:40 +00:00
arpi 9e46271417 Also attached some cleanup to menu_filesel.c, mainly to make it more
robust in case of lack of memory.
patch by Björn Sandell <biorn@dce.chalmers.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9105 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 16:03:16 +00:00
arpi db1e3c66af mplayer crashes if one tries to use osd menu without having a font
installed. The patch to menu.c is one way to fix that.
patch by Björn Sandell <biorn@dce.chalmers.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9104 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 16:02:58 +00:00
arpi 2636e53e9e don't depend on libgen/basename()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9103 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 15:55:35 +00:00
arpi 61ff1d4a53 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8854 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 18:06:32 +00:00
arpi c8b0ddfe4e these patches let ,,oldstyle'' and freetype subtitle renderers live
together happily. if an oldstyle subtitle (font.desc) is found, it will
be used. otherwise mplayer will choose subfont.ttf, if freetype was
detected during ./configure.
(also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too)
patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8636 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 14:59:23 +00:00
rathann 84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
arpi 90e4cb1c23 some 10l bugfixes
patch by Christian Ohm <chr.ohm@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8614 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 14:19:07 +00:00
arpi cfa30a8b32 This patch fixes the reading of the menu.conf, because stream_open()
isn't a good idea, it messes with dvd playback.
Andreas Hess <jaska@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8605 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 13:46:55 +00:00
arpi 5c59d9a81d No scandir() an no functions defined within other functions.
patch by Björn Sandell <biorn@dce.chalmers.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8359 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-04 23:41:04 +00:00
colin 434c8e3afd fix 100l typo :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8298 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-27 16:12:02 +00:00
jkeil c126f8b49e limits.h required to get a PATH_MAX definition (on solaris)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8292 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-26 18:54:23 +00:00
colin 1344f05cba better fix for my previous 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-22 12:01:59 +00:00
colin cb0010d072 10l - forgot this file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-21 19:26:57 +00:00
colin 5e4ff93c81 don't fully-copy the planes if the menu doesn't show (faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8245 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-21 18:31:21 +00:00
diego a1e677141d .depend should be ignored
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8240 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-20 21:26:49 +00:00
albeu 30751c6025 Fix buffer overflow in a drawing func
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8233 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 20:43:29 +00:00
rfelker 7370d41aad 10l:
menu_console.c: In function `check_child':
menu_console.c:226: storage size of `tv' isn't known
menu_console.c:234: sizeof applied to an incomplete type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8230 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 04:37:18 +00:00
albeu 50bc90625a A new command to run shell process and a command history.
Yep, you can issue shell commands while watching movies ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8228 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:16:39 +00:00
albeu 2e4fa3c937 quote the filenames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8227 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:14:17 +00:00
albeu dc7759b0a8 Fix freetype. Freetype is highly recommended for a nice output ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8225 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:09:37 +00:00
albeu c83ebc0b7d OSD menus initial version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8198 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 23:47:11 +00:00