Commit Graph

2801 Commits

Author SHA1 Message Date
rocky
14f4a96a0d Allow DragonFly which so far is exactly like FreeBSD. Guidance
suggested and provided by Diego 'Flameeyes' Pettenò.
2006-02-12 04:26:44 +00:00
rocky
d31ada19be Change another set of #defines to an enum. 2006-02-10 22:02:39 +00:00
rocky
59e83162e5 bincue.c: was using NRG default devices!
cd_types.c: declare variable so we pick up debug info.
2006-02-10 18:04:17 +00:00
rocky
97f00c4da9 Clean up code a little. 2006-02-09 18:16:29 +00:00
rocky
295a7cd1e5 Fix another bug in cdda-player? I think b_cd was there only for
interactive use.
2006-02-02 06:24:34 +00:00
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +00:00
rocky
6d539596b8 Go over. 2006-02-01 00:52:17 +00:00
rocky
3861e929ef Fix bug in is_device when driver_id = DRIVER_UNKNOWN or DRIVER_DEVICE 2006-02-01 00:45:45 +00:00
rocky
413f887b1d Commit some of the temporary UDF stuff. It will either be completed or
disabled later.
2006-01-26 04:41:50 +00:00
rocky
2039a55d18 Install a CDDB log handler. 2006-01-25 22:30:34 +00:00
rocky
63697ffa22 Add cdchange. 2006-01-25 15:41:45 +00:00
rocky
3f39a667b2 Move the device routines which don't refer to an object private info
(e.g. closign a tray) out of the Device class.
2006-01-25 07:21:52 +00:00
rocky
9011bba7ef devices.hpp: Add default values on some parameters.
cdio.hpp: Remove bogus class.
2006-01-25 06:36:07 +00:00
rocky
1aff2d5bfb Add routine to show drives attached. Not really OO, but it is a little
nicer than the corresponding C program.
2006-01-25 06:30:22 +00:00
rocky
2effe553ca Add cdchange program. 2006-01-24 02:25:07 +00:00
rocky
9d6c4e3c70 Allow parameter to specify seconds to wait. 2006-01-24 00:53:19 +00:00
rocky
3a935b1bfa Example to show media changed routine. 2006-01-24 00:15:33 +00:00
rocky
3556cfe52c more lint. 2006-01-23 20:52:06 +00:00
rocky
68d35cea80 Now check to see if we have config.h *AND* it hasn't been included before. 2006-01-23 20:48:11 +00:00
rocky
d9e59ac065 LIBCDIO_CONFIG_H -> EXTERNAL_LIBCDIO_CONFIG_H so we don't get conflicting
includes with the local config.h.
2006-01-23 20:47:33 +00:00
rocky
68a10e4b57 Some small corrections to comments. 2006-01-23 20:33:42 +00:00
rocky
4c77464d81 config.h now seems to get included. 2006-01-23 20:31:11 +00:00
rocky
854636c5d9 Move some more #defines into an enumeration. 2006-01-23 20:30:28 +00:00
rocky
803e4799db Probably this is the right way (or a better way?) to ensure derived
scripts in test are made executable.
2006-01-23 04:07:22 +00:00
rocky
d58947569d We were assuming first_track is 1. It isn't always. 2006-01-22 08:17:40 +00:00
rocky
6a83b97a27 read.h needs <sys/types.h> Add it into cdio_config.h and include only
once.  Fixed based on observation and suggestion of Steve Schultz.
2006-01-21 12:02:55 +00:00
rocky
fe1bef3563 Note that this is not used and probably hasn't been in a while. 2006-01-21 11:35:38 +00:00
rocky
af0fee3bd9 Add test of set blocksize and set speed. 2006-01-21 11:05:00 +00:00
rocky
c89687d87f Had uninitialized set_speed and set_blocksize opts caused core dumps
if called.
2006-01-21 11:04:30 +00:00
rocky
03b6269ee1 Use exception handling. Set some default parameters like number of blocks=1. 2006-01-18 21:31:37 +00:00
rocky
83cde259ec Add a default value for drive paramater of CloseTray(). 2006-01-18 21:01:59 +00:00
rocky
22e3038b0f Add close status message. Remove uneeded driver_id parameter. Fix a
grammatical mistake.
2006-01-18 20:58:53 +00:00
rocky
f337b18d7d Some typos. 2006-01-17 12:53:41 +00:00
rocky
1736ea9c4e Went the subclassed exception route (at the expense of lots of extra
code and possibly extra maintenance). It will match the Python
interface and it's I guess what Stroustrup recommends.
2006-01-17 02:09:32 +00:00
rocky
004152ec29 Convert routines in device.hpp into raising an exception rather than
giving a return code. Sort of a test. More may follow.
2006-01-15 10:39:15 +00:00
rocky
5ac663c6a2 Add cdio_driver_return_code_to_str() to give a string interpretation
of a driver return code.
2006-01-15 01:26:50 +00:00
rocky
08143632ef Forgot to change (C) on that last change. 2006-01-14 10:47:12 +00:00
rocky
220d8d80d2 Add tests of opening/closing without specifying a drive. 2006-01-14 10:46:23 +00:00
rocky
bb0fdd45cb What's up. 2006-01-14 10:39:34 +00:00
rocky
088c1e62a9 Document behavior of cdio_open* and media_eject when no device given. 2006-01-14 10:10:34 +00:00
rocky
f045387b19 Document behavior of eject and cdio_open* when no device is given. 2006-01-14 10:09:55 +00:00
rocky
c5111267ca Fix compiler error introduced by last enum change. 2006-01-14 09:48:42 +00:00
rocky
8bf123a750 More enumerations.
*.c: add "debugger" enumeration variables.
2006-01-14 09:45:44 +00:00
rocky
f9e4c5149c Doxygen lint to change #define to \#define in comments.
Add more enumerations.
2006-01-14 09:44:53 +00:00
rocky
e3452ffe2e Use ABBREVIATE_BRIEF setting used in another of my projects. 2006-01-14 09:29:27 +00:00
rocky
8cc672c305 Remove GCC 4 warning about ignored "packed". 2006-01-14 08:58:25 +00:00
rocky
1be39db941 Go back to using standard autoconf-suppled AC_SYS_LARGEFILE 2006-01-08 21:44:14 +00:00
rocky
ed0d121821 Smutz seems to get into file at the beginning. 2006-01-06 01:27:56 +00:00
rocky
b13d838d1a More explicit about directory location. 2006-01-05 22:02:38 +00:00
rocky
fe54e2baa8 In C++ read.h needs <sys/types.h>. Don't know if this should be fixed
here (where we could concievably check for HAVE_SYS_TYPES_H or in
read.h (where it would be inde via cdio_config.h, but for now we'll do
it this way.
2006-01-05 22:01:44 +00:00