Commit Graph

8129 Commits

Author SHA1 Message Date
Andrew Murray
dbf65b0890
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-23 22:11:32 +01:00
Hugo
d0172a08dd
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-07 13:22:20 +01:00
Hugo
85cc21b563
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-07 13:22:14 +01:00
Adrien CLERC
4a87e067a2 convert Jpeg to Mpo instead of re-reading everything 2019-02-15 22:08:31 +01:00
Adrien CLERC
ac5dd15e16 create static method to transform a Jpeg into an Mpo
This is dirty "downcasting". It just works in this special case.
2019-02-15 22:08:14 +01:00
Adrien CLERC
3a7e2e259a split _open in two parts 2019-02-15 22:07:11 +01:00
Hugo
30879dfb34
Merge pull request #3647 from hugovk/document-deprecated-plugin-versions
Document deprecated image plugin version constants
2019-02-15 07:28:12 +02:00
Andrew Murray
f95b98a59c
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-02-13 10:36:12 +02:00
Andrew Murray
a5919d9384
Merge pull request #3648 from hugovk/add-3.8-dev
Test Python 3.8-dev ahead of 3.8.0's expected 2019-10-20 release
2019-02-13 18:57:00 +11:00
Hugo
1d19d4906b Test Python 3.8-dev ahead of 3.8.0's expected 2019-10-20 release 2019-02-12 18:29:32 +02:00
Hugo
6b80aa9569
Update CHANGES.rst
[CI skip]
2019-02-12 18:19:30 +02:00
Hugo
dc3c64a0e3
Merge pull request #3631 from jdufresne/test-main
Remove unnecessary unittest.main() boilerplate from test files
2019-02-12 18:12:29 +02:00
Hugo
4ccdbf25cf
Merge pull request #3584 from radarhere/ifd_offset
Seek to IFD offset
2019-02-12 18:10:25 +02:00
Hugo
1793f6bd52 Document deprecated image plugin version constants (#3628) 2019-02-12 16:58:59 +02:00
Hugo
c330ffb5c4
Update CHANGES.rst 2019-02-12 16:06:37 +02:00
Hugo
f7134f1c18
Merge pull request #3628 from jdufresne/dep-plugin-version
Deprecate PIL.*ImagePlugin.__version__ attributes
2019-02-12 15:39:43 +02:00
Hugo
d9f7911e43
Merge pull request #3646 from radarhere/typo
Fixed typo
2019-02-12 11:59:25 +02:00
Andrew Murray
828a6f947c Fixed typo [ci skip] 2019-02-12 20:35:23 +11:00
Hugo
43ed7b29c9
Merge pull request #3640 from radarhere/typo
Fixed typo
2019-02-10 07:53:24 +02:00
Andrew Murray
4fe63e44d7 Fixed typo [ci skip] 2019-02-10 12:33:16 +11:00
Hugo
bf83eea348
Merge pull request #3638 from radarhere/pypy
Updated PyPy to 7.0.0
2019-02-07 22:32:18 +02:00
Andrew Murray
d5f89c0548 Updated PyPy to 7.0.0 2019-02-07 19:20:45 +11:00
Andrew Murray
d1df192e81 Renamed "file" variable to "fp" 2019-02-05 20:30:44 +11:00
Jon Dufresne
4de5477b61 Remove unnecessary unittest.main() boilerplate from test files
With the introduction and use of pytest, it is simple and easy to
execute specific tests in isolation through documented command line
arguments. Either by specifying the module path or through the `-k
EXPRESSION` argument. There is no longer any need to provide the
boilerplate:

    if __name__ == '__main__':
        unittest.main()

To every test file. It is simply noise.

The pattern remains in test files that aren't named with `test_*` as
those files are not discovered and executed by pytest by default.
2019-02-03 10:10:16 -08:00
Hugo
168e51751e
Update CHANGES.rst 2019-02-03 12:53:26 +02:00
Hugo
eea6686f4e
Merge pull request #3620 from radarhere/outside
Added note about ImageDraw operations that exceed image bounds
2019-02-03 12:44:27 +02:00
Hugo
d02e2b5392
Merge pull request #3558 from radarhere/png
Allow for unknown PNG chunks after image data
2019-02-03 11:57:21 +02:00
Hugo
d0fa318c01
Merge pull request #3611 from radarhere/eps
Changed EPS subprocess stdin from devnull to None
2019-02-03 11:50:47 +02:00
Hugo
b20cbe5299
Merge pull request #3609 from cgohlke/patch-2
Fix possible integer overflow
2019-02-03 11:49:35 +02:00
Hugo
4d1a459fa7
Merge pull request #3574 from jdufresne/base-exc
Catch BaseException for resource cleanup handlers
2019-02-03 11:35:44 +02:00
Hugo
7a46bf223e
Merge pull request #3586 from radarhere/before_install
Moved before_install before install
2019-02-03 11:33:19 +02:00
Hugo
1885a2cef5
Merge pull request #3579 from jdufresne/run-one-test
Improve pytest configuration to allow specific tests as CLI args
2019-02-03 11:30:57 +02:00
Hugo
b5f85349df
Merge pull request #3627 from radarhere/docstring
Replaced strings with docstrings
2019-02-03 11:05:19 +02:00
Andrew Murray
a33e71a9df Changed string to comment 2019-02-03 15:59:24 +11:00
Andrew Murray
fbaf87ae03 Replaced strings with docstrings 2019-02-03 15:58:24 +11:00
Jon Dufresne
a11fed32b3 Deprecate PIL.*ImagePlugin.__version__ attributes
Use PIL.__version__ instead.
2019-02-02 17:39:55 -08:00
Hugo
3a41d6dc69
Merge pull request #3623 from hugovk/fix-flake8
Fix Flake8
2019-01-31 17:09:57 +02:00
Hugo
6d0e4a838f Flake8: Fix F821 undefined name; to prevent introducting Mypy depedency 2019-01-30 11:54:12 +02:00
Hugo
187ba3f6e8 Flake8: Fix F723 syntax error in type comment 'dummy value'; it's just a comment, not a Mypy type 2019-01-30 11:53:26 +02:00
Hugo
d880d41a14 Flake8: Fix E117 over-indented (comment) 2019-01-30 11:38:19 +02:00
Hugo
a656a0bd60
Merge pull request #3617 from wbadart/fix-test
test_is_path calls the correct function
2019-01-29 00:33:52 +02:00
Will Badart
37b182793e
test_is_path calls the correct function
Before, the test called the isStringType utility, which has its own,
separate test.
2019-01-28 12:23:19 -05:00
Hugo
071dc9409f
Merge pull request #3600 from hugovk/add-release-notes
Document removals
2019-01-28 11:59:41 +02:00
Hugo
3d309dccdc
Update CHANGES.rst 2019-01-27 20:32:59 +02:00
Hugo
e3101a44a6
Merge pull request #3614 from radarhere/version
Changed version to 6.0.0
2019-01-27 15:18:35 +02:00
Hugo
6aef6fc793
Merge pull request #3578 from jdufresne/tox-flake8
Add linting to the tox matrix
2019-01-27 14:11:32 +02:00
Hugo
dd9ae6cd45
Merge pull request #3613 from hugovk/fix-flake8
Fix Flake8
2019-01-27 14:10:32 +02:00
Andrew Murray
32c344b7ce Added note about ImageDraw operations that exceed image bounds [ci skip] 2019-01-27 22:10:54 +11:00
Hugo
a0b15e84d7 Fix Flake8 2019-01-27 11:38:33 +02:00
Hugo
84248dc642
Merge branch 'master' into tox-flake8 2019-01-27 10:53:30 +02:00