| 1 |
1.23 2020-08-28 |
| 2 |
|
| 3 |
- Fixed a bug with the Makefile.PL that caused every call to "make" to |
| 4 |
recompile the object file for the package's XS code. Reported by Kent |
| 5 |
Fredric. GH #28. |
| 6 |
|
| 7 |
|
| 8 |
1.22 2020-04-26 |
| 9 |
|
| 10 |
- This is a stable release with the same changes as 1.21. See the change logs |
| 11 |
for 1.17 and 1.21 for details of what's new. |
| 12 |
|
| 13 |
|
| 14 |
1.21 2020-04-04 (TRIAL RELEASE) |
| 15 |
|
| 16 |
- Add two class methods that provide introspection on the available limit |
| 17 |
processing parameters, max_param_constant() and |
| 18 |
limit_key_is_supported(). Based on a PR from Paul Wise. GH #24. |
| 19 |
|
| 20 |
|
| 21 |
1.20 2020-03-28 (TRIAL RELEASE) |
| 22 |
|
| 23 |
- Fix one last test that assumed a limit parameter was available. Reported by |
| 24 |
Slaven Rezić. GH #22. |
| 25 |
|
| 26 |
|
| 27 |
1.19 2020-03-28 (TRIAL RELEASE) |
| 28 |
|
| 29 |
- Fix tests that still mistakenly assumed that all limit parameter constants |
| 30 |
should be exported by File::LibMagic. Reported by Slaven Rezić. GH #22. |
| 31 |
|
| 32 |
|
| 33 |
1.18 2020-03-28 (TRIAL RELEASE) |
| 34 |
|
| 35 |
- Not all versions of libmagic support setting processing limits, and those |
| 36 |
that do may not support all the limit parameters that the most recent |
| 37 |
version supports. This release fixes compilation and runtime issues that |
| 38 |
would occur with older libmagic versions that don't support the same options |
| 39 |
as the version I have installed locally. Reported by Slaven Rezić. GH #22. |
| 40 |
|
| 41 |
|
| 42 |
1.17 2020-03-28 (TRIAL RELEASE) |
| 43 |
|
| 44 |
- Switched to using GitHub issues. |
| 45 |
|
| 46 |
- Removed embedded copy of Config::AutoConf from distro. Instead this is now a |
| 47 |
configure phase prereq. Implemented by Paul Wise. GH #19. |
| 48 |
|
| 49 |
- Moved list of constants in libmagic that we care about to one |
| 50 |
module. Implemented by Paul Wise. GH #20. |
| 51 |
|
| 52 |
- Add support for setting libmagic processing limits. Implemented by Paul |
| 53 |
Wise. GH #15. |
| 54 |
|
| 55 |
- Check all libmagic function return values properly and croak on |
| 56 |
failure. Implemented by Paul Wise. GH #21. |
| 57 |
|
| 58 |
|
| 59 |
1.16 2017-10-22 |
| 60 |
|
| 61 |
- Added a doc note on installing the required dependencies on Red Hat. RT |
| 62 |
#110796. |
| 63 |
|
| 64 |
- Fix tests on macOS. Based on PR #7 from Tom Wyant. |
| 65 |
|
| 66 |
|
| 67 |
1.15 2015-09-19 |
| 68 |
|
| 69 |
- Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap |
| 70 |
files. Based on a patch from Petr Pisar. RT #107081. |
| 71 |
|
| 72 |
|
| 73 |
1.14 2015-09-16 |
| 74 |
|
| 75 |
- Fixed handling of extra include dirs passed to Makefile.PL via the -I |
| 76 |
flag. This wasn't working properly in previous releases. Reported by Andy |
| 77 |
Jack. GH #6. |
| 78 |
|
| 79 |
|
| 80 |
1.13 2015-07-12 |
| 81 |
|
| 82 |
- Fix failing tests with some versions of libmagic. PR #5 by E. Choroba. |
| 83 |
|
| 84 |
|
| 85 |
1.12 2015-03-07 |
| 86 |
|
| 87 |
- The constructor now accepts named params. In addition to a magic_file param, |
| 88 |
it now accepts follow_symlinks and uncompress params. These do what you'd |
| 89 |
expect, tell the object to follow symlinks and/or uncompress files when |
| 90 |
getting info from them. The old single parameter constructor is still |
| 91 |
supported, but is no longer documented. |
| 92 |
|
| 93 |
- The old APIs are now called "discouraged" rather than "deprecated" in the |
| 94 |
documentation. I have no plan to remove these APIs any time soon or to make |
| 95 |
them warn, so "deprecated" was too strong a word. |
| 96 |
|
| 97 |
- Changed a test to hopefully skip rather than fail on OpenBSD systems. |
| 98 |
|
| 99 |
|
| 100 |
1.11 2015-03-01 |
| 101 |
|
| 102 |
- The info_from_handle() method did not handle binary data correctly, which |
| 103 |
could lead to incorrect results. |
| 104 |
|
| 105 |
- The info_from_*() methods returned a full mime type with encoding in the |
| 106 |
"mime_type" key rather than just the mime type alone. |
| 107 |
|
| 108 |
- Allow File::LibMagic->new() to accept an array reference containing multiple |
| 109 |
magic file paths. |
| 110 |
|
| 111 |
|
| 112 |
1.10 2015-02-01 |
| 113 |
|
| 114 |
- Fixed Makefile.PL to actually use --lib and --include properly. Previously |
| 115 |
it did the wrong thing with both of these arguments, and they were |
| 116 |
essentially ignored. Reported by WATANABE Hiroaki. Patch by Mithun |
| 117 |
Ayachit. RT #101715. |
| 118 |
|
| 119 |
|
| 120 |
1.09 2014-12-20 |
| 121 |
|
| 122 |
- No code changes. This release just removes some junk that accidentally ended |
| 123 |
up in the last release's tarball. Reported by Alexander Bluhm. RT #101015. |
| 124 |
|
| 125 |
|
| 126 |
1.08 2014-12-17 |
| 127 |
|
| 128 |
- Fix generated Makefile.PL so it's compatible with older versions of |
| 129 |
ExtUtils::MakeMaker. The previous release accidentally required EUMM 6.83_04 |
| 130 |
or newer without declaring this in configure_requires. Reported by Nick |
| 131 |
Peterson and solved by Slaven Rezic. RT #100975. |
| 132 |
|
| 133 |
|
| 134 |
1.07 2014-12-14 |
| 135 |
|
| 136 |
- No changes from 1.06. |
| 137 |
|
| 138 |
[SUMMARY OF USER-FACING CHANGES SINCE 1.03] |
| 139 |
|
| 140 |
- Added yet another OO API to File::LibMagic. This provides a simpler and more |
| 141 |
future-proof API which can be expanded on later. The new methods are |
| 142 |
info_from_string(), info_from_filename(), and info_from_handle(). The latter |
| 143 |
method allows you to get info about an open filehandle. These new methods |
| 144 |
return the description, MIME type, and character encoding in one call. This |
| 145 |
addresses RT #54843 and partially addresses RT #99470. |
| 146 |
|
| 147 |
- Fix compilation with a threaded Perl. |
| 148 |
|
| 149 |
|
| 150 |
1.06 2014-12-13 (TRIAL RELEASE) |
| 151 |
|
| 152 |
- Guard against older versions of libmagic that don't provide magic_version(). |
| 153 |
|
| 154 |
- Fix compilation with a threaded Perl. |
| 155 |
|
| 156 |
|
| 157 |
1.05 2014-12-13 (TRIAL RELEASE) |
| 158 |
|
| 159 |
- Added a test that outputs the return value of magic_version() to help me |
| 160 |
debug test failures. |
| 161 |
|
| 162 |
|
| 163 |
1.04 2014-12-13 (TRIAL RELEASE) |
| 164 |
|
| 165 |
- Added yet another OO API to File::LibMagic. This provides a simpler and more |
| 166 |
future-proof API which can be expanded on later. The new methods are |
| 167 |
info_from_string(), info_from_filename(), and info_from_handle(). The latter |
| 168 |
method allows you to get info about an open filehandle. These new methods |
| 169 |
return the description, MIME type, and character encoding in one call. This |
| 170 |
addresses RT #54843 and partially addresses RT #99470. |
| 171 |
|
| 172 |
|
| 173 |
1.03 2014-08-30 |
| 174 |
|
| 175 |
- The shipped Makefile.PL now accepts --lib and --include command line |
| 176 |
arguments so you can specify additional lib and include directories. This |
| 177 |
should make this package easier to build on BSD systems, among |
| 178 |
others. Reported by Alexander Bluhm. RT #97945. |
| 179 |
|
| 180 |
|
| 181 |
1.02 2014-07-26 |
| 182 |
|
| 183 |
- Added instructions for installing libmagic.so and magic.h to the POD and |
| 184 |
INSTALL.md file. Requested by Gabor Szabo. RT #97391. |
| 185 |
|
| 186 |
- Switched from using Devel::CheckLib to Config::AutoConf with the hope that |
| 187 |
the latter will work with more compilers. Requested by Jens Rehsack. RT |
| 188 |
#46543. |
| 189 |
|
| 190 |
- Switched the primary git repo to github |
| 191 |
(https://github.com/autarch/File-LibMagic). |
| 192 |
|
| 193 |
|
| 194 |
1.01 2014-05-04 |
| 195 |
|
| 196 |
- Fixed repository metadata. Reported by Jens Rehsack. RT #89200. |
| 197 |
|
| 198 |
- A File::LibMagic object would not close one of the handles it might have |
| 199 |
opened, leading to leaks. Reported by Alexander Zaitsev. RT #93512. |
| 200 |
|
| 201 |
|
| 202 |
1.00 2013-09-02 |
| 203 |
|
| 204 |
- Don't get all excited about this being 1.00. It's just what comes after |
| 205 |
0.99. |
| 206 |
|
| 207 |
- The checktype_contents() and describe_contents() methods now accept a scalar |
| 208 |
ref in addition to a plain scalar. RT #28747. |
| 209 |
|
| 210 |
|
| 211 |
0.99 2013-08-26 |
| 212 |
|
| 213 |
- More test changes to try to get tests passing on midnightbsd. |
| 214 |
|
| 215 |
|
| 216 |
0.98 2013-08-25 |
| 217 |
|
| 218 |
- Fix test failures on midnightbsd (I hope) by relaxing a MIME type check in |
| 219 |
one of the tests. |
| 220 |
|
| 221 |
|
| 222 |
0.97 2013-06-23 |
| 223 |
|
| 224 |
- Updated to the latest Devel::CheckLib, which should fix error reported by |
| 225 |
Perl 5.18 against the old CheckLib we were shipping. Reported by Dominic. RT |
| 226 |
#85210. |
| 227 |
|
| 228 |
- We no longer link against libz, since this module doesn't need it. Reported |
| 229 |
by Ansgar Burchardt. RT #56479. |
| 230 |
|
| 231 |
- Fixed tests to work with the latest libmagic. Patch by Gregor Herrmann. RT |
| 232 |
#75457. |
| 233 |
|
| 234 |
- Attempted to make the tests work with various versions of libmagic. Please |
| 235 |
report failures and your file/libmagic package versions. |
| 236 |
|
| 237 |
0.96 2009-05-23 |
| 238 |
Upgraded Devel::CheckLib |
| 239 |
see bug 46044, 46295 in rt.cpan.org |
| 240 |
|
| 241 |
0.95 2009-05-18 |
| 242 |
try to make test work in netbsd and solaris 9 |
| 243 |
|
| 244 |
0.94 2009-05-13 |
| 245 |
small error in t/6-oo.t |
| 246 |
|
| 247 |
0.93 2009-05-12 |
| 248 |
using Devel::CheckLib as suggested in |
| 249 |
http://cpanwiki.grango.org/wiki/CPANAuthorNotes |
| 250 |
|
| 251 |
0.92 2009-05-12 |
| 252 |
"normalisation"-problem -> changed t/6-oo.t |
| 253 |
|
| 254 |
0.91 2009-05-12 |
| 255 |
Changed t/6-oo.t in order to pass 'make test' for file-5.x |
| 256 |
|
| 257 |
0.90 2008-11-26 |
| 258 |
removed some debugging code I accidentally left in |
| 259 |
|
| 260 |
0.89 2008-08-06 |
| 261 |
added -lz to Makefile.PL in order to compile under |
| 262 |
FreeBSD |
| 263 |
|
| 264 |
0.88 2008-05-18 |
| 265 |
more experiments |
| 266 |
|
| 267 |
0.87 2008-05-18 |
| 268 |
experimenting with magic_buffer_offset |
| 269 |
|
| 270 |
0.86 2008-05-18 |
| 271 |
'file' version 4.24 returns slightly different filetypes. |
| 272 |
this makes 'make test' fail. fixed it for the new |
| 273 |
version. But I'm afraid this breaks the 'make test' for |
| 274 |
older versions of the package 'file'. |
| 275 |
|
| 276 |
0.85 2007-08-28 |
| 277 |
Minor cleanup of the MANIFEST to avoid warnings (Michael Hendricks) |
| 278 |
|
| 279 |
0.84 2006-06-28 |
| 280 |
(all implemented by Michael Hendricks) |
| 281 |
some XS-Code cleanup, |
| 282 |
import of constants like MAGIC_NONE from magic.h, |
| 283 |
much improved error handling. |
| 284 |
additional OO-Interface |
| 285 |
|
| 286 |
0.83 2006-06-14 |
| 287 |
Small documentation update |
| 288 |
|
| 289 |
0.82 2005-04-24 |
| 290 |
Found two bugs |
| 291 |
|
| 292 |
0.81 2005-04-24 |
| 293 |
Port to AMD-64, thanks to Nathan Hawkins <[email protected]> |
| 294 |
|
| 295 |
0.80 2004-07-21 |
| 296 |
some improvements in collaboration with James Olin Oden <[email protected]> |
| 297 |
|
| 298 |
0.10 2004-04-19 |
| 299 |
some cleanup |
| 300 |
|
| 301 |
0.03 2004-03-23 |
| 302 |
hacked magic_open & magic_load but it's not mature enough |
| 303 |
|
| 304 |
0.02 2004-03-23 |
| 305 |
magic_file implemented |
| 306 |
|
| 307 |
0.01 2004-03-15 |
| 308 |
- original version; created by h2xs 1.22 with options |
| 309 |
--skip-ppport File::LibMagic |
| 310 |
|