Commit Graph

444 Commits

Author SHA1 Message Date
rocky
5e2d4f6bdf Get first libiso9660++ OO program (iso3) working. 2006-03-06 01:34:22 +00:00
rocky
129e141493 Add more C++ ISO 9660 methods and some classes (for C structs). 2006-03-05 08:31:03 +00:00
rocky
66d6e093aa lib/cdio++/Makeifle.am iso9660.hpp iso9660_stub.cpp: start C++ libiso9660 library
iso9660.h: documentation changes.
device.hpp: reduce number of methods

stub.cpp->cdio_stub.cpp
2006-03-05 06:52:15 +00:00
rocky
7c7b83f35a Mostly doc changes. However there was a field-name misspelling in iso9660.h 2006-03-02 18:59:13 +00:00
rocky
4ec818aabd Document iso9660_name_translate{,_ext} more accurately. 2006-03-01 20:48:55 +00:00
rocky
1b19429ddb Improve some comments. 2006-03-01 14:19:59 +00:00
flameeyes
8748e79ea7 Remove cdio_include.h at distclean rather than in clean, as it's done for config.h. Doesn't require to re-run ./configure at make clean. 2006-02-27 10:10:08 +00:00
rocky
202d2abdda Remove some deprecated things. 2006-02-16 20:09:27 +00:00
rocky
695091068b Replace yet another set of #defines with an enum. 2006-02-13 08:44:17 +00:00
rocky
d31ada19be Change another set of #defines to an enum. 2006-02-10 22:02:39 +00:00
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +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
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
854636c5d9 Move some more #defines into an enumeration. 2006-01-23 20:30:28 +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
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
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
f045387b19 Document behavior of eject and cdio_open* when no device is given. 2006-01-14 10:09:55 +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
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
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
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
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
d035ad1221 add read_sector{s}
cdtext.h: Small typo.
2005-11-10 00:44:40 +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
f0e815c967 Small typos. 2005-11-06 22:50:37 +00:00
rocky
33b8449e7e More separation between posix_mode_t and mode_t. 2005-11-06 20:02:39 +00:00
rocky
18e8567d8a posix_mode_t -> mode_t 2005-11-06 19:26:12 +00:00
rocky
00fba6a2c0 Return type of iso9660_get_posix_mode should be mode_t (the OS-specific
version), not posix_mode_t (cdio's internally consistent version.
2005-11-06 19:15:43 +00:00
rocky
f7bd8503b6 I think mode_t (not posix_mode_t) is correct here. The goal is to use
in normal OS file operations.
2005-11-06 19:12:35 +00:00
rocky
6e4743c734 Break out POSIX-like definitions to posix.h
Add ISO9660 routines to convert to mode_t
Record whether XA or not in iso9660_stat_t.
And other definition shifting around.
2005-11-06 00:39:37 +00:00
rocky
765b1529ea A couple of corrections on udf_get_file_length(). 2005-11-02 03:49:15 +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
8524d367b3 udf_times_to_stamp -> udf_timespec_to_stamp 2005-10-30 14:10:44 +00:00
rocky
8555f75652 Break off udf_file routines from udf.h 2005-10-30 07:36:15 +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
rocky
031b7199e9 Add more access functions. 2005-10-29 14:43:50 +00:00
rocky
df6402a4fd OS/X's linker does not permit common symbols in shared libs. 2005-10-29 03:43:14 +00:00