summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.c
AgeCommit message (Collapse)Author
2014-01-04Copyright year update by hg log #4.Torsten Jager
BTW. Happy 2014 to you! Didnt think xine will survive this far :-) And yes, I finally got an ffmpeg patch through. That kind of rounds the circle :-)
2011-10-11Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/post.h => include/xine/post.h rename : po/libxine1.pot => po/libxine2.pot
2011-10-10xine_check: check vasprintf() return valuePetri Hintukainen
2011-10-04Merge from 1.1.Darren Salt
--HG-- rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h
2011-10-03Assign O_CLOEXEC a safe default value if it hasn't been defined already.Chris Rankin
2011-10-01Mark simple file and socket descriptors as uninheritable.Chris Rankin
This patch creates two utility functions: int open_cloexec(pathname, flags) int create_cloexec(pathname, flags, mode) These return a file descriptor with the CLOEXEC flag set, to ensure that the descriptor is not inherited across a fork/exec operation. The sockets returned by: _x_io_tcp_connect_ipv4() _x_io_tcp_connect() now also have their CLOEXEC flag set.
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-05-23Merge from 1.1. VDR needs to be updated.Diego 'Flameeyes' Pettenò
--HG-- rename : src/liba52/parse.c => contrib/a52dec/parse.c rename : include/xine.h.in => include/xine.h rename : src/xine-engine/alphablend.h => include/xine/alphablend.h rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/input/input_plugin.h => include/xine/input_plugin.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/libxineadec/fooaudio.c => src/audio_dec/fooaudio.c rename : src/libxineadec/gsm610.c => src/audio_dec/gsm610.c rename : src/liba52/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/audio_dec/xine_faad_decoder.c rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c rename : src/libmad/xine_mad_decoder.c => src/audio_dec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/libspucc/cc_decoder.c => src/spu_dec/cc_decoder.c rename : src/libspucmml/xine_cmml_decoder.c => src/spu_dec/cmml_decoder.c rename : src/libspudec/xine_spu_decoder.c => src/spu_dec/spu_decoder.c rename : src/libspudec/spu.c => src/spu_dec/spudec.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libsputext/xine_sputext_decoder.c => src/spu_dec/sputext_decoder.c rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c rename : src/libspucc/xine_cc_decoder.c => src/spu_dec/xine_cc_decoder.c rename : src/libxinevdec/bitplane.c => src/video_dec/bitplane.c rename : src/libxinevdec/foovideo.c => src/video_dec/foovideo.c rename : src/libxinevdec/gdkpixbuf.c => src/video_dec/gdkpixbuf.c rename : src/libxinevdec/image.c => src/video_dec/image.c rename : src/libmpeg2/xine_mpeg2_decoder.c => src/video_dec/libmpeg2/xine_mpeg2_decoder.c rename : src/libxinevdec/rgb.c => src/video_dec/rgb.c rename : src/libxinevdec/yuv.c => src/video_dec/yuv.c
2008-05-07Make _x_health_check_* functions static.Diego 'Flameeyes' Pettenò
The xine_check.h header is not currently installed and the symbols are not exported, their are only ever used in the same unit they are defined.
2007-12-19Update all the code to the new headers layout.Diego 'Flameeyes' Pettenò
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.
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
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-07-17Use asprintf() or our implementation of it.Darren Salt
CVS patchset: 8133 CVS date: 2006/07/17 17:56:29
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
2006-05-30Fix up health check to find libX11 and libXv shared objects even if develDarren Salt
packages aren't installed (where appropriate). (Ubuntu 47357) CVS patchset: 7999 CVS date: 2006/05/30 23:30:26
2006-04-21Add printf format attributes.Darren Salt
CVS patchset: 7977 CVS date: 2006/04/21 23:15:44
2006-02-14printf() format check & constness fixups.Darren Salt
CVS patchset: 7901 CVS date: 2006/02/14 19:13:10
2005-12-23Correct spelling of "extension".Darren Salt
CVS patchset: 7825 CVS date: 2005/12/23 18:23:31
2005-03-09**BUGFIX**Darren Salt
Fix CD/DVD health check diagnostic messages by adding spaces. Was saying "toyour" and "thepreferences". CVS patchset: 7437 CVS date: 2005/03/09 02:05:16
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-07-04better error checking when testing cdrom and dvd devices, not being ableMichael Roitzsch
to open the device does not mean it's not accessible, there might just be no disk inside (closes bug #984594) CVS patchset: 6768 CVS date: 2004/07/04 21:01:26
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
2003-12-24Ooops, not even an editor with brace highlighting can compensate my faultsMichael Roitzsch
CVS patchset: 5945 CVS date: 2003/12/24 16:40:01
2003-12-24the access() check is wrong, since R_OK & W_OK & X_OK is always 0, so weMichael Roitzsch
are testing for nothing; additionally, access() checks against real UID, but we actually want to check against effective UID => using open() is more straightforward. CVS patchset: 5944 CVS date: 2003/12/24 15:48:24
2003-12-18- fix compilation on Debian unstableBastien Nocera
CVS patchset: 5921 CVS date: 2003/12/18 16:19:32
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-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-25judging from the reaction, this check is supposed to test for SCSI devicesMichael Roitzsch
additionally, the current test fails to compile on SuSE 9.0 CVS patchset: 5593 CVS date: 2003/10/25 13:39:39
2003-10-03remove unresolved X11 symbols from xine-lib (xine-lib should always be X11-Michael Roitzsch
independent) that appeared when statically linking in libXv drawback: the Xv test in the health check is not supported on systems with only the static libXv any more CVS patchset: 5426 CVS date: 2003/10/03 16:30:07
2003-09-16The code that checked to see that the cdrom and dvdrom drives wereStephen Torri
usable by the user were never executed. The condition code to check the drive permissions was never false. The change here uses the access() function to check the permission of the drives. CVS patchset: 5394 CVS date: 2003/09/16 02:15:39
2003-08-25AMD64 support patch by Adrian SchroeterMichael Roitzsch
CVS patchset: 5308 CVS date: 2003/08/25 14:32:37
2003-08-04segfault fix by Frantisek DvorakMiguel Freitas
CVS patchset: 5239 CVS date: 2003/08/04 02:30:44
2003-03-24fix crash on no-mtrr x86 machinesGuenter Bartsch
CVS patchset: 4474 CVS date: 2003/03/24 16:27:59
2003-02-28Xine assert() replacement:Stephen Torri
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its adding the ability to print out a stack trace at the point where the assertion fails. So here are a few examples. assert (0); This use of assert was found in a couple locations most favorably being the default case of a switch statement. This was the only thing there. So if the switch statement was unable to find a match it would have defaulted to this and the user and the developers would be stuck wonder who died and where. So it has been replaced with XINE_ASSERT(0, "We have reach this point and don't have a default case"); It may seem a bit none descriptive but there is more going on behind the scene. In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT prints out: <filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description> An example of this might be: input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h CVS patchset: 4301 CVS date: 2003/02/28 02:51:47
2003-02-17fixing the xine_check Xv problem (using Xv calls, but no Xv dependency is ↵Michael Roitzsch
allowed) with Daniel's solution: statically linking in libXv.a if available, otherwise dlopen() dynamic one CVS patchset: 4186 CVS date: 2003/02/17 17:06:46
2003-02-07load Xv extension library by hand to avoid libXv linkingMichael Roitzsch
PROBLEM: At least on SuSE, libXv.so is not present, but the Xv extension is. So health check would return a false negative. Any better solution? CVS patchset: 4115 CVS date: 2003/02/07 17:34:40
2002-11-22wrong response on non-linux platforms fixedGuenter Bartsch
CVS patchset: 3343 CVS date: 2002/11/22 23:36:04
2002-11-21Fix typo preventing compile on non-Linux platformsRobin KAY
CVS patchset: 3327 CVS date: 2002/11/21 08:08:40
2002-11-21remove unused xine param defines, add title and explanation fields to xine-checkGuenter Bartsch
CVS patchset: 3325 CVS date: 2002/11/21 00:26:06
2002-11-18Fixed wording in a comment.Stephen Torri
CVS patchset: 3284 CVS date: 2002/11/18 00:48:57
2002-11-11Fix xine_check on non-Linux platformsRobin KAY
CVS patchset: 3240 CVS date: 2002/11/11 20:18:15
2002-11-11Updated so that the function set_hc_result is now private to the file.Stephen Torri
CVS patchset: 3229 CVS date: 2002/11/11 04:18:41
2002-11-11Major thanks to Daniel for guiding me through the wonderful world ofStephen Torri
C memory management. The code is much more simplified through the use of a function added to xine_check called set_hc_result. CVS patchset: 3227 CVS date: 2002/11/11 01:06:58
2002-11-10Clean up code for printing of strings.Stephen Torri
CVS patchset: 3225 CVS date: 2002/11/10 23:44:59
2002-11-10We are not borrowing code. Unnecessary comment from when I was debatig how to doStephen Torri
yuv12 support. CVS patchset: 3224 CVS date: 2002/11/10 20:48:30
2002-11-10src/video_out/video_out_xv.c:Stephen Torri
Cleared up trailing spaces src/xine-engine/Makefile.am: libxine should depend on the build libxineutil. src/xine-utils/Makefile.am: src/xine-utils/xine_check.c: src/xine-utils/xine_check.h: Added checking of support of yuv12 CVS patchset: 3223 CVS date: 2002/11/10 20:35:50
2002-11-04use self-dlsym()'d "xdisplayname" instead of referencing XDisplayName...Siggi Langauf
CVS patchset: 3187 CVS date: 2002/11/04 13:22:19
2002-11-04Clean up code. Provde dlopen for XOpenDisplay, XDisplayName, and ↵Stephen Torri
XvQueryExtension. NOTE: On my system XDisplayName is not resolved. I do not understand this. I am committing this code to make it easier to spot the problem. I hopefully have provided enough there in the code for debug. CVS patchset: 3182 CVS date: 2002/11/04 06:30:15