]> git.phdru.name Git - xsetbg.git/log
xsetbg.git
7 weeks agoFix(DB): Fix column encoding master 5.1.2
Oleg Broytman [Sat, 24 Feb 2024 17:01:13 +0000 (20:01 +0300)]
Fix(DB): Fix column encoding

7 weeks agoFix(DB): Close connexions 5.1.1
Oleg Broytman [Sat, 24 Feb 2024 15:38:07 +0000 (18:38 +0300)]
Fix(DB): Close connexions

7 weeks agoFix(py3): Fix filesystem encoding
Oleg Broytman [Sat, 24 Feb 2024 15:36:00 +0000 (18:36 +0300)]
Fix(py3): Fix filesystem encoding

7 weeks agoVersion 5.1.0: Python 3 5.1.0
Oleg Broytman [Sat, 24 Feb 2024 15:22:47 +0000 (18:22 +0300)]
Version 5.1.0: Python 3

7 weeks agoFix(py3): Fix encodings
Oleg Broytman [Sat, 24 Feb 2024 15:21:27 +0000 (18:21 +0300)]
Fix(py3): Fix encodings

7 weeks agoFix(py3): Use `configparser` instead of `ConfigParser`
Oleg Broytman [Sat, 24 Feb 2024 15:19:47 +0000 (18:19 +0300)]
Fix(py3): Use `configparser` instead of `ConfigParser`

7 weeks agoFeat: Python 3
Oleg Broytman [Sat, 24 Feb 2024 15:07:02 +0000 (18:07 +0300)]
Feat: Python 3

7 weeks agoFeat: Remove DBus-related scripts
Oleg Broytman [Sat, 24 Feb 2024 14:41:50 +0000 (17:41 +0300)]
Feat: Remove DBus-related scripts

7 weeks agoStyle: Fix `flake8` error W605 invalid escape sequence '\d'
Oleg Broytman [Sat, 24 Feb 2024 13:58:12 +0000 (16:58 +0300)]
Style: Fix `flake8` error W605 invalid escape sequence '\d'

7 weeks agoStyle: Fix `flake8` error F821 undefined name 'error'
Oleg Broytman [Sat, 24 Feb 2024 13:56:54 +0000 (16:56 +0300)]
Style: Fix `flake8` error F821 undefined name 'error'

7 weeks agoStyle: Fix `flake8` error E999 SyntaxError: leading zeros in decimal integer
Oleg Broytman [Sat, 24 Feb 2024 13:54:34 +0000 (16:54 +0300)]
Style: Fix `flake8` error E999 SyntaxError: leading zeros in decimal integer

7 weeks 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'

7 weeks 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'

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

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

13 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.

13 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

17 months 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`

4 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__`

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

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

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

5 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`

6 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

7 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.

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

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

7 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

7 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

8 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

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

8 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

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

8 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

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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

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

8 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

8 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.

8 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

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

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

8 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

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

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

8 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.

8 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

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

8 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

8 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.

8 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

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

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

8 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

9 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

9 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

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

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

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