Commit Graph

130 Commits

Author SHA1 Message Date
rafspiny ef8ebed4f5 The app was not able to add a torrent.
Summary:
Plus, the app was crashing when the Dialog to add a torrent was being closed.
This is due to some not very clear memory issue in freeing the Dialog box.
Unable to identify the root cause, I moved the .delete() of the Dialog at the shutdown of the application.

Fixes #T8885

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D12297
2021-10-15 08:21:50 +01:00
rafspiny c7264e9ed5 Boost compatibility with recent libtorrent versions.
Summary:
Since libtorrent 1.2.0.0, several things have changed:
* Session are handled differently. Must use get_settings() instead of calling settings()
* Also set_settings() has been removed. Now apply_settings() must be used.
* The way proxies are stored has changed too.

Everything has been made backwords compatible.

Plus, I took the liberty of getting rid of the cgi module.
cgi.escape() as been deprecated since Python 3.2
So I replaced it with the html module, as recommended from the Python documentation:
 - https://docs.python.org/3.7/library/cgi.html

Fixes #T8885

Reviewers: DaveMDS, kuuko, ProhtMeyhet

Subscribers: ali.alzyod

Differential Revision: https://phab.enlightenment.org/D12276
2021-05-23 19:40:45 +01:00
Kai Huuhko 028d7873d7 Release 0.7.0 2017-05-08 04:12:15 +03:00
Kai Huuhko 09c15bfd7a Add local fallback for theme file
Useful for development
2017-05-08 01:03:20 +03:00
Kai Huuhko 0cfc9a8653 Allow action menu to be activated by right click 2016-09-21 14:50:32 +03:00
Kai Huuhko e20d6c3788 Fix tooltips for torrents without metadata 2016-09-20 14:24:18 +03:00
Kai Huuhko 09440577a0 Fix progressbar updates 2016-09-14 18:30:37 +03:00
Kai Huuhko dd72a3f2a1 Theme: Use custom style name and remove call to extension_add 2016-09-13 13:50:00 +03:00
Kai Huuhko 8709cc1c9f Add custom theme and icons
Genlist items have a translucent background with simple progressbar on top of that.
2016-09-13 00:21:50 +03:00
Kai Huuhko 9037ecddc4 Change gui to use add_torrent_alert instead of torrent_added_alert
This may fix a bug that I was unable to reproduce. Anyway, should be more robust.
2016-09-07 18:18:29 +03:00
Kai Huuhko 9a07cce43a Fix adding auto paused torrents
Auto managed flag was reversed
2016-09-05 13:15:02 +03:00
Kai Huuhko 8b7f4a9e55 Add i2p proxy type to proxy settings 2016-08-31 04:41:52 +03:00
Kai Huuhko e7e2766b69 Fix state and status updates 2016-08-31 04:40:01 +03:00
Kai Huuhko 7433ec2483 Fix restoring paused torrents to session 2016-08-30 19:32:46 +03:00
Kai Huuhko 8f808340cd Preferences: Fix py2ism 2016-08-29 18:47:12 +03:00
Kai Huuhko fa3366552f Use DialogWindow instead of StandardWindow for child windows 2016-08-26 22:13:05 +03:00
Kai Huuhko 192d58cfe5 Use the new "indent" style in TorrentFiles tree items 2016-08-26 21:13:47 +03:00
Kai Huuhko 65a35cf741 Add back handling of torrent paused/resumed 2016-08-16 12:39:55 +03:00
Kai Huuhko 194b1815c8 Update valid options and strings in TorrentSelector 2016-08-16 12:38:36 +03:00
Kai Huuhko 0b1b72fcac Change internals to work with newer libtorrent versions
This will once again change the save format of the torrent list, hopefully for the last
time.
2016-08-04 18:25:07 +03:00
Kai Huuhko cb3c4b7f66 Add compatibility for lt-rb 1.0 and py3k
Beware, may remove your torrents from the app.

lt-rb >= 1.0 is now a requirement
2015-05-17 02:52:57 +03:00
Kai Huuhko 8a45182cc4 Use window mode for torrent tooltips 2015-04-22 09:40:03 +03:00
Kai Huuhko 8fa5289b06 Add I18N support to gui with gettext 2015-04-22 09:05:57 +03:00
Kai Huuhko 522959b225 Add dialog: Convert flags to bool before use, disallow dups by default
Flags are converted to bool before using them as Check state since
Eina_Bool doesn't accept values >sizeof(uchar)
2015-04-22 05:31:26 +03:00
Kai Huuhko 055a4e86a1 Improve torrent data save location entry in torrent add dialog
Use fs.path instead of fs.selected for getting the path, allows user to
enter the path in the entry widget
2015-04-22 05:06:46 +03:00
Kai Huuhko 59b7544370 Use more xdg icon names 2015-04-22 05:05:55 +03:00
Kai Huuhko f834a16b24 Simplify the torrent add dialog 2015-04-15 18:03:33 +03:00
Kai Huuhko c7f05643c4 Handle setting the standard icons better 2015-03-21 01:39:26 +02:00
Kai Huuhko f285844df7 gui.menu: Fix the torrent menu remaining open when props is selected 2014-10-17 16:55:50 +03:00
Kai Huuhko 4565bc4ab3 Fix a couple more relative imports 2014-09-05 08:32:46 +03:00
Kai Huuhko 8dae070215 Make the torrent list items selectable which also enables kb navigation 2014-09-05 07:16:07 +03:00
Kai Huuhko 3c9170cc67 Use explicit relational imports 2014-09-04 12:44:56 +03:00
Kai Huuhko 0333f78cbb Fix torrent menu item force dht announce and add shortcut for files 2014-08-13 04:21:23 +03:00
Kai Huuhko d704c5e13c Add some font styles to ui strings 2014-08-13 04:17:01 +03:00
Kai Huuhko 1fe0cf1b84 Pause gui updates when iconized/withdrawn 2014-07-20 13:59:30 +03:00
Kai Huuhko 9e0dddcb9f Add upload slots to session status 2014-07-19 23:23:02 +03:00
Kai Huuhko b6d117af84 Delete update timers when tearing down gui 2014-07-19 22:52:40 +03:00
Kai Huuhko 7fb1efddba Check that torrent has metadata before attempting to display tooltip 2014-07-18 22:11:14 +03:00
Kai Huuhko bf94bf347d fix libtorrent 1.0.0 compatibility wrt. proxy settings 2014-07-18 05:50:06 +03:00
Kai Huuhko 73dc6cee0a Fix brainos in a few lambdas 2014-07-13 20:21:32 +03:00
Kai Huuhko 3cfbcc1841 Update proxy settings with couple new options 2014-07-10 21:51:36 +03:00
Kai Huuhko 607f30f710 Fix ActSWithLabel value_get 2014-07-10 18:40:50 +03:00
Kai Huuhko 0e4366e627 Move prefs widgets -> widgets, update TODO 2014-07-10 18:02:11 +03:00
Kai Huuhko eb0cfb780d Fix torrent props status update 2014-07-10 16:11:56 +03:00
Kai Huuhko 14744a326b Fix encryption settings 2014-07-10 16:00:37 +03:00
Kai Huuhko a3b8af7d4d Make block graph a widget, have it update 2014-07-10 02:13:11 +03:00
Kai Huuhko a8b666effd Change the add-dialog options to be less confusing 2014-07-10 00:51:49 +03:00
Kai Huuhko 2505aa214c Add some torrent settings and fix a couple of issues in UnitSpinner 2014-07-09 18:05:44 +03:00
Kai Huuhko e02a0186a0 Add torrent status info to torrent props
torrent props is now a window instead of inwin
2014-07-08 09:54:24 +03:00
Kai Huuhko cab124ca29 Add a bit of sanity to UnitSpinner 2014-07-08 04:37:44 +03:00