Commit Graph

418 Commits

Author SHA1 Message Date
Erik de Castro Lopo
87a015699f Cleanup sd2_open() and make sure resource fork is closed. 2004-10-31 09:21:22 +00:00
Erik de Castro Lopo
99681d32d1 Add psf_close_rsrc() and get length of resource fork. 2004-10-31 09:18:46 +00:00
Erik de Castro Lopo
414f41eb1c Bump version to 1.0.11pre9. 2004-10-30 00:33:04 +00:00
Erik de Castro Lopo
029f2105e2 Remove redundant files/dirs. 2004-10-29 23:56:28 +00:00
Erik de Castro Lopo
82b66e7610 Win32 specific header updates. 2004-10-29 23:55:27 +00:00
Erik de Castro Lopo
7465d3f86a Remove $(EXEEXT) from Makefile.am. 2004-10-29 23:48:53 +00:00
Erik de Castro Lopo
b0d90c974d Win32 specific snprintf fix in utils.tpl. 2004-10-29 23:39:07 +00:00
Erik de Castro Lopo
edf86818eb Fix a couple of printf and snprintfs in sd2.c. 2004-10-29 23:35:15 +00:00
Erik de Castro Lopo
b2e4545563 Make writing of SD2 files work on little endian systems. 2004-10-29 10:48:22 +00:00
Erik de Castro Lopo
1c3c031391 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT. 2004-10-29 10:46:10 +00:00
Erik de Castro Lopo
4c5b62dbd9 Add a delete_file() function which also deletes the resource fork of SD2. files. 2004-10-29 10:10:29 +00:00
Erik de Castro Lopo
d27c4dcd83 Update =tagging-method file to ignore sd2 resource fork files. 2004-10-28 23:23:09 +00:00
Erik de Castro Lopo
f31cc3b13e Preliminary SD2 tests now working.
Patches applied:

 * erikd@miles--2004/libsndfile--weird--1.0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-300

 * erikd@miles--2004/libsndfile--weird--1.0--patch-1
   Remove old definition of SF_FORMAT_SD2 from common.h.

 * erikd@miles--2004/libsndfile--weird--1.0--patch-2
   Move rsrc filename construction to psf_open_rsrc() and add SFE_SD2_FD_DISALLOWED.
2004-10-28 22:25:02 +00:00
Erik de Castro Lopo
b8825e69e3 Update test progs to handle modified test_open_file_or_die().
Patches applied:

 * erikd@miles--2004/libsndfile--weird--1.0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-300

 * erikd@miles--2004/libsndfile--weird--1.0--patch-1
   Remove old definition of SF_FORMAT_SD2 from common.h.

 * erikd@miles--2004/libsndfile--weird--1.0--patch-2
   Move rsrc filename construction to psf_open_rsrc() and add SFE_SD2_FD_DISALLOWED.
2004-10-28 22:21:40 +00:00
Erik de Castro Lopo
b93c6e9c4b Add sd2 tests and use allow_fd. 2004-10-28 09:51:40 +00:00
Erik de Castro Lopo
d58bf2b9b7 Add extra allow_fd parameter to test_open_file_or_die(). 2004-10-28 09:49:28 +00:00
Erik de Castro Lopo
ac4286644d Add SF_FORMAT_SD2 to sndfile.h.in. 2004-10-28 09:47:16 +00:00
Erik de Castro Lopo
c84fa765d0 Fix for sd2 files with large resource forks. 2004-10-27 11:13:43 +00:00
Erik de Castro Lopo
b5c03a45a4 Update parsing of ACID chunk in WAV files. 2004-10-27 10:46:36 +00:00
Erik de Castro Lopo
6f707349f0 Remove redundant sd2 error value. 2004-10-26 08:43:13 +00:00
Erik de Castro Lopo
7e70aa2ac1 Allow sd2 handling of any length resource fork. 2004-10-26 08:41:59 +00:00
Erik de Castro Lopo
f110017521 Prepare for allowing any sized resource fork. 2004-10-26 03:43:19 +00:00
Erik de Castro Lopo
8168cf0c96 Merge sd2 chanegs from MacStuff. 2004-10-25 13:03:43 +00:00
Erik de Castro Lopo
1ef19c4e90 Bump version in configure.ac, update ChangeLog. 2004-10-24 00:57:07 +00:00
Erik de Castro Lopo
1541327bb2 Minor sd2 cleanup. 2004-10-24 00:55:47 +00:00
Erik de Castro Lopo
6bcb85f68f Reading sd2 files now working. 2004-10-23 12:43:20 +00:00
Erik de Castro Lopo
17c5b57969 Add error messages for sd2 files. 2004-10-23 12:41:03 +00:00
Erik de Castro Lopo
3a33e956cc Minor updates to common.[ch]. 2004-10-23 11:11:07 +00:00
Erik de Castro Lopo
eefc128507 Disable sd2 code. 2004-10-19 08:43:58 +00:00
Erik de Castro Lopo
c7a3c73d0c Update ChangeLog. 2004-10-17 01:30:53 +00:00
Erik de Castro Lopo
22a94e6d3b Update Win32 (MSVC++) and MacOS9 specific headers. 2004-10-17 01:13:28 +00:00
Erik de Castro Lopo
f058179440 Remove use of __func__ in test programs (MSVC++ doesn't grok this). 2004-10-17 01:12:35 +00:00
Erik de Castro Lopo
76da341956 Update file_io.c to include win32 psf_open_rsrc(). 2004-10-17 00:19:54 +00:00
Erik de Castro Lopo
4089926b2b Cleanup and fix sfendswap.h. 2004-10-14 00:34:26 +00:00
Erik de Castro Lopo
a3cdfcb22b Improve endswap tests. 2004-10-14 00:33:13 +00:00
Erik de Castro Lopo
defcfda191 Add check for existance of long long type. 2004-10-14 00:17:05 +00:00
Erik de Castro Lopo
d4a4aa70a6 Update .arch-inventory. 2004-10-13 00:30:28 +00:00
Erik de Castro Lopo
807f5c916d Make sure test_endswap is built. 2004-10-13 00:27:57 +00:00
Erik de Castro Lopo
1c18722ed2 Save filepath and filename, add try_resource_fork(). 2004-10-12 12:25:25 +00:00
Erik de Castro Lopo
5755d046f6 Fix error codes on file open. 2004-10-12 12:24:14 +00:00
Erik de Castro Lopo
03a4b0598e Fix experimental code which was still using psf->buffer. 2004-10-12 08:17:13 +00:00
Erik de Castro Lopo
678430b156 Add function try_resource_fork() needed for SD2 files. 2004-10-12 06:34:59 +00:00
Erik de Castro Lopo
aa6907a3d5 Refactor psf_fopen() and add psf_open_rsrc(). 2004-10-12 04:33:58 +00:00
Erik de Castro Lopo
2a117a2027 Add test_endswap. 2004-10-12 03:13:15 +00:00
Erik de Castro Lopo
328931eff3 Improve type safety of endswap stuff, fix double64.c. 2004-10-12 03:06:40 +00:00
Erik de Castro Lopo
782e64d51b Include <stdin.h> in common.h. 2004-10-10 07:17:52 +00:00
Erik de Castro Lopo
e971167f23 Fix double endswap/read/write bug on x86. 2004-10-07 13:23:20 +00:00
Erik de Castro Lopo
3f5201d59e Fix minor bug in endian_type definitions. 2004-10-07 13:14:19 +00:00
Erik de Castro Lopo
00b9fa6629 For new (float|double)_(short|int)_test() do both endian-nesses as well. 2004-10-07 10:59:59 +00:00
Erik de Castro Lopo
be932e3fac Fix minor bug in endswap_long_*() and improve type safety. 2004-10-07 00:23:35 +00:00