Commit Graph

29 Commits

Author SHA1 Message Date
c0d32b3e8c Ignore Release and Debug folders.
Windows SDK does have fcntl.h, snprintf, sys/stat.h, vsnprintf, windows.h and lseek64. Does not have inttypes.h. Modify config.h to reflect this.
Windows 8 WDK requires us to specify ddk headers will be used usermode.
__PRETTY_FUNCTION__ is defined in MingW but not in VS. Equal to __FUNCSIG__
DDK headers are not longer in a folder (as of Win8 WDK)
Windows SDK defines _snprintf, same as snprintf.
VS didn't like bool declarations to be inline to function return. Also, it's BOOL in Windows SDK.
Specific VS version.h should be used when using VS.

DOES COMPILE
2013-10-19 22:07:37 +01:00
R. Bernstein
c09f15298c Reduce use of cdtext_private.h. Let's see if autoconf 2.61 (circa 6 years ago) is okay. Some MacBooks seem to still use this. 2012-04-16 20:21:56 -04:00
Leon Merten Lohse
3940726aa7 Fixed that CD-Text from cdrdao toc was shifted one track forward. 2012-03-27 17:45:09 +02: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
0c7c1104fd Small stylistic changes. More will go on in main branch 2012-03-10 13:46:22 -05:00
Leon Merten Lohse
25d6668e8b Redo some of rocky's beautifications. 2012-03-09 09:22:25 +01:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
Pete Batard
a7d3059857 Add missing glob() equivalent for Windows platforms 2012-03-05 18:03:37 +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
919f39a95d Make fopen() and stat() support UTF-8 paths on Windows 2012-03-05 17:44:13 +00:00
Pete Batard
e6b00d7dcf Add _cdio_strdup_fixpath for absolute paths handling in MinGW
* MinGW may provide absolute paths in the form /c/directory/...
  to native calls that require instead c:/directory
2012-03-05 15:32:35 +00:00
R. Bernstein
2022037807 More patches from pbatard to reduce warnings, etc. 2012-03-03 20:11:14 -05:00
R. Bernstein
b1d2146ab4 Reduce complation warnings via changes in pbatard branch 2012-03-03 19:52:41 -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
bf40f778d1 CDTEXTFILE directifile should be relative to CUE file. 2012-01-26 00:35:57 -05:00
R. Bernstein
5224ff9556 Find/fix another place in TOC reader where we need to use relative paths. Here in a branch of code for the DATAFILE statement. 2012-01-25 23:36:08 -05:00
R. Bernstein
29b7baa1d6 Issue #33636 make path names toc/cue files be relative to the toc/cue when no absolute path is specified in toc/cue FILENAME statements. 2011-12-11 10:59:36 -05:00
R. Bernstein
8d43aaca4d Patch from Leon Merten Lohse: Correct the length of the CD-TEXT block. 2011-12-04 20:29:53 -05:00
R. Bernstein
4aa1a16dd1 Move a little bit forward in implementing SILENCE in cdrdao.
cdrdao tests now work while being a little more strict.
2011-11-27 10:53:50 -05:00
R. Bernstein
92a8bcb8c8 Add Leon Merten Lohse's cdtext test images.
cdrdao.c reduse severity of not finding source - may change my mind later about this...
2011-11-25 13:42:23 -05:00
rocky
9c84c2b7b3 Check that we can find data source and give error when we can't 2011-11-25 09:50:27 +01: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
e0b2ee826d Don't error out on handling "NO PRE_EMPHASIS" in cdrdao TOC.
Savannah bug #34826:
2011-11-16 20:36:22 -05: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
rocky
940b7cd848 patch from Honza Horak using Coverity's static analysis tool. 2011-05-30 15:19:22 -04:00
R. Bernstein
423dc300f6 Revert one cppcheck style change since gcc complains about it. 2009-10-27 21:48:06 -04:00
R. Bernstein
3844f42df8 Remove some cppcheck style warnings 2009-10-27 21:28:11 -04:00
R. Bernstein
2522c26ec8 Adapted from patches by Nicolas Boullis on Debian:
* alignment issues on sparc
 * "make check" failure when stderr is not a tty
 * wrong program name in manpages in tarball
 * build failure with hurd
 * "make check" failure on machines with no disc drive
 * make distclean fixes
2009-07-02 20:26:39 -04:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00