summaryrefslogtreecommitdiff
path: root/src/xine-utils/utils.c
AgeCommit message (Collapse)Author
2004-10-30better check for posix timersMiguel Freitas
CVS patchset: 7092 CVS date: 2004/10/30 15:04:46
2004-10-29use monotonic clock when availableMiguel Freitas
CVS patchset: 7087 CVS date: 2004/10/29 23:11:37
2004-09-26 - almost finalize headers refactoring needed for MSVC frontends (and for otherFrantišek Dvořák
poor platforms, of course) - fix a bug in generated xine-config for WIN32 and make it relocateable under Windows - MSVC port: update, fix some warnings, remove old unneeded files - improve function for getting runtime directory, it will need next fix yet (bug probably due to active volume drives) CVS patchset: 7001 CVS date: 2004/09/26 22:54:51
2004-09-20Build system improvements:František Dvořák
- use replacement functions (macro AC_REPLACE_FUNCS and variable LTLIBOBJS), each function is in a file placed into lib/ directory, it was not necessary, but it looks nice, IMHO - headers cleanups (this was needed): - prototypes of replacement funtions and macros are placed into separate os_internal.h (and included by config.h) - drop include inttypes.h from public xine.h, replaced by custom os_type.h, idea origins from Ogg/Vorbis public headers - disable generating inttypes.h: generated replacement isn't enough for xine-lib but nobody complained (and for M$VC we have special version) - better including headers for win32, let dvdnav use its mutex wrapper - updated M$VC port Result: - xine is compiled nicely by MinGW, CygWin and paritaly M$VC - frontends in M$VC port don't require additional helping headers - moved some platform specific things from xine-utils and win32/contrib to lib/ Finally I can start with real coding. :-) CVS patchset: 6982 CVS date: 2004/09/20 19:30:02
2004-09-12including <unistd.h>, which has been removed from the global headersMichael Roitzsch
CVS patchset: 6968 CVS date: 2004/09/12 19:23:36
2004-09-02Warnings on WIN32.František Dvořák
Compilation fix for CygWin. CVS patchset: 6932 CVS date: 2004/09/02 19:56:40
2004-09-01Improvements and implementing Michael's suggestions:František Dvořák
- new flags added at the end, so the users can override them properly - removed X11 libs and cflags from xine-config and libxine.pc - removed replacing for setenv (thanks to Robin for the hint) - better way for temporary disabling of w32dll module - data directories will be different on Windows - force installing catalogs with translation into XINE_LOCALEDIR - timer linked in xine-engine (just central place for linking such stuff) - adjusted load_plugins and remove reduntant WIN32 conditionals - removed unused $(lib_thr) CVS patchset: 6927 CVS date: 2004/09/01 18:19:49
2004-08-27MINGW32 port. Engine library and most of plugins compiles now.František Dvořák
List of some changes: - replaced some _MSC_VER by more common WIN32 - define INTLDIR, remove -static flag for included intl - shared more common CFLAGS with DEBUG_CFLAGS - use WIN32_CFLAGS for all building - separate some flags into THREAD_CFLAGS_CONFIG, THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config, automatically use internal libs if necessary - don't warn about missing X for mingw and cygwin - libw32dll disabled for WIN32 (making native loader would be interesting, or porting wine code to Windows? :->) - DVB and RTP disabled for WIN32, not ported yet - fix build and fix a warning in cdda - fix build for nosefart and libfaad - implement configure option --disable-freetype - sync libxine.pc and xine-config.in - add -liberty to goom under WIN32 - move original build files from included phread and zlib into archives and replace them by autotools CVS patchset: 6910 CVS date: 2004/08/27 19:33:17
2004-07-25protect bufferMichael Roitzsch
CVS patchset: 6854 CVS date: 2004/07/25 17:47:01
2004-07-14 - Use Windows encoding for the external subtitles, guessed according to ↵František Dvořák
current locale. - Add "-" into encoding names. - Fix a typo. CVS patchset: 6793 CVS date: 2004/07/14 18:51:29
2004-05-09Valid error description for gethostbyname. Obsolete function hstrerror() has ↵František Dvořák
no replacement, so it's used, but with configure check. CVS patchset: 6503 CVS date: 2004/05/09 17:42:23
2004-04-06Prepare for MinGW port:František Dvořák
move M$VC specific header files into sparate directory regenerate config.h for M$VC compilation fixes add some getchar()s into xineui.exe (popup dialogs would be better) CVS patchset: 6338 CVS date: 2004/04/06 19:20:15
2004-03-29fix prototypeMichael Roitzsch
CVS patchset: 6316 CVS date: 2004/03/29 19:10:36
2004-03-27"+y"+p code from xine-ui for guessing locale codeset (default encoding for OSD).František Dvořák
CVS patchset: 6309 CVS date: 2004/03/27 12:59:45
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-07get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). ↵Daniel Caujolle-Bert
Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. CVS patchset: 5860 CVS date: 2003/12/07 15:34:29
2003-12-06fix mem overlap reported by valgrindMiguel Freitas
CVS patchset: 5852 CVS date: 2003/12/06 16:10:01
2003-12-04some const correctnessJames Stembridge
CVS patchset: 5841 CVS date: 2003/12/04 22:15:25
2003-11-04Final patches for compiling xine under MSVC:František Dvořák
- basename() is added to xine-utils, if it isn't found by configure - macros with variable number of arguments are simplified to ignore additional arguments (only for MSVC), lprintf macro simplified with full functionality - minor update for building a52, some preparation for ffmpeg CVS patchset: 5687 CVS date: 2003/11/04 14:38:26
2003-09-16Removed headers that provided nothing needed to the build.Stephen Torri
Replaced 'while((int) ptr % alignment)' with 'while((size_t) ptr % alignment)' On a 32-bit architecture the comparision of ptr and alignment is fine. On a 64-bit architecture the comparision of ptr (32bits) and alignment (64bits) can cause problems in the desired behaviour. So casting the ptr to the same size as alignment cleared this issue. CVS patchset: 5392 CVS date: 2003/09/16 02:11:45
2003-07-27- removed xine-engine/locale.c as it is unused, fix static functions in theBastien Nocera
engine and the utils, removed unused variables CVS patchset: 5219 CVS date: 2003/07/27 12:47:23
2003-07-16don't try to print del eitherJames Stembridge
CVS patchset: 5172 CVS date: 2003/07/16 22:11:14
2003-07-161) signed data needs casting to unsignedJames Stembridge
2) don't print out control characters CVS patchset: 5170 CVS date: 2003/07/16 21:55:02
2003-07-16more cleanup; remove unused variables; use lprintfMarco Zuehlke
CVS patchset: 5168 CVS date: 2003/07/16 14:14:17
2003-04-20merging in win32 portGuenter Bartsch
CVS patchset: 4643 CVS date: 2003/04/20 21:13:21
2003-03-03implementing the backtrace function in the header results in the code being ↵Michael Roitzsch
included in every single plugin (possibly multiple times due to inlining) -> move the code to libxineutil seems more sensible CVS patchset: 4327 CVS date: 2003/03/03 17:29:07
2003-01-12i got the case that getpwuid_r returns 0 _and_ NULL in pwStefan Holst
CVS patchset: 3879 CVS date: 2003/01/12 16:38:08
2002-11-22Developers can now run "make" in their work area (e.g. src/libffmpeg) and itStephen Torri
will build all dependent parts (e.g. libxine.la). The directory must still be prepared by running autogen.sh. CVS patchset: 3331 CVS date: 2002/11/22 05:25:14
2002-07-30memory leaks fixed by Andres Salomon <dilinger@voxel.net>Michael Roitzsch
CVS patchset: 2364 CVS date: 2002/07/30 13:28:47
2002-06-23Use much faster calloc instead of malloc/memset (reduces startup time)Ewald Snel
CVS patchset: 2133 CVS date: 2002/06/23 09:12:45
2002-05-14fix segfault after getpwuid_r as suggested by Gianluca AmatoMiguel Freitas
CVS patchset: 1885 CVS date: 2002/05/14 03:02:45
2002-05-14fix suggested by Ian GoldbergMiguel Freitas
CVS patchset: 1884 CVS date: 2002/05/14 02:34:37
2002-03-24scr unregister patch from Michael Roitzsch, buffer mem release fix, ↵Guenter Bartsch
xmalloc_aligned cleanup - fb vo plugin needs to be fixed for this one CVS patchset: 1626 CVS date: 2002/03/24 14:15:36
2001-11-30Valid mrls are no more static (except few ones), like file suffix too.Daniel Caujolle-Bert
First draft of compat.h (almost empty for now). CVS patchset: 1139 CVS date: 2001/11/30 00:53:50
2001-11-17fixing memory leaksMiguel Freitas
CVS patchset: 1061 CVS date: 2001/11/17 22:40:01
2001-11-17Add 'xine_' prefix to all of xine-utils functions (what about cpuDaniel Caujolle-Bert
acceleration?). Merge xine-utils header files to a new one "xineutils.h". Update xine-lib C/headers to reflect those changes. dxr3 headers are no more installed ine $includdir, but $includdir/xine. CVS patchset: 1054 CVS date: 2001/11/17 14:26:36
2001-10-22introducing libxineutils and a this pointer for video_out_x11 callbacksGuenter Bartsch
CVS patchset: 852 CVS date: 2001/10/22 00:52:09