summaryrefslogtreecommitdiffstats
path: root/gui
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused static function wsDummyEvents and related unused code, fixes:diego2010-04-201-14/+0
| | | | | | | gui/wm/ws.c:710: warning: 'wsDummyEvents' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31048 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static function wsIOErrorHandler, fixes the warning:diego2010-04-201-6/+0
| | | | | | | gui/wm/ws.c:184: warning: 'wsIOErrorHandler' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static function fsFileExist, fixes the warning:diego2010-04-201-8/+0
| | | | | | | gui/mplayer/gtk/fs.c:440: warning: 'fsFileExist' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31046 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functions.reimar2010-04-051-27/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31020 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename get_path.[ch] --> path.[ch].diego2010-03-205-5/+5
| | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix windows Gui compilation and remove some related typecasts.reimar2010-02-271-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not cast the results of malloc/calloc/realloc.diego2010-02-262-2/+2
| | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix silly type of guiGetEvent argument to use void * instead of char * andreimar2010-02-252-10/+10
| | | | | | | | get rid of some of the insane amount of casts necessary to hide the utter idiocy of the type used before. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30731 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include libmpcodecs/vd.h for declaration of "fullscreen".zuxy2010-02-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30726 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare externally used variables from vd.c as extern in vd.h.diego2010-02-224-2/+3
| | | | | | | This saves declaring them as extern all over the place. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30695 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless empty lines at EOF.diego2010-02-206-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless '#if 1' preprocessor directives.diego2010-02-191-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix win32 gui compilation.reimar2010-02-165-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move movie_aspect extern declaration to libmpcodecs/vd.h.diego2010-02-141-0/+1
| | | | | | | | This is the appropriate place for the declaration; the variable is declared in libmpcodecs/vd.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move GUI-related extern declarations to a GUI header file.diego2010-02-144-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30578 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUI: Mark functions that are not used outside their files as static.diego2010-02-1413-63/+79
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid forward declarations for import_initial_playtree_into_gui() anddiego2010-02-141-0/+7
| | | | | | | import_playtree_playlist_into_gui; declare them in interface.h instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename gui/mplayer/gtk/menu.[ch] --> gui/mplayer/gtk/gtkmenu.[ch].diego2010-02-144-5/+4
| | | | | | | This avoids confusion with headers of the same name in other places. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30573 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUI: #include associated .h files in .c files.diego2010-02-143-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix exit_player() usage throughout the codebase.diego2010-02-143-4/+7
| | | | | | | | | | exit_player() was declared with differing parameter types in mplayer.c and mplayer.h. Make the declaration in the .h file match the one in the .c file and adjust all usages of exit_player() throughout the codebase. Also move the exit_player() declaration into mp_core.h next to exit_player_with_rc(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30558 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and correct loop condition, also avoids a compiler warning for ↵reimar2010-01-271-2/+2
| | | | | | unused result. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix newline removal code that might read and write out of bounds.reimar2010-01-272-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30446 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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