Commit Graph

102 Commits

Author SHA1 Message Date
diego 751c986719 wording improvements suggested by the Wanderer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26424 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 22:01:16 +00:00
diego a1a1bd5e31 Make include paths consistent; do not use ../ in them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26414 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 16:03:07 +00:00
diego 636ffbe025 Update include paths to account for build system changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26404 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 13:19:35 +00:00
diego bc6b3d5d20 typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26403 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 13:13:27 +00:00
diego 99405ac93c Merge ./gui/Makefile into ./Makefile, one less instance of recursive make.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26398 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 17:45:02 +00:00
diego 40190e8ec7 Add gui/ prefix to some #include paths so that compilation from the
top-level source directory does not fail.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 16:55:27 +00:00
diego 2fe07e1cbe Remove duplicate #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26394 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 10:34:26 +00:00
diego 0e2ecd39c5 Add a config.mak variable to control compilation of the Win32 GUI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:28:32 +00:00
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
vayne d30c0a9ae2 removed redundant wincfg.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26226 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 18:47:46 +00:00
vayne e1b3a29b3e more header / declaration cleanups; fixes a lot of warnings as well as a preempt to removal of redundant wincfg.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26225 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-11 18:46:52 +00:00
diego 9e1391b534 Rename url.c/url.h to the less generic gtk_url.c/gtk_url.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26169 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:59:37 +00:00
diego bab8e78a2b Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26168 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:53:14 +00:00
diego 97f140390b consistency cosmetics: Use #ifdef everywhere instead of #if defined().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26167 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 07:52:36 +00:00
diego ac491474f1 Remove pointless #ifdef USE_LIBAVCODEC inside #ifdef USE_LIBAVCODEC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26156 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-04 19:13:18 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego 2fa781bcfe Consistently use filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 00:10:33 +00:00
diego 77eb726c3d Remove pointless #ifdefs around extern declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-20 08:51:53 +00:00
diego 2afea0a79b cosmetics: indent, remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26025 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:39:10 +00:00
diego 7976b35705 Merge the two conditional definitions of get_current_dir_name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26024 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:37:59 +00:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
reimar 7c39bad200 Add windows cp1256 encoding for arabic, fixes bug #1007
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25947 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 22:31:30 +00:00
reimar fbae3928cd Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:14:02 +00:00
reimar fda4dce8a0 audio_out / video_out structs should be treated as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25793 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:33:36 +00:00
reimar 0b0a71b97c Make xpm arrays really const (I missed that they are not strings but
array of strings (string pointers)).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:52:33 +00:00
reimar 0f5b555562 Make all gui xpm bitmaps const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:43:36 +00:00
reimar 1ade4e20ba gui_opts should be const for win32 gui as well (why, oh why, was all
this code duplicated??).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:26:28 +00:00
reimar acd409b4bf Win32 gui has the same m_option_print error handling bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:25:33 +00:00
reimar c9a1648cbc Fix 100l: error check for m_option_print was unreachable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25739 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:22:43 +00:00
reimar de66cc47fa Make big gui_opts array const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25738 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:17:57 +00:00
diego 7023cdec7b Fix illegal identifier, names starting with _ and uppercase are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25647 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 23:43:10 +00:00
diego e27d606714 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
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
2008-01-06 23:20:15 +00:00
diego b1760bdba5 Rename common.[ch], there are too many files by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25631 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:31:26 +00:00
diego 37b73c7b07 cosmetics: alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25630 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:25:27 +00:00
diego d64cf43315 Rename common.[ch] to gtk_common.[ch], there are too many files by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25629 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:22:00 +00:00
diego fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
zuxy 34704eb1dc Do not PostQuitMessage when destroying a child window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-06 02:52:59 +00:00
diego 98782a067a Remove unused variables, fixes the warnings:
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
2007-12-02 23:01:01 +00:00
reimar 9016716700 Make wsKeyNames array const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25272 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 21:48:45 +00:00
reimar 4ba28aa023 evNames / evBoxs should be "static const"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25271 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 21:41:51 +00:00
reimar 330359f85b Get rid of fsPressed variable and related code. It does not really
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
2007-12-02 17:45:08 +00:00
reimar b022082564 Parameter of Filter function can be const, removes the warning
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
2007-12-02 16:52:19 +00:00
reimar 74be616f16 Fix return type of getGtkEntryText, it must be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:50:33 +00:00
reimar d5a98e8598 Get rid of some "discards qualifiers" warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25254 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:43:30 +00:00
reimar 41ac28984c get/set video colors string is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25252 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:23:14 +00:00
reimar 844c8ffc48 Mark several uses of vo_functions_t as const to stop some of the current
hacks e.g. in vidix code from spreading.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:24:23 +00:00
zuxy 87db049a83 Better handling of win32 GUI thread:
1. Use _beginthreadex to create the GUI thread to avoid possible memory leak
   when linked to MS CRT.
2. Terminate the GUI thread in an cleaner way using PostThreadMessage()
   rather than the unrecommended TerminateThread().



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25020 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-11 08:14:57 +00:00
diego b438e1c385 Remove unused extern int declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24289 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 10:14:35 +00:00
diego 84157efa5a Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:20:24 +00:00