- MSS: reworked how C functions are initialised
- Mac: reduce the number of function calls
- Mac: support macOS Big Sur (fixes #178)
- tests: expand Python versions to 3.9 and 3.10
- tests: fix macOS intepreter not found on Travis-CI
- tests: fix
test_entry_point()when there are several monitors
Assets
2
- removed usage of deprecated
license_fileoption forlicense_files - fixed flake8 usage in pre-commit
- the module is now available on conda (closes #170)
- MSS: the implementation is now thread-safe on all OSes (fixes #169)
- Linux: better handling of the Xrandr extension (fixes #168)
- tests: fixed a random bug on
test_grab_with_tuple_percents()(fixes #142)
Assets
2
- produce wheels for Python 3 only
- MSS: renamed again
MSSMixintoMSSBase, now derived fromabc.ABCMeta - tools: force write of file when saving a PNG file
- tests: fix tests on macOS with Retina display
- Windows: fixed multi-thread safety (fixes #150)
Assets
2
⚠️ removed support for Python 2.7- MSS: improve type annotations and add CI check
- MSS: use
__slots__for better performances - MSS: better handle resources to prevent leaks
- MSS: improve monitors finding
- Windows: use our own instances of GDI32 and User32 DLLs
- doc: add
project_urlstosetup.cfg - doc: add an example using the multiprocessing module (closes #82)
- tests: added regression tests for #128 and #135
- tests: move tests files into the package
Assets
2
- new contributors: @grintor, @SergeyKalutsky
- Windows: use our own instances of GDI32 and User32 DLLs (backported from 5.0.0)
- Windows: fix the screen bounding AiO rectangle (backported from 5.0.0)
Assets
2
- new contributor: @foone
- Windows: ignore missing
SetProcessDPIAware()on Window XP
Assets
2
- Linux: fix several XLib functions signature (fixes #92)
- Linux: improve monitors finding by a factor of 44
- Linux: fix pylint error "Using variable 'validate' before assignment"
- tests: removed PyPy from the testing matrix
- tests: fixed Travis-CI with Xvfb
- tests: do not allow any failure
Assets
2
- MSS: remove use of
setup.pyforsetup.cfg - MSS: renamed
MSSBasetoMSSMixininbase.py - MSS: refactor ctypes
argtype,restypeanderrchecksetup (fixes #84) - Linux: ensure resources are freed in
grab() - Windows: avoid unecessary class attributes
- MSS: ensure calls without context manager will not leak resources or document them (fixes #72 and #85)
- MSS: fix Flake8 C408: Unnecessary dict call - rewrite as a literal, in exceptions.py
- MSS: fix Flake8 I100: Import statements are in the wrong order
- MSS: fix Flake8 I201: Missing newline before sections or imports
- MSS: fix PyLint bad-super-call: Bad first argument 'Exception' given to super()
- tests: use tox, enable PyPy and PyPy3, add macOS and Windows CI
Assets
2
- new contributors: @hugovk, @andreasbuhr
- MSS: do monitor detection in MSS constructor (fixes #79)
- MSS: specify compliant Python versions for pip install
- tests: enable Python 3.7
- tests: fix
test_entry_point()with multiple monitors