Commit Graph

518 Commits

Author SHA1 Message Date
rocky
16f2cc0b17 Do not need DARWIN_10_OR_GREATER but can use __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ instead courtesy Natalia Portillo. Savannah Bug #36330 https://savannah.gnu.org/bugs/?36330 2012-04-28 18:51:59 -04:00
R. Bernstein
e71066d5d9 Fix #30467 cdio_get_default_device() returns non-cdrom removable. From Nigel Pearson. 2012-04-26 01:11:58 -04:00
rocky
af1b97bfce Pete's changes require a more aggressive use of stdbool.h. 2012-04-23 00:45:58 -04:00
R. Bernstein
c7c422221e OSX fixes: test for stdbool.h, allow darwin10-12 and set DARWINT_10_OR_GREATER. Use generic CD-Text routines. 2012-04-21 23:42:53 -04:00
rocky
a7bca58f7f Use typedefs for enums. OSX 10.6's C compiler seems to create storage for enums. 2012-04-17 22:15:10 -04: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
R. Bernstein
dd7a5dc1bb ld: duplicate symbol _cdtext_format_enum in .libs/gnu_linux.o and
.libs/cdtext.o for architecture x86_64
on OSX. I don't think it needs to be included in gnu_linux.c anyway.
Comment #7, bug #30019
2012-04-16 19:12:48 -04:00
R. Bernstein
58400f03b9 Add guard around get_mcn for null p_cdio. 2012-04-15 00:49:01 -04:00
R. Bernstein
be5e4108ce Update copyright 2012-04-14 22:17:51 -04:00
R. Bernstein
4e7e72a2c9 Wasn't testing CD-Text error return properly. (Bug found via rbcdio/example/cdtext.rb) 2012-04-14 22:15:26 -04:00
R. Bernstein
77ace7d338 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2012-04-10 03:30:27 -04:00
R. Bernstein
844578d204 Possibly fixes OSX 10.6 where includes have moved around a bit. 2012-04-10 03:29:32 -04:00
Leon Merten Lohse
662c41ef60 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio 2012-03-27 17:46:43 +02: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
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
511ad638b1 More small header changes:
* Remove leading underscores in header preprocessor names
* Regularize names to include directory parts in the file name
* Untabify files
* Update copyright and remove unmaintained cvs $Id$ line

The justification for removing leading underscores comes from a CERTS Secure Coding recommendation: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL32-CPP.+Do+not+declare+or+define+a+reserved+identifier

See also Savannah bug #35745 https://savannah.gnu.org/bugs/?35745
2012-03-25 17:18:48 -04:00
Leon Merten Lohse
d7d488f816 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio 2012-03-22 22:23:21 +01:00
Leon Merten Lohse
591c23ee48 Changed cdtext_select_language to take a cdtext_lang_t instead of a const char * to specify the desired language. 2012-03-22 22:21:52 +01:00
R. Bernstein
21f3187bb8 More small header changes:
* Remove leading underscores in header preprocessor names
* Regularize names to include directory parts in the file name
* Untabify files
* Update copyright and remove unmaintained cvs $Id$ line

The justification for removing leading underscores comes from a CERTS Secure Coding recommendation: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL32-CPP.+Do+not+declare+or+define+a+reserved+identifier

See also Savannah bug #35745 https://savannah.gnu.org/bugs/?35745
2012-03-18 12:02:01 -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
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
R. Bernstein
ac5e935d41 Don't set crc field outside of the limit of the cdtext_pack_t structure. 2012-03-10 12:51:05 -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
d01a6302cd Remove .cvsignore as well as cdio/paranoia.h 2012-03-05 23:32:09 +00: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
9b0a90d4ae Fix various issues
* bzero is obsolete
* use HMODULE instead of long win win32 for 64 bit compatibility
* iso9660_seek_read_framesize fails seeking to a position higher than 4 GB
* cd-read produces a warning
* legal-regex should allow for years > 2009
2012-03-05 17:52:30 +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
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
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
Pete Batard
f574be6cd1 More paranoia removal
* Also some silencing of makefile operations
2012-03-05 14:16:33 +00:00
R. Bernstein
d0b09d15ef More patches from the pbatard branch. 2012-03-04 14:37:07 -05:00
R. Bernstein
14f6f505ce Some more pbatard patches 2012-03-04 14:12:09 -05:00
rocky
8eabfdd37a Remove some driver compilation warnings 2012-03-04 14:34:58 +01:00
R. Bernstein
4a4ebcd093 merge another warning fix from the pbatard-branch 2012-03-04 00:51:53 -05:00
R. Bernstein
603b32f77f More pbatard patches 2012-03-03 20:18:57 -05:00
R. Bernstein
bf66def7c9 Forgot to add back in protable.h 2012-03-03 20:12:20 -05:00
R. Bernstein
2022037807 More patches from pbatard to reduce warnings, etc. 2012-03-03 20:11:14 -05:00
R. Bernstein
d0018220cc Reduce complation warnings via changes in pbatard branch 2012-03-03 19:57:05 -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
f269abeb07 Pete Batard's patches offset types especially for MinGW and MS Visual C. 2012-03-03 12:08:25 -05:00
R. Bernstein
316fb2408f Reduce differences in pbatard branch for headers. (Still need to add empty array/union differences). 2012-03-03 08:48:43 -05:00
R. Bernstein
110ab30f17 Silence 'cont_###' set but not used warnings on MinGW
From pbatard branch.
Update copyright date on recently changed files.
2012-02-25 20:41:26 -05:00
R. Bernstein
3d024135b5 Fix missing logging header for aspi32.c/win32.c
From pbatard branch
2012-02-25 20:19:49 -05:00
R. Bernstein
385496a24c Use native Windows assert for MinGW. This also avoids false positive warnings with Clang static analyzer, as the default libcdio assert does return.
From pbatard branch.
2012-02-25 19:28:47 -05:00
R. Bernstein
998567ef2d lib/driver/osx.c: duplicate transport error enum - cdio/cdda.h removed 2012-02-24 04:35:00 -05:00
R. Bernstein
f130f66c5d mmc_hl_cmds.c: remove gcc warning
solaris.c: remove unused fn warning when not on solaris
check_cue.sh.in: fix so we can build outside of source tree. With this, "make distcheck" works again.
2012-01-28 20:56:30 -05:00