|
Packit |
3652a6 |
1.16 2017-10-22
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Added a doc note on installing the required dependencies on Red Hat. RT
|
|
Packit |
3652a6 |
#110796.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix tests on macOS. Based on PR #7 from Tom Wyant.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.15 2015-09-19
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap
|
|
Packit |
3652a6 |
files. Based on a patch from Petr Pisar. RT #107081.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.14 2015-09-16
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fixed handling of extra include dirs passed to Makefile.PL via the -I
|
|
Packit |
3652a6 |
flag. This wasn't working properly in previous releases. Reported by Andy
|
|
Packit |
3652a6 |
Jack. GH #6.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.13 2015-07-12
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix failing tests with some versions of libmagic. PR #5 by E. Choroba.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.12 2015-03-07
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The constructor now accepts named params. In addition to a magic_file param,
|
|
Packit |
3652a6 |
it now accepts follow_symlinks and uncompress params. These do what you'd
|
|
Packit |
3652a6 |
expect, tell the object to follow symlinks and/or uncompress files when
|
|
Packit |
3652a6 |
getting info from them. The old single parameter constructor is still
|
|
Packit |
3652a6 |
supported, but is no longer documented.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The old APIs are now called "discouraged" rather than "deprecated" in the
|
|
Packit |
3652a6 |
documentation. I have no plan to remove these APIs any time soon or to make
|
|
Packit |
3652a6 |
them warn, so "deprecated" was too strong a word.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Changed a test to hopefully skip rather than fail on OpenBSD systems.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.11 2015-03-01
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The info_from_handle() method did not handle binary data correctly, which
|
|
Packit |
3652a6 |
could lead to incorrect results.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The info_from_*() methods returned a full mime type with encoding in the
|
|
Packit |
3652a6 |
"mime_type" key rather than just the mime type alone.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Allow File::LibMagic->new() to accept an array reference containing multiple
|
|
Packit |
3652a6 |
magic file paths.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.10 2015-02-01
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fixed Makefile.PL to actually use --lib and --include properly. Previously
|
|
Packit |
3652a6 |
it did the wrong thing with both of these arguments, and they were
|
|
Packit |
3652a6 |
essentially ignored. Reported by WATANABE Hiroaki. Patch by Mithun
|
|
Packit |
3652a6 |
Ayachit. RT #101715.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.09 2014-12-20
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- No code changes. This release just removes some junk that accidentally ended
|
|
Packit |
3652a6 |
up in the last release's tarball. Reported by Alexander Bluhm. RT #101015.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.08 2014-12-17
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix generated Makefile.PL so it's compatible with older versions of
|
|
Packit |
3652a6 |
ExtUtils::MakeMaker. The previous release accidentally required EUMM 6.83_04
|
|
Packit |
3652a6 |
or newer without declaring this in configure_requires. Reported by Nick
|
|
Packit |
3652a6 |
Peterson and solved by Slaven Rezic. RT #100975.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.07 2014-12-14
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- No changes from 1.06.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
[SUMMARY OF USER-FACING CHANGES SINCE 1.03]
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Added yet another OO API to File::LibMagic. This provides a simpler and more
|
|
Packit |
3652a6 |
future-proof API which can be expanded on later. The new methods are
|
|
Packit |
3652a6 |
info_from_string(), info_from_filename(), and info_from_handle(). The latter
|
|
Packit |
3652a6 |
method allows you to get info about an open filehandle. These new methods
|
|
Packit |
3652a6 |
return the description, MIME type, and character encoding in one call. This
|
|
Packit |
3652a6 |
addresses RT #54843 and partially addresses RT #99470.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix compilation with a threaded Perl.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.06 2014-12-13 (TRIAL RELEASE)
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Guard against older versions of libmagic that don't provide magic_version().
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix compilation with a threaded Perl.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.05 2014-12-13 (TRIAL RELEASE)
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Added a test that outputs the return value of magic_version() to help me
|
|
Packit |
3652a6 |
debug test failures.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.04 2014-12-13 (TRIAL RELEASE)
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Added yet another OO API to File::LibMagic. This provides a simpler and more
|
|
Packit |
3652a6 |
future-proof API which can be expanded on later. The new methods are
|
|
Packit |
3652a6 |
info_from_string(), info_from_filename(), and info_from_handle(). The latter
|
|
Packit |
3652a6 |
method allows you to get info about an open filehandle. These new methods
|
|
Packit |
3652a6 |
return the description, MIME type, and character encoding in one call. This
|
|
Packit |
3652a6 |
addresses RT #54843 and partially addresses RT #99470.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.03 2014-08-30
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The shipped Makefile.PL now accepts --lib and --include command line
|
|
Packit |
3652a6 |
arguments so you can specify additional lib and include directories. This
|
|
Packit |
3652a6 |
should make this package easier to build on BSD systems, among
|
|
Packit |
3652a6 |
others. Reported by Alexander Bluhm. RT #97945.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.02 2014-07-26
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Added instructions for installing libmagic.so and magic.h to the POD and
|
|
Packit |
3652a6 |
INSTALL.md file. Requested by Gabor Szabo. RT #97391.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Switched from using Devel::CheckLib to Config::AutoConf with the hope that
|
|
Packit |
3652a6 |
the latter will work with more compilers. Requested by Jens Rehsack. RT
|
|
Packit |
3652a6 |
#46543.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Switched the primary git repo to github
|
|
Packit |
3652a6 |
(https://github.com/autarch/File-LibMagic).
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.01 2014-05-04
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fixed repository metadata. Reported by Jens Rehsack. RT #89200.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- A File::LibMagic object would not close one of the handles it might have
|
|
Packit |
3652a6 |
opened, leading to leaks. Reported by Alexander Zaitsev. RT #93512.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
1.00 2013-09-02
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Don't get all excited about this being 1.00. It's just what comes after
|
|
Packit |
3652a6 |
0.99.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- The checktype_contents() and describe_contents() methods now accept a scalar
|
|
Packit |
3652a6 |
ref in addition to a plain scalar. RT #28747.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.99 2013-08-26
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- More test changes to try to get tests passing on midnightbsd.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.98 2013-08-25
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fix test failures on midnightbsd (I hope) by relaxing a MIME type check in
|
|
Packit |
3652a6 |
one of the tests.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.97 2013-06-23
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Updated to the latest Devel::CheckLib, which should fix error reported by
|
|
Packit |
3652a6 |
Perl 5.18 against the old CheckLib we were shipping. Reported by Dominic. RT
|
|
Packit |
3652a6 |
#85210.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- We no longer link against libz, since this module doesn't need it. Reported
|
|
Packit |
3652a6 |
by Ansgar Burchardt. RT #56479.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Fixed tests to work with the latest libmagic. Patch by Gregor Herrmann. RT
|
|
Packit |
3652a6 |
#75457.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
- Attempted to make the tests work with various versions of libmagic. Please
|
|
Packit |
3652a6 |
report failures and your file/libmagic package versions.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.96 2009-05-23
|
|
Packit |
3652a6 |
Upgraded Devel::CheckLib
|
|
Packit |
3652a6 |
see bug 46044, 46295 in rt.cpan.org
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.95 2009-05-18
|
|
Packit |
3652a6 |
try to make test work in netbsd and solaris 9
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.94 2009-05-13
|
|
Packit |
3652a6 |
small error in t/6-oo.t
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.93 2009-05-12
|
|
Packit |
3652a6 |
using Devel::CheckLib as suggested in
|
|
Packit |
3652a6 |
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.92 2009-05-12
|
|
Packit |
3652a6 |
"normalisation"-problem -> changed t/6-oo.t
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.91 2009-05-12
|
|
Packit |
3652a6 |
Changed t/6-oo.t in order to pass 'make test' for file-5.x
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.90 2008-11-26
|
|
Packit |
3652a6 |
removed some debugging code I accidently left in
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.89 2008-08-06
|
|
Packit |
3652a6 |
added -lz to Makefile.PL in order to compile under
|
|
Packit |
3652a6 |
FreeBSD
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.88 2008-05-18
|
|
Packit |
3652a6 |
more experiments
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.87 2008-05-18
|
|
Packit |
3652a6 |
experimenting with magic_buffer_offset
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.86 2008-05-18
|
|
Packit |
3652a6 |
'file' version 4.24 returns slightly different filetypes.
|
|
Packit |
3652a6 |
this makes 'make test' fail. fixed it for the new
|
|
Packit |
3652a6 |
version. But I'm afraid this breaks the 'make test' for
|
|
Packit |
3652a6 |
older versions of the package 'file'.
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.85 2007-08-28
|
|
Packit |
3652a6 |
Minor cleanup of the MANIFEST to avoid warnings (Michael Hendricks)
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.84 2006-06-28
|
|
Packit |
3652a6 |
(all implemented by Michael Hendricks)
|
|
Packit |
3652a6 |
some XS-Code cleanup,
|
|
Packit |
3652a6 |
import of constants like MAGIC_NONE from magic.h,
|
|
Packit |
3652a6 |
much improved error handling.
|
|
Packit |
3652a6 |
additional OO-Interface
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.83 2006-06-14
|
|
Packit |
3652a6 |
Small documentation update
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.82 2005-04-24
|
|
Packit |
3652a6 |
Found two bugs
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.81 2005-04-24
|
|
Packit |
3652a6 |
Port to AMD-64, thanks to Nathan Hawkins <utsl@quic.net>
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.80 2004-07-21
|
|
Packit |
3652a6 |
some improvements in colaboration with James Olin Oden <joden@lee.k12.nc.us>
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.10 2004-04-19
|
|
Packit |
3652a6 |
some cleanup
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.03 2004-03-23
|
|
Packit |
3652a6 |
hacked magic_open & magic_load but it's not mature enough
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.02 2004-03-23
|
|
Packit |
3652a6 |
magic_file implemented
|
|
Packit |
3652a6 |
|
|
Packit |
3652a6 |
0.01 2004-03-15
|
|
Packit |
3652a6 |
- original version; created by h2xs 1.22 with options
|
|
Packit |
3652a6 |
--skip-ppport File::LibMagic
|
|
Packit |
3652a6 |
|