| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make magic_[version|setparam|getparam] optional | Adam Hupp | 2020-05-05 | 1 | -6/+18 |
| | | | | | | These aren't present in ancient versions of libmagic, so only fetch optionally and throw NotImplementedError if called. | ||||
| * | Add docker tests for centos7 & 8 | Adam Hupp | 2020-05-05 | 2 | -0/+10 |
| | | | | | Since we have some breakage due to incompatible libraries there | ||||
| * | Update for deprecation of testing in setup.py | Adam Hupp | 2020-05-05 | 1 | -0/+6 |
| | | | | | | test_suite is deprecated in setup.py, so remove it and replace the command in .travis.yml with directly running the test | ||||
| * | Improve test coverage | Adam Hupp | 2020-05-05 | 5 | -21/+35 |
| | | | | | | Make sure we fail early if any versions fail, and move to a python test runner since I can never remember how to use bash. | ||||
| * | Add alternative output for Parquet file | Adam Hupp | 2020-03-31 | 1 | -2/+2 |
| | | |||||
| * | Add script to drive linux docker tests now that it supports WSL2, and fix ↵ | Adam Hupp | 2020-03-31 | 2 | -2/+2 |
| | | | | | focal dockerfile | ||||
| * | Adding snappy parquet to test | Kyle Prifogle | 2020-03-30 | 2 | -0/+2 |
| | | |||||
| * | Expose magic_version as magic.version(), which returns an integer ↵ | Adam Hupp | 2020-01-24 | 1 | -0/+3 |
| | | | | | | | representing the version number. re: https://github.com/ahupp/python-magic/issues/204 | ||||
| * | Add dockerfiles for running tests on various Ubuntu LTS versions | Adam Hupp | 2020-01-11 | 6 | -2/+39 |
| | | |||||
| * | Hopefully fix #105 | Adam Hupp | 2020-01-11 | 1 | -1/+5 |
| | | |||||
| * | actually fix CI | Adam Hupp | 2019-12-11 | 2 | -2/+1 |
| | | |||||
| * | Fix path for CI | Adam Hupp | 2019-12-11 | 1 | -0/+0 |
| | | |||||
| * | Fix https://github.com/ahupp/python-magic/issues/190 | Adam Hupp | 2019-12-11 | 3 | -1/+6 |
| | | |||||
| * | Updated constructor to accept the raw flag and pass it to the underlying ↵ | rmspeers | 2018-09-20 | 2 | -0/+20 |
| | | | | | library. Helpful for cases where unicode chars exist in match results. | ||||
| * | Use INDIR_MAX rather than BYTES_MAX in tests since the latter wasn'tfix-ci | Adam Hupp | 2018-09-01 | 1 | -6/+2 |
| | | | | | | supported until recently. Also, return .value from the ctypes wrapper so callers aren't required to. | ||||
| * | getparam/setparam support #163 | Christoph Biedl | 2018-08-16 | 1 | -0/+8 |
| | | |||||
| * | Apply change from Corin-EU to allow tests to be run from any directory | Adam Hupp | 2018-08-16 | 1 | -3/+5 |
| | | |||||
| * | fixes to run.sh | Adam Hupp | 2018-08-16 | 1 | -2/+2 |
| | | |||||
| * | Make test runner handle missing python versions, based on a change from | Adam Hupp | 2018-08-16 | 1 | -4/+11 |
| | | | | | Corin-EU | ||||
| * | Merge pull request #177 from sbraz/buffer | Adam Hupp | 2018-08-15 | 1 | -11/+14 |
| |\ | | | | | Tests: allow differences when reading a buffer or a file, fixes #173 | ||||
| | * | Tests: allow differences when reading a buffer or a file, fixes #173 | Louis Sautier | 2018-08-14 | 1 | -11/+14 |
| | | | | | | | | | | | Also remove the loop in order to avoid analyzing files or buffers for each expected value, replace it with a call to assertIn(). | ||||
| * | | Allow x-gzip as MIME type for gzip files, fixes #96 | Louis Sautier | 2018-08-13 | 1 | -1/+1 |
| |/ | |||||
| * | Remove Python 2.6 | Hugo | 2018-03-19 | 1 | -2/+0 |
| | | |||||
| * | Bring "from_file()" under test | Guido A.J. Stevens | 2018-01-25 | 1 | -0/+6 |
| | | |||||
| * | PEP8 | Guido A.J. Stevens | 2018-01-25 | 1 | -11/+18 |
| | | |||||
| * | fix test for xenial since travis started enabling it | Adam Hupp | 2017-12-09 | 1 | -5/+5 |
| | | |||||
| * | Merge pull request #149 from hugovk/fix-ci | Adam Hupp | 2017-11-20 | 1 | -1/+1 |
| |\ | | | | | Fix the CI | ||||
| | * | Revert "update filetype reported by libmagic >=5.23 for keep_going=true" | Hugo | 2017-10-14 | 1 | -1/+1 |
| | | | | | | | | | This reverts commit 9d127ceaab1da0632128422ffd6a2d340bd3e778. | ||||
| * | | python3 str handling | Adam Hupp | 2017-11-20 | 2 | -1/+10 |
| |/ | | | | | | | In python3 ctypes, a str is passed to ctypes as wchar*. This means the layout of the string magic looks like [ascii, null, ascii, null, etc]. For some reason, magic handles this just fine most of the time, but it's clearly wrong and I'm amazed it worked at all. | ||||
| * | update filetype reported by libmagic >=5.23 for keep_going=true | Adam Hupp | 2017-10-01 | 1 | -1/+1 |
| | | |||||
| * | use my own photo to avoid licensing concerns | Adam Hupp | 2017-10-01 | 1 | -0/+0 |
| | | |||||
| * | rename magic.pyc to avoid cleaning during build step | Adam Hupp | 2017-09-14 | 2 | -2/+2 |
| | | |||||
| * | Return str rather than bytes for the description strings on python3. | Adam Hupp | 2016-06-05 | 1 | -6/+3 |
| | | | | | | Assumes utf-8 encoding from magic return values, which I hope is always the case. | ||||
| * | propagate exception in other branch of 509 hack | Adam Hupp | 2016-06-05 | 1 | -0/+11 |
| | | |||||
| * | hopefully fix tests on whatever travisci uses | Adam Hupp | 2016-03-21 | 1 | -9/+18 |
| | | |||||
| * | rename the unicode lambda file to "lambda" and rename it at runtime when ↵ | Adam Hupp | 2016-03-20 | 2 | -10/+15 |
| | | | | | | | running the test. distutils can't handle unicode filenames at install time. | ||||
| * | Fix travis config | Raphaël Vinot | 2015-11-06 | 2 | -0/+0 |
| | | | | | The tests fail on travis ci because the libmagic 5.09 is buggy. | ||||
| * | force GMT so test runs consistentlytz-testfix | Adam Hupp | 2015-11-06 | 1 | -2/+6 |
| | | |||||
| * | update test output for libmagic in debian jessie | Adam Hupp | 2015-10-19 | 1 | -4/+4 |
| | | |||||
| * | Include tests in the sdist tarball | Adam Hupp | 2015-07-29 | 9 | -0/+294 |
