Python 3.6 support was already dropped in commit b9dfeac2 ("Drop Python
3.6 Support"). Don't attempt to run tests with it if it is installed.
Python 3.11 is currently supported, so add it to the list.
- Update NullJob to subclass Job
- Remove unnecessary size pre-read in _getMatches() as file sizes are
already loaded during file scan via stat call
- Skip ref check if contents scan as the scan already prevents this from
happening, some of the other scans do things differently and need to
be reviewed before removing this post step completely
- Add guard on partial hashing to just hash the whole file if smaller
than the offset and size and use the value for both the partial digest
and digest
Since calls without pyqrcc5 may result in a broken file, clean prior
qt/gg_rc.py file before calling pyqrcc5. This makes troubleshooting
pyqrcc5 issues more straightforward.
Fix#1103
- Remove code forcing the exclusion of `.` directories by default, the
new default exclusion filters do this by default
- Change default state code to always return a value
- Add migration (just delete db and change to new schema) for picture
cache following the same sort of strategy as the file digest cache
- Rename mtime column to mtime_ns to match file cache for consistency
- Add "safe" existence check to files which catches OSErrors that may
occur when trying to stat files
- Use "safe" existence check during final existence check
- Remove lock on read operations, only needed for write operations
- Change to use context manager for sqlite connection
- Remove long lived cursor object and use short lived cursors instead
Fixes#1080
- Add exclude pattern for flake8 when running with pre-commit as it does
not fully honor the exclude paths.
- Cleanup exclude paths for flake8 in tox.ini
- Re-enable line length check and correct three affected files
- Remove shelve picture cache as it has had a fair number of historical
issues. Original issue for which it was added should be long
resolved. Additionally this allows additional consolidation of the
various cache code and potentially dbs in the future.
- Remove all related preferences and related code for changing cache
backend between sqlite and shelve.
- Implement a confirmation dialog for cancellation of jobs, required
changing from QProgressDialog to QDialog to keep cleaner.
- Update ui translation source file
Close#1033, #515
- Add option to include file existence check at end of scan, speeds up
end of scan operation time considerably, however if user has removed
or moved files since starting a scan there could be later errors when
interacting with results. Defaults to existing behavior of including
the check, until it can be verified later dialogs and actions handle
non-existent items better.
- Add option to ignore differences in mtime when checking hash cache.
Option is present in advanced tab of preferences. Closes#1022.
- Regenerate pot files for translations