Commit Graph

203 Commits

Author SHA1 Message Date
rocky
ad4aadc3cb iso1.c{,pp} Show PVD info as well.
README: revise for the programs we've got.
2006-03-02 18:57:31 +00:00
rocky
c2d5b7e0fe Simplify code. Add usage. 2006-03-02 18:46:30 +00:00
rocky
d4ea2bfcaf Some small changes inspired by correspoinding Perl programs. 2006-03-02 01:28:58 +00:00
rocky
5a765734f9 Remove duplicate free 2006-03-01 15:16:16 +00:00
rocky
29c25d8fb8 iso1.c, iso1.cpp: add p_ prefix to some pointers
iso1.cpp: add iso1.c improvements: allow for an optional ISO name.
2006-03-01 14:11:16 +00:00
flameeyes
2658374d89 Fix keywords ordering. 2006-02-27 10:28:25 +00:00
rocky
9c72d5971f udf_time.c: make sure offset is initialzed (Darwin doesn'thave TIMEZONE var).
.cvsignore: add .gdb_history
2006-02-13 01:59:28 +00:00
rocky
97f00c4da9 Clean up code a little. 2006-02-09 18:16:29 +00:00
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +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
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
d58947569d We were assuming first_track is 1. It isn't always. 2006-01-22 08:17:40 +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
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
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
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
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
9834af4577 Add eject 2005-11-07 07:54:52 +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
7a36273edc Don't have udf_read_block yet... 2005-11-04 08:15:18 +00:00
rocky
0a0b4b6017 New test program for reading files. (Doesn't work yet.) 2005-11-04 04:23:34 +00:00
rocky
78883887df Add routine to get file length.
Fix bug in retrieving dirent for root.
Reduce overhead in udf_get_link_count()
2005-11-02 03:42:49 +00:00
rocky
e9851bf3a3 udf_find_file -> udf_fopen and made closer to fopen(). It also
simplifies things a little bit. Start testing.
2005-11-01 13:07:01 +00:00
rocky
00a3010210 Remove extraneous parameter on udf_opendir(). 2005-11-01 03:21:04 +00:00
rocky
7de9d148bf Rename some functions to be more like POSIX file reading, i.e. add
udf_opendir() and udf_readdir(). udf_file_entry_t -> udf_dirent_t.
2005-11-01 03:14:49 +00:00
rocky
7cf3194860 Fix small valgrind leak. 2005-10-30 16:04:11 +00:00
rocky
f91f3dd65c udf1.c: Do better about dealing with recursive directories.
iso-info.c: small variable name change
2005-10-30 15:58:37 +00:00
rocky
788be22393 Minor misspelling in comment. 2005-10-30 14:26:11 +00:00
rocky
cf5698997d Minor typographical misspellings in comment 2005-10-30 14:25:46 +00:00
rocky
9ec9c5a991 Break of file routines into udf_file.{c,h}
udf1: Add link count
2005-10-30 07:35:36 +00:00
rocky
17de10953a Fill out file modes better and clean up interface more by trying to
funnel into POSIX file mode_t. FIXME: something needs to be done to
merge ISO9660 interfaces and UDF and probably the right thing is to
make it look like POSIX. Would be nice if there were a library
e.g. from GNU fileutils I could use to help.
2005-10-30 05:43:01 +00:00