]> git.phdru.name Git - bookmarks_db.git/log
bookmarks_db.git
12 months agoFix(Py3): Fix `list.join(separator)`
Oleg Broytman [Sun, 12 Nov 2023 10:04:22 +0000 (13:04 +0300)]
Fix(Py3): Fix `list.join(separator)`

It's now `separator.join(list)`.

12 months agoFix(Py3): Fix `urllib`-based robot
Oleg Broytman [Sun, 12 Nov 2023 10:01:29 +0000 (13:01 +0300)]
Fix(Py3): Fix `urllib`-based robot

12 months agoFix(Py3): Fix `htmlentities` import
Oleg Broytman [Sat, 11 Nov 2023 20:10:39 +0000 (23:10 +0300)]
Fix(Py3): Fix `htmlentities` import

12 months agoFix(Py3): Fix `urljoin` import
Oleg Broytman [Sat, 11 Nov 2023 20:08:17 +0000 (23:08 +0300)]
Fix(Py3): Fix `urljoin` import

12 months agoFix(Py3): Stop encoding unicode to bytes
Oleg Broytman [Sat, 11 Nov 2023 18:35:26 +0000 (21:35 +0300)]
Fix(Py3): Stop encoding unicode to bytes

12 months agoFix(Py3): Stop using module `string`
Oleg Broytman [Sat, 11 Nov 2023 18:34:51 +0000 (21:34 +0300)]
Fix(Py3): Stop using module `string`

12 months agoFix(Py3): Open files in text mode
Oleg Broytman [Sat, 11 Nov 2023 18:33:45 +0000 (21:33 +0300)]
Fix(Py3): Open files in text mode

12 months agoFix(Py3): Fix `.has_key()`
Oleg Broytman [Fri, 10 Nov 2023 14:07:27 +0000 (17:07 +0300)]
Fix(Py3): Fix `.has_key()`

12 months agoFix(Py3): Fix import from `urllib`
Oleg Broytman [Wed, 1 Nov 2023 15:32:01 +0000 (18:32 +0300)]
Fix(Py3): Fix import from `urllib`

12 months agoFix(Storage/bkmk_stjson.py): open file in text mode
Oleg Broytman [Tue, 31 Oct 2023 19:03:27 +0000 (22:03 +0300)]
Fix(Storage/bkmk_stjson.py): open file in text mode

12 months agoFix(Py3): `exec` in a local namespce
Oleg Broytman [Tue, 31 Oct 2023 19:03:00 +0000 (22:03 +0300)]
Fix(Py3): `exec` in a local namespce

12 months agoFeat: Set shebang to `python3`
Oleg Broytman [Tue, 31 Oct 2023 16:45:06 +0000 (19:45 +0300)]
Feat: Set shebang to `python3`

12 months agoFix(parse_html): Fix import
Oleg Broytman [Tue, 31 Oct 2023 16:31:11 +0000 (19:31 +0300)]
Fix(parse_html): Fix import

12 months agoStyle: Fix flake8 W605 invalid escape sequence
Oleg Broytman [Thu, 28 Sep 2023 12:34:40 +0000 (15:34 +0300)]
Style: Fix flake8 W605 invalid escape sequence

12 months agoStyle: Fix flake8 F841 local variable is assigned to but never used
Oleg Broytman [Thu, 28 Sep 2023 12:21:50 +0000 (15:21 +0300)]
Style: Fix flake8 F841 local variable is assigned to but never used

12 months agoFix(Py3): Fix `cmp` compatibility
Oleg Broytman [Sat, 16 Sep 2023 19:40:15 +0000 (22:40 +0300)]
Fix(Py3): Fix `cmp` compatibility

12 months agoStyle: Fix flake8 F821 undefined name 'unichr'
Oleg Broytman [Sat, 16 Sep 2023 19:39:13 +0000 (22:39 +0300)]
Style: Fix flake8 F821 undefined name 'unichr'

12 months agoFix(Py3): Fix `basestring` compatibility
Oleg Broytman [Sat, 16 Sep 2023 19:26:28 +0000 (22:26 +0300)]
Fix(Py3): Fix `basestring` compatibility

12 months agoFix(parse_html/bkmk_parse_html): Fix imports
Oleg Broytman [Sat, 16 Sep 2023 19:23:09 +0000 (22:23 +0300)]
Fix(parse_html/bkmk_parse_html): Fix imports

12 months agoFix(Py3): Fix `unicode` compatibility
Oleg Broytman [Sat, 16 Sep 2023 19:20:51 +0000 (22:20 +0300)]
Fix(Py3): Fix `unicode` compatibility

12 months agoFix(Py3): Replace `unicode()` with `.decode()`
Oleg Broytman [Mon, 11 Sep 2023 14:06:44 +0000 (17:06 +0300)]
Fix(Py3): Replace `unicode()` with `.decode()`

12 months agoStyle: Fix flake8 F401 module imported but unused
Oleg Broytman [Mon, 11 Sep 2023 13:52:04 +0000 (16:52 +0300)]
Style: Fix flake8 F401 module imported but unused

12 months agoStyle: Fix flake8 E999 IndentationError: unexpected indent
Oleg Broytman [Mon, 11 Sep 2023 13:49:25 +0000 (16:49 +0300)]
Style: Fix flake8 E999 IndentationError: unexpected indent

12 months agoStyle: Fix flake8 E741 ambiguous variable name 'l'
Oleg Broytman [Wed, 6 Sep 2023 20:45:07 +0000 (23:45 +0300)]
Style: Fix flake8 E741 ambiguous variable name 'l'

12 months agoStyle: Completely ignore some flake8 warnings
Oleg Broytman [Wed, 6 Sep 2023 20:45:27 +0000 (23:45 +0300)]
Style: Completely ignore some flake8 warnings

E701 multiple statements on one line (colon)
E722 do not use bare 'except'

12 months agoStyle: Fix flake8 E501 line too long
Oleg Broytman [Tue, 5 Sep 2023 17:55:16 +0000 (20:55 +0300)]
Style: Fix flake8 E501 line too long

12 months agoStyle: Fix flake8 E402 module level import not at top of file
Oleg Broytman [Tue, 5 Sep 2023 15:53:07 +0000 (18:53 +0300)]
Style: Fix flake8 E402 module level import not at top of file

12 months agoStyle: Fix flake8 E401 multiple imports on one line
Oleg Broytman [Mon, 4 Sep 2023 17:07:25 +0000 (20:07 +0300)]
Style: Fix flake8 E401 multiple imports on one line

12 months agoStyle: Fix flake8 E305 expected 2 blank lines, found 1
Oleg Broytman [Mon, 4 Sep 2023 17:00:36 +0000 (20:00 +0300)]
Style: Fix flake8 E305 expected 2 blank lines, found 1

After class or function definition.

12 months agoStyle: Fix flake8 E303 too many blank lines
Oleg Broytman [Mon, 4 Sep 2023 16:59:18 +0000 (19:59 +0300)]
Style: Fix flake8 E303 too many blank lines

12 months agoStyle: Fix flake8 E302 expected 2 blank lines, found 1
Oleg Broytman [Mon, 4 Sep 2023 16:56:48 +0000 (19:56 +0300)]
Style: Fix flake8 E302 expected 2 blank lines, found 1

12 months agoStyle: Fix flake8 E265 block comment should start with '# '
Oleg Broytman [Mon, 4 Sep 2023 16:55:14 +0000 (19:55 +0300)]
Style: Fix flake8 E265 block comment should start with '# '

12 months agoStyle: Fix flake8 E261 at least two spaces before inline comment
Oleg Broytman [Mon, 4 Sep 2023 16:52:48 +0000 (19:52 +0300)]
Style: Fix flake8 E261 at least two spaces before inline comment

12 months agoStyle: Fix flake8 E231 missing whitespace after ','
Oleg Broytman [Sat, 2 Sep 2023 22:05:54 +0000 (01:05 +0300)]
Style: Fix flake8 E231 missing whitespace after ','

12 months agoStyle: Silent flake8 E227 missing whitespace around bitwise or shift operator
Oleg Broytman [Sat, 2 Sep 2023 22:02:46 +0000 (01:02 +0300)]
Style: Silent flake8 E227 missing whitespace around bitwise or shift operator

12 months agoStyle: Fix flake8 E124 closing bracket does not match visual indentation
Oleg Broytman [Sat, 2 Sep 2023 21:56:09 +0000 (00:56 +0300)]
Style: Fix flake8 E124 closing bracket does not match visual indentation

12 months agoStyle: Silent flake8 E221 multiple spaces before operator
Oleg Broytman [Sat, 2 Sep 2023 21:42:52 +0000 (00:42 +0300)]
Style: Silent flake8 E221 multiple spaces before operator

Here I prefer to align multiple assignments.

12 months agoStyle: Fix flake8 E203 whitespace before ':'
Oleg Broytman [Sat, 2 Sep 2023 21:41:17 +0000 (00:41 +0300)]
Style: Fix flake8 E203 whitespace before ':'

12 months agoStyle: Fix flake8 E131 continuation line unaligned for hanging indent
Oleg Broytman [Sat, 2 Sep 2023 21:40:14 +0000 (00:40 +0300)]
Style: Fix flake8 E131 continuation line unaligned for hanging indent

12 months agoStyle: Fix flake8 E128 continuation line under-indented for visual indent
Oleg Broytman [Sat, 2 Sep 2023 15:06:10 +0000 (18:06 +0300)]
Style: Fix flake8 E128 continuation line under-indented for visual indent

12 months agoStyle: Fix flake8 E127 continuation line over-indented for visual indent
Oleg Broytman [Sat, 2 Sep 2023 15:00:56 +0000 (18:00 +0300)]
Style: Fix flake8 E127 continuation line over-indented for visual indent

12 months agoDocs: Update TODO
Oleg Broytman [Sat, 2 Sep 2023 11:06:43 +0000 (14:06 +0300)]
Docs: Update TODO

Robot based on `requests`.

12 months agoStyle: Fix flake8 warning E124 closing bracket does not match visual indentation
Oleg Broytman [Sat, 2 Sep 2023 11:02:23 +0000 (14:02 +0300)]
Style: Fix flake8 warning E124 closing bracket does not match visual indentation

12 months agoStyle: Fix flake8 warning E116 unexpected indentation (comment)
Oleg Broytman [Sat, 2 Sep 2023 11:00:24 +0000 (14:00 +0300)]
Style: Fix flake8 warning E116 unexpected indentation (comment)

3 years agoStyle: Fix `flake8` E114
Oleg Broytman [Sun, 23 May 2021 14:20:21 +0000 (17:20 +0300)]
Style: Fix `flake8` E114

6 years agoUpgrade: http://phdru.name -> https://phdru.name
Oleg Broytman [Fri, 25 May 2018 07:27:16 +0000 (10:27 +0300)]
Upgrade: http://phdru.name -> https://phdru.name

7 years agoFix(flad): Unindent code erroneously indented in commit c88cb7a7
Oleg Broytman [Mon, 30 Oct 2017 18:28:19 +0000 (21:28 +0300)]
Fix(flad): Unindent code erroneously indented in commit c88cb7a7

7 years agoFeat(subproc.py): Get rid of module string
Oleg Broytman [Fri, 20 Oct 2017 18:38:32 +0000 (21:38 +0300)]
Feat(subproc.py): Get rid of module string

Use string methods instead of functions.

7 years agoCleanup: Fix flake8 errors/warnings
Oleg Broytman [Thu, 5 Oct 2017 16:22:08 +0000 (19:22 +0300)]
Cleanup: Fix flake8 errors/warnings

7 years agoFix(parse_html): encode title to utf-8 as the last resort
Oleg Broytman [Sun, 13 Aug 2017 17:41:17 +0000 (20:41 +0300)]
Fix(parse_html): encode title to utf-8 as the last resort

7 years agoFix(parse_html): Fix BS4 parser: encode title to utf-8 as the last resort
Oleg Broytman [Sun, 13 Aug 2017 17:40:22 +0000 (20:40 +0300)]
Fix(parse_html): Fix BS4 parser: encode title to utf-8 as the last resort

7 years agoFix(storage): Adapt to the latest Mozilla format
Oleg Broytman [Tue, 1 Aug 2017 22:14:29 +0000 (01:14 +0300)]
Fix(storage): Adapt to the latest Mozilla format

Mobile Bookmarks folder doesn't have children.

7 years agoFix(subproc.py): Carefully close file descriptors
Oleg Broytman [Sat, 1 Jul 2017 00:39:10 +0000 (03:39 +0300)]
Fix(subproc.py): Carefully close file descriptors

Use os.fdopen() to determine if a file descriptor is valid.

7 years agoFix(subproc.py): Clear pid to avoid repeated killing
Oleg Broytman [Sat, 1 Jul 2017 00:38:25 +0000 (03:38 +0300)]
Fix(subproc.py): Clear pid to avoid repeated killing

7 years agoFeat(subproc.py): Run tests
Oleg Broytman [Sat, 1 Jul 2017 00:37:03 +0000 (03:37 +0300)]
Feat(subproc.py): Run tests

7 years agoFix(subproc.py): Test bogus subprocess at the beginning
Oleg Broytman [Sat, 1 Jul 2017 00:34:49 +0000 (03:34 +0300)]
Fix(subproc.py): Test bogus subprocess at the beginning

When is being run in the middle it meddles with the next process.

7 years agoFix(subproc.py): Convert exception from a string to a class
Oleg Broytman [Sat, 1 Jul 2017 00:33:16 +0000 (03:33 +0300)]
Fix(subproc.py): Convert exception from a string to a class

7 years agoDoc(subproc.py): modified by phd
Oleg Broytman [Fri, 30 Jun 2017 23:29:44 +0000 (02:29 +0300)]
Doc(subproc.py): modified by phd

7 years agoHTML parser based on BeautifulSoup4
Oleg Broytman [Sun, 25 Jun 2017 15:18:31 +0000 (18:18 +0300)]
HTML parser based on BeautifulSoup4

7 years agoRemove BeautifulSoup.py
Oleg Broytman [Thu, 22 Jun 2017 20:33:40 +0000 (23:33 +0300)]
Remove BeautifulSoup.py

7 years agoIgnore temporary header file
Oleg Broytman [Fri, 16 Jun 2017 12:39:22 +0000 (15:39 +0300)]
Ignore temporary header file

7 years agoAdd script parse_html/count-parsers
Oleg Broytman [Fri, 16 Jun 2017 12:39:01 +0000 (15:39 +0300)]
Add script parse_html/count-parsers

7 years agoCleanup code: use 4 spaces
Oleg Broytman [Sat, 13 May 2017 19:34:41 +0000 (22:34 +0300)]
Cleanup code: use 4 spaces

7 years agoFeat(Python3): Fix old style repr
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): Fix old style repr

7 years agoFeat(Python3): Fix lambda
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): Fix lambda

7 years agoFeat(Python3): exec statement -> exec() function
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): exec statement -> exec() function

7 years agoFeat(Python3): `<>` -> `!=`
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): `<>` -> `!=`

7 years agoFeat(Python3): `except Error, value` -> `except Error as value`
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): `except Error, value` -> `except Error as value`

7 years agoUpdate docs: Copyright 2017
Oleg Broytman [Sat, 13 May 2017 16:41:59 +0000 (19:41 +0300)]
Update docs: Copyright 2017

7 years agoFeat(Python3): `raise Error, value` -> `raise Error(value)`
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): `raise Error, value` -> `raise Error(value)`

7 years agoUpdate TODO: Prepare for Python 3
Oleg Broytman [Sat, 13 May 2017 16:22:28 +0000 (19:22 +0300)]
Update TODO: Prepare for Python 3

7 years agoFeat(Python3): Use print() function
Oleg Broytman [Sat, 13 May 2017 16:20:21 +0000 (19:20 +0300)]
Feat(Python3): Use print() function

7 years agoMove README.html to gitweb/
Oleg Broytman [Fri, 28 Apr 2017 19:47:02 +0000 (22:47 +0300)]
Move README.html to gitweb/

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

8 years agoUpdate TODO
Oleg Broytman [Sat, 22 Oct 2016 08:22:56 +0000 (11:22 +0300)]
Update TODO

8 years agoTODO: Python 3
Oleg Broytman [Sun, 9 Oct 2016 20:40:19 +0000 (23:40 +0300)]
TODO: Python 3

8 years agoRefactor find parameters
Oleg Broytman [Thu, 26 May 2016 13:26:58 +0000 (16:26 +0300)]
Refactor find parameters

There is no need to search files in depth. Optimization: filter by name
then by type.

8 years agoFix: convert unicode icon URLs to utf-8
Oleg Broytman [Sat, 2 Apr 2016 19:27:58 +0000 (22:27 +0300)]
Fix: convert unicode icon URLs to utf-8

8 years agoFix: do not write LAST_MODIFIED is it's None
Oleg Broytman [Sat, 2 Apr 2016 19:27:29 +0000 (22:27 +0300)]
Fix: do not write LAST_MODIFIED is it's None

8 years agoCopyright 2015
Oleg Broytman [Sun, 27 Dec 2015 16:49:46 +0000 (19:49 +0300)]
Copyright 2015

8 years agoExport given treeish or HEAD
Oleg Broytman [Sun, 27 Dec 2015 16:42:30 +0000 (19:42 +0300)]
Export given treeish or HEAD

9 years agoFix a bug: html_tree may have no childNodes
Oleg Broytman [Tue, 1 Dec 2015 16:45:20 +0000 (19:45 +0300)]
Fix a bug: html_tree may have no childNodes

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

9 years agoDo not compyleall in archive (clean) repository
Oleg Broytman [Sat, 24 Jan 2015 17:35:51 +0000 (20:35 +0300)]
Do not compyleall in archive (clean) repository

9 years agoReformat ChangeLog: remove "WHAT'S NEW", squeeze empty lines
Oleg Broytman [Sat, 24 Jan 2015 17:33:28 +0000 (20:33 +0300)]
Reformat ChangeLog: remove "WHAT'S NEW", squeeze empty lines

10 years agoRulers can have no title
Oleg Broytman [Wed, 17 Sep 2014 09:24:26 +0000 (13:24 +0400)]
Rulers can have no title

10 years agoDo not distribute to ALL: all is enough
Oleg Broytman [Fri, 15 Aug 2014 17:00:20 +0000 (21:00 +0400)]
Do not distribute to ALL: all is enough

10 years agoTODO: a program to collect and check links from a site
Oleg Broytman [Mon, 21 Jul 2014 08:12:02 +0000 (12:12 +0400)]
TODO: a program to collect and check links from a site

10 years agoTODO: Configuration file
Oleg Broytman [Sun, 6 Jul 2014 19:29:37 +0000 (23:29 +0400)]
TODO: Configuration file

10 years agoVersion 4.6.0 v4.6.0
Oleg Broytman [Sun, 6 Jul 2014 19:28:39 +0000 (23:28 +0400)]
Version 4.6.0

10 years agocompyleall
Oleg Broytman [Sun, 6 Jul 2014 12:19:48 +0000 (16:19 +0400)]
compyleall

10 years agoChange default subprocess robot to urllib2
Oleg Broytman [Sun, 6 Jul 2014 12:16:18 +0000 (16:16 +0400)]
Change default subprocess robot to urllib2

10 years agoHandle ftp - get welcome message
Oleg Broytman [Sun, 6 Jul 2014 12:13:51 +0000 (16:13 +0400)]
Handle ftp - get welcome message

10 years agoMerge bkmk_rurllib_to.py into bkmk_robot_base.py
Oleg Broytman [Sun, 6 Jul 2014 12:02:23 +0000 (16:02 +0400)]
Merge bkmk_rurllib_to.py into bkmk_robot_base.py

10 years agoHandle HTTPException and IOError (socket errors)
Oleg Broytman [Sun, 6 Jul 2014 01:39:54 +0000 (05:39 +0400)]
Handle HTTPException and IOError (socket errors)

Log all errors.

10 years agoMinor refactoring: rename msg to e
Oleg Broytman [Sun, 6 Jul 2014 01:34:29 +0000 (05:34 +0400)]
Minor refactoring: rename msg to e

10 years agoAdd robot based on urllib2
Oleg Broytman [Sun, 6 Jul 2014 01:22:31 +0000 (05:22 +0400)]
Add robot based on urllib2

10 years agoDon't use urllib._urlopener - it isn't available with urllib2
Oleg Broytman [Sun, 6 Jul 2014 01:11:24 +0000 (05:11 +0400)]
Don't use urllib._urlopener - it isn't available with urllib2

10 years agoMinor refactoring
Oleg Broytman [Sun, 6 Jul 2014 01:04:43 +0000 (05:04 +0400)]
Minor refactoring

10 years agoRemove self.cleanup
Oleg Broytman [Fri, 4 Jul 2014 22:56:11 +0000 (02:56 +0400)]
Remove self.cleanup