]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
15 years agoFix string conversion errors on Mac OS X.
Michihiro NAKAJIMA [Wed, 25 May 2011 12:01:15 +0000 (08:01 -0400)] 
Fix string conversion errors on Mac OS X.

SVN-Revision: 3385

15 years agoImprove test_archive_string_conversion for export, a write side conversion process.
Michihiro NAKAJIMA [Wed, 25 May 2011 10:50:32 +0000 (06:50 -0400)] 
Improve test_archive_string_conversion for export, a write side conversion process.

SVN-Revision: 3384

15 years agoRemove unneeded assignment code found with Clang Static Analyzer.
Michihiro NAKAJIMA [Tue, 24 May 2011 11:25:16 +0000 (07:25 -0400)] 
Remove unneeded assignment code found with Clang Static Analyzer.

SVN-Revision: 3383

15 years agoAvoid warnings by Clang Static Analyzer.
Michihiro NAKAJIMA [Tue, 24 May 2011 11:13:01 +0000 (07:13 -0400)] 
Avoid warnings by Clang Static Analyzer.

SVN-Revision: 3382

15 years agoFix the result code of normalization.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:48:59 +0000 (06:48 -0400)] 
Fix the result code of normalization.

SVN-Revision: 3381

15 years agoReturn a correct status when a entry has an incorrect linkname.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:46:48 +0000 (06:46 -0400)] 
Return a correct status when a entry has an incorrect linkname.

SVN-Revision: 3380

15 years agoAvoid borland warnings at test_archive_string_conversion.c.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:28:46 +0000 (06:28 -0400)] 
Avoid borland warnings at test_archive_string_conversion.c.

SVN-Revision: 3379

15 years agoUse compress for test_archive_string_conversion.txt instead of gzip to work
Michihiro NAKAJIMA [Tue, 24 May 2011 10:19:31 +0000 (06:19 -0400)] 
Use compress for test_archive_string_conversion.txt instead of gzip to work
a test test_archive_string_conversion on Windows platform, which does not
have zlib by default.

SVN-Revision: 3378

15 years agoCombine strncat_from_utf16_to_utf8 and strncat_from_utf8_to_utf16 to make
Michihiro NAKAJIMA [Tue, 24 May 2011 10:00:05 +0000 (06:00 -0400)] 
Combine strncat_from_utf16_to_utf8 and strncat_from_utf8_to_utf16 to make
a new function archive_string_append_unicode.

SVN-Revision: 3377

15 years agoIssue 157: Fix some unused-variable warnings from GCC 4.6.
Tim Kientzle [Tue, 24 May 2011 03:26:44 +0000 (23:26 -0400)] 
Issue 157:  Fix some unused-variable warnings from GCC 4.6.

SVN-Revision: 3376

15 years agoIssue 157: Found by GCC 4.6: The temp buffer, which was set up
Tim Kientzle [Tue, 24 May 2011 03:22:31 +0000 (23:22 -0400)] 
Issue 157: Found by GCC 4.6:  The temp buffer, which was set up
specifically to avoid walking off the end of the provided input
data, wasn't being used.
Possible ramification:  libarchive could segfault when writing
shar files with uuencode encoding of file bodies, if the
data being read happened to end exactly at the end of
an allocated page.

SVN-Revision: 3375

15 years agoImplement normalization to a UTF-16BE string recorded in ISO9660 Joliet extensions.
Michihiro NAKAJIMA [Mon, 23 May 2011 09:47:28 +0000 (05:47 -0400)] 
Implement normalization to a UTF-16BE string recorded in ISO9660 Joliet extensions.

SVN-Revision: 3374

15 years agoEliminate a double check of remaining data.
Michihiro NAKAJIMA [Thu, 19 May 2011 13:50:22 +0000 (09:50 -0400)] 
Eliminate a double check of remaining data.

SVN-Revision: 3373

15 years agoRemove unneeded code that case will not happen because strncat_from_utf16_to_utf8...
Michihiro NAKAJIMA [Thu, 19 May 2011 13:33:51 +0000 (09:33 -0400)] 
Remove unneeded code that case will not happen because strncat_from_utf16_to_utf8 will be called instead.

SVN-Revision: 3372

15 years agoRework archive_strncat_in_locale mainly around UTF-16 handling to reduce duplicate...
Michihiro NAKAJIMA [Thu, 19 May 2011 11:58:18 +0000 (07:58 -0400)] 
Rework archive_strncat_in_locale mainly around UTF-16 handling to reduce duplicate code.

SVN-Revision: 3371

15 years agoAvoid several warnings in libarchive_test on Borland C Compiler.
Michihiro NAKAJIMA [Thu, 19 May 2011 11:52:15 +0000 (07:52 -0400)] 
Avoid several warnings in libarchive_test on Borland C Compiler.

SVN-Revision: 3370

15 years agoFix a silly bug made by previous change.
Michihiro NAKAJIMA [Thu, 19 May 2011 05:22:21 +0000 (01:22 -0400)] 
Fix a silly bug made by previous change.

SVN-Revision: 3369

15 years agoIncrease a buffer size for Joliet extension names up to 1024 bytes.
Michihiro NAKAJIMA [Thu, 19 May 2011 04:14:02 +0000 (00:14 -0400)] 
Increase a buffer size for Joliet extension names up to 1024 bytes.
It is hard to calculate MBS length for limitation check.

SVN-Revision: 3368

15 years agoFix build failure in a strict check.
Michihiro NAKAJIMA [Thu, 19 May 2011 03:42:17 +0000 (23:42 -0400)] 
Fix build failure in a strict check.

SVN-Revision: 3367

15 years agoSet UTF-16BE filenames in Joliet extension to archvie_enty directly in a string conve...
Michihiro NAKAJIMA [Wed, 18 May 2011 15:21:51 +0000 (11:21 -0400)] 
Set UTF-16BE filenames in Joliet extension to archvie_enty directly in a string conversion, and
report the conversion error if it happened.

SVN-Revision: 3366

15 years agoImplement converting WCS from/to UTF-16BE on Windows, which code will be used
Michihiro NAKAJIMA [Wed, 18 May 2011 15:08:56 +0000 (11:08 -0400)] 
Implement converting WCS from/to UTF-16BE on Windows, which code will be used
in ISO9660 reader and writer through archive_mstring.

SVN-Revision: 3365

15 years agoFix build failure on Visual Studio.
Michihiro NAKAJIMA [Wed, 18 May 2011 10:42:29 +0000 (06:42 -0400)] 
Fix build failure on Visual Studio.

SVN-Revision: 3364

15 years agoFix warnings in libarchive/test_*.c on Borland C Compiler.
Michihiro NAKAJIMA [Wed, 18 May 2011 09:13:57 +0000 (05:13 -0400)] 
Fix warnings in libarchive/test_*.c on Borland C Compiler.

SVN-Revision: 3363

15 years agoComment out unneeded code in test_write_format_zip_no_compression.
Michihiro NAKAJIMA [Wed, 18 May 2011 07:34:31 +0000 (03:34 -0400)] 
Comment out unneeded code in test_write_format_zip_no_compression.

SVN-Revision: 3362

15 years agoChange a type of UTF-8 byte counter table to avoid warnings on Borland C Compiler.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:27:40 +0000 (01:27 -0400)] 
Change a type of UTF-8 byte counter table to avoid warnings on Borland C Compiler.

SVN-Revision: 3361

15 years agoRemove debug code for Mac OS.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:13:01 +0000 (01:13 -0400)] 
Remove debug code for Mac OS.

SVN-Revision: 3360

15 years agoUse NFD string for Mac OS at test_read_format_zip_filename.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:08:35 +0000 (01:08 -0400)] 
Use NFD string for Mac OS at test_read_format_zip_filename.

SVN-Revision: 3359

15 years agoRedefine SCONV_* flags used for archive_string_conv object.
Michihiro NAKAJIMA [Wed, 18 May 2011 04:54:27 +0000 (00:54 -0400)] 
Redefine SCONV_* flags used for archive_string_conv object.

SVN-Revision: 3358

15 years agoIt seems Mac OS cannot convert U+1109A, U+1109C and U+110AB to NFD although that...
Michihiro NAKAJIMA [Tue, 17 May 2011 10:49:00 +0000 (06:49 -0400)] 
It seems Mac OS cannot convert U+1109A, U+1109C and U+110AB to NFD although that is undocumented as far as I know.

SVN-Revision: 3357

15 years agoDo not use WideCharToMultiByte and MultiByteToWideChar when current locale is "C...
Michihiro NAKAJIMA [Tue, 17 May 2011 10:43:02 +0000 (06:43 -0400)] 
Do not use WideCharToMultiByte and MultiByteToWideChar when current locale is "C" on Windows.

SVN-Revision: 3356

15 years agoProperly free struct isofile object when some fatal error happened.
Michihiro NAKAJIMA [Tue, 17 May 2011 10:41:03 +0000 (06:41 -0400)] 
Properly free struct isofile object when some fatal error happened.

SVN-Revision: 3355

15 years agoReduce the effect of current locale for Joliet extension name(UTF-16BE) by direct...
Michihiro NAKAJIMA [Tue, 17 May 2011 09:43:45 +0000 (05:43 -0400)] 
Reduce the effect of current locale for Joliet extension name(UTF-16BE) by direct generating it from archive_entry.

SVN-Revision: 3354

15 years agoFix counting UTF-16 characters and converting UTF-16 on Windows.
Michihiro NAKAJIMA [Tue, 17 May 2011 09:08:49 +0000 (05:08 -0400)] 
Fix counting UTF-16 characters and converting UTF-16 on Windows.

SVN-Revision: 3353

15 years agoUse assertEqualUTF8String instead of assertEqualString at test_read_format_zip_filena...
Michihiro NAKAJIMA [Tue, 17 May 2011 04:26:51 +0000 (00:26 -0400)] 
Use assertEqualUTF8String instead of assertEqualString at test_read_format_zip_filename_UTF8_UTF8.

SVN-Revision: 3352

15 years agoAvoid warnings about no argument.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:17:46 +0000 (00:17 -0400)] 
Avoid warnings about no argument.

SVN-Revision: 3351

15 years agoAvoid warnings in test_archive_read_open2.c about unused variables.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:11:15 +0000 (00:11 -0400)] 
Avoid warnings in test_archive_read_open2.c about unused variables.

SVN-Revision: 3350

15 years agoAvoid a warning in zip reader on Borland C Compiler.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:03:53 +0000 (00:03 -0400)] 
Avoid a warning in zip reader on Borland C Compiler.

SVN-Revision: 3349

15 years agoRemove unneeded code in cab reader.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:59:00 +0000 (23:59 -0400)] 
Remove unneeded code in cab reader.

SVN-Revision: 3348

15 years agoMove macros in archive_string.c to the top of the file.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:55:26 +0000 (23:55 -0400)] 
Move macros in archive_string.c to the top of the file.
Use macro for set byte sequence of U+FFFD for UTF-8.

SVN-Revision: 3347

15 years agoRework UTF-16 conversion functions.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:19:07 +0000 (23:19 -0400)] 
Rework UTF-16 conversion functions.
 - rename strncpy_from_utf16be to strncat_from_utf16be and its feature is slightly changed as strcat.
 - rename strncpy_to_utf16be to strncat_to_utf16be and its feature is slightly changed as strcat.
 - use U+FFFD for invalid character if destination charset is UTF-8.
 - proper handle surrogate pair on Windows version.

SVN-Revision: 3346

15 years agoRework a handling of memory allocation failure in string conversion;
Michihiro NAKAJIMA [Mon, 16 May 2011 11:52:47 +0000 (07:52 -0400)] 
Rework a handling of memory allocation failure in string conversion;
report the failure to the caller as much as we can instead of calling __archive_errx().

SVN-Revision: 3345

15 years agoFix segmentation fault on Mac OS.
Michihiro NAKAJIMA [Mon, 16 May 2011 07:31:55 +0000 (03:31 -0400)] 
Fix segmentation fault on Mac OS.

SVN-Revision: 3344

15 years agoFix the warning Boarland C compiler complains of and some style.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:37:47 +0000 (00:37 -0400)] 
Fix the warning Boarland C compiler complains of and some style.

SVN-Revision: 3343

15 years agoClean up the code Borland C compiler complains of at cab reader.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:28:32 +0000 (00:28 -0400)] 
Clean up the code Borland C compiler complains of at cab reader.

SVN-Revision: 3342

15 years agoctime and ctime_nanos are not used in set_times() on Windows.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:18:20 +0000 (00:18 -0400)] 
ctime and ctime_nanos are not used in set_times() on Windows.

SVN-Revision: 3341

15 years agoAvoid some warnings on Borland C compiler.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:07:59 +0000 (00:07 -0400)] 
Avoid some warnings on Borland C compiler.

SVN-Revision: 3340

15 years agoProper prototype for get_current_codepage and get_current_oemcp; Borland C compiler...
Michihiro NAKAJIMA [Mon, 16 May 2011 03:51:26 +0000 (23:51 -0400)] 
Proper prototype for get_current_codepage and get_current_oemcp; Borland C compiler complains of this.

SVN-Revision: 3339

15 years agoFix the return code of archive_string_append_from_wcs_in_codepage().
Michihiro NAKAJIMA [Mon, 16 May 2011 03:44:15 +0000 (23:44 -0400)] 
Fix the return code of archive_string_append_from_wcs_in_codepage().

SVN-Revision: 3338

15 years agoRemove unused wmemcpy definition.
Michihiro NAKAJIMA [Mon, 16 May 2011 03:38:55 +0000 (23:38 -0400)] 
Remove unused wmemcpy definition.

SVN-Revision: 3337

15 years agoUse wmemcpy at archive_wstring_append().
Michihiro NAKAJIMA [Mon, 16 May 2011 03:38:15 +0000 (23:38 -0400)] 
Use wmemcpy at archive_wstring_append().

SVN-Revision: 3336

15 years agoRemove unneeded code in archive_write_set_format_cpio.c
Michihiro NAKAJIMA [Sun, 15 May 2011 15:21:42 +0000 (11:21 -0400)] 
Remove unneeded code in archive_write_set_format_cpio.c

SVN-Revision: 3335

15 years agoRemove unneeded code in archive_write_set_format_cpio_newc.c
Michihiro NAKAJIMA [Sun, 15 May 2011 15:20:17 +0000 (11:20 -0400)] 
Remove unneeded code in archive_write_set_format_cpio_newc.c

SVN-Revision: 3334

15 years agoUse en_US.UTF-8 locale for tests instead of ru_RU.UTF-8 or ja_JP.UTF-8
Michihiro NAKAJIMA [Sun, 15 May 2011 14:39:47 +0000 (10:39 -0400)] 
Use en_US.UTF-8 locale for tests instead of ru_RU.UTF-8 or ja_JP.UTF-8
since some platform do not install those locales by default.

SVN-Revision: 3333

15 years agoDetect readlinkat() on linux by CMake; linux requires fcntl.h for AT_FDCWD.
Michihiro NAKAJIMA [Sun, 15 May 2011 14:08:23 +0000 (10:08 -0400)] 
Detect readlinkat() on linux by CMake; linux requires fcntl.h for AT_FDCWD.

SVN-Revision: 3332

15 years agoFix build failure.
Michihiro NAKAJIMA [Sun, 15 May 2011 14:04:30 +0000 (10:04 -0400)] 
Fix build failure.

SVN-Revision: 3331

15 years agoImprove string conversion functions of UTF-16 about invalid characters.
Michihiro NAKAJIMA [Sun, 15 May 2011 11:41:02 +0000 (07:41 -0400)] 
Improve string conversion functions of UTF-16 about invalid characters.

SVN-Revision: 3330

15 years agoProperly check if archive_string_ensure() succeeded or not.
Michihiro NAKAJIMA [Sun, 15 May 2011 08:11:38 +0000 (04:11 -0400)] 
Properly check if archive_string_ensure() succeeded or not.

SVN-Revision: 3329

15 years agoApparently, both input and output data type should be UTF-16 for ConvertFromUnicodeTo...
Michihiro NAKAJIMA [Sun, 15 May 2011 08:01:59 +0000 (04:01 -0400)] 
Apparently, both input and output data type should be UTF-16 for ConvertFromUnicodeToText()
when converting NFC to NFD.

SVN-Revision: 3328

15 years agoAvoid local conversion code in iso9660 writer.
Michihiro NAKAJIMA [Sun, 15 May 2011 06:14:55 +0000 (02:14 -0400)] 
Avoid local conversion code in iso9660 writer.

SVN-Revision: 3327

15 years agoFix a name of timezone global variable for Borland.
Michihiro NAKAJIMA [Sun, 15 May 2011 04:09:14 +0000 (00:09 -0400)] 
Fix a name of timezone global variable for Borland.

SVN-Revision: 3326

15 years agoClean up best_effort_strncat_in_locale().
Michihiro NAKAJIMA [Sun, 15 May 2011 04:02:19 +0000 (00:02 -0400)] 
Clean up best_effort_strncat_in_locale().
 - merge is_all_ascii_code() and best_effort_strncat_to_utf8() into best_effort_strncat_in_locale().
 - assign '?' character if a character code > 127.
 - update comment.

SVN-Revision: 3325

15 years agoDo not set error status when a struct archive object is NULL.
Michihiro NAKAJIMA [Sat, 14 May 2011 16:12:26 +0000 (12:12 -0400)] 
Do not set error status when a struct archive object is NULL.

SVN-Revision: 3324

15 years agoFix wrong calculation of converted bytes and return code on character replacement.
Michihiro NAKAJIMA [Sat, 14 May 2011 08:35:06 +0000 (04:35 -0400)] 
Fix wrong calculation of converted bytes and return code on character replacement.

SVN-Revision: 3323

15 years agoThe source data type for ConvertFromUnicodeToText() should be UniChar, UTF-16
Michihiro NAKAJIMA [Sat, 14 May 2011 08:22:48 +0000 (04:22 -0400)] 
The source data type for ConvertFromUnicodeToText() should be UniChar, UTF-16
so we have to do pre-conversion that translates a UTF-8 string to UTF-16's
before calling ConvertFromUnicodeToText() and pass that UTF-16 string.

SVN-Revision: 3322

15 years agoImprove MBS<=>WCS functions.
Michihiro NAKAJIMA [Fri, 13 May 2011 04:14:34 +0000 (00:14 -0400)] 
Improve MBS<=>WCS functions.
 - split archive_wstring_append_from_mbs into mbsnrtowcs version and mbrtowc/mbtowc version.
 - POSIX version of archive_string_append_from_wcs behavior simulates Windows version's.
   That is to continue conversion even if there is illegal WC.
 - set the terminator '\0' to destination buffer even if conversion failed.

SVN-Revision: 3320

15 years agoUse archive_mstring_*_l interface in archive_acl_* functions
Michihiro NAKAJIMA [Thu, 12 May 2011 14:21:05 +0000 (10:21 -0400)] 
Use archive_mstring_*_l interface in archive_acl_* functions
since archive_mstring knows how to treat UTF-8 characters and
what way is efficient on the platform and what way reduces or
avoid dependence on current locale.

SVN-Revision: 3319

15 years agoAdd temporary debug code for Mac OS to check status at CDash.
Michihiro NAKAJIMA [Thu, 12 May 2011 09:52:46 +0000 (05:52 -0400)] 
Add temporary debug code for Mac OS to check status at CDash.

SVN-Revision: 3318

15 years agoOn Mac OS, compare NFD string instead of NFC string
Michihiro NAKAJIMA [Thu, 12 May 2011 08:34:19 +0000 (04:34 -0400)] 
On Mac OS, compare NFD string instead of NFC string
at test_read_format_zip_filename and test_read_format_cab_filename.

SVN-Revision: 3317

15 years agoUse assertEqualMem instead of assert(0 == memcmp(xxx....)).
Michihiro NAKAJIMA [Thu, 12 May 2011 08:13:54 +0000 (04:13 -0400)] 
Use assertEqualMem instead of assert(0 == memcmp(xxx....)).

SVN-Revision: 3316

15 years agoImprove the check that FS_IOC_FIEMAP operation is supported on the filesystem.
Michihiro NAKAJIMA [Thu, 12 May 2011 07:48:44 +0000 (03:48 -0400)] 
Improve the check that FS_IOC_FIEMAP operation is supported on the filesystem.

SVN-Revision: 3315

15 years agoIf FS_IOC_FIEMAP operation fails by EOPNOTSUPP, the operation is not supported.
Michihiro NAKAJIMA [Thu, 12 May 2011 07:43:54 +0000 (03:43 -0400)] 
If FS_IOC_FIEMAP operation fails by EOPNOTSUPP, the operation is not supported.

SVN-Revision: 3314

15 years agoAssign U+FFFD(Replacement Character) for unknown character in UTF-8
Michihiro NAKAJIMA [Thu, 12 May 2011 05:21:45 +0000 (01:21 -0400)] 
Assign U+FFFD(Replacement Character) for unknown character in UTF-8
even if the platform has no conversion function.

SVN-Revision: 3313

15 years agoIncrease robustness for an empty filename or an invalid filename on Windows,
Michihiro NAKAJIMA [Thu, 12 May 2011 02:55:54 +0000 (22:55 -0400)] 
Increase robustness for an empty filename or an invalid filename on Windows,
which cannot be completely converted from WCS to MBS.
Correctly detect invalid UTF-8 string on Windows.

SVN-Revision: 3312

15 years agoUse archive_entry_*_l functions at zip format writer.
Michihiro NAKAJIMA [Thu, 12 May 2011 00:30:11 +0000 (20:30 -0400)] 
Use archive_entry_*_l functions at zip format writer.

SVN-Revision: 3311

15 years agoUse archive_entry_*_l functions at xar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 15:49:37 +0000 (11:49 -0400)] 
Use archive_entry_*_l functions at xar format writer.

SVN-Revision: 3310

15 years agoUse archive_entry_*_l functions at pax format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 15:33:57 +0000 (11:33 -0400)] 
Use archive_entry_*_l functions at pax format writer.

SVN-Revision: 3309

15 years agoUse archive_entry_*_l functions at ustar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:56:41 +0000 (09:56 -0400)] 
Use archive_entry_*_l functions at ustar format writer.

SVN-Revision: 3308

15 years agoUse archive_entry_*_l functions at gnutar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:40:51 +0000 (09:40 -0400)] 
Use archive_entry_*_l functions at gnutar format writer.

SVN-Revision: 3307

15 years agoUse archive_entry_*_l functions at cpio newc format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:02:36 +0000 (09:02 -0400)] 
Use archive_entry_*_l functions at cpio newc format writer.

SVN-Revision: 3306

15 years agoUse archive_entry_*_l functions at cpio format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:47:19 +0000 (08:47 -0400)] 
Use archive_entry_*_l functions at cpio format writer.

SVN-Revision: 3305

15 years agoUse archive_entry_copy_*_l functions at zip format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:27:11 +0000 (08:27 -0400)] 
Use archive_entry_copy_*_l functions at zip format reader.

SVN-Revision: 3304

15 years agoUse archive_entry_copy_*_l functions at xar format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:12:04 +0000 (08:12 -0400)] 
Use archive_entry_copy_*_l functions at xar format reader.

SVN-Revision: 3303

15 years agoUse archive_entry_copy_*_l functions at tar format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 10:49:07 +0000 (06:49 -0400)] 
Use archive_entry_copy_*_l functions at tar format reader.

SVN-Revision: 3302

15 years agoUse archive_entry_copy_*_l functions at lha format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 10:07:53 +0000 (06:07 -0400)] 
Use archive_entry_copy_*_l functions at lha format reader.

SVN-Revision: 3301

15 years agoUse archive_entry_copy_*_l functions at cpio format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 09:39:04 +0000 (05:39 -0400)] 
Use archive_entry_copy_*_l functions at cpio format reader.

SVN-Revision: 3300

15 years agoUse archive_entry_copy_*_l functions at cab format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 09:28:26 +0000 (05:28 -0400)] 
Use archive_entry_copy_*_l functions at cab format reader.

SVN-Revision: 3299

15 years agoCorrect winioctl to winioctl.h in configure.ac.
Michihiro NAKAJIMA [Wed, 11 May 2011 05:49:52 +0000 (01:49 -0400)] 
Correct winioctl to winioctl.h in configure.ac.
Fix comment about winioctl.h in build/cmake/config.h.in.

SVN-Revision: 3298

15 years agoIn configure, SSIZE_MAX requires limits.h
Michihiro NAKAJIMA [Wed, 11 May 2011 05:42:01 +0000 (01:42 -0400)] 
In configure, SSIZE_MAX requires limits.h

SVN-Revision: 3297

15 years agoCorrect macro names in CMakeLists.txt.
Michihiro NAKAJIMA [Wed, 11 May 2011 05:18:59 +0000 (01:18 -0400)] 
Correct macro names in CMakeLists.txt.
  HAVE_ACL_LIB ==> HAVE_LIBACL
  HAVE_ATTR_LIB ==> HAVE_LIBATTR

SVN-Revision: 3296

15 years agoSpecify -fno-builtin to gcc during detecting functions because use of
Michihiro NAKAJIMA [Wed, 11 May 2011 04:39:24 +0000 (00:39 -0400)] 
Specify -fno-builtin to gcc during detecting functions because use of
-Werror on CMake prevent the detection of built-in functions of gcc by
compiling failure which is conflicting types for built-in function.

SVN-Revision: 3295

15 years agoDetect readdir_r with cmake on linux.
Michihiro NAKAJIMA [Tue, 10 May 2011 15:35:19 +0000 (11:35 -0400)] 
Detect readdir_r with cmake on linux.

SVN-Revision: 3294

15 years agoFix build failure through cmake on linux.
Michihiro NAKAJIMA [Tue, 10 May 2011 14:53:42 +0000 (10:53 -0400)] 
Fix build failure through cmake on linux.
It needs some macro such as _GNU_SOURCE to use extension functions.

including previous changes of build/cmake/config.h.in.

SVN-Revision: 3293

15 years agoProperly detect iconv with cmake on linux.
Michihiro NAKAJIMA [Tue, 10 May 2011 14:34:44 +0000 (10:34 -0400)] 
Properly detect iconv with cmake on linux.

SVN-Revision: 3292

15 years agoAccording to Public Review Issue #121 at unicode.org http://unicode.org/review/pr...
Michihiro NAKAJIMA [Tue, 10 May 2011 12:55:01 +0000 (08:55 -0400)] 
According to Public Review Issue #121 at unicode.org http://unicode.org/review/pr-121.html , we should use U+FFFD for ill-formed subsequences.

SVN-Revision: 3291

15 years agoContinue a string conversion even if the normalization failed.
Michihiro NAKAJIMA [Tue, 10 May 2011 07:28:50 +0000 (03:28 -0400)] 
Continue a string conversion even if the normalization failed.

SVN-Revision: 3290

15 years agoDump unicode code points when comparing UTF-8 strings fail at
Michihiro NAKAJIMA [Mon, 9 May 2011 12:19:07 +0000 (08:19 -0400)] 
Dump unicode code points when comparing UTF-8 strings fail at
test_read_format_cab_filename and test_read_format_zip_filename.

SVN-Revision: 3289

15 years agoImplement a string conversion interface to archive_entry and archive_mstring
Michihiro NAKAJIMA [Mon, 9 May 2011 12:07:31 +0000 (08:07 -0400)] 
Implement a string conversion interface to archive_entry and archive_mstring
for efficient string conversion. Some platform have to do a string conversion
through wide characters. And then Windows platform cannot make locale UTF-8,
so it means use of wide characters is only way to make a internationalization
program.

SVN-Revision: 3288

15 years agoThe text conversion functions are in CoreServices.framework
Tim Kientzle [Sun, 8 May 2011 16:40:39 +0000 (12:40 -0400)] 
The text conversion functions are in CoreServices.framework

SVN-Revision: 3287

15 years agoOn Mac OS, Link CoreFoundation to avoid build failure.
Michihiro NAKAJIMA [Sat, 7 May 2011 12:49:28 +0000 (08:49 -0400)] 
On Mac OS, Link CoreFoundation to avoid build failure.

SVN-Revision: 3286

15 years agoOn Windows, merge two versions of the string conversion code between WCS and MBS.
Michihiro NAKAJIMA [Fri, 6 May 2011 06:41:08 +0000 (02:41 -0400)] 
On Windows, merge two versions of the string conversion code between WCS and MBS.

SVN-Revision: 3285