summaryrefslogtreecommitdiff
path: root/src/xine-utils/xineutils.h
AgeCommit message (Collapse)Author
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2006-12-25 * Allow building with Sun CC by fixing the lprintf variadic macro; patch byDiego 'Flameeyes' Pettenò
Taso N. Devetzis. [bug #1614406] CVS patchset: 8438 CVS date: 2006/12/25 15:16:33
2006-12-18Automatically flush lprintf() output.Claudio Ciccani
CVS patchset: 8420 CVS date: 2006/12/18 18:32:44
2006-10-16Fixed several warnings (but warnings due to APIs not solved).František Dvořák
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
2006-09-26Forgot one symbol.Diego 'Flameeyes' Pettenò
CVS patchset: 8291 CVS date: 2006/09/26 07:48:57
2006-09-26Fix the missing protected symbols, and enable hidden visibility for libxine.so.Diego 'Flameeyes' Pettenò
CVS patchset: 8290 CVS date: 2006/09/26 05:48:16
2006-06-23Miscellaneous static/const fixups.Darren Salt
Optimise away _xine_buffer_strcat. CVS patchset: 8073 CVS date: 2006/06/23 18:24:22
2006-04-08Ancient platforms support:František Dvořák
- rint, lrint, M_PI (ffmpeg and goom) - avoid mkdir warnings - check for older _GUID_DEFINED too - ressurected generating inttypes, cleaned public os_types.h - moved function redefiniton used only in the old MSVC to central place Windows port update: - build internal ffmpeg: - workaround 'near' keyword problem - proper using __declspec(dllimport) Other changes: - LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS CVS patchset: 7964 CVS date: 2006/04/08 16:42:23
2006-02-14Make input-only pointers point to const data.Darren Salt
CVS patchset: 7900 CVS date: 2006/02/14 19:12:16
2006-01-28Forgotten files.Thibaut Mattern
Sorry about the breakage. CVS patchset: 7855 CVS date: 2006/01/28 17:09:59
2005-08-29*BUGFIX*František Dvořák
Windows ports updates: - finished M$VC port update - moved xine plugins back to normal location for Windows ports, added relative directories (used relative to ${prefix}), make sure it's thread-safe (but it's still hacky) - fixed ugly bug with loading plugins, when working drive was differrent from plugins directory directory - directory and subdirectory separator called as platform specific - fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes! - small doc update CVS patchset: 7712 CVS date: 2005/08/29 15:28:16
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2004-12-12Check absolute path in $ac_aux_dir (just reflected from gxine).František Dvořák
Compilation fixes for cross-compiling with MinGW32. CVS patchset: 7231 CVS date: 2004/12/12 13:51:28
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-06Updates:František Dvořák
- usability MSVC for frontends - remove unistd.h from public headers - add configure option "--with-dxheaders" - install .def file under WIN32 - MSVC port update (some people might want it) CVS patchset: 6944 CVS date: 2004/09/06 18:34:37
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-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-06-14fix comment (this is enclosed in #ifdef DEBUG)Michael Roitzsch
CVS patchset: 6690 CVS date: 2004/06/14 16:36:40
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-28Backport VIS motion_comp code from libmpeg2 CVS so libmpeg2 uses these ↵Robin KAY
routines as well as the recently synced ffmpeg tree. CVS patchset: 6454 CVS date: 2004/04/28 00:38:08
2004-04-25addeed ppcasm_cacheable_memcpy fix from David Woodhouse <dwmw2@infradead.org>Manfred Tremmel
CVS patchset: 6436 CVS date: 2004/04/25 17:43:58
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
2004-03-18The string passed to putenv must not be freed during the lifetime of that ↵Robin KAY
entry. Using automatic varaibles was also wrong. CVS patchset: 6288 CVS date: 2004/03/18 16:50:00
2004-03-03arrays of variable size are not understood by all compilersMichael Roitzsch
(and I think they are not ANSI as well) CVS patchset: 6209 CVS date: 2004/03/03 19:59:43
2004-01-07frame copying functionsJames Stembridge
CVS patchset: 6008 CVS date: 2004/01/07 22:20:59
2003-12-29getting rid of some MSVC specific partsMichael Roitzsch
CVS patchset: 5955 CVS date: 2003/12/29 16:24:33
2003-12-26Win32 mega update:František Dvořák
- external ffmpeg (with some patches) built by MINGW works, wow! - cleanups (only one definition file for all plugins) - working release build target Notes to hybrid MINGW/MSVC build: - CVS version of ffmpeg is compiled by MINGW (small patch for compilation ffmpeg under MINGW, second for disabling flush because it crashes under windows) - libxine + xineui compiled by MSVC, additional patch into header files of ffmpeg is needed - export all data with '__declspec(dllimport)' CVS patchset: 5951 CVS date: 2003/12/26 18:37:58
2003-12-21if gcc knows that xine_xmalloc() behaves like malloc(), some moreMichael Roitzsch
aliasing assumptions can be made (malloc()-returned pointers never alias anything), which can leed to further optimizations CVS patchset: 5933 CVS date: 2003/12/21 14:14:39
2003-12-13Update win32 MSVC build:František Dvořák
* internal names cleanup * http input plugin uses http_helper.c * fix change in audio_directx * MSVC stoped compile xineui because of 'this', mysterious * change non-constand array lengths to malloc/free, it good for such old compilers as my MSVC 6.0 * change lprintf macro for MSVC to compile again (I don't know, how use variable number of macro arguments in MSVC...) * merge compiling of xine-utils and xine-engine CVS patchset: 5902 CVS date: 2003/12/13 11:35:07
2003-12-13no need to mallocing (and never freeing) for putenv() calls.Daniel Caujolle-Bert
CVS patchset: 5900 CVS date: 2003/12/13 01:47:35
2003-12-08use __XINE_FUNCTION__Daniel Caujolle-Bert
CVS patchset: 5872 CVS date: 2003/12/08 12:37:25
2003-12-08_x_assert: printout format like assert(), _x_abort: print file/line/func ↵Daniel Caujolle-Bert
before aborting (useful to trace abort()s). CVS patchset: 5870 CVS date: 2003/12/08 12:36:02
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-06getting the spelling really rightMichael Roitzsch
CVS patchset: 5854 CVS date: 2003/12/06 18:15:56
2003-12-06reading through Daniel's huge patch was quite tiresome, but it was not ↵Michael Roitzsch
worthless: * fixing some lprintf's * fixing one printf -> xprintf * adding patch to diff_to_ffmpeg_cvs * small addition to xineutils.h (some gcc magic for future optimizations) CVS patchset: 5853 CVS date: 2003/12/06 18:11:53
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-12-04some const correctnessJames Stembridge
CVS patchset: 5841 CVS date: 2003/12/04 22:15:25
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-26Win32 MSVC stuff:František Dvořák
piece of patch of previous win32 update sputext demuxer - latin1 subtitles work mpeg_pes demuxer - it's compiled fine with MSVC and it seems it works CVS patchset: 5799 CVS date: 2003/11/26 21:28:47
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
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-11-01assuming Miguel's consent I commit his profiling macrosMichael Roitzsch
(they are not used anywhere, but are very helpful, if you quickly want to measure, how much time a function takes) CVS patchset: 5666 CVS date: 2003/11/01 17:25:49
2003-11-01back out brightness patchMike Melanson
CVS patchset: 5659 CVS date: 2003/11/01 01:25:44
2003-10-30brighten up the converted RGB videoMike Melanson
CVS patchset: 5642 CVS date: 2003/10/30 06:04:31