summaryrefslogtreecommitdiffstats
path: root/osdep
Commit message (Collapse)AuthorAgeFilesLines
* Remove now obsolete .cvsignore files.diego2006-06-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless cruft (caused error tz undefined)rfelker2006-05-131-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18468 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, fix broken if (X >= Y >= Z) comparison, probably stopped F-keys from ↵reimar2006-04-151-1/+1
| | | | | | working git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18108 b3059339-0415-0410-9bf9-f77b7e298cf2
* getch2 should wait for input. Fixes 100% CPU usage during cache fill.reimar2006-04-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18071 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Shorten overly long lines, put SRCS/OBJS on individual linesdiego2006-03-251-3/+10
| | | | | | | to ease patching in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing initializationreimar2006-03-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17768 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-094-14/+14
| | | | | | | | | | | | | | | | | | | | | | 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
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* AIX PPC portdiego2005-12-291-3/+3
| | | | | | | patch by "Derek E. Lewis" < -- dlewis -- @ -- solnetworks -- . -- net -- > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17265 b3059339-0415-0410-9bf9-f77b7e298cf2
* change erase to end of line, fall back to old behavior if no termcap foundods152005-12-292-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix erase to end of line with windows, windows terminal does not supportods152005-12-271-1/+1
| | | | | | | control codes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17252 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l to me, broke compilation on mingw, erase_to_end_of_line needs to beods152005-12-261-0/+1
| | | | | | | in both getch2 and getch2-win because only one of them is linked to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17248 b3059339-0415-0410-9bf9-f77b7e298cf2
* - move our setenv() fallback implementation to osdepal2005-12-262-1/+30
| | | | | | | | | | | - assert that the override param is nonzero (zero is not implemented) - correct return value type to int based on a patch by Diego fixes bugzilla bug #342 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use termcap "erase to end of line" character code instead of using spacesods152005-12-252-0/+6
| | | | | | | to end of screen. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17241 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-1414-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16986 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-021-6/+19
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix broken (off-by-one) behavior of our strl* functions (patch by reimar)rfelker2005-10-251-17/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16854 b3059339-0415-0410-9bf9-f77b7e298cf2
* use libvbe from vesautilsalex2005-08-185-2027/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16257 b3059339-0415-0410-9bf9-f77b7e298cf2
* add some closedir() to fix some opendir() leaksaurel2005-07-221-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16062 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper disabling/enabling of console output for vo_vesaaurel2005-07-161-21/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15981 b3059339-0415-0410-9bf9-f77b7e298cf2
* not used anymorereimar2005-05-271-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15578 b3059339-0415-0410-9bf9-f77b7e298cf2
* DragonFly BSD supportdiego2005-05-251-3/+3
| | | | | | | 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
* use sleep_accurate darwin timernplourde2005-04-271-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15276 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix gcc warnings, strlcat/strlcpy prototypesrathann2005-04-061-3/+4
| | | | | | | - fix bad sscanf usage in geometry.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for macosx finder argument support (let you bundle mplayer to be ↵nplourde2004-11-102-0/+111
| | | | | | a finder compliant .app) patch by Chris Roccati <roccati@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13910 b3059339-0415-0410-9bf9-f77b7e298cf2
* repace call to sleep_accurate to usleep which fix hang while using -cache ↵nplourde2004-10-271-9/+1
| | | | | | option on osx git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Zeta OS support, mostly working.reimar2004-10-114-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the getfaust32004-10-061-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a simple 32 bits protected mode interface to some VESA functions. This protected mode interface is interesting because it's quicker than the raw int 10h interface. Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional, and some video cards don't implement it (3dfx, intel 845/855/865...). This protected mode interface is then only used in vbeSetWindow and vbeSetDisplayStart :  - vbeSetWindow already implement an alternative methode if protected mode interface is not available.  - vbeSetDisplayStart also contain an alternative implementation, but this one is disabled with a #if 0. I don't exactly know why because it works well ! So currently, cards which don't have the 0x4f0a function are not supported. This patch correct this.  - vbeGetProtModeInfo failure is not fatal.  - vbeSetDisplayStart has it's alternative implementation reenabled.    it's used only with cards which don't have the 0x4f0a function    so this won't make any difference for cards which were already    working. This patch also make the failure of vbeGetModeInfo not fatal. The VBE 3.0 standard state that GetModeInfo can fail with some mode which are listed as supported if the mode can't be used in the current situation (not enough video memory for example). So a failure of vbeGetModeInfo don't mean that other modes won't work and should really not be fatal. patch by Aurelien Jacobs <aurel@gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13569 b3059339-0415-0410-9bf9-f77b7e298cf2
* stdout and stderr are macros --- you can't assign to them. Assignment ↵faust32004-09-161-2/+2
| | | | | | doesn't make sense anyway, because freopen will always return the same FILE * structure that it got in parameter. patch by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13353 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix slave mode for mingw, patch by Anton Ragnarsson <anton.ragnarsson.1093 ↵faust32004-08-131-12/+6
| | | | | | at student.uu.se> some cleanup by be git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13016 b3059339-0415-0410-9bf9-f77b7e298cf2
* And a tiny compile fix.wight2004-08-041-1/+1
| | | | | | | I should learn to test before apply. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Native darwin timer update.wight2004-08-044-107/+63
| | | | | | | Patch by Dan Christiansen <danchr@daimi.au.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12955 b3059339-0415-0410-9bf9-f77b7e298cf2
* typodiego2004-06-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12720 b3059339-0415-0410-9bf9-f77b7e298cf2
* mingw crosscompiling step 1faust32004-06-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12707 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfaust32004-06-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12678 b3059339-0415-0410-9bf9-f77b7e298cf2
* neomagic tv out support throught vesa vbe, patch by Rudolf Marekalex2004-06-252-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12661 b3059339-0415-0410-9bf9-f77b7e298cf2
* string handling security fixesdiego2004-06-252-1/+49
| | | | | | | | patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net> reviewed by Pontscho, Alex, Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
* name changediego2004-06-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12646 b3059339-0415-0410-9bf9-f77b7e298cf2
* ranlib cleanup by Dan Christiansenalex2004-06-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
* morphos support by Nicolas Detalex2004-04-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12123 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l for the orignial author and 1000l for me for commiting a broken workaroundfaust32004-04-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12116 b3059339-0415-0410-9bf9-f77b7e298cf2
* fseeko emulation patch by Steven M. Schultz <sms at 2bsd.com>faust32004-03-262-1/+85
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12072 b3059339-0415-0410-9bf9-f77b7e298cf2
* The attached patch fixes a minor build problem on GNU/k*BSD: getch2.c shoulddiego2004-03-241-3/+3
| | | | | | | | check for Glibc, not GNU. patch by Robert Millan <zeratul2@wanadoo.es> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12064 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable buggy code, patch by Romain Dolbeaualex2004-01-281-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modification statement added.diego2004-01-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11796 b3059339-0415-0410-9bf9-f77b7e298cf2
* happy new year, copyright is MPlayer team now, naming cosmeticsdiego2004-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11780 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr>attila2004-01-101-0/+9
| | | | | | | no idea whether this really works :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Save fs before calling vm86, this might eleminate bugs (if there were any) ↵alex2003-11-241-1/+3
| | | | | | in cooperation of using vesa with win32 dlls. Patch by Peter Kosinar <goober@ksp.sk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sleep(0) != usleep(0), bugreport by Paul-Kenji Cahierfaust32003-11-161-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11481 b3059339-0415-0410-9bf9-f77b7e298cf2
* cumulative libc5 compatibility patch ;)gabucino2003-11-132-0/+10
| | | | | | | | - VESA detection by sys/io.h header - workaround a missing define on libc5 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix pthread & lrmi segfault issue. ("Oleg I. Vdovikin" <vdovikin@jscc.ru>)ranma2003-11-111-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11435 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a read function for slave mode on mingwfaust32003-09-221-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10929 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix (missing C initializer)pl2003-09-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10858 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2003-08-031-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Obsoleted by timer-win2.c.diego2003-06-181-71/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10308 b3059339-0415-0410-9bf9-f77b7e298cf2
* obsoleted by timer-darwin.cdiego2003-06-111-64/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10281 b3059339-0415-0410-9bf9-f77b7e298cf2
* renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, ↵arpi2003-06-091-1/+0
| | | | | | LIBDIR->MPLAYER_LIBDIR git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10273 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix volume increasingfaust32003-06-011-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10231 b3059339-0415-0410-9bf9-f77b7e298cf2
* use threads on windowsfaust32003-05-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10198 b3059339-0415-0410-9bf9-f77b7e298cf2
* Precise timer for Darwin (it's more accurate than timer-macosx.c)alex2003-05-212-2/+171
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10149 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit fix by Aurelien JACOBS <aurel at gnuage.org>faust32003-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10115 b3059339-0415-0410-9bf9-f77b7e298cf2
* alternative timer and glob emulation code for mingw32 portfaust32003-04-255-3/+145
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9984 b3059339-0415-0410-9bf9-f77b7e298cf2
* windows resource file for versioninfo and iconfaust32003-04-201-0/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9945 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable getch2 on windows when we can't read stdin (msys)faust32003-04-191-3/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9937 b3059339-0415-0410-9bf9-f77b7e298cf2
* mem mapped area need to be unmapped.albeu2003-04-122-2/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9915 b3059339-0415-0410-9bf9-f77b7e298cf2
* keypad and function (f1-f10) suppport (currently only vo_sdl and the ↵alex2003-04-091-0/+17
| | | | | | terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unbreakrguyom2003-04-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9835 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable timer-win and getch2-win for mingw32faust32003-04-041-4/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9831 b3059339-0415-0410-9bf9-f77b7e298cf2
* gettimeofday() emulation using ftime()faust32003-04-041-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9830 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for "internet" or "multimedia" keyboards in X11.albeu2003-04-041-0/+6
| | | | | | | Patch from Jason Tackaberry <tack at auc dot ca>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9823 b3059339-0415-0410-9bf9-f77b7e298cf2
* atm shmem.c is only needed for cache2faust32003-04-021-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9798 b3059339-0415-0410-9bf9-f77b7e298cf2
* windows getch2 for MINGW32 portfaust32003-03-301-0/+109
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9767 b3059339-0415-0410-9bf9-f77b7e298cf2
* high precision timer for windows patch by Frodo <csharprules at hotmail.com>faust32003-03-301-0/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9766 b3059339-0415-0410-9bf9-f77b7e298cf2
* precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by mealex2003-02-192-2/+73
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9466 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-0916-0/+2705
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2