Commit Graph

144 Commits

Author SHA1 Message Date
rocky
e8721c1e4e The type of (option) opt needs to be int not char and this is
noticable on ppc where char is unsigned by default.

Furthermore, poptGetNextOpt() returns an int, not a char.

Bug noticed and patch all thanks to Nicolas Boullis.
2005-09-18 20:34:02 +00:00
rocky
b4b1c4ec6f Add option to disable Rock-Ridge support --disable-rock
Add IS_ISSOCK() or S_ISLNK() macros for Rock-Ridge when environment
doesn't have it, e.g. MSYS 1.0.10 with MinGW 3.4.2.

Go over --enable settings. --disable-cpp-progs now works.

Require libcddb 1.0.1 or better
2005-09-15 06:36:01 +00:00
rocky
25c922bae5 Make compilation without CDDB work. 2005-07-03 23:14:23 +00:00
rocky
133bf59840 CDDB errors should not terminate cd-info. 2005-06-28 15:39:35 +00:00
rocky
317de33b70 Remove more valgrind-caught erroneous free()'s. 2005-06-08 08:20:36 +00:00
rocky
f47531e7cb Small output format change. 2005-04-11 01:02:11 +00:00
rocky
3eba1124e9 Free libcddb regexp memory. 2005-04-11 01:00:49 +00:00
rocky
a5161ab684 Revise audio subchannel structure to remove lba uniion since we don't
support returning LBA's inside the structure.

include/types.h: use cdio_config.h if none was supplied.
2005-03-19 06:42:22 +00:00
rocky
8ef435a249 src/* gl_default_log_handler defined only once.
lib/dirver/*.c: looks to me like a cosmetic change but supposedly it helps
on Fedora Core 4 test1
Bug # 12363:
See: http://savannah.gnu.org/bugs/?func=detailitem&item_id=12363
2005-03-18 12:56:00 +00:00
rocky
8af9063b84 example: add sample audio program.
cd-info.c cdda-player.c: read_subchannel sets format MSF. So caller no
longer has to.
2005-03-15 04:17:05 +00:00
rocky
76369d47fd Put move libcddb init routine out of cdda-player.c and cd-info.c and into
cddb.{c,h}
2005-03-12 06:02:36 +00:00
rocky
60af99c882 Towards making a common init_cddb routine. 2005-03-11 10:34:28 +00:00
rocky
1fe287e813 More audio control corrections. 2005-03-06 11:21:52 +00:00
rocky
83601dc13e Add routine to turn audio status into a string. 2005-03-06 02:59:26 +00:00
rocky
a27d21a97a win32.c: closer to getting audio controls working.
cd-info.c: was not testing MULTI_SESSION capability correctly.
2005-03-05 19:27:28 +00:00
rocky
31621a3942 Correct type mismatch: unsigned int -> lsn_t 2005-03-05 18:53:13 +00:00
rocky
eebb3ca0a4 Change multi-session output - cd-info reports LSN's, not session number. 2005-03-05 16:51:12 +00:00
rocky
822a203ba8 Add API routine to get last session number. 2005-03-05 10:10:16 +00:00
rocky
3abb1badf9 audio.h: redo audio volume levels a little.
mmc.{c,h}: attempt to get audio ports/selections via MMC.
cd-info.c: show volume output levels in a cleaner fashion.
2005-03-02 04:23:59 +00:00
rocky
850aeed10d Deal with unimplemented audio status (such as on image drivers) 2005-03-01 11:29:52 +00:00
rocky
01f3d305f7 Slight output change. 2005-03-01 11:14:43 +00:00
rocky
881d4fcf8f mmc.c: fix up read_audio_subchannel_mmc
audio.h: more direct field names
mmc.h: add mmc_subchannel_t;  scsi_mmc -> mmc
cdio-linux.c: remove deprecated from_bcd8
2005-03-01 10:53:15 +00:00
rocky
862d186157 Don't do CD analysis if we are currently playing a CD. 2005-03-01 07:54:09 +00:00
rocky
cdef618824 Corrections to audio. First glimpse at working (on GNU/Linux) audio
controls.
2005-03-01 02:49:43 +00:00
rocky
a2fccc90c4 Add routine for extracing ISO 9660 long time format and probably correct
the short-time format a little.

Handle Rock-Ridge time and be able to display it.
This pretty much completes the bulk of handling Rock-Ridge extensions.
2005-02-22 02:02:46 +00:00
rocky
ec0564dfee Process Rock-Ridge time fields. Not tested or shown yet.
Break out Rock Ridge fields of our ISO9660 stat.
2005-02-21 09:00:53 +00:00
rocky
5b029744c6 Process symbolic links. Remove some memory leaks. 2005-02-21 02:02:12 +00:00
rocky
3d97c7ded6 Correct Rock-Ridge directory/link listing.
{cd,iso}-info --no-rock-ridge works (and with rock-ridge too)
test/*.right: output is now what I guess it's should be
2005-02-20 16:21:06 +00:00
rocky
a8e1fd6038 all: Add iso9660_get_rock_attr_str to get an ls-like mode string for rock
ridge.

{cd,iso}-info.c util.{c,h}: put common printing routine in util.c

rock.h: add enum for NM flags
iso9660.h: move mode_t typedef so it can be used in rock.h
xa.{c,h}: small typos.

test/*: in most cases better output. On VCD's however there there is a
slight regression on displaying the filename someitmes. Will be
addressed later.
2005-02-20 10:21:01 +00:00
rocky
834b1d06b6 cd-info.c: tolerate CDDB options even when we don't support CDDB.
Better error reporting of bad options.
2005-02-19 11:43:05 +00:00
rocky
a4d389b939 iso9660_fs.c: reallocate filename when Rock-Ridge name is bigger.
rock.c: variable name changes

cd-info.c: don't translate file name when there are Rock-Ridge
Extensions.
2005-02-18 01:31:08 +00:00
rocky
ab344d538c Remove more of the no longer needed distinction (that we sometimes got
wrong) of Mode 1 vs Mode 2 data reading.
2005-02-17 11:54:28 +00:00
rocky
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
9e2eaf7546 cdparanoia: add ability to disable byte swapping
configure.ac: remove AIX driver for now - it doesn't really work
remove some (but not all) of the valgrind errors in cd-text
Some stylistic things, doxygen comment improvements typos, etc.
2005-01-27 03:10:06 +00:00
rocky
e0cce4558d Version information now includes build. 2005-01-22 22:21:36 +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
4ce2a5fe57 Create open_input() for common input open routines.
Input error messages have been gone over. cd-read is a little more
like the rest.

Regression output now has NO-WARRANTY.
2005-01-09 00:10:48 +00:00
rocky
d72c6b8e40 CdIo -> CdIo_t 2005-01-02 22:49:31 +00:00
rocky
1736451181 Show raw and formatted sizes. 2005-01-01 14:20:41 +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
8b111096d3 cd-info now shows size of CD.
iso-info takes options -l and -f to be a little more like isoinfo

configure.ac now allows for disabling cd-paranoia, iso-read,
iso-drive, cd-drive.

Regression tests adjusted to new output and more drive reading capabilities.
2004-12-18 21:24:25 +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
rocky
16bc93f4e5 Add cast to remove compiler warning. 2004-12-04 11:44:16 +00:00
rocky
734f295960 Add cdio_ in front of to_bcd8 and from_bcd8. 2004-11-19 22:10:21 +00:00
rocky
5b3981e365 Add "toc-file" option for cdrdao images. 2004-11-19 02:16:21 +00:00
rocky
5e87bca2c8 Bug in showing cdtext for individual tracks. 2004-11-06 03:12:34 +00:00
rocky
152d8508b7 Common output routine in utility programs as a concession to
environments which may no have or prefer stdout/stderr such as XBOX.
2004-11-04 10:08:23 +00:00
rocky
749d506d08 Conditional compilation of Joliet support. 2004-10-29 02:11:48 +00:00
rocky
90ce9028d2 Add --no-joliet option 2004-10-26 07:51:49 +00:00