Commit Graph

2429 Commits

Author SHA1 Message Date
Christian Karl 917abcb460
Merge pull request #634 from karlch/python311
Add Python 3.11 to CI and setup.py
2023-06-19 19:18:04 +02:00
karlch 7680d6881a Add python 3.11 to setup.py information 2023-06-19 18:48:03 +02:00
karlch 10b14f00ed CI: Add python 3.11 to workflow
- Python 3.10 only used for PyQt 5.15
- Python 3.11 for PyQt 5.15, and any additional workflows (exif tests,
  linting, ...)
2023-06-19 18:48:03 +02:00
Christian Karl 156c30237b
Merge pull request #624 from karlch/dependabot-pip-misc-requirements-pylint-2.17.2
Bump pylint from 2.15.10 to 2.17.2 in /misc/requirements
2023-06-18 13:27:13 +02:00
karlch 98c651ff1d Pylint: Fix type alias naming 2023-06-18 13:20:34 +02:00
karlch 52707546fe Pylint: remove explicit astroid requirement
Issue fixed upstream - no longer needed.
2023-06-18 13:18:29 +02:00
karlch 540ce70f01 Pylint: disable deprecated-module for imghdr
We will tackle this explicitly in #579.
2023-06-18 13:17:55 +02:00
Christian Karl 386a2eb7f9
Merge pull request #623 from karlch/dependabot-pip-misc-requirements-mypy-1.2.0
Bump mypy from 0.991 to 1.2.0 in /misc/requirements
2023-06-18 13:13:32 +02:00
karlch 2dbe40e053 Mypy: Narrower type ignore for mypy 1.X 2023-06-18 13:07:42 +02:00
dependabot[bot] af0694ac13
Bump actions/setup-python from 4.5.0 to 4.6.0 (#630)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:03:39 +02:00
dependabot[bot] 58d4fe4453
Bump pytest from 7.2.1 to 7.3.1 in /misc/requirements (#629)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.1 to 7.3.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.1...7.3.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:03:12 +02:00
dependabot[bot] 9ac28e19e0
Bump tox from 4.3.5 to 4.4.12 in /misc/requirements (#628)
Bumps [tox](https://github.com/tox-dev/tox) from 4.3.5 to 4.4.12.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.3.5...4.4.12)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:02:48 +02:00
dependabot[bot] f54e66c2e6
Bump actions/checkout from 3.3.0 to 3.5.2 (#627)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...v3.5.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:02:20 +02:00
dependabot[bot] ba75c8df3f
Bump coverage from 7.0.5 to 7.2.3 in /misc/requirements (#622)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.0.5 to 7.2.3.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.0.5...7.2.3)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:01:49 +02:00
dependabot[bot] 09b60b0a8f
Bump pyroma from 4.1 to 4.2 in /misc/requirements (#607)
Bumps [pyroma](https://github.com/regebro/pyroma) from 4.1 to 4.2.
- [Release notes](https://github.com/regebro/pyroma/releases)
- [Changelog](https://github.com/regebro/pyroma/blob/master/CHANGES.txt)
- [Commits](https://github.com/regebro/pyroma/compare/4.1...4.2)

---
updated-dependencies:
- dependency-name: pyroma
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:01:29 +02:00
dependabot[bot] 6a4357fc9f
Bump pyqt5 from 5.15.7 to 5.15.9 in /misc/requirements (#598)
Bumps [pyqt5](https://www.riverbankcomputing.com/software/pyqt/) from 5.15.7 to 5.15.9.

---
updated-dependencies:
- dependency-name: pyqt5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-18 13:01:05 +02:00
dependabot[bot] dd54ec780c
Bump pylint from 2.15.10 to 2.17.2 in /misc/requirements
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.10 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.15.10...v2.17.2)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 04:57:27 +00:00
dependabot[bot] d26ac4a3dd
Bump mypy from 0.991 to 1.2.0 in /misc/requirements
Bumps [mypy](https://github.com/python/mypy) from 0.991 to 1.2.0.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.2.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 04:57:21 +00:00
dependabot[bot] 8d2c7acf58
Bump pydocstyle from 6.2.3 to 6.3.0 in /misc/requirements (#591)
Bumps [pydocstyle](https://github.com/PyCQA/pydocstyle) from 6.2.3 to 6.3.0.
- [Release notes](https://github.com/PyCQA/pydocstyle/releases)
- [Changelog](https://github.com/PyCQA/pydocstyle/blob/master/docs/release_notes.rst)
- [Commits](https://github.com/PyCQA/pydocstyle/compare/6.2.3...6.3.0)

---
updated-dependencies:
- dependency-name: pydocstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 19:41:23 +01:00
dependabot[bot] 8d05b85ff0
Bump tox from 4.2.8 to 4.3.5 in /misc/requirements (#590)
Bumps [tox](https://github.com/tox-dev/tox) from 4.2.8 to 4.3.5.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.2.8...4.3.5)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 19:41:01 +01:00
dependabot[bot] 092fefb979
Bump pytest from 7.2.0 to 7.2.1 in /misc/requirements (#589)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.0...7.2.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 19:40:38 +01:00
karlch 98c8fafb74 Fix :crop changelog
This didn't quite make it into v0.6.0 :)
2023-01-17 19:43:33 +01:00
Christian Karl df8a4a4358
Merge pull request #581 from Yutsuten/crop
Add crop feature

fixes #8
2023-01-17 19:29:49 +01:00
Yutsuten 11eee51367
Add my name to AUTHORS 2023-01-17 19:07:30 +09:00
Yutsuten 33e1021e80
Ignore too-many-public-methods pylint error in ScrollableImage 2023-01-17 19:02:24 +09:00
Yutsuten bf82fa223c
Fix crop tests 2023-01-17 18:56:06 +09:00
dependabot[bot] c2ea8746bd
Bump pylint from 2.15.9 to 2.15.10 in /misc/requirements (#586)
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.9 to 2.15.10.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.15.9...v2.15.10)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 17:22:45 +01:00
dependabot[bot] b6d7347bbf
Bump coverage from 7.0.3 to 7.0.5 in /misc/requirements (#587)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.0.3 to 7.0.5.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.0.3...7.0.5)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 17:11:19 +01:00
dependabot[bot] c18b7147fd
Bump pydocstyle from 6.2.2 to 6.2.3 in /misc/requirements (#584)
Bumps [pydocstyle](https://github.com/PyCQA/pydocstyle) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/PyCQA/pydocstyle/releases)
- [Changelog](https://github.com/PyCQA/pydocstyle/blob/master/docs/release_notes.rst)
- [Commits](https://github.com/PyCQA/pydocstyle/compare/6.2.2...6.2.3)

---
updated-dependencies:
- dependency-name: pydocstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 17:10:51 +01:00
dependabot[bot] c4d21c3d28
Bump tox from 4.2.6 to 4.2.8 in /misc/requirements (#583)
Bumps [tox](https://github.com/tox-dev/tox) from 4.2.6 to 4.2.8.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.2.6...4.2.8)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 17:10:30 +01:00
dependabot[bot] 014d749451
Bump actions/setup-python from 4.4.0 to 4.5.0 (#582)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 17:08:09 +01:00
Yutsuten b8f94fb86f
Fix some github checks 2023-01-14 20:33:00 +09:00
Yutsuten 52e9daa4f7
Default crop area to center instead of topleft 2023-01-14 20:02:46 +09:00
Yutsuten 01cd32a1d0
Apply different colors for grip border and fill 2023-01-14 19:42:56 +09:00
karlch ab442c6f8f Fix import of transformwidget in vimiv.gui.crop 2023-01-11 14:39:20 +01:00
karlch 574588c465 Update crop styling for shadened look
* The color of the shaded unselected region is now configurable.
* The default border color is now a transparent light gray, better
  matching the overall "shadened" look.
* The crop.bg style was removed as the background of the selected region
  is always fully transparent.
2023-01-11 14:01:46 +01:00
karlch 9cfd089ca4 Ensure selected crop region stays within image
Before it was possible to move the selection outside of the displayed
image. Now the crop selection "snaps" on the borders.
2023-01-11 14:01:42 +01:00
karlch b22f61c8e4 Darken unselected region when cropping
Realized using an additional overlay which paints a dark alpha color
over the full image and then clears the selected rectangle.
2023-01-11 14:01:38 +01:00
karlch 503abeb325 Remove need for storing fractions in CropWidget
We now store the selected region in the coordinates of the scene (the
actual image) which never changes size instead of storing fractions and
mapping them to the image / scene manually. Qt provides functions to map
between the coordinates anyway.
2023-01-11 14:01:32 +01:00
karlch 89621b8a5d Simplify geometries in transform widgets
We can use quite a few Qt methods directly here.
2023-01-11 14:01:05 +01:00
Yutsuten 691c21095e
Merge branch 'master' into crop 2023-01-11 20:18:26 +09:00
Christian Karl 6f730c46b0
Merge pull request #580 from karlch/cursor-position
Add statusbar module for cursor position in image coordinates
2023-01-09 20:42:03 +01:00
karlch 78d9631100 Docs: Update changelog for {cursor-position} 2023-01-09 20:37:25 +01:00
karlch c1ed803086 Add end2end test for mouse tracking of the image 2023-01-09 20:23:31 +01:00
karlch 7bcd823e17 Only track mouse in image if needed
Upon the first call of the cursor_position module, we initialize
tracking.
2023-01-09 20:15:16 +01:00
karlch 1b7e2b9770 Add status module for cursor position in image 2023-01-09 19:46:19 +01:00
dependabot[bot] 9a30da2c34
Bump py3exiv2 from 0.9.3 to 0.11.0 in /misc/requirements (#496)
Bumps [py3exiv2](https://launchpad.net/py3exiv2) from 0.9.3 to 0.11.0.

---
updated-dependencies:
- dependency-name: py3exiv2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 18:48:06 +01:00
karlch 87b5c3fb94 CI: Remove matrix.toxenv from githubpages workflow
This is not defined and not used, instead name it.
2023-01-08 18:37:50 +01:00
Christian Karl df7bd7d35c
Merge pull request #578 from karlch/improve-ci
Improve github workflows
2023-01-08 18:34:54 +01:00
karlch 546e977b55 CI: Also use cache for rebuild pages workflow 2023-01-08 18:29:01 +01:00