]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Martin Matuska [Sat, 25 Feb 2012 14:53:45 +0000 (15:53 +0100)]
Various manpage metadata fixes
- fix manpage dates to reflect latest change
- fix manpage titles
- reduce $FreeBSD: *$ tags to $FreeBSD$
Michihiro NAKAJIMA [Sat, 25 Feb 2012 07:45:19 +0000 (16:45 +0900)]
Enable C4254,C4295,C4514 and C4702 on MSVC.
Michihiro NAKAJIMA [Sat, 25 Feb 2012 07:31:48 +0000 (16:31 +0900)]
Make CMAKE_C_FLAGS_DEBUG readable.
Andres Mejia [Fri, 24 Feb 2012 19:20:16 +0000 (14:20 -0500)]
Add NEWS about where the mailing lists have stayed.
Andres Mejia [Fri, 24 Feb 2012 17:02:32 +0000 (12:02 -0500)]
Add -Wformat and -Wformat-security to default CFLAGS for all builds.
These are security related warnings.
Andres Mejia [Fri, 24 Feb 2012 16:37:28 +0000 (11:37 -0500)]
Make warnings enabled match what is enabled for cmake builds.
Michihiro NAKAJIMA [Wed, 22 Feb 2012 12:28:31 +0000 (21:28 +0900)]
A header check for iconv.h should be done after AM_ICONV because
a proper include direcotry for iconv.h is set by AM_ICONV.
Michihiro NAKAJIMA [Wed, 22 Feb 2012 11:39:15 +0000 (20:39 +0900)]
Enable bsdtar -s option on Windows with libregex and fix the problem
which appeared from enabling that at test_option_s.
Michihiro NAKAJIMA [Wed, 22 Feb 2012 07:29:33 +0000 (16:29 +0900)]
For MSVC, /WX option should be set to CMAKE_C_FLAGS_{DEBUG,RELEASE}
insted of CMAKE_C_FLAGS and CMAKE_REQUIRED_FLAGS.
Michihiro NAKAJIMA [Wed, 22 Feb 2012 07:19:16 +0000 (16:19 +0900)]
Avoid a miss detection of iconv prototype after we started using
CMAKE_C_FLAGS_DEBUG.
Michihiro NAKAJIMA [Wed, 22 Feb 2012 06:49:22 +0000 (15:49 +0900)]
Fix build failure on MSYS: rename a variable name 'time' to 't' since
that 'time' shadows a global declaration.
Michihiro NAKAJIMA [Tue, 21 Feb 2012 08:18:32 +0000 (17:18 +0900)]
On Windows, make sure libarchive does not store the Windows style path
separator '\' character into cpio, pax, ustar, gtar and zip archives,
because it is not interoperable between Windows and POSIX platform,
so we should replace '\' character in the pathnames with '/'.
Michihiro NAKAJIMA [Mon, 20 Feb 2012 08:14:57 +0000 (17:14 +0900)]
On Windows, it is possible that the program name should have a slash '/'
character not only a backslash '\' character. We have to check both
a slash and a backslash to get the running program name of bsdcpio or
bsdtar.
Michihiro NAKAJIMA [Mon, 20 Feb 2012 07:51:40 +0000 (16:51 +0900)]
Properly remove leading slash letters and Windows drive letters in cpio.
Michihiro NAKAJIMA [Mon, 20 Feb 2012 06:31:20 +0000 (15:31 +0900)]
Correct console I/O on Windows. Use CONIN$ and CONOUT$ instead of /dev/tty.
Michihiro NAKAJIMA [Mon, 20 Feb 2012 06:02:52 +0000 (15:02 +0900)]
Fix a format parameter for a wide string in archive_write_disk_windows.c.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 23:39:05 +0000 (08:39 +0900)]
Enable built-in functions on MSVC.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 23:08:02 +0000 (08:08 +0900)]
Enable aggressive warnings C4061,C4296,C4389 and C4505 on MSVC.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 22:25:00 +0000 (07:25 +0900)]
Enable an aggressive warning C4706 on MSVC.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 22:06:52 +0000 (07:06 +0900)]
Do not overwrite the default setting of CMAKE_C_FLAGS{_DEBUG}.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 21:13:02 +0000 (06:13 +0900)]
Improve setting for compiling options for Rebug and Release mode.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 20:17:27 +0000 (05:17 +0900)]
Treat warnings as error on MSVC.
Michihiro NAKAJIMA [Sun, 19 Feb 2012 00:06:28 +0000 (09:06 +0900)]
Fix a long standing warning at archive_ppmd7.c on Visual Studio.
Michihiro NAKAJIMA [Sat, 18 Feb 2012 19:48:38 +0000 (04:48 +0900)]
On Visual Studio, Enable Warning 4244: 'conversion' conversion from 'type1'
to 'type2', possible lose of data.
Michihiro NAKAJIMA [Sat, 18 Feb 2012 07:23:36 +0000 (16:23 +0900)]
Correct a variable type.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 02:21:24 +0000 (11:21 +0900)]
Issue 243: CAB decompression doesn't work when libarchive build with MSVC2010.
Prevent unexpected code optimization from MSVC /O2 option.
It made CAB reader fail to decompress LZX.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 05:59:54 +0000 (14:59 +0900)]
Fix remaining build failure in agressive warnings.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 02:09:14 +0000 (11:09 +0900)]
Make definitions, which I recently added, in archive.h portable.
Michihiro NAKAJIMA [Thu, 16 Feb 2012 04:17:12 +0000 (13:17 +0900)]
Fix build failure in aggressive warnings on msys.
Michihiro NAKAJIMA [Thu, 16 Feb 2012 03:15:48 +0000 (12:15 +0900)]
Fix up remaing work to turn to the current directory before access to the
current entry path at directory traversals.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 21:13:15 +0000 (06:13 +0900)]
Fix build failure on linux
Michihiro NAKAJIMA [Wed, 15 Feb 2012 20:37:10 +0000 (05:37 +0900)]
Fix test failure without zlib.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 19:27:43 +0000 (04:27 +0900)]
Fix issue 242:libarchive-3.0.3 fails to build with --without-zlib
Michihiro NAKAJIMA [Tue, 14 Feb 2012 22:15:50 +0000 (07:15 +0900)]
Fix issue 241:CAB decompression not 64bit compatible.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 11:14:48 +0000 (20:14 +0900)]
Improve directory traversals on POSIX system. Delay changing a working
directory until it's really needed and avoid unnecessary changing
directories.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 06:43:34 +0000 (15:43 +0900)]
Minor clean up; remove duplicate code at directory traversals.
Michihiro NAKAJIMA [Sat, 11 Feb 2012 14:42:13 +0000 (23:42 +0900)]
Fix build failure on FreeBSD/powerpc64.
Michihiro NAKAJIMA [Mon, 13 Feb 2012 20:45:06 +0000 (05:45 +0900)]
Fix issue 237.
Properly set a clear error message when archive_{write,read}_set_options failed.
Michihiro NAKAJIMA [Tue, 14 Feb 2012 07:05:25 +0000 (16:05 +0900)]
Fix build failure in aggressive warnings on FreeBSD/amd64.
Michihiro NAKAJIMA [Sun, 12 Feb 2012 16:06:13 +0000 (01:06 +0900)]
Slightly simplify time_excluded funtion and add a check of the time flag
into archive_match_exclude_entry().
Michihiro NAKAJIMA [Sun, 12 Feb 2012 13:41:47 +0000 (22:41 +0900)]
Introduce archive_match_exclude_pattern_from_file(_w) and
archive_match_include_pattern_from_file(_w) reading exclusion/inclusion
patterns from a file. And so retire lafe_exclude_from_file() and
lafe_include_from_file because we can use new APIs instead.
Michihiro NAKAJIMA [Thu, 9 Feb 2012 19:49:06 +0000 (04:49 +0900)]
Add a description of 7-Zip into README.
Michihiro NAKAJIMA [Thu, 9 Feb 2012 15:56:49 +0000 (00:56 +0900)]
Fix build failure in aggressive warnings
Michihiro NAKAJIMA [Thu, 9 Feb 2012 11:02:00 +0000 (20:02 +0900)]
Enable aggressive warning options, -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual.
It helps us find out minor issues.
Michihiro NAKAJIMA [Thu, 9 Feb 2012 01:32:08 +0000 (10:32 +0900)]
If a zip archive file is corruped, the compression type can be negative and
it can cause a segfault.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:45:22 +0000 (08:45 +0900)]
Fix build failure with -Wcast-qual GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:12:29 +0000 (08:12 +0900)]
Fix build failure with -Wmissing-prototypes GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:55:10 +0000 (07:55 +0900)]
Fix build failure with -Wshadow GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:20:28 +0000 (07:20 +0900)]
Fix build failure with -Wextra -Wunused GCC options since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 11:31:45 +0000 (20:31 +0900)]
Code quality:
- Update comments.
- Make variable names meaningful.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 10:44:18 +0000 (19:44 +0900)]
Make archive_match_owner_exclude fast by sorting id list.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 08:51:47 +0000 (17:51 +0900)]
Seperate internal functions set_timefilter_pathname* into Posix version and
Windows version respectively. And this reduces redundancy code at the Posix
version of those functions.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 08:08:39 +0000 (17:08 +0900)]
Rename an internal function name from set_time_str to set_timefilter_date.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 07:01:57 +0000 (16:01 +0900)]
Always overwrite comparson conditions if the pathname is the same
Michihiro NAKAJIMA [Tue, 7 Feb 2012 20:09:25 +0000 (05:09 +0900)]
Rename archive_matching to archive_match.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 16:07:58 +0000 (01:07 +0900)]
Fix refactoring error in archive_matching. archive_matching_exclude_entry
made opposite effect.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 22:00:39 +0000 (07:00 +0900)]
Fix style.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 21:41:20 +0000 (06:41 +0900)]
Simplify a string conversion WCS <==> MBS to stop using mbsnrtowcs and wcsnrtombs.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 13:36:53 +0000 (22:36 +0900)]
Refactor archive_matching_{newer,older}_* interfaces to reduce the number
of those functions.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 07:44:09 +0000 (16:44 +0900)]
rename test_getdate to test_archive_getdate.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 13:28:00 +0000 (22:28 +0900)]
Add the ability to parse a date string into archive_matching.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 06:19:54 +0000 (22:19 -0800)]
Merge pull request #3 from ggcueroad/topic/issue238
Fix issue 238.
Michihiro NAKAJIMA [Sun, 5 Feb 2012 19:51:16 +0000 (04:51 +0900)]
Fix issue 238.
Skip the setup sparse on linux without a check of errno if
ioctl(,FS_IOC_FIEMAP,) failed because the errno is not fixed
, for example, some file system returns ENOTTY, another returns
EOPNOTSUPP, or EINVAL and so on. We cannot decide what errno
exactly indicates an unsupported error.
Andres Mejia [Mon, 6 Feb 2012 00:30:37 +0000 (19:30 -0500)]
Fix crypto checks in cmake builds.
Andres Mejia [Sun, 5 Feb 2012 21:16:16 +0000 (16:16 -0500)]
Fix implicit function declaration warning when building with cmake.
Andres Mejia [Sun, 5 Feb 2012 21:04:37 +0000 (16:04 -0500)]
Add generated dist tarball to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 21:02:35 +0000 (16:02 -0500)]
Add generated doc files to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 21:00:12 +0000 (16:00 -0500)]
Remove old script that generates wiki pages for googlecode wiki.
Andres Mejia [Sun, 5 Feb 2012 20:10:15 +0000 (15:10 -0500)]
Update URL section in test files for RPMs.
Andres Mejia [Sun, 5 Feb 2012 20:07:24 +0000 (15:07 -0500)]
Add entries to NEWS about new home for libarchive.
Andres Mejia [Sun, 5 Feb 2012 20:04:09 +0000 (15:04 -0500)]
Update README, pointing to new home for development and issue tracking.
Andres Mejia [Sun, 5 Feb 2012 19:26:31 +0000 (11:26 -0800)]
Merge pull request #1 from amejia1/master
Add updates to mdoc2mediawiki.awk script
Andres Mejia [Sat, 4 Feb 2012 02:14:21 +0000 (21:14 -0500)]
Use syntax highlighting markup from Github's gollum to add code blocks.
Fixes issue using <pre> tags for github wiki pages. See
https://github.com/github/gollum, section 'SYNTAX HIGHLIGHTING' for info on
using this markup.
Andres Mejia [Sat, 4 Feb 2012 02:13:53 +0000 (21:13 -0500)]
Use states to determine if writing literal text for <pre> tags.
Andres Mejia [Sat, 4 Feb 2012 02:13:01 +0000 (21:13 -0500)]
Fix spacing for all lines printed out.
This removes need to print out extra line per macro.
Andres Mejia [Sun, 5 Feb 2012 19:23:31 +0000 (14:23 -0500)]
Add generated files from cmake to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 19:19:10 +0000 (14:19 -0500)]
Add .gitignore file.
Andres Mejia [Thu, 2 Feb 2012 23:10:14 +0000 (18:10 -0500)]
Fix spacing around .Cm macros.
SVN-Revision: 4231
Andres Mejia [Thu, 2 Feb 2012 23:10:08 +0000 (18:10 -0500)]
Fix spacing for .Dv macros.
SVN-Revision: 4230
Andres Mejia [Thu, 2 Feb 2012 22:48:18 +0000 (17:48 -0500)]
Fix spacing around .Ar and .Cm macros.
SVN-Revision: 4229
Andres Mejia [Thu, 2 Feb 2012 22:36:43 +0000 (17:36 -0500)]
Remove duplicate SYNOPSIS section.
SVN-Revision: 4228
Andres Mejia [Thu, 2 Feb 2012 22:36:25 +0000 (17:36 -0500)]
Add library section for all library function manpages.
SVN-Revision: 4227
Andres Mejia [Thu, 2 Feb 2012 20:03:06 +0000 (15:03 -0500)]
Add LIBRARY section in archive_entry manpage.
This doesn't use .Lb, since the libarchive description needed by groff, i.e.
".ds str-Lb-libarchive Streaming Archive Library (libarchive, \-larchive)"
would not be found on all systems by default.
SVN-Revision: 4226
Andres Mejia [Thu, 2 Feb 2012 00:46:25 +0000 (19:46 -0500)]
Remove LIBRARY section from manpages.
Using .Lb seems redundant to what NAME section already provides.
SVN-Revision: 4225
Andres Mejia [Thu, 2 Feb 2012 00:34:02 +0000 (19:34 -0500)]
Fix spacing from .Xr directives for mediawiki pages.
SVN-Revision: 4224
Andres Mejia [Thu, 2 Feb 2012 00:25:50 +0000 (19:25 -0500)]
Fix spacing between lines for mediawiki pages.
SVN-Revision: 4223
Andres Mejia [Thu, 2 Feb 2012 00:03:13 +0000 (19:03 -0500)]
Get rid of warnings from awk scripts.
SVN-Revision: 4222
Andres Mejia [Thu, 2 Feb 2012 00:03:08 +0000 (19:03 -0500)]
Use proper format for bold in mediawiki.
SVN-Revision: 4221
Andres Mejia [Wed, 1 Feb 2012 23:31:56 +0000 (18:31 -0500)]
Use modified mdoc2wiki.awk script to generate wiki pages in mediawiki format.
SVN-Revision: 4220
Andres Mejia [Wed, 1 Feb 2012 19:29:19 +0000 (14:29 -0500)]
Use html2wiki to generate mediawiki pages from generated html pages.
Set use of html2wiki as optional.
SVN-Revision: 4219
Andres Mejia [Wed, 1 Feb 2012 19:29:15 +0000 (14:29 -0500)]
Use more basic groff options to generate html pages from mdoc pages.
SVN-Revision: 4218
Brad King [Mon, 30 Jan 2012 06:19:37 +0000 (01:19 -0500)]
Merge libarchive 3.0
This commit was manufactured during conversion from SVN
to merge the libarchive 3.0 branch.
Michihiro NAKAJIMA [Mon, 30 Jan 2012 06:19:37 +0000 (01:19 -0500)]
Merged revision(s) 4216 from trunk:
Issue 236.
bsdtar creates invalid 7zip archives if there are no empty files.
SVN-Revision: 4217
Michihiro NAKAJIMA [Mon, 30 Jan 2012 06:11:17 +0000 (01:11 -0500)]
Issue 236.
bsdtar creates invalid 7zip archives if there are no empty files.
SVN-Revision: 4216
Tim Kientzle [Mon, 30 Jan 2012 02:41:45 +0000 (21:41 -0500)]
Set trunk version to 3.0.200a for pre-3.1 development.
(Mac OS doesn't like 900 here.)
SVN-Revision: 4215
Tim Kientzle [Sun, 29 Jan 2012 18:18:35 +0000 (13:18 -0500)]
Issue 234: Fix typos in comments
SVN-Revision: 4214
Michihiro NAKAJIMA [Wed, 25 Jan 2012 11:25:12 +0000 (06:25 -0500)]
Additional tests that for a combination of both archive_matching_newer_mtime_than
and archive_matching_older_mtime_than, and also a combination of both
archive_matching_newer_ctime_than and archive_matching_older_ctime_than.
SVN-Revision: 4209
Michihiro NAKAJIMA [Wed, 25 Jan 2012 11:08:52 +0000 (06:08 -0500)]
Separate sample files referenced from tests matching mtime or ctime into
two types, one for mtime tests and other for ctime tests.
SVN-Revision: 4208
Michihiro NAKAJIMA [Wed, 25 Jan 2012 05:54:12 +0000 (00:54 -0500)]
Further speed up test_archive_matching_time.
SVN-Revision: 4207
Michihiro NAKAJIMA [Wed, 25 Jan 2012 05:41:15 +0000 (00:41 -0500)]
Speed up test_archive_matching_time by stopping making reference files for each
tests, wich take time to make sure those files have different ctime. And
make common reference files instead.
SVN-Revision: 4206