wm4
67e7da2d70
mp_msg: double maximum message size
2012-03-31 02:58:48 +02:00
Martin Herkt
f891939b4d
windows: terminal: unicode, --msgcolor, size change
...
Make mp_msg() support unicode output, --msgcolor and variable screen
sizes.
Patch reintegrated by wm4.
2012-03-09 20:48:54 +02:00
Clément Bœsch
b68f9fef32
cleanup: shut up more warnings
2011-05-06 18:33:16 +03:00
Clément Bœsch
6506d4ad84
cleanup: remove more warnings
2011-05-02 00:46:48 +03:00
reimar
aa82817945
mp_msg: avoid mangling other output with status line
...
Output a '\n' when printing a message after a status line to move the
terminal to the next line instead of writing on top of the status one.
Patch by Dan Oscarsson [Dan.Oscarsson tieto com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31691 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:14:43 +02:00
reimar
63b69b312c
mp_msg.c: Avoid out-of-bounds read if empty string is printed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31626 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:14:20 +02:00
Uoti Urpala
acdce0176a
Merge svn changes up to r30732
2010-03-10 01:25:15 +02:00
Uoti Urpala
12d3caebc7
Merge svn changes up to r30475
2010-03-09 19:18:43 +02:00
Uoti Urpala
81065d41b6
Add runtime translation support
...
Add support for gettext-based runtime translations. Enabled with
configure switch --enable-translation (no autodetection). Note that no
translation files are installed yet.
2010-03-08 22:53:12 +02:00
zuxy
9c0f9900ee
Reset output color after each line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30716 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 06:42:51 +00:00
diego
7262f6c9b4
Properly declare get_term_charset() instead of forward declaring it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30710 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 15:34:56 +00:00
diego
99c1bbca2a
Add license header to all top-level files missing them.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 23:24:23 +00:00
diego
64d5279410
Remove pointless #ifdefs around harmless internal header #includes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29471 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 16:00:55 +00:00
Uoti Urpala
546c3fb53c
Remove internal libass tree
...
Remove the libass/ directory and use the newest standalone version of
the library instead.
2009-07-26 20:22:43 +03:00
Anton Khirnov
87366694d8
Remove the internal GUI
...
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.
2009-07-07 21:49:42 +03:00
Uoti Urpala
a2037a2eff
Merge svn changes up to r29412
2009-07-07 02:56:01 +03:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Uoti Urpala
7394680e4e
Add temporary no-op translation function stubs
2009-07-06 19:56:57 +03:00
reimar
71fefd86ac
Use a malloced string for the get_term_charset return value.
...
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
2009-05-31 13:00:51 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego
0864f92e7a
Get rid of pointless 'extern' keywords.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego
091d352d06
Rename font-related preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego
d17f9943af
Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
...
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
2008-08-01 20:28:58 +00:00
diego
3b31fa5717
Rename two GUI-related preprocessor directives:
...
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
2008-07-30 13:44:59 +00:00
diego
4b141479da
Start unifying names of internal preprocessor directives.
...
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
2008-07-30 12:01:30 +00:00
zuxy
b74750a948
Enable runtime control for colorful and/or module name output
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 12:51:07 +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
diego
ae39a6457e
cosmetics: Remove trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 09:02:21 +00:00
reimar
bc41cde0b7
Make sure forked code does not try to display a GTK message box (and thus crashes)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24717 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-07 08:41:31 +00:00
diego
c1999c5661
Remove redundant extern variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24141 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 12:45:26 +00:00
diego
ba2799502d
Create a new MSGT for just the status line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23478 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 16:13:00 +00:00
diego
5c9abf7f9f
Gui --> gui
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00
uau
208d4343ef
"()" to "(void)" function param list fixes
...
patch from Stefan Huehner, stefan huehner org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
diego
36a80a348e
mp_msg.c is never built with -DCODECS2HTML.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22535 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 18:35:52 +00:00
diego
77ff00c85f
Remove unused variable lev_text, patch by Zuxy Meng, zuxy.meng gmail com.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 13:42:34 +00:00
reimar
a188335a33
Add code to detect and convert to console codepage on Windows.
...
Patch by Zuxy Meng [zuxy.meng at gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22460 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 19:04:08 +00:00
reimar
b642c2280a
Handle mp_msg_charset == NULL correctly in filename_recode.
...
Patch by Vladimir Voroshilov - voroshil gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 10:11:40 +00:00
reimar
70e10c7436
Cosmetics: remove tabs, almost all added during last patch, from
...
an otherwise tab-free file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22023 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 10:10:05 +00:00
gpoirier
333436a8aa
filename double-conversion, especially usefull for CJK users :-)
...
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
2007-01-26 09:57:09 +00:00
reimar
1ab5699571
Fix possible crashes with colorized mplayer output
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21669 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 18:50:46 +00:00
reimar
081b699393
Mixed up from and to charsets in iconv open failure message.
...
Patch by Zuxy Meng zuxy.meng at gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19555 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-27 08:10:07 +00:00
reynaldo
3a406e94d7
Get ride of the several if(identify) messy lines and rearangment of some of 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
2006-04-24 07:20:34 +00:00
rfelker
a703fdaa61
more cruft
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18001 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 22:28:32 +00:00
rfelker
8445dc1e96
remove deprecated, never-used gnu gettext cruft.
...
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
2006-03-30 22:14:44 +00:00
ods15
27542d02aa
10l missing header for strdup
...
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
2006-03-27 08:38:32 +00:00
albeu
35e90f1556
The fix in mp_msg.c avoids a core dump when iconv_open() fails, the other
...
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
2006-03-24 02:31:29 +00:00
reimar
1519205f24
Automaticall convert message to console charset, use utf8 for GTK2 Gui
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:45:48 +00:00
diego
4eab536f60
Comment fix: mp_msg_levels[] is inited to -2, not 2.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17743 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-05 18:28:20 +00:00
ods15
ddefa84a43
This now works correctly thanks to clear-to-end-of-line patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17673 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 14:56:28 +00:00
rathann
e7db4ccf1a
Patch by Stefan Huehner / stefan % huehner ! org \
...
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
2006-02-09 14:08:03 +00:00