| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix MagicException | Raphaël Vinot | 2015-11-06 | 1 | -1/+6 |
| | | | | | self.message was missing, causing `_handle509Bug` to fail. | ||||
| * | remove spurious newlines | Adam Hupp | 2015-10-19 | 1 | -19/+0 |
| | | |||||
| * | Replace per-thread Magic instance with a lock. Tested with a stress | Adam Hupp | 2015-10-19 | 1 | -24/+15 |
| | | | | | | | stest that runs a 100 from_file checks on a 100 threads, concurrently. This almost immediately causes a SEVG without the lock, and runs successfully with the lock. | ||||
| * | Fixed 'ImportError: failed to find libmagic. Check your installation' when ↵ | Eugene Susla | 2014-11-28 | 1 | -1/+3 |
| | | | | | using cygwin's python | ||||
| * | Add support for MAGIC_COMPRESS through Magic constructor. | Zach Seils | 2014-11-10 | 1 | -3/+7 |
| | | |||||
| * | Always use utf-8 regardless of filesystem encoding | Adam Hupp | 2014-05-30 | 1 | -3/+4 |
| | | |||||
| * | Merge pull request #59 from brutasse/fix/py3 | Adam Hupp | 2014-04-27 | 1 | -2/+2 |
| |\ | | | | | PyPI classifiers, 2.6 compatibility | ||||
| | * | Workaround sys.version_info not being a named tuple on py26 | Bruno Renié | 2014-03-04 | 1 | -2/+2 |
| | | | |||||
| * | | find library in windows if cygwin path is added to PATH | Fedor Baart | 2014-02-25 | 1 | -1/+1 |
| |/ | |||||
| * | remove extra import sys | asl97 | 2014-01-28 | 1 | -1/+0 |
| | | |||||
| * | Properly handle unicode filenames given in both byte-str and unicode | Adam Hupp | 2014-01-04 | 1 | -1/+12 |
| | | | | | values, across both python 3 and 2. | ||||
| * | Replace windows docs with cygwin instructions/path | Adam Hupp | 2014-01-04 | 1 | -3/+3 |
| | | |||||
| * | Fixed issue with flags | Michael Jarvis | 2013-10-24 | 1 | -7/+7 |
| | | |||||
| * | Hypothetical fix for issue https://github.com/ahupp/python-magic/issues/47 | Adam Hupp | 2013-10-23 | 1 | -3/+15 |
| | | |||||
| * | Fix failure on file-5.15. That has a bug and/or change in behvior | Adam Hupp | 2013-10-07 | 1 | -7/+14 |
| | | | | | | | | where the first call to magic_load results in magic_error returning a string even though there was no error. Fixed by being more precise about checking the return values (either nul or -1 depending on function) rather than relying on magic_error. | ||||
| * | Don't hard-code version number when finding homebrew library | Adam Hupp | 2013-09-27 | 1 | -2/+5 |
| | | |||||
| * | Merge branch 'master' of https://github.com/aromanovich/python-magic into ↵ | Adam Hupp | 2013-09-27 | 1 | -2/+5 |
| |\ | | | | | | | | | | | | | aromanovich-master Conflicts: test.py | ||||
| | * | Add keep going functionality | Anton Romanovich | 2013-02-05 | 1 | -2/+5 |
| | | | |||||
| * | | Use python 2.4-compatible threading.currentThread() call | Adam Hupp | 2013-09-27 | 1 | -2/+2 |
| | | | |||||
| * | | Add some comments | Adam Hupp | 2013-06-03 | 1 | -1/+26 |
| | | | |||||
| * | | - avoid segfault when used in multiple threads via ↵ | Adam Hupp | 2013-06-02 | 1 | -18/+16 |
| |/ | | | | | | magic.from_buffer/from_file methods - add hard check to prevent this in the future (possibly breaking change) | ||||
| * | Support python 3 | Adam Hupp | 2012-11-01 | 1 | -8/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - various unicode/bytes test fixes - resolve an (undocumented?) change in how ctypes converts unicode strings to char string by always using the default filesystem encoding. Test Plan: adam@gaba:~/github/python-magic$ python test.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.010s OK adam@gaba:~/github/python-magic$ python3 test.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.016s OK adam@gaba:~/github/python-magic$ ~/opt/python3.3/bin/python3 test.py .. snip ... ---------------------------------------------------------------------- Ran 5 tests in 0.025s | ||||
| * | explain change to __del__ | Adam Hupp | 2012-09-17 | 1 | -0/+1 |
| | | |||||
| * | Check for magic_close as well. When python is exiting it can be | Andre Cruz | 2012-07-25 | 1 | -1/+1 |
| | | | | | None already. | ||||
| * | Added path to default homebrew install of libmagic on Mac OS X | Leah Xue | 2012-05-21 | 1 | -6/+7 |
| | | |||||
| * | Fix dylib look with patch from sacha@ssl.co.uk | Adam Hupp | 2011-12-29 | 1 | -4/+5 |
| | | |||||
| * | Remove absolute path for libmagic.dylib on darwin to allow for other types ↵ | Adam Hupp | 2011-12-29 | 1 | -2/+2 |
| | | | | | of install | ||||
| * | Consolidate darwin/win32 library loading. Tested on OSX. | Adam Hupp | 2010-11-21 | 1 | -12/+5 |
| | | |||||
| * | Merge branch 'master' of https://github.com/FlaPer87/python-magic into ↵ | Adam Hupp | 2010-11-21 | 1 | -9/+26 |
| |\ | | | | | | | FlaPer87-master | ||||
| | * | Commet error fix. I was hungry | Flavio Percoco Premoli | 2010-09-30 | 1 | -5/+5 |
| | | | |||||
| | * | Some load improvements | Flavio Percoco Premoli | 2010-09-30 | 1 | -6/+23 |
| | | | |||||
| * | | reorder Mime args to preserve compatability | Adam Hupp | 2010-11-21 | 1 | -1/+1 |
| | | | |||||
| * | | Add new feature which return mime_encoding of file. | Nicolas Delaby | 2010-10-15 | 1 | -2/+7 |
| |/ | |||||
| * | avoid abort if you somehow double free | Adam Hupp | 2010-04-17 | 1 | -1/+3 |
| | | |||||
| * | Added win32 compatibility | maze | 2010-04-02 | 1 | -2/+5 |
| | | |||||
| * | remove unnessary handler in _del_ | Adam Hupp | 2010-03-31 | 1 | -5/+1 |
| | | |||||
| * | - Grab fix for OSX from bitbucket.org/pfw/ | Adam Hupp | 2010-03-31 | 1 | -0/+7 |
| | | | | | - Produce a more sensible error message when no library is found | ||||
| * | initial commit | Adam Hupp | 2010-03-31 | 1 | -0/+207 |
