Skip to content

Releases: BoboTiG/python-mss

6.1.0

31 Oct 17:18
Compare
Choose a tag to compare
  • 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

6.0.0

30 Jun 16:01
Compare
Choose a tag to compare
  • removed usage of deprecated license_file option for license_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)

5.1.0

30 Apr 12:16
7de27cd
Compare
Choose a tag to compare

❤️ contributors: @narumishi

  • 🐍 produce wheels for Python 3 only
  • MSS: renamed again MSSMixin to MSSBase, now derived from abc.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)

5.0.0

31 Dec 17:40
Compare
Choose a tag to compare

❤️ contributors: @hugovk, @foone, @SergeyKalutsky

  • ⚠️ 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_urls to setup.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

4.0.3

23 Apr 13:30
Compare
Choose a tag to compare

⚠️ The source code is now derived from master, where Python 2 support has been dropped.

  • 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)

4.0.2

23 Feb 19:05
Compare
Choose a tag to compare
  • new contributor: @foone
  • Windows: ignore missing SetProcessDPIAware() on Window XP

4.0.1

26 Jan 12:25
Compare
Choose a tag to compare
  • 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

4.0.0

11 Jan 18:46
Compare
Choose a tag to compare
  • MSS: remove use of setup.py for setup.cfg
  • MSS: renamed MSSBase to MSSMixin in base.py
  • MSS: refactor ctypes argtype, restype and errcheck setup (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

3.3.2

20 Nov 16:51
Compare
Choose a tag to compare
  • 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

3.3.1

22 Sep 15:28
Compare
Choose a tag to compare
  • Linux: fix a memory leak introduced with 7e8ae57 (fixes #72)
  • doc: add the download statistics badge