summaryrefslogtreecommitdiffstats
path: root/gui
Commit message (Collapse)AuthorAgeFilesLines
* Use av_malloc to ensure sufficient alignment and also free at least somereimar2010-01-241-1/+2
| | | | | | | of the allocated memory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not depend on PIX_FMT_RGB32 which is (currently?) not part of the public API.reimar2010-01-171-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Call XSync after XShmAttach to avoid a possible race-condition with shmctl.reimar2010-01-101-0/+1
| | | | | | | Patch from FreeBSD ports. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing config.h #include; remove a redundant one.diego2010-01-042-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30204 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove more direct includes of libass/ass.hreimar2009-12-242-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-262-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1326-292/+292
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdef around internal #include.diego2009-04-191-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29190 b3059339-0415-0410-9bf9-f77b7e298cf2
* add tivo (ty) and rm (rmvb) to file chooser, fixes bug 663compn2009-04-041-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some typos, add flv and trp to the list of video formatsdiego2009-01-051-42/+47
| | | | | | | | and rearrange file type lists alphabetically. patch by Konrad 'd3viCe' Pióro, konrad.pioro zask pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28274 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' keyword to parameterless function declarations.diego2009-01-051-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-0332-205/+205
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add necessary #include <stdlib.h> for realloc/calloc/free.diego2008-08-311-0/+1
| | | | | | | patch by JonY, 10walls gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27501 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency cosmetics: Avoid using .. in #include paths.diego2008-08-292-40/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename font-related preprocessor directives.diego2008-08-074-25/+25
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename a bunch of miscellaneous preprocessor directives.diego2008-08-072-6/+6
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.diego2008-08-063-9/+9
| | | | | | | Use it in all the places that checked for either ALSA 0.9 or 1.x. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27422 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename some audio-output-related preprocessor directives.diego2008-08-053-9/+9
| | | | | | | Switch them from a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27419 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of X11-specific preprocessor directives.diego2008-08-043-14/+14
| | | | | | | Switch from a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of video/audio-output-specific preprocessor directives fromdiego2008-08-038-33/+33
| | | | | | | a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;diego2008-08-013-12/+12
| | | | | | | 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
* Rename two GUI-related preprocessor directives:diego2008-07-303-6/+6
| | | | | | | 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
* Start unifying names of internal preprocessor directives.diego2008-07-3013-86/+86
| | | | | | | | 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
* Remove unnecessary and troublesome inlinezuxy2008-07-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27324 b3059339-0415-0410-9bf9-f77b7e298cf2
* Force gcc to emit function body under -gnu99zuxy2008-07-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark function not used outside of the file as static.diego2008-07-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27239 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove declaration of extern inline function that is used nowhere from headerdiego2008-07-081-1/+0
| | | | | | | | | file, fixes the warnings: gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined gui/mplayer/gui_common.h:32: warning: inline function 'TranslateFilename' declared but never defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard GPL header to individual files.diego2008-04-2251-21/+910
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use standard GPL header.diego2008-04-2212-36/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26489 b3059339-0415-0410-9bf9-f77b7e298cf2
* noconfig fix, disable_gui_conf was not defined when compiling mencoder.albeu2008-04-151-1/+1
| | | | | | | | Fix mencoder linking when the GUI is enabled. Patch by Norman Yarvin (yarvin -at- yarchive -dot- net). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add options to disable some or all config files.albeu2008-04-141-1/+2
| | | | | | | Patch by Andrew Savchenko (Bircoph -at- list -dot- ru). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26448 b3059339-0415-0410-9bf9-f77b7e298cf2
* wording improvements suggested by the Wandererdiego2008-04-121-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26424 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent; do not use ../ in them.diego2008-04-1223-88/+89
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26414 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update include paths to account for build system changes.diego2008-04-127-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26404 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixesdiego2008-04-121-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge ./gui/Makefile into ./Makefile, one less instance of recursive make.diego2008-04-111-54/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add gui/ prefix to some #include paths so that compilation from thediego2008-04-1122-54/+53
| | | | | | | top-level source directory does not fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26397 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate #include.diego2008-04-111-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a config.mak variable to control compilation of the Win32 GUI.diego2008-04-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26386 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include config.h before all other headers.diego2008-03-1410-12/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed redundant wincfg.h.vayne2008-03-111-40/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26226 b3059339-0415-0410-9bf9-f77b7e298cf2
* more header / declaration cleanups; fixes a lot of warnings as well as a ↵vayne2008-03-117-13/+8
| | | | | | preempt to removal of redundant wincfg.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26225 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename url.c/url.h to the less generic gtk_url.c/gtk_url.h.diego2008-03-054-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-053-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26168 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency cosmetics: Use #ifdef everywhere instead of #if defined().diego2008-03-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdef USE_LIBAVCODEC inside #ifdef USE_LIBAVCODEC.diego2008-03-041-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26156 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2230-109/+90
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use filename as multiple inclusion guard.diego2008-02-212-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdefs around extern declarations.diego2008-02-201-10/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indent, remove trailing whitespacediego2008-02-181-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26025 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge the two conditional definitions of get_current_dir_name.diego2008-02-181-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26024 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add windows cp1256 encoding for arabic, fixes bug #1007reimar2008-02-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25947 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
* audio_out / video_out structs should be treated as constreimar2008-01-192-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25793 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make xpm arrays really const (I missed that they are not strings butreimar2008-01-1352-52/+52
| | | | | | | array of strings (string pointers)). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25743 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all gui xpm bitmaps constreimar2008-01-137-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25742 b3059339-0415-0410-9bf9-f77b7e298cf2
* gui_opts should be const for win32 gui as well (why, oh why, was allreimar2008-01-131-1/+1
| | | | | | | this code duplicated??). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25741 b3059339-0415-0410-9bf9-f77b7e298cf2
* Win32 gui has the same m_option_print error handling bugreimar2008-01-131-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 100l: error check for m_option_print was unreachablereimar2008-01-131-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25739 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make big gui_opts array constreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifier, names starting with _ and uppercase are reserved.diego2008-01-071-34/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers: Names starting with __ or _ and uppercase are reserveddiego2008-01-062-5/+5
| | | | | | | for the system, names starting with _ are reserved at file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename common.[ch], there are too many files by that name.diego2008-01-065-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25631 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: alphabetical orderdiego2008-01-061-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25630 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename common.[ch] to gtk_common.[ch], there are too many files by that name.diego2008-01-0611-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-3128-31/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not PostQuitMessage when destroying a child window.zuxy2007-12-062-16/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, fixes the warnings:diego2007-12-021-2/+1
| | | | | | | | | mplayer/gtk/fs.c:428: warning: unused variable 'j' mplayer/gtk/fs.c:428: warning: unused variable 'size' mplayer/gtk/fs.c:426: warning: unused variable 'str' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make wsKeyNames array constreimar2007-12-022-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25272 b3059339-0415-0410-9bf9-f77b7e298cf2
* evNames / evBoxs should be "static const"reimar2007-12-022-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of fsPressed variable and related code. It does not reallyreimar2007-12-021-24/+0
| | | | | | | | have a function and some of the related code is hopelessly broken (hand-implemented strrchr, writing to a const char* etc). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Parameter of Filter function can be const, removes the warningreimar2007-12-021-1/+1
| | | | | | | mplayer/gtk/fs.c:197: warning: passing argument 1 of 'Filter' discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25263 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix return type of getGtkEntryText, it must be constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of some "discards qualifiers" warningsreimar2007-12-021-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25254 b3059339-0415-0410-9bf9-f77b7e298cf2
* get/set video colors string is constantreimar2007-12-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25252 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
* Better handling of win32 GUI thread:zuxy2007-11-111-6/+8
| | | | | | | | | | | 1. Use _beginthreadex t