Commit Graph

1968 Commits

Author SHA1 Message Date
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
rocky
99ea8b6fbe Using inline seems to cause a linking problem. Don't know exactly
under what conditions or why, but "inline" isn't all that vital.
2006-01-05 21:58:52 +00:00
rocky
a57453248e Add largefile support. For example ISO images over 2G.
Problem and suggestion of where to look for a solution from
Colossus.
2006-01-05 21:57:40 +00:00
rocky
741ee6b038 Looks like FSF has changed their address. 2006-01-05 21:54:50 +00:00
rocky
6377ee1573 Small typo iso-info->iso-read 2005-12-22 17:26:12 +00:00
rocky
fbea344e32 texi2html seems to have problems with @table @acronym so use @table @dfn. 2005-12-22 17:25:38 +00:00
rocky
13c8ec25c8 We no longer use variable $(getopt_sources) 2005-12-17 19:37:55 +00:00
rocky
5796ff7478 #define mistake -- caught by SWIG, believe it or not. 2005-11-29 07:16:33 +00:00
rocky
4f84c6f31a Forgot to include mmc.hpp 2005-11-29 03:56:26 +00:00
rocky
ac5bd98c97 Add corresponding mmc2 OO C++ program. 2005-11-14 01:16:25 +00:00
rocky
baf2516278 Add C++ wrapper routines for MMC commands inside CdioDevice class.
Some comments/code in sample programs gone over and new onse added for
libcdio++.
2005-11-14 01:15:33 +00:00
rocky
06d3a2e5ac Typo causing compilation failure on OSX. Thanks to Steve Schultz. 2005-11-12 10:27:04 +00:00
rocky
c8fa10bf16 Use new read_sector routine. 2005-11-11 12:47:02 +00:00
rocky
91147fd391 include/cdio++ Add pre- and post- increment/decrement operators for
libcdio enums that it makes sense to iterate over.

example/C++/OO/*: use these
example/*: match up C and C++ programs better.
2005-11-11 12:26:57 +00:00
rocky
edfc03ac78 *** empty log message *** 2005-11-10 11:23:42 +00:00
rocky
1e9751d827 Remove a couple of signed/unsigned comparisons. 2005-11-10 11:22:55 +00:00
rocky
75960f732e automake Makefile for new C++ OO programs. 2005-11-10 11:17:15 +00:00
rocky
d7dd4a6c8a First cut at a C++ wrapper for libcdio libcdio++. What's not done are
audio and MMC commands. No doubt it may be a little rough and I expect
further changes.
2005-11-10 11:11:15 +00:00
rocky
5b12ddaeb4 Note more LIBCDIO dependencies for more programs. Pity automake
doesn't handle this more automatically.
2005-11-10 11:08:21 +00:00
rocky
6cb2949924 Add eject example program and the LIBCDIO_DEPS dependencies. 2005-11-10 11:02:14 +00:00
rocky
511312cd3b Add C Preprocessor HAVE_SYS_TYPES_H test. 2005-11-10 10:59:15 +00:00
rocky
cb08b294b0 Small comment change. 2005-11-10 10:58:05 +00:00
rocky
d035ad1221 add read_sector{s}
cdtext.h: Small typo.
2005-11-10 00:44:40 +00:00
pjcreath
416d729fa5 Documented silence matching 2005-11-08 23:21:40 +00:00
pjcreath
8da7896c23 Commented stage 2 extensively. 2005-11-07 20:06:45 +00:00
pjcreath
b460e8bb31 Cleaned up TRACE_PARANOIA and added some messages for the skip case. 2005-11-07 19:48:50 +00:00
rocky
9834af4577 Add eject 2005-11-07 07:54:52 +00:00
rocky
c2c69389cd Add cdio_eject_media_drive. 2005-11-07 07:54:41 +00:00
rocky
142c1e9e33 C eject works as C++ too.
Makefile.am: Add some of the dependency tracking.
2005-11-07 07:53:40 +00:00
rocky
9695c4bd50 Update to list various programs. I'm having trouble keeping track of
all them.
2005-11-07 07:49:34 +00:00
rocky
4b43802f85 Add eject.c. 2005-11-07 07:45:20 +00:00
rocky
6f81e9252b Add interface to eject CD-ROM by device name.
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
2f8e8b9529 Was giving a failure status on eject when it succeeded. The failure
was because ioctl(fd, BLKRRPART) didn't succeed. Turn this into a
cdio_info warning instead.
2005-11-07 07:41:29 +00:00
rocky
f0e815c967 Small typos. 2005-11-06 22:50:37 +00:00