R. Bernstein
79255a6cb8
track.c, gnu_linux.c: Test for exceding max track limit but allow specifying the leadout track in some cases.
...
Makefile.am: need to build extract unconditionally since that is used in testing
2012-03-25 17:18:49 -04:00
R. Bernstein
a834f98bc8
Recent header work by Pete Batard eliminates the need to set __CDIO_H__ here.
2012-03-25 17:18:48 -04:00
Leon Merten Lohse
2a6f153952
[renamed] cdtext_languages_available to cdtext_list_languages
...
[fixed] C++ CD-Text API
[fixed] C++ CD-Text example
2012-03-11 16:41:28 +01:00
R. Bernstein
556d5fb2a7
cdtext.c: Correct cdtext cue file name.
2012-03-10 16:20:25 -05:00
R. Bernstein
892ff0522e
Merge branch 'greenleon' of git.sv.gnu.org:/srv/git/libcdio
...
Conflicts:
lib/driver/image/bincue.c
2012-03-10 16:13:58 -05:00
R. Bernstein
abe5b84295
Multilanguage CD-Text from greenleon
2012-03-05 21:22:08 -05:00
Pete Batard
d01a6302cd
Remove .cvsignore as well as cdio/paranoia.h
2012-03-05 23:32:09 +00:00
Pete Batard
0074e54f97
More source headers harmonization
...
* fix missing #ifdefs
* remove spaces and page feeds
* follow same set of rules everywhere, with cdio includes coming
after standard C includes.
2012-03-05 17:58:56 +00:00
Pete Batard
1f1c20771e
Joliet improvements
...
* support discs with more than one secondary volume descriptors
* add Joliet support for extract sample
* add fallback to non-Joliet if non-Joliet may be longer
2012-03-05 17:06:01 +00:00
Pete Batard
f574be6cd1
More paranoia removal
...
* Also some silencing of makefile operations
2012-03-05 14:16:33 +00:00
R. Bernstein
39bd8104b8
Makefile.am: add CDIO_ to all #defines in cdio_config.h
...
extract.c: give filename on extract errors and convert encoding to unix.
2012-03-04 13:38:35 -05:00
R. Bernstein
2022037807
More patches from pbatard to reduce warnings, etc.
2012-03-03 20:11:14 -05:00
R. Bernstein
739928df7b
Pete Batard's patches offset types especially for MinGW and MS Visual C.
2012-03-03 12:10:53 -05:00
R. Bernstein
2e8bb0d567
A foolish consistency with respect to the ordering of making example programs
2012-03-03 09:33:19 -05:00
R. Bernstein
730b58a86e
Reduce differences between master and pbatard branch.
2012-03-03 08:26:48 -05:00
R. Bernstein
dde01f420a
Revise OO CD-Text CPP for different interface. Update copyright and untabify some files.
2012-03-03 07:55:27 -05:00
R. Bernstein
2b84a552e3
Harmonize source headers: C++ examples [PATCH 3/5] from pbatard.
2012-03-03 07:42:11 -05:00
R. Bernstein
c67e423704
Harmonize source headers: C examples (Patch 4/5)
2012-03-02 23:41:06 -05:00
R. Bernstein
734c6473b3
Fix some of the tests for MinGW and fix the use of Sleep/usleep for MinGW & MSVC platforms
...
* Sleep takes ms, not s
* Use sleep/Sleep rather than usleep in the cdchange sample, as usleep
is not available on recent MinGW platforms
From pbatard branch.
2012-02-24 22:03:19 -05:00
rocky
f9bd26cbc2
paranoia code removed. Is now in separate tree under GPL v2+.
...
realpath.c: patch from Debian and N. Boullis
2012-02-19 22:11:14 -05:00
R. Bernstein
70e8d1a6f8
Enable automake enable silent rules which makes it easier to spot warnings.
...
If Automake v1.10 or earlier is used, AM_SILENT_RESULES is be ignored. Patch
also from Pete Batard.
2012-01-17 11:32:05 -05:00
R. Bernstein
062885bb19
Remove a couple of "possibly unused variable" warnings. Patch from Pete Batard.
2012-01-17 11:24:34 -05:00
R. Bernstein
dbf6d24765
1) cdtext objects are no longer associated with a track but with the disc.
...
2) - cdio_get_cdtext no longer takes track as an argument
- cdtext_get, cdtext_get_const, cdtext_set require track argument
3) Language, Genre, Genre Code and Encoding Fields are now properly parsed and stored in the cdtext object
4) Added public function cdio_get_cdtext_raw to extract the binary CD-Text
5) Added CDTEXTFILE keyword logic in cue sheet parser. Parses binary/raw CD-Text files
6) Added cdtext_genre2str to convert genre code
7) altered the example programs, test drivers, cdda-player and cd-info to work with these changes
8) Added test case
9) A few smaller changes
A disc either holds CD-Text for all the tracks or does not hold any. Therefore a CD-Text object for the whole disc seems more natural to me. It also enables us to store global fields, like genre, encoding, language.
Patch was tested on GNU/Linux 32 bit running Gentoo.
2011-11-24 20:54:40 -05:00
R. Bernstein
c0315f0d80
discid ( http://discid.sourceforge.net/ ) using libcdio.
2011-11-05 01:03:27 -04:00
R. Bernstein
3dfffd589c
libcdio.texi: add information about the cdio/cdio_config.h and cdio_unconfig.hs header mess.
...
README.libcdio: revise for FreeBSD and other BSDs.
2011-10-21 06:05:17 -04:00
R. Bernstein
f215cad224
Make sure config.h or the copy of that gets included only once to reduce duplicate include
...
warnings.
2011-10-20 19:44:10 -04:00
R. Bernstein
96343e07bf
Note that some adjustments might be needed to compile example programs
2011-10-20 07:00:14 -04:00
R. Bernstein
8002d97db8
Remove CVS $Id$ line which is no longer automatically updated.
...
ios9660.hpp under FS because of Solaris macro conflict as suggested by Thomas Schmitt.
cd-drive.c: add some casts to remove gcc warnings
src/cd-paranoia/Makefile.am: remove a GNU make idiom.
README.develop: note needing GNU make or remake
2011-10-19 22:01:37 -04:00
R. Bernstein
1cb3a20baa
Remove some warnings
2011-10-19 21:25:56 -04:00
rocky
940b7cd848
patch from Honza Horak using Coverity's static analysis tool.
2011-05-30 15:19:22 -04:00
R. Bernstein
7d23f847e6
Add git install instructions. Simplify and customize INSTALL. Add dependency to cause version.texi to get created. Update my email address.
2011-05-19 07:43:38 -04:00
R. Bernstein
a20dbc952c
From Leon Merten Lohse https://savannah.gnu.org/patch/?7532 :
...
* discid field extraction
* genre field extraction (experimental)
* blocksize field extraction
* read charcode from blocksize field
* some unneeded comments removed
* unneeded local variables removed
* typos
2011-04-23 14:43:21 -04:00
R. Bernstein
f4462b558d
config.h has to come first else _FILE_OFFSET_BITS are redefined in say opensolaris. Part 2 of patch from Thomas Schmitt
2010-05-30 22:29:09 -04:00
R. Bernstein
f23ca9a9da
Start to remove sleep in favor of usleep. Bug #28543 .
2010-02-11 20:10:11 -05:00
R. Bernstein
80304a8cef
Add mmc_read_disc_information. Change get_disctype to use it and thus it
...
moves from mmc.c into mmc_hl_cmds.c. Status is now the return type, not
erasable.
Split mmc_cmds.h into mmc_ll_cmds.h and mmc_hl_cmds.h.
test/driver/mmc.c for invalid page check we get the right sense key,
asc, and ascq.
2010-02-09 22:39:05 -05:00
R. Bernstein
ecff23366e
Use mmc_get_disctype in mmc example.
2010-02-08 19:28:44 -05:00
R. Bernstein
1687e2633f
Start to split off specific mmc commands from the lower-level internals.
2010-02-06 11:59:35 -05:00
R. Bernstein
f112a399d7
Update date
2010-01-30 20:16:10 -05:00
R. Bernstein
8ecd2d9483
Linguistic purity.
2010-01-30 11:51:53 -05:00
R. Bernstein
eb2da6111c
Show off drive_erasable() in MMC example.
2010-01-30 11:46:01 -05:00
R. Bernstein
2b4a36f758
Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in
2010-01-21 02:58:19 -05:00
R. Bernstein
9c96d2c448
More information around access modes for specific drivers.
2010-01-18 03:39:33 -05:00
R. Bernstein
0297656be1
driver/*.c: Add response for get_arg("mmc-supported?")
...
example/*.c: remove compiler wranings.
2010-01-17 05:54:02 -05:00
R. Bernstein
67c8623051
lib/driver/libcdio.sym: cdio_realpath is extern now.
...
udffile.c: remove warning
test/driver/gnu_linux.c: don't have scsi-tuple-linux any more.
2010-01-17 04:49:47 -05:00
R. Bernstein
e06e0d096b
Don't eject a CDROM drive door in testing.
2009-12-26 14:33:31 -05:00
rocky
f180cae22d
example/* change failures so the record as skipped tests when running 'make check'.
2009-12-26 17:25:05 +01:00
R. Bernstein
de3e47f1b7
Remove one more example program from distcheck
2009-11-26 05:47:02 -05:00
R. Bernstein
ff5d576242
Remove some example program from make check to make "make distcheck" work easier. I would Rather remove programs than coddle automake.
2009-11-26 05:45:27 -05:00
R. Bernstein
35663d6266
Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built.
2009-11-26 05:31:39 -05:00
R. Bernstein
3844f42df8
Remove some cppcheck style warnings
2009-10-27 21:28:11 -04:00