summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.c
AgeCommit message (Collapse)Author
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-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
2002-11-04Fix a compile bug for non-intel platforms.Stephen Torri
CVS patchset: 3181 CVS date: 2002/11/04 00:55:36
2002-11-03Added newer interface to xine_health_checkStephen Torri
CVS patchset: 3175 CVS date: 2002/11/03 23:07:14
2002-11-03add config.h header #include, remove bad characters, fix some compilation issuesGuenter Bartsch
CVS patchset: 3173 CVS date: 2002/11/03 22:39:22
2002-11-02Thanks to Siggi, Bastien, and Robin for their help.Stephen Torri
Used dlopen to grab reference to XvQueryExtension. Added #ifdef statements to protect doing unnecessary checks if X11 or Xv not installed. (still need work here) Removed X11 libs from xine-config flag (--libs) CVS patchset: 3156 CVS date: 2002/11/02 21:53:00
2002-11-02Fixed support for 8 bit colour in pgx64. Changed xine_check only to include ↵Robin KAY
Xv headers on Linux. Added pgx64 to ChangeLog. Made AUTHORS pretty again. CVS patchset: 3139 CVS date: 2002/11/02 04:31:06
2002-11-02Beta version of xine_health_check. Double check XV detection function.Stephen Torri
CVS patchset: 3137 CVS date: 2002/11/02 02:59:44
2002-10-26Fix prototype, when compiled on something != linuxJuergen Keil
CVS patchset: 3019 CVS date: 2002/10/26 20:21:09
2002-10-26Changed xine_health_check to take cdrom and dvd device links as argumentsStephen Torri
CVS patchset: 3004 CVS date: 2002/10/26 03:55:47
2002-10-22Disable the xine_check code for !linux platforms for now.Juergen Keil
CVS patchset: 2936 CVS date: 2002/10/22 17:05:58
2002-10-20turn healt_check into c-code ;>Guenter Bartsch
CVS patchset: 2873 CVS date: 2002/10/20 14:19:29