f5f3c951bf
Additional goes and woes in the VS projects to get it all to work together. 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.
Natalia Portillo2013-10-19 23:18:11 +01:00
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.
Natalia Portillo2013-10-19 22:07:37 +01:00
c0c611e258
Migrated solution and projects to Visual Studio 2012. 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.
Natalia Portillo2013-10-19 19:06:40 +01:00
b5c9b50755
Rename DEBUG_OSX to a more local CDIO_DEBUG_OSX. Add real tests for osx, maybe be useful in a more general way? Don't return on any test fail, wait until all are done (they're not mutually exclusive).
Natalia Portillo2012-05-29 22:51:55 +01:00
4fe14a678b
Use a consistent definition of bool
Stuart Brady
2012-04-30 23:30:57 +01:00
634bf0ad6b
Should skip non-optical (CD, DVD, BD) removable devices in cdio_get_devices_osx(). Test still fails (MMC?) but at least it does not try to use my pendrive.
Natalia Portillo2012-04-29 22:57:41 +01:00
0ecb310357
Change mmc_have_interface() to mmc_get_interface() as only one interface can ever be returned. 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.
Natalia Portillo2012-04-29 22:01:05 +01:00
f1cc4e29d3
Changed Mac OS X SDK check so it detects correct path for 10.3 and 10.4, not only >=10.5. Tested it compiles and works on 10.3, 10.4, 10.5, 10.6 and 10.7. If Mac OS X SDK is 10.5, include bluray headers, if not manually define the BD media class for IOKit travelling. When searching for an optical drive, search also for BD media class, so if drive is a BD with a BD disc it will be found (BD with CD or DVD discs were found before).
Natalia Portillo2012-04-29 16:26:01 +01:00
df2b1f120b
_cdio_generic.c: Initialize new scsi_tuple field. Removes SEGV in OSX and others. configure.ac: Try sed -r and -E rather than rely on OS type.
R. Bernstein
2012-04-29 10:17:56 -04:00
37cca69f1d
osx.c: try to eliminate invalid free of an uninitialized structure. untabify various drivers and get this more in-sync with gnu_linux.c driver.
R. Bernstein
2012-04-28 23:38:11 -04:00
f8ab393842
Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio
R. Bernstein
2012-04-28 21:36:21 -04:00
07711418d0
OSX and BSD use -E for extended re's rather than GNU -r
R. Bernstein
2012-04-28 21:06:50 -04:00
e38d35d63d
OSX and BSD use -E for extended re's rather than GNU -r
R. Bernstein
2012-04-28 21:06:50 -04:00
16f2cc0b17
Do not need DARWIN_10_OR_GREATER but can use __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ instead courtesy Natalia Portillo. Savannah Bug #36330https://savannah.gnu.org/bugs/?36330
rocky
2012-04-28 18:51:59 -04:00
e71066d5d9Fix#30467 cdio_get_default_device() returns non-cdrom removable. From Nigel Pearson.
R. Bernstein
2012-04-26 01:11:58 -04:00
95aa6b4dfa
Need to allow darwin10.8 etc.
R. Bernstein
2012-04-23 06:23:31 -04:00
af1b97bfce
Pete's changes require a more aggressive use of stdbool.h.
rocky
2012-04-23 00:45:58 -04:00
53440aae9b
configure architecture fixes from Nigel Pearson.
R. Bernstein
2012-04-22 20:27:38 -04:00
03a660d88b
Make a stab at recording what's changed.
R. Bernstein
2012-04-22 19:35:26 -04:00
c7c422221e
OSX fixes: test for stdbool.h, allow darwin10-12 and set DARWINT_10_OR_GREATER. Use generic CD-Text routines.
R. Bernstein
2012-04-21 23:42:53 -04:00
a7bca58f7f
Use typedefs for enums. OSX 10.6's C compiler seems to create storage for enums.
rocky
2012-04-17 22:15:10 -04:00
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.
R. Bernstein
2012-04-16 20:21:56 -04:00
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
R. Bernstein
2012-04-16 19:11:05 -04:00
db91979911
Add back in MIN_CDTEXT_FIELD. It's compatible too.
rocky
2012-04-16 04:12:50 -04:00
58400f03b9
Add guard around get_mcn for null p_cdio.
R. Bernstein
2012-04-15 00:49:01 -04:00
be5e4108ce
Update copyright
R. Bernstein
2012-04-14 22:17:51 -04:00
4e7e72a2c9
Wasn't testing CD-Text error return properly. (Bug found via rbcdio/example/cdtext.rb)
R. Bernstein
2012-04-14 22:15:26 -04:00
77ace7d338
Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio
R. Bernstein
2012-04-10 03:30:27 -04:00
844578d204
Possibly fixes OSX 10.6 where includes have moved around a bit.
R. Bernstein
2012-04-10 03:29:32 -04:00
662c41ef60
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio
Leon Merten Lohse
2012-03-27 17:46:43 +02:00
3940726aa7
Fixed that CD-Text from cdrdao toc was shifted one track forward.
Leon Merten Lohse
2012-03-27 17:45:09 +02:00
b052c43389
Update some README's to reflect the current situation.
R. Bernstein
2012-03-26 07:40:10 -04:00
aa0c1cb2a3
test/Makefile.am: test example files, some of which are used in tests, is no longer optional other Makefile.am: remove some cruft.
rocky
2012-03-25 20:11:11 -04:00
eb990be1a6
Getting back to before cdtext library
rocky
2012-03-25 17:21:12 -04:00
177b04c20b
Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio
rocky
2012-03-25 17:18:59 -04:00
8a3f964baa
Getting back to where we were before we created cdtext
rocky
2012-03-25 17:16:55 -04:00
023fcab57f
Add catalog number to ISO 9660 cue file.
R. Bernstein
2012-03-25 13:10:21 -04:00
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
R. Bernstein
2012-03-25 10:39:20 -04:00
8fca6497bc
Typo in C preprocessor symbol Comment #3 Savannah #35818
R. Bernstein
2012-03-25 03:57:16 -04:00
be738cbb2f
Expand driver test framework a little and the tests we do.
R. Bernstein
2012-03-25 01:47:26 -04:00
0fd3a2bf20
MinGW seems to need <stdio.h> for FILE in utf8.h now
rocky
2012-03-19 21:43:16 -04:00
4684fb002a
Small changes.
R. Bernstein
2012-03-18 22:45:08 -04:00
a834f98bc8
Recent header work by Pete Batard eliminates the need to set __CDIO_H__ here.
R. Bernstein
2012-03-18 13:27:12 -04:00
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
R. Bernstein
2012-03-18 12:02:01 -04:00
1c41e1c46c
Create CD-Text library - first round. (Second round will remove from lib/driver)
rocky
2012-03-14 08:12:58 -04:00
f0cbb08d25
Add catalog number to ISO 9660 cue file.
R. Bernstein
2012-03-25 13:10:21 -04:00
13ba13efee
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
R. Bernstein
2012-03-25 10:39:20 -04:00
09e0606cd0
Typo in C preprocessor symbol Comment #3 Savannah #35818
R. Bernstein
2012-03-25 03:57:16 -04:00
924e021fb9
Expand driver test framework a little and the tests we do.
R. Bernstein
2012-03-25 01:47:26 -04:00
d7d488f816
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio
Leon Merten Lohse
2012-03-22 22:23:21 +01:00
591c23ee48
Changed cdtext_select_language to take a cdtext_lang_t instead of a const char * to specify the desired language.
Leon Merten Lohse
2012-03-22 22:21:52 +01:00
0b5e5d6465
MinGW seems to need <stdio.h> for FILE in utf8.h now
rocky
2012-03-19 21:43:16 -04:00
d2f135ea89
Small changes.
R. Bernstein
2012-03-18 22:45:08 -04:00
413872a60e
Recent header work by Pete Batard eliminates the need to set __CDIO_H__ here.
R. Bernstein
2012-03-18 13:27:12 -04:00
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
R. Bernstein
2012-03-18 12:02:01 -04:00
a18d385d55
Update NEWS for some small typos
R. Bernstein
2012-03-12 06:12:02 -04:00
03643c8621
Set timezone compatible with previous version. Patch from N. Boullis.
R. Bernstein
2012-03-12 05:53:07 -04:00
2a6f153952
[renamed] cdtext_languages_available to cdtext_list_languages [fixed] C++ CD-Text API [fixed] C++ CD-Text example
Leon Merten Lohse
2012-03-11 16:41:28 +01:00
6571318912
More paranoia and unconfig removal
Pete Batard
2012-03-07 00:26:06 +00:00
892ff0522e
Merge branch 'greenleon' of git.sv.gnu.org:/srv/git/libcdio
R. Bernstein
2012-03-10 16:13:58 -05:00
0c7c1104fd
Small stylistic changes. More will go on in main branch
R. Bernstein
2012-03-10 13:46:22 -05:00
ac5e935d41
Don't set crc field outside of the limit of the cdtext_pack_t structure.
R. Bernstein
2012-03-10 12:51:05 -05:00
25d6668e8b
Redo some of rocky's beautifications.
Leon Merten Lohse
2012-03-09 09:22:25 +01:00
8023341b0b
Remove paranoia libcdio_cdda.pc.in
R. Bernstein
2012-03-05 23:12:27 -05:00
abe5b84295
Multilanguage CD-Text from greenleon
R. Bernstein
2012-03-05 21:22:08 -05:00
9e4332245a
Fix an "unused but set warning" in bincue test
Pete Batard
2012-03-05 23:32:56 +00:00
d01a6302cd
Remove .cvsignore as well as cdio/paranoia.h
Pete Batard
2012-03-05 23:32:09 +00:00
d7296d5ec0
Apply MSVC compatibility workaround to ecma_167.h
Pete Batard
2012-03-05 18:08:03 +00:00
a7d3059857
Add missing glob() equivalent for Windows platforms
Pete Batard
2012-03-05 18:03:37 +00:00
0074e54f97
More source headers harmonization
Pete Batard
2012-03-05 17:58:56 +00:00
9b0a90d4ae
Fix various issues
Pete Batard
2012-03-05 17:52:30 +00:00
919f39a95d
Make fopen() and stat() support UTF-8 paths on Windows
Pete Batard
2012-03-05 17:44:13 +00:00
1f1c20771e
Joliet improvements
Pete Batard
2012-03-05 17:06:01 +00:00
e6b00d7dcf
Add _cdio_strdup_fixpath for absolute paths handling in MinGW
Pete Batard
2012-03-05 15:32:35 +00:00
35aa0c7dec
Additional fixups for paranoia removal
Pete Batard
2012-03-05 15:18:52 +00:00
f574be6cd1
More paranoia removal
Pete Batard
2012-03-05 13:46:50 +00:00
76a3d8016a
Minor expository changes
R. Bernstein
2012-03-05 05:51:31 -05:00
09917474d5
Remove more paranoia code
R. Bernstein
2012-03-04 22:38:17 -05:00
b21bb347f1
test/testgetdevices.c.in Remove some warnings on MingGW
R. Bernstein
2012-03-04 20:44:15 -05:00
31b8758afe
test/Makefile.am: Remove test/unconfig -- this time, for sure!
R. Bernstein
2012-03-04 20:19:39 -05:00
cefd646275
Remove testunconfig. We have removed unconfig.h
rocky
2012-03-04 23:46:44 +01:00
ebcc891306
More pbatard patches
R. Bernstein
2012-03-04 14:49:33 -05:00
89fae13500
More pbatard patches
R. Bernstein
2012-03-04 14:42:40 -05:00
d0b09d15ef
More patches from the pbatard branch.
R. Bernstein
2012-03-04 14:37:07 -05:00
14f6f505ce
Some more pbatard patches
R. Bernstein
2012-03-04 14:12:09 -05:00
39bd8104b8
Makefile.am: add CDIO_ to all #defines in cdio_config.h extract.c: give filename on extract errors and convert encoding to unix.
R. Bernstein
2012-03-04 13:38:35 -05:00
8eabfdd37a
Remove some driver compilation warnings
rocky
2012-03-04 14:34:58 +01:00
4a4ebcd093
merge another warning fix from the pbatard-branch
R. Bernstein
2012-03-04 00:51:53 -05:00
068f784609
I hate conflicted merges
rocky
2012-03-04 06:39:07 +01:00
2d456fcba9
src/Makefile.am: Attempt to use GNU set (e.g. on Solaris)
rocky
2012-03-04 06:37:53 +01:00
deb7621512
check_udf.sh is derived and thus should not be in git
R. Bernstein
2012-03-04 00:32:41 -05:00
af0a57856e
test/check_udf.sh works when building outside source tree. With this "make distcheck" should work again
R. Bernstein
2012-03-04 00:30:58 -05:00
1f60f6f2d3
test/*: Add first UDF test - test sequential file extraction. example/extract.c: give non-zero return code if we can't find UDF image test/*
R. Bernstein
2012-03-04 00:09:02 -05:00
3e8bf97c66
This time, for sure!
rocky
2012-03-04 04:10:06 +01:00
dadd50840a
Revert inadvertanet INSTALL update
R. Bernstein
2012-03-03 22:06:15 -05:00