]> git.phdru.name Git - xsetbg.git/log
xsetbg.git
9 months agoStyle: Fix `flake8` error E999 SyntaxError: Missing parens in 'print'
Oleg Broytman [Sat, 24 Feb 2024 13:52:44 +0000 (16:52 +0300)]
Style: Fix `flake8` error E999 SyntaxError: Missing parens in 'print'

9 months agoStyle: Fix `flake8` error E722 bare 'except'
Oleg Broytman [Sat, 24 Feb 2024 13:49:55 +0000 (16:49 +0300)]
Style: Fix `flake8` error E722 bare 'except'

9 months agoStyle: Fix `flake8` error E501 line too long
Oleg Broytman [Sat, 24 Feb 2024 13:49:03 +0000 (16:49 +0300)]
Style: Fix `flake8` error E501 line too long

9 months agoStyle: Fix `flake8` error E402 module level import not at top of file
Oleg Broytman [Sat, 24 Feb 2024 13:43:14 +0000 (16:43 +0300)]
Style: Fix `flake8` error E402 module level import not at top of file

9 months agoStyle: Fix `flake8` errors E302,E305 expected 2 blank lines, found 1
Oleg Broytman [Sat, 24 Feb 2024 13:40:53 +0000 (16:40 +0300)]
Style: Fix `flake8` errors E302,E305 expected 2 blank lines, found 1

9 months agoStyle: Fix `flake8` error E261 at least two spaces before inline comment
Oleg Broytman [Sat, 24 Feb 2024 13:30:58 +0000 (16:30 +0300)]
Style: Fix `flake8` error E261 at least two spaces before inline comment

9 months agoStyle: Fix `flake8` error E111 indentation is not a multiple of 4
Oleg Broytman [Sat, 24 Feb 2024 13:12:21 +0000 (16:12 +0300)]
Style: Fix `flake8` error E111 indentation is not a multiple of 4

12 months agoDocs(TODO): Rating
Oleg Broytman [Fri, 10 Nov 2023 15:52:08 +0000 (18:52 +0300)]
Docs(TODO): Rating

21 months agoFeat(reload_db): Update existing row if the full name was changed
Oleg Broytman [Sun, 5 Mar 2023 14:05:35 +0000 (17:05 +0300)]
Feat(reload_db): Update existing row if the full name was changed

Count updated rows.

21 months agoFeat(reload_db): Get existing row by id
Oleg Broytman [Sun, 5 Mar 2023 14:04:44 +0000 (17:04 +0300)]
Feat(reload_db): Get existing row by id

2 years agoFix deprecated open mode `rU` -> `r`
Oleg Broytman [Thu, 27 Oct 2022 15:18:30 +0000 (18:18 +0300)]
Fix deprecated open mode `rU` -> `r`

3 years agoFeat: Display WEBP images using `display` from ImageMagic
Oleg Broytman [Fri, 19 Feb 2021 20:29:35 +0000 (23:29 +0300)]
Feat: Display WEBP images using `display` from ImageMagic

3 years agoFeat: For TIFF files use `xsetbg`
Oleg Broytman [Fri, 19 Feb 2021 20:23:05 +0000 (23:23 +0300)]
Feat: For TIFF files use `xsetbg`

5 years agoBuild(.gitignore): Ignore `*.py[co]` in `__pycache__`
Oleg Broytman [Wed, 1 May 2019 12:25:18 +0000 (15:25 +0300)]
Build(.gitignore): Ignore `*.py[co]` in `__pycache__`

6 years agoFeat: Show only image files
Oleg Broytman [Mon, 20 Aug 2018 14:57:21 +0000 (17:57 +0300)]
Feat: Show only image files

6 years agoFeat: Print (non-)images counts
Oleg Broytman [Mon, 20 Aug 2018 14:52:08 +0000 (17:52 +0300)]
Feat: Print (non-)images counts

6 years agoFeat: Update `is_image`
Oleg Broytman [Mon, 20 Aug 2018 14:49:33 +0000 (17:49 +0300)]
Feat: Update `is_image`

6 years agoFeat(DB): Add column `is_image`
Oleg Broytman [Thu, 16 Aug 2018 22:22:11 +0000 (01:22 +0300)]
Feat(DB): Add column `is_image`

7 years agoMinor change in README
Oleg Broytman [Sun, 30 Apr 2017 21:31:54 +0000 (00:31 +0300)]
Minor change in README

7 years agoRemove update script
Oleg Broytman [Mon, 17 Apr 2017 19:52:26 +0000 (22:52 +0300)]
Remove update script

8 years agoFix VACUUM command
Oleg Broytman [Mon, 24 Oct 2016 11:33:53 +0000 (14:33 +0300)]
Fix VACUUM command

SQLite doesn't vacuum a single table but the entire database.

8 years agoRemove outdated __copyright__
Oleg Broytman [Sun, 5 Jun 2016 00:08:11 +0000 (03:08 +0300)]
Remove outdated __copyright__

8 years agoCopyright 2016
Oleg Broytman [Sun, 5 Jun 2016 00:08:03 +0000 (03:08 +0300)]
Copyright 2016

8 years agoVersion 5.0.2 5.0.2
Oleg Broytman [Sun, 5 Jun 2016 00:01:15 +0000 (03:01 +0300)]
Version 5.0.2

8 years agoEncode file name to filesystem encoding
Oleg Broytman [Fri, 20 May 2016 07:57:10 +0000 (10:57 +0300)]
Encode file name to filesystem encoding

9 years agoPrint older files using an index
Oleg Broytman [Tue, 28 Jul 2015 13:48:53 +0000 (16:48 +0300)]
Print older files using an index

9 years agoRemove print_all.py
Oleg Broytman [Tue, 28 Jul 2015 09:54:20 +0000 (12:54 +0300)]
Remove print_all.py

9 years agoVersion 5.0.1: a minor enhancemet and a bugfix v5.0.1
Oleg Broytman [Sun, 26 Jul 2015 13:03:34 +0000 (16:03 +0300)]
Version 5.0.1: a minor enhancemet and a bugfix

9 years agoFix a bug
Oleg Broytman [Sun, 26 Jul 2015 12:58:02 +0000 (15:58 +0300)]
Fix a bug

9 years agoSQL table instead of serialized list of images
Oleg Broytman [Sun, 26 Jul 2015 11:45:35 +0000 (14:45 +0300)]
SQL table instead of serialized list of images

9 years agoDisplay stats
Oleg Broytman [Sun, 26 Jul 2015 10:11:03 +0000 (13:11 +0300)]
Display stats

9 years agoVersion 5.0.0 v5.0.0
Oleg Broytman [Sun, 26 Jul 2015 09:53:32 +0000 (12:53 +0300)]
Version 5.0.0

9 years agoUse longer path to make in unique
Oleg Broytman [Sun, 26 Jul 2015 09:52:48 +0000 (12:52 +0300)]
Use longer path to make in unique

9 years agoFix: last_shown can be None
Oleg Broytman [Sat, 25 Jul 2015 22:40:46 +0000 (01:40 +0300)]
Fix: last_shown can be None

9 years agoConvert xsetbg.py
Oleg Broytman [Sat, 25 Jul 2015 22:25:36 +0000 (01:25 +0300)]
Convert xsetbg.py

9 years agoSet umask
Oleg Broytman [Sat, 25 Jul 2015 16:58:12 +0000 (19:58 +0300)]
Set umask

9 years agoReport counts of new and exiting images
Oleg Broytman [Sat, 25 Jul 2015 16:57:23 +0000 (19:57 +0300)]
Report counts of new and exiting images

9 years agoAdd rescan_fs.py: scan images directories and update DB
Oleg Broytman [Sat, 25 Jul 2015 16:50:01 +0000 (19:50 +0300)]
Add rescan_fs.py: scan images directories and update DB

9 years agoDecode filename to unicode, encode to utf-8 for Insert
Oleg Broytman [Sat, 25 Jul 2015 16:13:02 +0000 (19:13 +0300)]
Decode filename to unicode, encode to utf-8 for Insert

9 years agoRefactor mass insert into SQLiteMassInsert context manager
Oleg Broytman [Fri, 24 Jul 2015 22:14:20 +0000 (01:14 +0300)]
Refactor mass insert into SQLiteMassInsert context manager

9 years agoExecute VACUUM after reloading
Oleg Broytman [Thu, 23 Jul 2015 21:56:05 +0000 (00:56 +0300)]
Execute VACUUM after reloading

9 years agoFix a bug: id can be None
Oleg Broytman [Thu, 23 Jul 2015 21:55:34 +0000 (00:55 +0300)]
Fix a bug: id can be None

9 years agoUpdate data
Oleg Broytman [Thu, 23 Jul 2015 21:50:07 +0000 (00:50 +0300)]
Update data

Reload dump without trashing existing data in the table.

9 years agoRefactoring: move DB (re)creation code to xsetbg_db.py
Oleg Broytman [Wed, 22 Jul 2015 19:27:23 +0000 (22:27 +0300)]
Refactoring: move DB (re)creation code to xsetbg_db.py

9 years agoFix flake8 warnings
Oleg Broytman [Wed, 22 Jul 2015 19:17:04 +0000 (22:17 +0300)]
Fix flake8 warnings

9 years agoConvert print-filename.py
Oleg Broytman [Wed, 22 Jul 2015 18:07:53 +0000 (21:07 +0300)]
Convert print-filename.py

9 years agoUse configured FS encoding instead of the current locale
Oleg Broytman [Wed, 22 Jul 2015 18:07:11 +0000 (21:07 +0300)]
Use configured FS encoding instead of the current locale

9 years agoCreate indices for the table
Oleg Broytman [Wed, 22 Jul 2015 18:06:29 +0000 (21:06 +0300)]
Create indices for the table

9 years agoConvert find_oldest.py
Oleg Broytman [Tue, 21 Jul 2015 20:31:25 +0000 (23:31 +0300)]
Convert find_oldest.py

9 years agoConvert print_all.py
Oleg Broytman [Tue, 21 Jul 2015 20:30:18 +0000 (23:30 +0300)]
Convert print_all.py

It's really a simpler version of dump_db.py.

9 years agoConvert dump_db.py and reload_db.py to use SQLObject
Oleg Broytman [Tue, 21 Jul 2015 20:19:52 +0000 (23:19 +0300)]
Convert dump_db.py and reload_db.py to use SQLObject

9 years agoPrevent debugging output from SQLObject
Oleg Broytman [Tue, 21 Jul 2015 20:19:12 +0000 (23:19 +0300)]
Prevent debugging output from SQLObject

9 years agoRename path to full_name and make it UnicodeCol
Oleg Broytman [Tue, 21 Jul 2015 20:17:37 +0000 (23:17 +0300)]
Rename path to full_name and make it UnicodeCol

9 years agoAdd table SqliteSequence
Oleg Broytman [Tue, 21 Jul 2015 19:21:26 +0000 (22:21 +0300)]
Add table SqliteSequence

SqliteSequence is an internal SQLite table; XSetBg uses to reset
autoincrement counter.

9 years agoStarting to switch XSetBg to SQLite instead of bsddb
Oleg Broytman [Sun, 19 Jul 2015 21:01:24 +0000 (00:01 +0300)]
Starting to switch XSetBg to SQLite instead of bsddb

9 years agoAdd ChangeLog
Oleg Broytman [Tue, 14 Jul 2015 19:37:04 +0000 (22:37 +0300)]
Add ChangeLog

9 years agoAdd README.txt
Oleg Broytman [Tue, 14 Jul 2015 19:36:37 +0000 (22:36 +0300)]
Add README.txt

9 years agoRefactor update script
Oleg Broytman [Fri, 5 Jun 2015 18:58:32 +0000 (21:58 +0300)]
Refactor update script

9 years agoOrder options by name
Oleg Broytman [Wed, 31 Dec 2014 22:03:37 +0000 (01:03 +0300)]
Order options by name

10 years agoAllow the script to be run only in the origin directory
Oleg Broytman [Tue, 20 May 2014 00:58:17 +0000 (04:58 +0400)]
Allow the script to be run only in the origin directory

10 years agoAdd update script
Oleg Broytman [Mon, 19 May 2014 17:22:37 +0000 (21:22 +0400)]
Add update script

10 years agoVersion 4.1.0 v4.1.0
Oleg Broytman [Sun, 9 Mar 2014 16:57:24 +0000 (20:57 +0400)]
Version 4.1.0

10 years agoFix a bug: get xsetbg_dir
Oleg Broytman [Sun, 9 Mar 2014 16:26:48 +0000 (20:26 +0400)]
Fix a bug: get xsetbg_dir

10 years agoDo not raise exception if DB file was not found
Oleg Broytman [Sun, 9 Mar 2014 09:45:38 +0000 (13:45 +0400)]
Do not raise exception if DB file was not found

xsetbg.py creates DB file if it doesn't exist.

10 years agoRename db_file to xsetbg_db_path
Oleg Broytman [Sun, 9 Mar 2014 09:44:35 +0000 (13:44 +0400)]
Rename db_file to xsetbg_db_path

10 years agoSearch xsetbg.db in XDG directories
Oleg Broytman [Sat, 8 Mar 2014 23:33:26 +0000 (03:33 +0400)]
Search xsetbg.db in XDG directories

Search xsetbg.db in $XDG_CACHE_HOME or $HOME/.cache.

10 years agoSearch xsetbg.conf in XDG directories
Oleg Broytman [Sat, 8 Mar 2014 23:10:28 +0000 (03:10 +0400)]
Search xsetbg.conf in XDG directories

Search xsetbg.conf in $XDG_CONFIG_HOME or $XDG_CONFIG_DIRS or $HOME/.config.

10 years agoTODO: move xsetbg.conf and xsetbg.db to XDG-defined dirs
Oleg Broytman [Thu, 6 Mar 2014 21:32:59 +0000 (01:32 +0400)]
TODO: move xsetbg.conf and xsetbg.db to XDG-defined dirs

10 years agoRemove absolute directory ~/lib to make it portable
Oleg Broytman [Tue, 14 Jan 2014 18:18:15 +0000 (22:18 +0400)]
Remove absolute directory ~/lib to make it portable

10 years agoMove getting httpd settings from xsetbg.py to xsetbg-wsgi.py
Oleg Broytman [Wed, 8 Jan 2014 06:13:24 +0000 (10:13 +0400)]
Move getting httpd settings from xsetbg.py to xsetbg-wsgi.py

10 years agoExport xsetbg_db_path
Oleg Broytman [Wed, 8 Jan 2014 06:09:13 +0000 (10:09 +0400)]
Export xsetbg_db_path

10 years agoFix a bug: open xsetbg.py with full path
Oleg Broytman [Tue, 7 Jan 2014 11:19:40 +0000 (15:19 +0400)]
Fix a bug: open xsetbg.py with full path

10 years agoFix a bug: import xsetbg_db_path
Oleg Broytman [Tue, 7 Jan 2014 10:44:01 +0000 (14:44 +0400)]
Fix a bug: import xsetbg_db_path

10 years agoDone: configurable path to xsetbg.db
Oleg Broytman [Tue, 7 Jan 2014 10:40:58 +0000 (14:40 +0400)]
Done: configurable path to xsetbg.db

10 years agoFix permissions: make helper modules not-executable
Oleg Broytman [Tue, 7 Jan 2014 10:39:04 +0000 (14:39 +0400)]
Fix permissions: make helper modules not-executable

10 years agoExpand tilde in the database path
Oleg Broytman [Tue, 7 Jan 2014 10:36:42 +0000 (14:36 +0400)]
Expand tilde in the database path

10 years agoConfigure path to the database
Oleg Broytman [Tue, 7 Jan 2014 10:33:08 +0000 (14:33 +0400)]
Configure path to the database

10 years agoOpen config in xsetbg_conf.py, open db in xsetbg_db.py
Oleg Broytman [Tue, 7 Jan 2014 10:16:55 +0000 (14:16 +0400)]
Open config in xsetbg_conf.py, open db in xsetbg_db.py

10 years agoRename xsetbg.conf -> xsetbg.conf.pat. Ignore xsetbg.conf.
Oleg Broytman [Tue, 7 Jan 2014 09:34:03 +0000 (13:34 +0400)]
Rename xsetbg.conf -> xsetbg.conf.pat. Ignore xsetbg.conf.

10 years agoxsetbg doesn't use xsetbg.sock
Oleg Broytman [Tue, 7 Jan 2014 09:32:08 +0000 (13:32 +0400)]
xsetbg doesn't use xsetbg.sock

10 years agoVersion 4.0.0 v4.0.0
Oleg Broytman [Fri, 3 Jan 2014 20:30:13 +0000 (00:30 +0400)]
Version 4.0.0

10 years agoTODO: configurable path to xsetbg.db
Oleg Broytman [Fri, 3 Jan 2014 20:19:24 +0000 (00:19 +0400)]
TODO: configurable path to xsetbg.db

10 years agoMerge branch 'master' of /home/phd/lib/xsetbg
Oleg Broytman [Tue, 24 Dec 2013 20:10:05 +0000 (00:10 +0400)]
Merge branch 'master' of /home/phd/lib/xsetbg

10 years agoDo not include .git* files on export
Oleg Broytman [Tue, 24 Dec 2013 20:06:48 +0000 (00:06 +0400)]
Do not include .git* files on export

10 years agoTODO: add __version__.py
Oleg Broytman [Wed, 18 Dec 2013 05:15:22 +0000 (09:15 +0400)]
TODO: add __version__.py

10 years agoMake it portable
Oleg Broytman [Tue, 17 Dec 2013 23:58:39 +0000 (03:58 +0400)]
Make it portable

11 years agoExecutable
Oleg Broytman [Sun, 21 Jul 2013 15:40:48 +0000 (19:40 +0400)]
Executable

11 years agoSet output encoding
Oleg Broytman [Sun, 21 Jul 2013 15:40:16 +0000 (19:40 +0400)]
Set output encoding

11 years agoAdd .gitignore
Oleg Broytman [Fri, 19 Jul 2013 20:55:19 +0000 (00:55 +0400)]
Add .gitignore

11 years agoGet filesystem encoding from config
Oleg Broytman [Tue, 9 Jul 2013 01:03:44 +0000 (01:03 +0000)]
Get filesystem encoding from config

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@60 143022c7-580b-0410-bae3-87f2bf5d3141

12 years agoRemoved excessive trailing backslashes
Oleg Broytman [Sun, 21 Oct 2012 17:27:25 +0000 (17:27 +0000)]
Removed excessive trailing backslashes

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@59 143022c7-580b-0410-bae3-87f2bf5d3141

12 years agoThere are too many global variables to delete, why this one?
Oleg Broytman [Sun, 19 Aug 2012 17:51:31 +0000 (17:51 +0000)]
There are too many global variables to delete, why this one?

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@58 143022c7-580b-0410-bae3-87f2bf5d3141

12 years agoIncreased min_delay to 5 years.
Oleg Broytman [Sun, 19 Aug 2012 15:17:17 +0000 (15:17 +0000)]
Increased min_delay to 5 years.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@57 143022c7-580b-0410-bae3-87f2bf5d3141

12 years agoParse timedelta in ymdThms format.
Oleg Broytman [Sun, 19 Aug 2012 15:16:59 +0000 (15:16 +0000)]
Parse timedelta in ymdThms format.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@56 143022c7-580b-0410-bae3-87f2bf5d3141

12 years agoRemoved svn:keywords.
Oleg Broytman [Sun, 15 Apr 2012 19:33:44 +0000 (19:33 +0000)]
Removed svn:keywords.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@55 143022c7-580b-0410-bae3-87f2bf5d3141

13 years agoRemoved duplicate code.
Oleg Broytman [Sun, 27 Nov 2011 21:31:51 +0000 (21:31 +0000)]
Removed duplicate code.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@54 143022c7-580b-0410-bae3-87f2bf5d3141

13 years agoChanged the way @published works.
Oleg Broytman [Sat, 23 Apr 2011 20:33:33 +0000 (20:33 +0000)]
Changed the way @published works.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@53 143022c7-580b-0410-bae3-87f2bf5d3141

13 years ago2011
Oleg Broytman [Sat, 23 Apr 2011 19:18:38 +0000 (19:18 +0000)]
2011

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@52 143022c7-580b-0410-bae3-87f2bf5d3141

13 years agoRenamed.
Oleg Broytman [Fri, 18 Feb 2011 13:56:53 +0000 (13:56 +0000)]
Renamed.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@51 143022c7-580b-0410-bae3-87f2bf5d3141

13 years agoDBus - done.
Oleg Broytman [Fri, 18 Feb 2011 13:53:34 +0000 (13:53 +0000)]
DBus - done.

git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@50 143022c7-580b-0410-bae3-87f2bf5d3141