Commit Graph

1176 Commits

Author SHA1 Message Date
rocky
8a9128cf61 Remove some bugs in udf_file.c Others remain. 2006-04-16 02:34:08 +00:00
rocky
22608b594e stream: add getpos routine
udf: save last read position.
2006-04-15 03:05:14 +00:00
rocky
80ab1a301c libcdio.sym: add mmc_close_tray
cdda-player.c, mmc-tool.c: remove possibility of uninitialized return
code variables
2006-04-14 22:17:08 +00:00
rocky
0c2b1bfa9e mmc: add mmc_close_tray().
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
f66b71db63 udf_fs.c: was freeing freed memory when searching for a file that
doesn't exist.

udf2.c: print error when looking for a non-existent file.
2006-04-11 06:46:29 +00:00
rocky
d0d5ea424f Make udf_read_block more like 2 read. Implementation is closer
to the description (although it needs more work.)
udf_fs.h: break out udf_check_tag()
*.h: /*! -> /** - is more like Javadoc.
2006-04-11 05:47:57 +00:00
rocky
e039fcee0e Handle error condition better. 2006-04-11 01:05:44 +00:00
rocky
6eeb46aea7 UDF fixes. 2006-04-11 00:26:54 +00:00
rocky
3c8e10bf67 . 2006-04-05 03:55:09 +00:00
rocky
d71d515ee6 Make so we can call from driver. Some comment changes too. 2006-04-05 02:20:06 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
10b57b2ddd gnu_linux: Use internal routine to set the speed.
mmc.c: add more debug_ variables for new enums and extern vars in mmc.h
set speed is in the write direction not read
2006-04-03 19:31:18 +00:00
flameeyes
2f62a9c3fd Add a --disable-cxx configure parameter so that the C++ bindings can be skipped. 2006-03-30 10:47:51 +00:00
rocky
d45449d271 For read_data_sectors, try first MMC commands and then cooked I/O. 2006-03-28 13:16:09 +00:00
rocky
dbc63b695a Yet another attempt to get "get_drives_with_cap" working in a rational
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3 One more time, go over logic of get_drives_with_cap. 2006-03-27 02:48:41 +00:00
rocky
8b24c3a47e Bug in get_drive_types_with_cap: Had wrong boolean logic. 2006-03-26 20:47:55 +00:00
rocky
393af6efc3 Untabify 2006-03-26 02:35:26 +00:00
rocky
f7c122285d Add/correct comments. osx.c: remove tabs. 2006-03-26 02:34:41 +00:00
rocky
1dfc5d1146 Store passed in messagedest in initializing drive object. 2006-03-25 00:20:28 +00:00
rocky
aa838fc894 documentation additions, mostly doxygen. More #defines become enumerations. 2006-03-18 18:37:56 +00:00
rocky
b8d69c67a2 iso9660.h: remove doxygen formatting warning.
configure.ac, NEWS: get ready for 0.77 release
2006-03-18 02:35:06 +00:00
rocky
8f125ff0a4 typo 2006-03-18 01:56:19 +00:00
rocky
49bc5ccb3f Security: replace all uses of strcat and strcpy with strncat and strncpy 2006-03-18 00:53:20 +00:00
rocky
611fc94450 Replace strcat and strcpy with strncat, strncpy. 2006-03-17 22:36:31 +00:00
rocky
69ecb8d916 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 19:06:51 +00:00
rocky
11cb91da13 More time corrections in the presense of timezones, daylight savings time,
and HAVE_TM_GMTOFF
2006-03-17 13:00:43 +00:00
rocky
2e730474fd use tzset to try to get GMT read. 2006-03-17 03:19:15 +00:00
rocky
6a671c70c5 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 03:10:53 +00:00
rocky
a418cf06ba iso9660_get_{l,d}time() anot accounting for the timezone properly.
Some other small bugs removed.
2006-03-17 01:05:54 +00:00
rocky
2cb388781d Update library version numbers for possible release. FSF address change. 2006-03-14 12:05:16 +00:00
rocky
62386a361a iso9660.h: note b_mode2 parameter is not used any more
cdda-player.c
FSF address change.
2006-03-14 11:40:05 +00:00
rocky
509aaf7798 comment change - 0x2->FLAGS_UNREAD 2006-03-13 02:08:14 +00:00
rocky
2c2245652d Go back to inlining various functions because older STL's can't handle
not having the bodies. (I think this is what's going on, but I'm not
completely sure. Deals with failure on older BSDI and gcc 2.95 server)
2006-03-07 20:54:22 +00:00
rocky
b98683ea1f Code for Cdio::Devices Class 2006-03-07 20:01:26 +00:00
rocky
29d414594d Change list of files from a list to a vector. read_pvd() for
ISO9660::FS works. iso4.cpp: show ISO 9660 info for CD-images (like
iso1 for ISO images).
2006-03-07 19:55:11 +00:00
rocky
2350ea3e52 Don't do library versioning if there no object files to look at. This
removes spurious "nm: no a.out" messages when --disable-shared is in effect.
2006-03-07 11:19:12 +00:00
rocky
67d4aa6fe9 Move code from devices.hpp and iso9660.hpp headers into external files -
cdio.cpp, device.cpp, iso9660.cpp

configure.ac, C++/OO/Makefile.am: Found some bugs libraries acces in doing the
above move.
2006-03-07 10:46:36 +00:00
rocky
2977ab7c50 Have to have iso9660_find_fs_lsn linker symbol around. (At least for now.) 2006-03-07 00:06:19 +00:00
rocky
7a3ded9bd7 Add ISO9660::FS - the cdio portion of ISO9660 reading.
iso9600.h: another function rename to be more consistent.
2006-03-06 21:54:56 +00:00
rocky
42b0b841d0 iso9660.hpp, iso1.cpp get list iterators working.
rest: add _ to isachar and isadchar
2006-03-06 19:39:35 +00:00
rocky
b6da64e564 Start OO iso1.cpp.
iso3.cpp: valgrind lint.
iso1.cpp: tidy more.
2006-03-06 04:48:37 +00:00
rocky
5e2d4f6bdf Get first libiso9660++ OO program (iso3) working. 2006-03-06 01:34:22 +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
flameeyes
ef8e2a7c3e scsi_mmc_cdb_t -> mmc_cdb_t; scsi_mmc_direction_t -> cdio_mmc_direction_t; make FreeBSD driver build again. 2006-03-03 09:50:30 +00:00
flameeyes
0ea25b4c90 Add missing include in freebsd driver (fix implicit declaration of htonl). 2006-03-02 20:48:34 +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
b8375748c5 Date changed 2006-03-01 20:49:54 +00:00
rocky
4ec818aabd Document iso9660_name_translate{,_ext} more accurately. 2006-03-01 20:48:55 +00:00
flameeyes
3658a88d65 Use complete struct initialization to avoid spurious pointers. 2006-02-27 10:29:20 +00:00