aboutsummaryrefslogtreecommitdiffhomepage
path: root/mp_msg.h
Commit message (Collapse)AuthorAge
* mp_msg: remove filename_recodeGravatar wm42012-07-31
| | | | | | | | | | This was intended for translating filenames from filesystem charset to the terminal charset. Modern sane platforms use UTF-8 for everything, and on Windows we use unicode APIs, so this is not needed anymore. Remove filename_recode, all uses of it, options and configure checks related to terminal output charset, and code that tries to determine the same.
* configure, mp_msg.h: get rid of MP_DEBUGGravatar wm42012-07-30
| | | | | | | | | | The function mp_dbg() was silent if MP_DEBUG was not defined. MP_DEBUG was defined only if configure was invoked with --enable-debug. Remove it and make mp_dbg an alias to mp_msg. This has the advantage tha --enable-debug changes less. (It only adds -g now and disables stripping the binary on installation.) Using log levels is the better way to silence annoying debug messages.
* windows: fix format string attributes on MinGWGravatar wm42012-03-01
| | | | | | | | | | MinGW maps the "printf" format string archetype to the non-standard MSVCRT functions, even if __USE_MINGW_ANSI_STDIO is defined and set to 1. We need to use "gnu_printf" to use the format strings as provided by vsnprintf and similar functions to get correct warnings. Since "gnu_printf" isn't necessarily available on other GCC compatible compilers (such as clang), do this only on MinGW.
* libmenu: remove OSD menu functionality (--menu)Gravatar Uoti Urpala2011-10-25
| | | | | | | | | | Something like the OSD menu functionality could be useful. However the current implementation has several problems and would require a relatively large amount of work to get into good shape. As far as I know there are few users of the existing functionality. Nobody is working on the existing code and keeping it compiling at all while changing other code would require extra work. So delete the menu code and some related code elsewhere that's used by nothing else.
* mp_msg: change mp_dbg() to inline function to check syntaxGravatar Uoti Urpala2011-06-29
| | | | | | | Change mp_dbg() from a macro that is defined to empty when MP_DEBUG is unset to an inline function that has an empty body when MP_DEBUG is unset. This allows the syntax of the calls to be checked even when compiling without MP_DEBUG set.
* mp_msg: Remove uses of MSGT_MENCODERGravatar Clément Bœsch2011-01-25
| | | | | Some of the code that could run outside MEcoder used MSGT_MENCODER. Replace those with appropriate MSGT_ types.
* cleanup: remove unused MEncoder-related codeGravatar Clément Bœsch2011-01-25
| | | | | Remove some code and variables that were no longer used after MEncoder removal. Also remove some MEncoder references in comments.
* cleanup: mp_msg.h: simplify mp_dbg definitionGravatar Uoti Urpala2011-01-18
| | | | | There's no need to define the mp_dbg macro differently for the __GNUC__ and general case.
* Merge svn changes up to r30475Gravatar Uoti Urpala2010-03-09
|\
* | Add runtime translation supportGravatar Uoti Urpala2010-03-08
| | | | | | | | | | | | Add support for gettext-based runtime translations. Enabled with configure switch --enable-translation (no autodetection). Note that no translation files are installed yet.
| * Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29912Gravatar Uoti Urpala2009-11-16
|\|
| * Add MSGT_TELETEXT, rename TVI_CONTROL as VBI_CONTROL and fix some pathsGravatar cehoyos2009-10-29
| | | | | | | | | | | | | | | | | | in comments. Based on a patch by Francesco Lavra, francescolavra interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29802 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove internal libass treeGravatar Uoti Urpala2009-07-26
| | | | | | | | | | Remove the libass/ directory and use the newest standalone version of the library instead.
* | Remove the internal GUIGravatar Anton Khirnov2009-07-07
| | | | | | | | | | | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
* | Add temporary no-op translation function stubsGravatar Uoti Urpala2009-07-06
|/
* Remove va_start/vsnprintf workaround for OS/2.Gravatar diego2008-03-01
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26135 b3059339-0415-0410-9bf9-f77b7e298cf2
* TARGET_OS2 is never set, use __OS2__ instead.Gravatar diego2008-02-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.Gravatar diego2008-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add comments to some #endif directives.Gravatar diego2007-12-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.Gravatar diego2007-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create a new MSGT for just the status line.Gravatar diego2007-06-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23478 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix some common typos, appropiate --> appropRiate,Gravatar diego2007-02-24
| | | | | | | handEling --> handling, dependAnt --> dependEnt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22334 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as wellGravatar diego2007-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* filename double-conversion, especially usefull for CJK users :-)Gravatar gpoirier2007-01-26
| | | | | | | | | Patch by Zuxy Meng <zuxy.meng@gmail.com> date: Oct 25, 2006 2:20 AM subject: [MPlayer-dev-eng] [PATCH] Filename double-conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22020 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation for win32 dll codec support for intel osxGravatar nplourde2006-11-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce MSGT_ASS, use it for all libass messages.Gravatar eugeni2006-11-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20645 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radio support, patch by Vladimir Voroshilov (voroshil gmail com)Gravatar reimar2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* more cruftGravatar rfelker2006-03-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify which message levels should be translated.Gravatar diego2006-03-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a msg type for the osd menu.Gravatar albeu2006-03-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add DBG5 verbosity level to prepare for upcoming mp_msg_test changes.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17931 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* new -msglevel option, constrols msg level for every msg moduleGravatar ods152005-12-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lGravatar ods152005-09-30
| | | | | | | gcc 2.95 only works with this kind of define, instead of the C99 one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16622 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg cleanup.Gravatar ods152005-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16619 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove all setlocale calls, they break the behaviour of sscanf andGravatar reimar2005-01-20
| | | | | | | | strcasecmp, especially with tr_TR locale - and do not seem to be good for anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Output more information about vids, aids, sids, alangs and slangs with ↵Gravatar mosu2004-11-25
| | | | | | -identify. Patch by kiriuja <mplayer-patches@en-directo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Translate up to MSGL_STATUS so all normal output is translated.Gravatar diego2004-09-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13366 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msg conversion, first stepsGravatar diego2004-08-24
| | | | | | | patch by The Wanderer <inverseparadox@comcast.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13123 b3059339-0415-0410-9bf9-f77b7e298cf2
* some updates in muxer apiGravatar alex2003-10-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle mp_msg like printf so compiler can report if missing/too much ↵Gravatar alex2003-08-31
| | | | | | arguments or other errors happen. GCC only git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10737 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100L forgot this commit for netstream.Gravatar albeu2003-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9863 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines ↵Gravatar mosu2003-01-15
| | | | | | can be safely used like functions: mydef(flag ? val1 : val2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding new audio output filter layer libafGravatar anders2002-10-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2
* new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:Gravatar arpi2002-08-21
| | | | | | | | | | | | | - multithreaded audio/video buffering (I know mplayer crew hates threads but it seems to me as the only way of doing reliable a/v capture) - a/v timebase synchronization (sample count vs. gettimeofday) - "immediate" mode support for mplayer - fixed colorspace stuff - RGB?? and YUY2 modes now work as expected - native ALSA audio capture - separated audio input layer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
* msg/i18n fixes and some printf->mp_msgGravatar arpi2002-06-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improvment for spu subtitles.Gravatar albeu2002-05-17
| | | | | | | | | | | | Removed the integreted spudec in vobsub. Various cleanup/bugfix in vobsub (no more auto palette when a true one is here) HW spu rendering moved in spudec because we first need to reassable the packet before sending them to the hw. Spudec is now created only if nedded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2
* New MSGT for more printf to mp_msgGravatar albeu2002-05-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5937 b3059339-0415-0410-9bf9-f77b7e298cf2