Commit Graph

46 Commits

Author SHA1 Message Date
rocky
9040ae06a9 cdio_private.h: Remove type mismatch warning on get_track_pregap_lba
when compiling image drivers.

nrg.c: initialize previously uninitialzied field. Bug found by Robert
       William Fuller.

cvs2cl_usermap: add esdead and karl

NEWS: try to track what's been happening.
2008-03-21 10:19:38 +00:00
edsdead
18f3a6f9a1 support cd-text 2008-03-21 08:06:36 +00:00
edsdead
6808cccedb minor correction to prior commit 2008-03-20 08:14:40 +00:00
edsdead
c0034ec8e1 handle DAO in nrg_read_audio_sectors 2008-03-20 08:07:44 +00:00
edsdead
e4ecb61b05 get isrc from nrg files AND new API char * cdio_get_track_isrc(CdIo_t *,track_t); 2008-03-20 01:40:28 +00:00
edsdead
5223b29276 remove 272 byte offset that emulated 68 sample read offset in author's drive 2008-03-19 04:38:52 +00:00
rocky
51d9652c82 get_track_pregap_lba, get_track_pregap_lsn. Section on "CD-DA pregap" in libcdio manual.
All changes from Robert William Fuller.
2008-03-16 00:12:42 +00:00
rocky
07b1944cb6 Better strtol fix based on SMS's remark. 2007-03-05 11:49:24 +00:00
rocky
0dc4e4d5ae Set errno=0 before calling strtol(). bug #18131 2007-03-05 11:18:49 +00:00
flameeyes
5ef1d37f44 Don't put two strcmp() calls in bodyless if costructs when building the release version. Use -DTODO in CFLAGS to get the warning again. 2006-02-27 10:27:39 +00:00
flameeyes
af487f92a3 Don't check for an unsigned value to be >= 0. 2006-02-27 10:23:52 +00:00
rocky
da74e72b38 image/* Wrong sizeof.
mmc: remove some deprecated things.
2006-02-13 11:00:53 +00:00
rocky
2ed5e267c9 Use strncopy rather than strcpy in get_hwinfo. Make sure all strings have
null byte at the end.
2006-02-13 01:43:29 +00:00
rocky
cccc78a064 Put in a much more stringent NRG image test. This means that for now
we won't require the .NRG extension.
2006-02-12 10:48:11 +00:00
rocky
22d1c0dfa6 Fix bugs on accessing outside of string. Patch thanks to Diego
'Flameeyes' Petten. And he cleaned up and shortened the code too!
2006-02-12 05:32:28 +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
c89687d87f Had uninitialized set_speed and set_blocksize opts caused core dumps
if called.
2006-01-21 11:04:30 +00:00
rocky
8bf123a750 More enumerations.
*.c: add "debugger" enumeration variables.
2006-01-14 09:45:44 +00:00
rocky
8cc672c305 Remove GCC 4 warning about ignored "packed". 2006-01-14 08:58:25 +00:00
rocky
5d9dd72dcb Correct test caught by gcc 4.0 2005-07-07 06:51:58 +00:00
rocky
fdea8ee466 Remove a couple more valgrind-caught memory leaks 2005-06-08 08:07:00 +00:00
rocky
ad95301515 Remove valgrind-caught invalid memory reference. 2005-06-08 07:40:28 +00:00
rocky
20b044ca11 Small valgrind-caught memory leak. 2005-04-09 22:56:07 +00:00
rocky
da62695b60 Move forward in getting better ISO-9660 reading by eliminating "Mode 1/2"
specification in API.
2005-02-17 07:03:36 +00:00
rocky
78a3f49868 Add routine for reading data independent of or mode1 and mode2 format.
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.

Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
2005-02-17 04:57:21 +00:00
rocky
8dfb4780cd Bug fix for mmc_have_interface.
checK_paranoia.sh.in: fix bug in returning success on a core dump
win32.c: some small changes - more later.
image/*.c: set run_mmc_cmd NULL explicitly.
2005-02-11 01:34:12 +00:00
rocky
43e8856bfa Turn a number of the info messages into debug messages. 2005-02-09 09:55:38 +00:00
rocky
71a71d7f56 Start to implement ability to a detect media change.
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
f1d3b190ba remove cdio_malloc and replace with calloc which does functionally
exactly the same thing (but is standard). In some drivers _data -> p_data.
2005-02-03 07:35:14 +00:00
rocky
6796ed982a More variable renamings. 2005-01-30 10:05:37 +00:00
rocky
580bf437c6 env -> p_env user_data -> p_user_data 2005-01-30 10:03:10 +00:00
rocky
5586d10367 *** empty log message *** 2005-01-28 00:06:34 +00:00
rocky
798929000d stat_size -> get_disc_last_lsn. Now returns lsn_t and CDIO_INVALID_LSN
on error.

Add MMC version of get_disc_last_lsn.

More regularization of driver_return_code_t and get_disc_last_lsn

There's probably some small driver breakage which will be fixed soon.
2005-01-24 00:06:31 +00:00
rocky
19856a30da Change read routines so the use the driver_return_code_t enumeration.
It's a little cleaner and may make things clearer in debugging.
2005-01-23 19:16:58 +00:00
rocky
a352d2c8df Improve cdrdao to handle MSF-length.
Remove vcd_demo_toc.right since the cd-info output is now the same as
vcd_demo.right vcd_demo.toc adjusted accordingly.
2005-01-22 23:57:10 +00:00
rocky
cb268b6529 _cdio_stream.c: replace assert's with failures.
Make cdrdao be able to handle the kind of images vcdimager produces.

There was a slight regression (perhaps so vcd_demo_toc.right may in
fact not be right. Deal with some other time.
2005-01-21 10:11:23 +00:00
rocky
e5bdc956e9 Add interface for setting speed and blocksize. Reinstated it in
cd-paranoia libraries and command.

Some more variable convention regularizations.
2005-01-18 00:57:19 +00:00
rocky
17c55ea59b add _t to another time. driver_id inside p_cdio wasn't initialized. 2005-01-17 17:20:09 +00:00
rocky
b0772e83a6 At least parse DATAFILE lines more fully. Things are better but we're
still having problems reading the ISO-9660 of sms VCD's.
2005-01-16 04:28:02 +00:00
rocky
15527b8cb1 Non-functional changes:
Small coding style changes: add _t to some types, p_/psz_ to some variables
  Update/add doxygen comments
  add missing regression test output
2005-01-12 11:34:51 +00:00
rocky
f226947ec6 Break out track and disc routines. (Disc needs more work)
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
2005-01-04 04:33:36 +00:00
rocky
4b4108ed27 Typo. 2005-01-01 14:55:58 +00:00
rocky
5a964aacff NRG: get track flags working.
linux: small clanup in track flags. more to come.
2005-01-01 14:20:15 +00:00
rocky
97a51c3c26 Add image driver track flag reporting. Reorganize code for image drivers
a little better (via image_common.c).

Update regression tests for more expanded cd-info output.
2004-12-31 07:51:43 +00:00
rocky
74045586bd Start to fill in cdio_get_preemphasis, cdio_get_copy_permit, and
cdio_get_channels. Internals reworked a little for this.
2004-12-31 05:47:36 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00