aboutsummaryrefslogtreecommitdiffhomepage
path: root/mp_msg.c
Commit message (Collapse)AuthorAge
* Reset output color after each line.Gravatar zuxy2010-02-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30716 b3059339-0415-0410-9bf9-f77b7e298cf2
* Properly declare get_term_charset() instead of forward declaring it.Gravatar diego2010-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30710 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
* Remove pointless #ifdefs around harmless internal header #includes.Gravatar diego2009-08-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a malloced string for the get_term_charset return value.Gravatar reimar2009-05-31
| | | | | | | | This is necessary at least on POSIX systems since the buffer returned by nl_langinfo may change its contents with e.g. each setlocale call. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29332 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.Gravatar diego2008-12-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename font-related preprocessor directives.Gravatar diego2008-08-07
| | | | | | | 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 some preprocessor directives from CONFIG_* to HAVE_* where appropriate;Gravatar diego2008-08-01
| | | | | | | 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:Gravatar diego2008-07-30
| | | | | | | 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.Gravatar diego2008-07-30
| | | | | | | | 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
* Enable runtime control for colorful and/or module name outputGravatar zuxy2008-04-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26402 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializedGravatar diego2008-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove trailing whitespace.Gravatar diego2007-12-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25431 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure forked code does not try to display a GTK message box (and thus ↵Gravatar reimar2007-10-07
| | | | | | crashes) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24717 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern variable declaration.Gravatar diego2007-08-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24141 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
* Gui --> guiGravatar diego2007-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* "()" to "(void)" function param list fixesGravatar uau2007-04-01
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg.c is never built with -DCODECS2HTML.Gravatar diego2007-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable lev_text, patch by Zuxy Meng, zuxy.meng gmail com.Gravatar diego2007-03-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add code to detect and convert to console codepage on Windows.Gravatar reimar2007-03-04
| | | | | | | Patch by Zuxy Meng [zuxy.meng at gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle mp_msg_charset == NULL correctly in filename_recode.Gravatar reimar2007-01-27
| | | | | | | Patch by Vladimir Voroshilov - voroshil gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22024 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove tabs, almost all added during last patch, fromGravatar reimar2007-01-27
| | | | | | | an otherwise tab-free file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22023 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 possible crashes with colorized mplayer outputGravatar reimar2006-12-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21669 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mixed up from and to charsets in iconv open failure message.Gravatar reimar2006-08-27
| | | | | | | Patch by Zuxy Meng zuxy.meng at gmail com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19555 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
* remove deprecated, never-used gnu gettext cruft.Gravatar rfelker2006-03-30
| | | | | | | | | | | | proper runtime message catalogs will be added with catgets in the (near?) future. this resolves complaints about mp_msg printing crap at startup when gettext was (stupidly) enabled by default even though it was not useful. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17999 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l missing header for strdupGravatar ods152006-03-27
| | | | | | | mp_msg.c:103: warning: assignment makes pointer from integer without a cast git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17973 b3059339-0415-0410-9bf9-f77b7e298cf2
* The fix in mp_msg.c avoids a core dump when iconv_open() fails, the otherGravatar albeu2006-03-24
| | | | | | | | | just makes it possible to compile if USE_ICONV is undefined. Patch by Bjorn Sandell (biorn _At_ chalmers _Dot_ se). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Automaticall convert message to console charset, use utf8 for GTK2 GuiGravatar reimar2006-03-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment fix: mp_msg_levels[] is inited to -2, not 2.Gravatar diego2006-03-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17743 b3059339-0415-0410-9bf9-f77b7e298cf2
* This now works correctly thanks to clear-to-end-of-line patchGravatar ods152006-02-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17673 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
* MPLAYER_VERBOSE, new enviorment variable to control verbosity before initGravatar ods152006-01-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'llGravatar ods152005-12-07
| | | | | | | print bogus stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, reverting 2 more unrelated changes with last commitGravatar ods152005-12-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17109 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
* mp_msg cleanup.Gravatar ods152005-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16619 b3059339-0415-0410-9bf9-f77b7e298cf2
* improve colorizationGravatar michael2005-09-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16380 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove many annoying GTK includes in every compile line and remove GTKGravatar ods152005-09-03
| | | | | | | stuff from mp_msg by using a wrapper function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16375 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
* force a new line if a message is very longGravatar pl2003-09-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10854 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved some annonying messages to debug mode onlyGravatar alex2003-07-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10416 b3059339-0415-0410-9bf9-f77b7e298cf2
* codec-cfg cannot be built when the gui is enabled - it fails to link with aGravatar jkeil2002-12-27
| | | | | | | | | couple of undefined external references. Problem is that mp_msg.c is included in the codec-cfg binary, but for codec-cfg the gui code in mp_msg.c shouldn't be compiled in. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8574 b3059339-0415-0410-9bf9-f77b7e298cf2
* WARNING message gui windows disabled, the only critical warn message (tooGravatar arpi2002-08-31
| | | | | | | slow) moved to ERROR git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7206 b3059339-0415-0410-9bf9-f77b7e298cf2
* - warnings enabled for GUI modeGravatar arpi2002-08-31
| | | | | | | - color mode (color depends on msg level), disabled by default git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7201 b3059339-0415-0410-9bf9-f77b7e298cf2
* print only fatal/error/warning to stderr, others go to stdoutGravatar arpi2002-08-31
| | | | | | | (actually reversed Nick's r1.10 commit) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7196 b3059339-0415-0410-9bf9-f77b7e298cf2