cboesch
fe3c4810e1
cleanup: remove NULL checks before free() all over the code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-14 13:11:20 +02:00
Uoti Urpala
00323c06e2
Delete things related to old translation system
...
Remove the help/ subdirectory, configure code to create toplevel
help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
2010-03-10 03:47:14 +02:00
Uoti Urpala
e74708f619
Merge svn changes up to r30748
2010-03-10 01:50:55 +02:00
Uoti Urpala
36e7a20e69
Merge svn changes up to r30550
2010-03-09 23:03:14 +02:00
Uoti Urpala
8e593f5a34
Merge svn changes up to r30529
2010-03-09 22:47:41 +02:00
Uoti Urpala
5234c72e28
Restore collapsed whitespace in output messages
...
For some reason commit e306174952d42e1cd6cc5efc50ae6bb0410501bc, which
replaced translation macro names with the corresponding English
strings, also collapsed multiple consecutive space characters into
one. Change most of these back. In a couple of cases the amount of
whitespace is important for alignment, and for the rest it at least
keeps the strings closer to the existing translations.
2010-03-07 21:34:54 +02:00
diego
b63759b175
Do not cast the results of malloc/calloc/realloc.
...
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
2010-02-26 15:01:37 +00:00
komh
47f78d28f1
Add win32 loader support for OS/2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30541 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 01:38:14 +00:00
diego
0a3901e1ae
Remove extern "C" declarations from loader code.
...
Our loader code is not a general-purpose library and not used from C++.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 14:33:57 +00:00
diego
79641e6232
Merge some preprocessor conditionals where appropriate.
...
This saves a few lines and simplifies the code slightly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30525 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-08 10:05:49 +00:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03: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
26b29f4f2d
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
...
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego
5e6231b340
#include osdep/mman.h if sys/mman.h is not available.
...
patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26143 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 09:47:01 +00:00
diego
c03c4b5431
Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:31:51 +00:00
diego
c9836ea2b0
Add missing #includes for Mac OS X, fixes the warning
...
ldt_keeper.c:243: warning: implicit declaration of function i386_set_ldt
patch by Elias Pipping, elias pipping org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26086 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:18:01 +00:00
reimar
2da6e47a62
Remove $Id$ tags, they make diffs between different versions
...
harder to read than necessary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 12:15:27 +00:00
nicodvb
a09d3e1bc7
check that definition of prototype of sysi86(int, void*) doesn't conflict; fixed compilation in opensolaris
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22733 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:18:11 +00:00
nplourde
fc59977ac9
fix compilation for win32 dll codec support for intel osx
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 02:44:06 +00:00
reimar
7142e36d1f
Remove useless fd parameter for mmap_anon
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21264 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:09:46 +00:00
reimar
04459fd6a3
open /dev/zero left over from mmap_anon patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21260 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:55:09 +00:00
nplourde
ac04dcd625
added mmap_anon to osdep lib. Used in loader for now
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21203 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 01:22:20 +00:00
reynaldo
9d9a15d185
rm unnecesary casts from void* - part 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reynaldo
c71983202c
gets ride of a few more sizeof(char)s
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
diego
57f3213401
CVS --> Subversion in copyright notices
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
diego
4a98d0a313
Add a check for sysi86() on Solaris systems, solving a build failure on Solaris
...
10 x86 to avoid using a local declaration that is no longer compatible.
patch by "Derek E. Lewis", dlewis $$@$$ solnetworks %%.%% net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18363 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-30 21:17:30 +00:00
alex
f41945b508
one more hint for openbsd
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17606 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 14:14:12 +00:00
diego
8308e63eb1
DragonFly BSD support
...
patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 08:48:32 +00:00
diego
f5e88339a5
Mark modified imported files as such to comply with GPL §2a.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 20:17:14 +00:00
reimar
ce701ae438
initialize modify_ldt struct to 0.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14538 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:03:59 +00:00
reimar
54d4ed8611
add missing registers in clobber list, fixes bug #169
...
Patch by basic basic (at) mozdev [dot] org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14213 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 23:26:45 +00:00
faust3
7b545bbee6
10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13362 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-17 10:37:56 +00:00
faust3
56f0d012e3
declare modify_ldt with syscall3 macro for older glibcs patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13352 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-16 07:58:19 +00:00
alex
16816457b8
FreeBSD 5.0 (libkse/libthr) support by Dan Eischen <eischen@vigrid.com>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10822 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 00:14:08 +00:00
alex
fbed04310e
exporting fs_seg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8224 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-17 17:41:19 +00:00
arpi
43959d646a
2.5.47+ support
...
patch by Sergey S. Stasyuk <stas@soft-systems.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8214 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-16 09:38:23 +00:00
arpi
c7eafc3610
avifile sync - 95% cosmetics 5% bug
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-13 19:43:17 +00:00
arpi
30d0116d16
OpenBSD, NetBSD portability patches by
...
Björn Sandell <biorn@dce.chalmers.se>
Marcus <core@antbear.org>
Bernd Ernesti <mplayer@lists.veego.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5873 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 22:42:27 +00:00
alex
9b4a1eb8f8
commented out debug msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5748 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-21 01:39:36 +00:00
arpi
189b1be24d
/dev/zero bad permissions error message
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3776 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 22:33:15 +00:00
arpi
b1d29c43a6
Eugene's fixes to work with QuickTime.qts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2780 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 03:27:29 +00:00
arpi
031c6bf512
changes merged back from avifile cvs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2140 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-08 22:26:14 +00:00
jkeil
8859c74a11
(solaris x86) C++ style variable declaration not at the start of a block does
...
not work in mplayer, add a block to declare local variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2071 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 11:17:39 +00:00
arpi
4f3776f018
sync with avifile
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2070 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 02:21:47 +00:00
arpi
5473cb0123
setup_FS.c -> ldt_keeper.c (avifile sync)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2068 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 00:07:15 +00:00