Commit Graph

36 Commits

Author SHA1 Message Date
Thomas Perl 37e296c629 [shebang] Change /usr/bin/python -> /usr/bin/env python3
This should fix "unusual interpreter" Lintian warnings here:
https://udd.debian.org/lintian/?packages=gpodder
2022-08-04 11:53:08 +02:00
MarkusHackspacher a1e7e1dcbe fix E226 missing whitespace around arithmetic operator 2018-03-27 21:40:36 +02:00
MarkusHackspacher 52ddd60434 fix E228 missing whitespace around modulo operator
see issue https://github.com/gpodder/gpodder/issues/393
2018-03-18 01:00:02 +01:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
Eric Le Lay 40778c8373
Merge pull request #400 from MarkusHackspacher/codestyle2
fix E305 expected 2 blank lines after class or function definition
2018-02-10 14:05:26 +01:00
MarkusHackspacher 955499fcd1 fix E305 expected 2 blank lines after class or function definition 2018-02-10 11:11:20 +01:00
MarkusHackspacher 9dca8e0506 fix E306 expected 1 blank line before a nested definition 2018-02-06 18:33:52 +01:00
Thomas Perl 98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Thomas Perl 7b46a0ee72 Update copyright years (2017) 2017-12-16 13:54:59 +01:00
Eric Le Lay a4e41c09b7 python 3.6 SQLite compat vacuum in transaction
fixes sqlite3.OperationalError: cannot VACUUM from within a transaction
solution from https://bugs.python.org/issue28518
2017-01-29 16:30:17 +01:00
Adam Voss bfcf1c5e1a Fixes some exceptions related to bytes vs str handling 2016-12-07 12:40:12 -06:00
Thomas Perl 5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Thomas Perl 36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl 553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Thomas Perl bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Thomas Perl 57c9868dfd Vacuum minidb-based databases too (bug 1721) 2012-11-28 20:57:38 +01:00
Thomas Perl 938447d24c Merge gpodder.minidb fixes from Harmattan branch
Optimized code path for saving multiple items.
2012-01-19 11:54:23 +01:00
Thomas Perl 5411f3fc2f Python 3: Initial support for Python 3 (CLI)
This changeset makes gPodder's codebase convertable
to Python 3 using the "2to3" utility. Right now, only
the CLI module (bin/gpo) has been tested.

See the README file for instructions and remarks.
2012-01-10 13:47:20 +01:00
Thomas Perl 5205a4b71d Update copyright years (add 2012) 2012-01-09 21:19:24 +01:00
Thomas Perl 4376057001 Update copyright years 2011-04-01 18:59:53 +02:00
Thomas Perl 3c5fd0ef23 minidb: Fix encoding issue (bug 1088)
Make sure that utf-8 strings are converted
to unicode before sending to the database.
2011-02-03 13:14:45 +01:00
Thomas Perl 53f83892d3 Update website URL and e-mail address 2010-11-22 19:40:29 +01:00
Ville-Pekka Vainio 92bf1255c4 minidb: Convert values in remove (RH bug 619295, gpo bug 1088)
Make convert an instance method and
convert the values in remove too.

See also:
RedHat bug 619295 and gPodder bug 1088
2010-08-21 00:03:04 +02:00
Thomas Perl d76e1c17b4 Remove SQL print statements in minidb 2010-06-12 15:15:02 +02:00
Thomas Perl 1bb1c1aba3 Ignore rows with invalid values in minidb 2010-06-12 15:07:05 +02:00
Thomas Perl f36e338caa minidb: Add support for high-level bulk deletion 2010-06-04 19:40:54 +02:00
Thomas Perl a725418c82 Read strings from database as utf-8 in minidb 2010-05-18 11:59:08 +02:00
Thomas Perl aa7911a945 Merge improvements for minidb 2010-05-17 21:42:43 +02:00
Thomas Perl cf44f7c30e Code cleanup: Remove unused imports 2010-05-17 18:26:13 +02:00
Thomas Perl 3642e4e229 Fix sqlite3 dependency issue (bug 1005)
Still allow for pysqlite2 to be used as
a dependency instead of the built-in
SQLite 3 module from Python.
2010-05-01 10:45:47 +02:00
Thomas Perl bb3dda528e Replace fetchall() by iterators where possible 2010-04-26 20:36:52 +02:00
Thomas Perl 5b618d55c3 Backwards-compatible fix for minidb 2010-04-23 17:54:36 +02:00
Thomas Perl e1173c895a mygpo: Support for episode actions
Add support for uploading "play", "download",
and "delete" actions. Downloading of episode
actions is also supported, the downloaded
actions are only queued at the moment, not
yet processed.
2010-01-28 23:58:28 +01:00
Thomas Perl f5b6cebfad mygpo: Better integration + Fremantle UI
Replace the JSON-based persistence layer with
"minidb", a SQLite-based object persistence
layer, and make the UI request changes from
the API client when it thinks it fits best.

Also, add a Hildonized UI of the mygpo settings
dialog for Maemo 5.
2010-01-28 17:39:10 +01:00