Commit Graph

331 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
a1f3f30d06 Allow building cd-paranoia even if Perl isn't installed. (Sad in this
day and age one still can't assume Perl.)
2005-09-17 01:33:29 +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
1ba084bd17 Changes for libcddb 1.1.0 API change.
Thanks to Chris Clayton for the patch.
2005-07-09 15:22:44 +00:00
rocky
a3809b9cb2 Now check that integer arguments are integers and are within range.
Fixes to --mmc-timeout (-m) option.
Put optstring in alphabetic order.
2005-07-09 15:17:56 +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
40acf08015 cd-paranoia: Add option --mmc-timeout (-m) to set MMC timeout. 2005-06-26 23:14:49 +00:00
rocky
317de33b70 Remove more valgrind-caught erroneous free()'s. 2005-06-08 08:20:36 +00:00
rocky
c712cad1e3 One more small change. 2005-04-30 10:05:11 +00:00
rocky
fed550d8b3 Try again. 2005-04-30 10:02:15 +00:00
rocky
909937a7c5 Show MMC level for single drive queries too. 2005-04-30 09:52:17 +00:00
rocky
929770f419 Add routine to report MMC capabilities of a drive. Add that to the
cd-drive program.
2005-04-30 09:42:37 +00:00
rocky
a691a9a1b1 Add test to see if curses has keypad(). May break on Solaris - we'll see.
Fix from discussion with Steve Schultz
2005-04-22 01:54:13 +00:00
rocky
c825b6af5e Ooops. Remove duplicate free 2005-04-21 20:23:11 +00:00
rocky
13c0888ccc Wasn't allowing last track to get played. 2005-04-17 06:19:48 +00:00
rocky
dd71f07283 Add cdda-player binary 2005-04-16 00:37:51 +00:00
rocky
4428ffa788 Misc memory issues 2005-04-11 01:37:38 +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
102ea21ddd Another valgrind-caught leak. 2005-04-10 14:52:52 +00:00
rocky
20cd253bdb Impliment -l (list tracks). 2005-03-31 00:24:32 +00:00
rocky
af4ceb5835 Don't know why cd_close was in play_track(). 2005-03-23 16:32:49 +00:00
rocky
3010132e24 Remove compiler warning about uninitialized variable. 2005-03-23 16:22:16 +00:00
rocky
322cb07c1f Make expression more explicit. Warning on gcc 2.95 looks like a miscompile. 2005-03-22 09:36:36 +00:00
rocky
7a9111434b Fix up return code status in close tray. 2005-03-22 09:19:47 +00:00
rocky
0ad6b0a629 Ability to toggle list display mode. 2005-03-22 01:57:22 +00:00
rocky
74dc895997 Some small changes to update list when track changes. Probably a lot
more could be done in terms of having multiple disc views.
2005-03-21 09:00:20 +00:00
rocky
4bc36eac82 Small change to make currently playing track stand out more. 2005-03-19 23:47:53 +00:00
rocky
a7abfdcb87 Make sure reading non-interactive subchannel doesn't interfere with
playing.
2005-03-19 23:31:11 +00:00
rocky
d5221e901f Revise so audio subchannel msf is msf_t (BCD encoded). 2005-03-19 16:17:13 +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
9a619c8b53 Initialize volume_level to squelch compiler warning 2005-03-18 15:42:25 +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
e020e96170 Don't really detect Burn-proof yet. 2005-03-17 09:13:36 +00:00
rocky
77405839a1 BSDI: add audio controls.
cdda-player.c: gcc > 3.0 change.
2005-03-17 08:54:10 +00:00
rocky
e44ed7ef1f C-Preprocessor syntax errors when using ncurses.h 2005-03-17 08:19:19 +00:00
rocky
bd9336310a Check for ncurses.h header (in addition to curses.h).
Had a problem (on Solaris) where both libcurses and libncurses were
around but the curses.h header (from libcurses) was installed.
2005-03-17 07:36:09 +00:00
rocky
20e610a017 Add setting volume and showing the subchannel when in non-interactive mode. 2005-03-16 02:19:20 +00:00
rocky
f34059d4a4 Add status on play_tracks 2005-03-15 15:56:13 +00:00
rocky
b6798f337e *.c: return status of operations. Exit code is set on operation failure.
cdda-player.c: debug and verbose change libcdio loglevel verbosity.
2005-03-15 12:22:37 +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
fe3e453114 Show volume in display status output. 2005-03-14 02:03:33 +00:00
rocky
e80b06c4ce Remove warnings from mvprintw (as seen on OSX). 2005-03-13 03:52:15 +00:00
rocky
31796641ec Use CD-Text for disc info too. 2005-03-13 03:37:18 +00:00
rocky
fcc0806e8d Show CD-Text info. 2005-03-12 20:32:23 +00:00
rocky
160a69f0b2 Off by one on track duration. 2005-03-12 16:53:29 +00:00
rocky
6accca02b9 Curses improvements. Can now show key/help and list of tracks. 2005-03-12 16:45:44 +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