summaryrefslogtreecommitdiffstats
path: root/libmenu
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r27025Uoti Urpala2008-06-071-10/+4
|\ | | | | | | | | | | | | | | | | Conflicts: command.c libvo/vosub_vidix.c libvo/vosub_vidix.h mplayer.c
| * Removed unused freepath variable.ben2008-06-061-8/+3
| | | | | | | | | | | | | | | | Patch by Guillaume Lecerf <foxcore at gmail com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27002 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless braces on if() statement.ben2008-06-051-2/+1
| | | | | | | | | | | | | | | | Patch by Guillaume Lecerf <foxcore at gmail com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26993 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Ensure 'path' string is 0 terminated.ben2008-06-051-1/+1
| | | | | | | | | | | | | | | | Patch by Guillaume Lecerf <foxcore at gmail com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26992 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26979Uoti Urpala2008-06-042-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Use size_t instead of int for a variable that is compared to the resultdiego2008-06-031-1/+1
| | | | | | | | | | | | | | | | of strlen. Fixes a warning about signed and unsigned comparison. patch by Guillaume LECERF, foxcore gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26977 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove useless parentheses from return statements.diego2008-05-161-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26783Uoti Urpala2008-05-151-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | 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.diego2008-05-141-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26775 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26624Uoti Urpala2008-05-011-1/+0
|\| | | | | | | | | | | Conflicts: Makefile
| * Remove unnecessary version.h #includes.diego2008-04-301-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26602 b3059339-0415-0410-9bf9-f77b7e298cf2
* | input: Move cmd_queue to context structUoti Urpala2008-04-309-16/+22
| | | | | | | | Menu instances now also need a input context pointer to queue commands.
* | Move global filename to mpctxUoti Urpala2008-04-261-1/+0
| |
* | Move global mconfig to mpctxUoti Urpala2008-04-264-7/+14
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-6/+6
| | | | | | | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* | Add new video driver APIUoti Urpala2008-04-231-2/+2
|/ | | | | | | | | | | | | Create new video driver API that has a per-instance context structure and does not rely on keeping status in global or static variables. Existing drivers are not yet converted to this API; instead there is a wrapper which translates calls to them. In the new API, an old API call vo_functions->xyz(args) is generally replaced by vo_xyz(vo_instance, args). The changes to keep the vesa, dxr2 and xover drivers compiling have not been tested.
* Build all parts in the libmenu subdirectory nonrecursively.diego2008-04-071-18/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-052-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-222-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdefs around extern declarations.diego2008-02-201-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow independent scaling of vo_font and sub_font.reimar2008-01-271-1/+1
| | | | | | | Patch by Guillaume LECERF (foxcore gmail com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deny the code using realpath().ulion2008-01-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25660 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-012-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Default use the dir where the current playing file located if path not set.ulion2007-12-311-2/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant option 'auto-close' from cmdlist and filesel.ulion2007-12-282-17/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25533 b3059339-0415-0410-9bf9-f77b7e298cf2
* From now on, libmenu does not steal all input keys from input modules.ulion2007-12-266-19/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25530 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use '-' instead of '_' in option name.ulion2007-12-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25527 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless scope.ulion2007-12-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify the condition code.ulion2007-12-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25524 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD menu support mouse selection.ulion2007-12-224-0/+61
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add variable bx, dx to simplify code of function menu_draw_list.ulion2007-12-201-7/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25466 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add local variable 'line_h' to simplify code of function menu_list_draw.ulion2007-12-201-8/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25465 b3059339-0415-0410-9bf9-f77b7e298cf2
* Currently menu title did not align center together with menu items when x>=0.ulion2007-12-191-3/+3
| | | | | | | Now fix it to get a good alignment with menu items. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25463 b3059339-0415-0410-9bf9-f77b7e298cf2
* Calculate and draw osd accurately.ulion2007-12-191-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Here should add the minb to x when x>=0 because in later codeulion2007-12-181-1/+1
| | | | | | | we use 'x - minb' to draw bg box when x>=0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the menu uninit function name.ulion2007-12-182-2/+2
| | | | | | | 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
* Replace another m_struct_t by 'struct m_struct_st' to remove depedencyulion2007-12-181-1/+1
| | | | | | | on m_struct.h when include libmenu/menu.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove dependency on m_struct.h when include libmenu/menu.h.ulion2007-12-181-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25445 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indent for last commit.ulion2007-12-171-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore elements of keybindings other than 'binding'.ulion2007-12-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove NO_REPEAT mask from keycode, fix keycode matching for JOY_BTN0, etc.ulion2007-12-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Display parsed keycode in verbose output.ulion2007-12-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak.ulion2007-12-171-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add auto-update property for property menu item.ulion2007-12-151-9/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25409 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of the file-static dvb_config and free the config at close() . ↵nicodvb2007-12-151-0/+1
| | | | | | Patch by Andrew Calkin and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25407 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support chapter in OSD menu.ulion2007-12-143-0/+186
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25392 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: partially reformatted this monstruositynicodvb2007-12-121-33/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25384 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverted r25323: deprecated by ulion's recent patchesben2007-12-121-8/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25382 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak. I thought asx_get_attrib() return a const char *,ulion2007-12-121-5/+9
| | | | | | | but indeed it return string by strdup. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak, reported by Andrew Calkin <andrew P calkin A gmail P com>.ulion2007-12-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25374 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove headers not used.ulion2007-12-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support to run multiple mplayer commands set in menu.confulion2007-12-113-19/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mylstat() call to parent dir where the subdir has no exec permission.ulion2007-12-101-1/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25339 b3059339-0415-0410-9bf9-f77b7e298cf2
* Combine common code for dealing with file action and dir action.ulion2007-12-091-17/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25328 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use recorded last path only when stat it ok.ulion2007-12-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25327 b3059339-0415-0410-9bf9-f77b7e298cf2
* identifiers starting with an underscore are reserved by the C standardben2007-12-081-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25325 b3059339-0415-0410-9bf9-f77b7e298cf2
* rework of libmenu open_dir()ben2007-12-081-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove hardcoded key->cmd bindings in libmenu, support custom key bindingsulion2007-12-0411-119/+172
| | | | | | | by menu config file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentreimar2007-12-021-1/+1
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add type info to menu_t, now we can get the menu name and the type name of menu.ulion2007-12-022-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25236 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix code to make sure the browse starting path within the menu-chroot path.ulion2007-11-261-16/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the pause filter and the cmd queue hack, to know the mplayer going toulion2007-11-151-29/+10
| | | | | | | | pause by checking mpctx directly. If there's any video update before the pause then capture the frame or fallback to use last captured frame as pausing frame. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25054 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make page up and down with proper page size instead of always 10 rows.ulion2007-11-102-12/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25007 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix pause key problem in correct way, only handle pause cmd when showing menu.ulion2007-11-081-7/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24988 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fixes:ulion2007-11-051-8/+8
| | | | | | | | | | | | | | | 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
* Fix link to email explaining the paused vf_menu behaviour changereimar2007-11-031-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.cehoyos2007-08-041-54/+0
| | | | | | | Patch by Attila Ötvös. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give message string a more meaningful name.diego2007-07-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23894 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: childs --> childrendiego2007-07-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use fast_memcpy for small size copy, esp. when the size is constantreimar2007-06-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-2/+2
| | | |