snprintf definition should go in config.h
If Win32 is enabled and Joliet no, it fails. Joliet should be enabled.
vsnprintf definition should go in config.h
lseek64 is defined as _lseeki64 in Windows SDK.
types.h should go to correct place for manually created unistd.h in VS
Macros with arguments are defined differently in GCC than in VS.
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
Corrected references and folders.
Removed XBOX references.
Added a manually managed version.h as VS does not support autoconf macros.
Check if VS is in use to point to this version.h
gitignore for VS files.
Removed nonexistant files from VS projects.
DOES NOT YET COMPILE
Since _Bool is only ever a keyword and not a macro, and we can't
test for HAVE_STDBOOL_H in the headers, remove the #ifdef for it in
<cdio/types.h> and instead, simply define it as 'int'. Replace
inclusion of <stdbool.h> with <cdio/types.h> so that a consistent
definition of bool is used.
Signed-off-by: Natalia Portillo <claunia@claunia.com>
Change example to the correct behaviour, that the application should do the checking not the library.
Added new interfaces defined from MMC >=3 (IEEE1394B, SATA, USB) and the Vendor Unique one (can be important) that was missing.
* An union of empty arrays is not size zero in MSVC
* this causes issues with various sections of the UDF code that
use sizeof and can prevent structures from being read properly
* group empty array unions with at least one non zero-sized member
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.