Commit Graph

2571 Commits

Author SHA1 Message Date
karlch 464a1b7700 Add bumpversion config 2023-07-15 17:31:50 +02:00
karlch abd5f5bec7 Docs: Add v0.10.0 placeholder to changelog 2023-07-15 17:31:25 +02:00
karlch 16d9194a3a Release v0.9.0 2023-07-15 17:10:47 +02:00
Christian Karl f04a64feef
Merge pull request #657 from karlch/improve-docs
Improve docs
2023-07-15 11:06:41 +02:00
dependabot[bot] c360419b91
Bump actions/setup-python from 4.6.1 to 4.7.0 (#666)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.6.1...v4.7.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-07-15 11:02:02 +02:00
karlch cf4a1db957 metainfo.xml: Do not indent new releases
This will allow using bumpversion without having inconsistent
formatting.
2023-07-13 18:54:54 +02:00
karlch ea51251a2f metainfo.xml: Add missing release version 2023-07-13 18:54:54 +02:00
karlch 5e10abf0ad Fix edit detection for formats not supporting edit
In the buggy implementation, cropped always returned True in case the
current rect was empty due to the format not supporting editing.
2023-07-13 18:54:54 +02:00
Christian Karl 39f7be230a
Merge pull request #650 from jcjgraf/core/imageheader
Replace imghdr
2023-07-13 18:25:06 +02:00
karlch ff57aabfe9 Simple wording and typo changes 2023-07-13 18:16:46 +02:00
karlch 8c59515b2f Tests: remove duplication of tmpfile fixture
Could also be useful in other unit tests in the future.
2023-07-13 18:16:37 +02:00
Jean-Claude 528b0e9d51
Improve performance by using try instead of suppress
From python 3.11 on try induces zero-overhead when no exception is
raised in the try. This is much more efficient than using suppress.
The try is placed inside for loop to ensure that a check that raises
does not affect other checks.
2023-07-13 08:07:21 +02:00
Christian Karl 2b5b2a64ee
Merge pull request #664 from karlch/suppress-qt-log
Disable qt logging at higher log levels
2023-07-12 22:09:21 +02:00
karlch 02b8f237c9 Disable qt logging at higher log levels
This allows us to also suppress various Qt messages.
2023-07-12 21:32:00 +02:00
karlch 0eab37e9ba Docs: Update changelog after dropping Python 3.7 2023-07-12 21:24:48 +02:00
Christian Karl 347079cd8d
Merge pull request #663 from karlch/drop-python37
Drop python37
2023-07-12 21:22:51 +02:00
karlch 135dc28d94 Drop note on using Protocols for _ModeWidget
Unfortunately using a Protocol is not enough as we need the _ModeWidget
to be both a QWidget and support the corresponding (Protocol) members.
Combining Protocols and regular inheritance is not possible, and there
currently is no option to combine types in an AND form (equivalent to
the OR form using typing.Union).
2023-07-12 21:16:23 +02:00
Christian Karl 526dde7b11
Merge pull request #662 from karlch/ci-with-black
CI: Replace pycodestyle with black
2023-07-12 21:10:43 +02:00
karlch ee4d0f00a0 Fix remaining black formatting issues 2023-07-12 20:21:17 +02:00
karlch b0a41a8381 CI: Replace pycodestyle with black 2023-07-12 20:12:59 +02:00
karlch 0212b52579 Fix typo and formatting in api.settings 2023-07-12 08:32:16 +02:00
Christian Karl 3ec77f04e2
Merge pull request #660 from buzzingwires/thumbnail_save
Add thumbnail.save configuration option.
2023-07-12 08:31:13 +02:00
Christian Karl facb142e50
Merge pull request #659 from Yutsuten/icon-cache
Docs: add information to update icons cache on manual install
2023-07-12 08:30:37 +02:00
karlch d06f9293e5 Update python and PyQt versions in checkversion 2023-07-11 22:24:10 +02:00
karlch 70b7c18a68 Docs: Require at least python 3.8 for installation 2023-07-11 22:23:04 +02:00
karlch 13a3d062d3 Tox: Remove PyQt 5.11 and 5.12 2023-07-11 22:22:13 +02:00
karlch 80840c0e79 Update setup.py requiring at least python 3.8 2023-07-11 22:21:52 +02:00
karlch 4c111d3f39 CI: Drop python 3.7 workflows 2023-07-11 22:20:47 +02:00
Christian Karl bef5d71867
Merge pull request #654 from karlch/new-website-theme
Use a new sphinx theme for the website
2023-07-11 21:13:26 +02:00
buzzingwires 3f287e8d15
Again, fix careless linting error. 2023-07-11 14:02:00 -04:00
buzzingwires fcf6cc8bac
Specify shared icon cache as location for thumbnail.save 2023-07-11 13:54:46 -04:00
buzzingwires f27e246290
Remove redundant configuration file reading tests. 2023-07-11 13:54:12 -04:00
Yutsuten 9381589d8f
Update documentation, revert Makefile 2023-07-11 21:36:46 +09:00
buzzingwires 0669eaff39
Fix careless lint error. 2023-07-11 01:46:49 -04:00
buzzingwires f2da422c80
Add thumbnail.save configuration option.
If this option is set to False, then do not save newly-generated
thumbnails to the disk. Previously saved thumbnail images will be
used normally and will never be deleted.

This saves space and reduces drive writes at the cost of extra
computational overhead by making the original image be reopened each
time the thumbnail is loaded.
2023-07-11 01:36:06 -04:00
dependabot[bot] 600301d44a
Bump tox from 4.6.3 to 4.6.4 in /misc/requirements (#658)
Bumps [tox](https://github.com/tox-dev/tox) from 4.6.3 to 4.6.4.
- [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.6.3...4.6.4)

---
updated-dependencies:
- dependency-name: tox
  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-07-10 18:16:47 +02:00
Yutsuten a20feaf700
Update icons cache 2023-07-08 14:22:32 +09:00
karlch 73e2b79fcc Docs: move command line argument page further back
Personally, I find commands and configuration more important to use
vimiv on a daily-basis.
2023-07-07 15:42:43 +02:00
karlch e023e05429 Docs: extend settings table
The settings table on the website now also includes type and default
value of settings. Required extending the rstutils script.
2023-07-07 15:42:43 +02:00
karlch 95e8a269f5 Simplify src2rst script
- Replace various map, lambda combinations with comprehensions
- Remove duplication
2023-07-07 15:42:43 +02:00
karlch 88bcd8a69a Tox: fix man page building with newer tox version 2023-07-07 15:42:43 +02:00
Jean-Claude cfb3b3a38e NEW: doc listing all CLI arguments and some examples
also improve the formatting of the man page by combining short- and
longform into brackets
2023-07-07 15:42:43 +02:00
Christian Karl 0f39a5569d
Merge pull request #655 from buzzingwires/none_sorting
Add the 'none' sorting setting
2023-07-07 14:14:50 +02:00
buzzingwires ab25bc1c60
Define link to profile. 2023-07-07 08:05:49 -04:00
buzzingwires f88a9b0cee
Rephrase documentation for `none` sort type.
Specify that it is mostly used for keeping the order from the
command line or stdin. Try to make the phrasing slightly more concise.
2023-07-07 06:28:02 -04:00
buzzingwires 8227419a34
Update changelog and AUTHORS 2023-07-07 06:19:22 -04:00
buzzingwires 8620bffada
Add the 'none' sorting setting
For sort 'image_order' and 'directory_order', the 'none' setting
can be used to allow images to follow the last order they were
encountered in by the software, instead of re-sorting.

Note that setting another sorting mode while the software is running
then switching back to 'none' will see files remain in the previous
sort order. The original order of images is *not* tracked.

Additionally, 'none' sort cannot be reversed.
2023-07-07 01:05:48 -04:00
Jean-Claude 564a4c6ca5
Fix lint
It does not like my informative capitalization ;(
2023-07-07 00:24:32 +02:00
Jean-Claude 60317ddf77
Improve comment about why prioritize external format check 2023-07-07 00:00:45 +02:00
Jean-Claude 63f8c954b4
Improve structure by moving verify check out wrapped function
It would be even cleaner to omit the else bloc and set `check =
check_verified` in the then block, and register `check` instead.
But python has some recursion issue with that.
2023-07-06 23:24:15 +02:00