Commit Graph

2626 Commits

Author SHA1 Message Date
wiredfool
60696addff Merge pull request #824 from wiredfool/hsv
Incorrect type -- fails on OSX
2014-07-25 10:53:08 -07:00
wiredfool
023ec0a2fc Incorrect type -- fails on OSX 2014-07-25 10:32:55 -07:00
Eric W. Brown
14976346a8 Fixed import for Python 3.
Fixed the trivial import bug that prevented the Python 3 version of MPO
from running. On the way fixed the trivial C bug that prevented
Convert.c from compiling properly in a Mac OS X environment for a
Python 3 target.
2014-07-25 11:50:21 -04:00
Eric W. Brown
8101c2a313 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-25 10:08:18 -04:00
Eric W. Brown
a5683ab574 Implemented MP attribute breakdown with tests. 2014-07-24 15:00:19 -04:00
Eric W. Brown
dcd171c1b8 Minor refactoring per discussion and MPO docs. 2014-07-24 11:16:12 -04:00
Hugo
13bd1d6006 Update CHANGES.rst [CI skip] 2014-07-24 09:21:09 +03:00
Hugo
352f1fd41f Merge pull request #816 from wiredfool/hsv
HSV Support
2014-07-24 09:20:04 +03:00
wiredfool
ea0a31d9fe 2.8 million pyaccesses take a while, nomatter what 2014-07-23 17:02:57 -07:00
wiredfool
2d13dbda6a enable test_16bit_lut on pypy 2014-07-23 16:01:06 -07:00
wiredfool
c9c80f9da5 Use PySequence_Fast for Image.putdata
Pre-Commit:

$ NOSE_PROCESSES=0 time ./test-installed.py Tests/test_image_putdata.py
...
----------------------------------------------------------------------
Ran 3 tests in 131.623s

OK
131.77user 0.18system 2:14.04elapsed 98%CPU (0avgtext+0avgdata 325632maxresident)k
87376inputs+8outputs (314major+47333minor)pagefaults 0swaps

Post:

$ NOSE_PROCESSES=0 time ./test-installed.py Tests/test_image_putdata.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.534s

OK
0.77user 0.05system 0:00.83elapsed 99%CPU (0avgtext+0avgdata 296352maxresident)k
0inputs+0outputs (0major+21462minor)pagefaults 0swaps
2014-07-23 15:39:24 -07:00
wiredfool
06d21bc709 pypy performance test 2014-07-23 15:39:24 -07:00
wiredfool
5def1010c7 DRY, moved case inside loop 2014-07-23 15:16:23 -07:00
wiredfool
a5aea42bc9 Use PySequence_Fast* to iterate over the list
Pre commit:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 132.056s

OK
131.63user 0.62system 2:12.28elapsed 99%CPU (0avgtext+0avgdata 292176maxresident)k
264inputs+0outputs (2major+451088minor)pagefaults 0swaps

Post:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.338s

OK
0.52user 0.06system 0:00.59elapsed 98%CPU (0avgtext+0avgdata 257584maxresident)k
176inputs+32outputs (2major+18033minor)pagefaults 0swaps

$ python --version
Python 2.7.6 (2.3.1+dfsg-1~ppa1, Jun 20 2014, 09:27:47)
[PyPy 2.3.1 with GCC 4.6.3]
2014-07-23 14:46:37 -07:00
wiredfool
94ca2b1076 using skip known bad 2014-07-23 14:31:49 -07:00
wiredfool
75dac32a0a single threaded for profile-installed.py 2014-07-23 14:30:55 -07:00
wiredfool
e14e3593d9 And now for something completely different. Py3 compatibility 2014-07-23 09:08:28 -07:00
wiredfool
67c235b7c0 Don't DOS pypy 2014-07-23 08:49:19 -07:00
wiredfool
ffe8887cc6 profiler for testing 2014-07-23 08:48:55 -07:00
Eric W. Brown
8d7266afc5 Fixed typo in new MPO unit test. 2014-07-23 11:36:23 -04:00
Eric W. Brown
832e11bed5 Enabled seeking in MPO files.
Note to self: either put the offset in the load_seek() definition or
the tile definition, not both.
2014-07-23 11:27:46 -04:00
Fredrik Tolf
2687b5cb8d Test unicode preservation in text chunks. 2014-07-23 08:17:11 -07:00
Fredrik Tolf
a9f4e30641 Save detected non-Latin1 characters as iTXt to preserve them. 2014-07-23 07:43:52 -07:00
Fredrik Tolf
823d377e47 Added tests for iTXt saving. 2014-07-23 07:27:51 -07:00
Eric W. Brown
6605bf22e5 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-23 09:22:15 -04:00
Hugo
0f6d77a141 Merge pull request #817 from wiredfool/draw_docs
ImageDraw doc update
2014-07-23 13:59:46 +03:00
Fredrik Tolf
2b4d91ed53 Added iTXt tests. 2014-07-23 01:09:06 -07:00
Fredrik Tolf
c469dd9ae5 Added support for encoding and decoding iTXt chunks. 2014-07-23 00:28:44 -07:00
wiredfool
1b170dad68 Partial opacity text example, parameters on ImageDraw.Draw [ci skip] 2014-07-22 16:43:23 -07:00
wiredfool
55792f8927 Updated Changes.rst [ci skip] 2014-07-22 16:22:28 -07:00
wiredfool
891224e944 Merge pull request #815 from hugovk/ImagePalette
More ImagePalette.py tests and remove unused and uncallable new()
2014-07-22 16:21:15 -07:00
wiredfool
0bb1cd398f Conversion between RGB and HSV images 2014-07-22 16:10:02 -07:00
wiredfool
625ff24358 Storage, packing and access for HSV format images 2014-07-22 16:09:22 -07:00
wiredfool
ee4793a806 More detail when assert_image_similar fails 2014-07-22 16:09:22 -07:00
hugovk
d34fd8868b Workaround to test PyQt: https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942 2014-07-22 16:09:22 -07:00
Eric W. Brown
1d3fe7ff45 Corrected offset for MPO frames. 2014-07-22 18:23:45 -04:00
Eric W. Brown
d5909e4946 Basic MPO reading works, seek is partially there. 2014-07-22 13:31:51 -04:00
wiredfool
af4c3c9a8c Merge pull request #814 from hugovk/qt2.7
Test PyQt on Travis CI
2014-07-21 14:11:48 -07:00
hugovk
d06735b49e More ImagePalette.py tests and remove unused and uncallable new() 2014-07-21 23:18:46 +03:00
hugovk
8c60de375d Workaround to test PyQt: https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942 2014-07-21 12:15:23 +03:00
wiredfool
7155919b5b Merge pull request #809 from hugovk/public_gamma_lut
Make _make_gamma_lut() public
2014-07-20 11:37:41 -07:00
hugovk
751f672058 Call public, non-warning versions internally 2014-07-20 21:08:14 +03:00
hugovk
37691bc1e4 Make _make_linear_lut public and issue deprecation warnings from old private methods 2014-07-20 10:13:26 +03:00
wiredfool
d810e9a018 Merge pull request #810 from hugovk/verbose_failfast
Tests: Be verbose and fail fast
2014-07-19 21:44:59 -07:00
wiredfool
6381d62503 Update CHANGES.rst [ci skip] 2014-07-19 21:25:25 -07:00
wiredfool
bf2014ece6 Merge pull request #803 from hugovk/SgiImagePlugin
Sanity tests for SgiImagePlugin.py
2014-07-19 21:21:11 -07:00
hugovk
fef3ceb2c0 If we can't read a file due to unsupported compression, raise an error 2014-07-20 01:50:05 +03:00
hugovk
15c92359cc Merge some similar tests to a single file 2014-07-20 01:17:32 +03:00
hugovk
0c12058e37 Use unique class names to match filenames 2014-07-20 01:17:20 +03:00
hugovk
64bf7d466f Fail fast: -x to stop running tests after the first error or failure 2014-07-20 01:17:10 +03:00