summaryrefslogtreecommitdiffstats
path: root/libmenu/menu_filesel.c
Commit message (Collapse)AuthorAgeFilesLines
* fixes two bugs:ben2008-06-201-7/+18
| | | | | | | | | | | | | 1. doesn't add \ before spaces when showing dirname in interface title. 2. when replace_path() string is to be parsed by input command, I assume that the path is to be run in shell, and I do special escaping of 'into \'\\\'\' (tested useful and ok with geexbox for last 3 years ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27118 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
* 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
* 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
* 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-281-7/+1
| | | | 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-261-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25530 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
* Support to run multiple mplayer commands set in menu.confulion2007-12-111-8/+5
| | | | 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-041-7/+4
| | | | | | | by menu config file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 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
* new -menu-chroot option that prevent OSD file selection menu to go to an ↵ben2007-05-291-0/+7
| | | | | | unwanted location (yeah, chroot ;-)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23409 b3059339-0415-0410-9bf9-f77b7e298cf2
* new -menu-keepdir option that allows libmenu file browser to always restart ↵ben2007-05-071-1/+41
| | | | | | browsing from the last place we were instead of current dir git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle windows path separator in filesel menu.reimar2006-10-291-0/+4
| | | | | | | Fixes at least partially bug #494 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20521 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new filter option to menu file browser to only display some files ↵ben2006-08-221-1/+65
| | | | | | according to extension git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
* support multiple actions in menu's file browser using key bindingsben2006-08-221-3/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.diego2006-08-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-301-6/+8
| | | | | | chello DOT hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow 6 ways (up/down/left/right/ok/cancel) navigation.albeu2006-03-251-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17946 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-10-261-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16863 b3059339-0415-0410-9bf9-f77b7e298cf2
* add some closedir() to fix some opendir() leaksaurel2005-07-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16062 b3059339-0415-0410-9bf9-f77b7e298cf2
* I've juste found a bug which prevent to load a file whose name containalbeu2003-08-151-4/+14
| | | | | | | | | | | | | | 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
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* lstat->statarpi2003-02-031-1/+1
| | | | | | | found by Sebastian Kapfer <sebastian_kapfer@web.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also attached some cleanup to menu_filesel.c, mainly to make it morearpi2003-01-261-6/+9
| | | | | | | | 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
* 10larpi2003-01-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8854 b3059339-0415-0410-9bf9-f77b7e298cf2
* some 10l bugfixesarpi2002-12-281-1/+3
| | | | | | | patch by Christian Ohm <chr.ohm@gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8614 b3059339-0415-0410-9bf9-f77b7e298cf2
* No scandir() an no functions defined within other functions.arpi2002-12-041-45/+65
| | | | | | | patch by Björn Sandell <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8359 b3059339-0415-0410-9bf9-f77b7e298cf2
* limits.h required to get a PATH_MAX definition (on solaris)jkeil2002-11-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8292 b3059339-0415-0410-9bf9-f77b7e298cf2
* quote the filenamesalbeu2002-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8227 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD menus initial versionalbeu2002-11-141-0/+283
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8198 b3059339-0415-0410-9bf9-f77b7e298cf2