Commit Graph

635 Commits

Author SHA1 Message Date
arvidn 081365fbcf merge RC_1_1 into master 2017-02-26 00:48:12 -05:00
Alden Torres 97c8d0486c fixing sign-conversion warnings, part 21, file_flags (#1750)
fixing sign-conversion warnings, part 21, file_flags
2017-02-25 19:06:31 -05:00
arvidn 2258b53d87 in python binding, make announce_entry::last_error a dict instead of error_code 2017-02-24 22:22:48 -05:00
arvidn 3b359abc14 add pickle support to error_code python binding 2017-02-22 07:50:08 -05:00
Calum Lind 0e500978cd Add a python bindings test for pickling trackers
* If ae.last_error (lt.error_code) is not converted in bindings to a dict
 then pickling the trackers with fail.
2017-02-22 07:50:08 -05:00
sledgehammer_999 9bb420b074 Move include into implementation instead(from #1703). 2017-02-21 20:19:53 -05:00
arvidn 6d40d3a167 bump version number 2017-02-20 12:43:34 -05:00
arvidn 2c51c59327 merge RC_1_1 into master 2017-02-18 13:29:12 -05:00
arvidn 799cd8163b fix python binding of create_torrent 2017-02-17 07:45:43 -05:00
arvidn 3ffa3f2a08 merged RC_1_1 into master 2017-02-17 00:35:49 -05:00
Arvid Norberg 116802fcdf update tuning documentation (#1717)
update tuning documentation and make the stats header be posted when logging is disabled (if stats_notifications are enabled)
2017-02-16 07:03:43 -05:00
arvidn cbd1c26a11 fix ABI compatibility issue introduced with preformatted entry type 2017-02-12 20:42:30 -05:00
arvidn 21c9a493f6 fix master build 2017-02-12 08:33:25 -05:00
arvidn 5971818969 merge RC_1_1 into master 2017-02-12 02:24:14 -05:00
arvidn db32618c39 system_clock fix 2017-02-11 08:07:43 -05:00
Calum Lind 4492cada4a Backport time_point to python convertor. Fix bindings returning invalid date from time_point convertor 2017-02-11 08:07:43 -05:00
Calum Lind de30f357b3 Add missing announce_entry properties to python bindings
Fix and refactor the announce_entry class
 - Removed verified from torrent_handle dict to announce_entry as it's read-only.
 - Changed source and send_stats to read_write properties.
 - Switched trivial type properties to using read_only or read_write.
2017-02-11 08:07:43 -05:00
arvidn cc9f40bff9 if brew fails on travis, retry automatically 2017-02-10 18:56:03 -05:00
Arvid Norberg 9e4045ed42 use 32 bit time points in torrent (#1662)
use 32 bit time points in torrent and add some slack to time point comparisons in python test
2017-02-05 19:18:06 -05:00
arvidn 381defab05 merged RC_1_1 into master 2017-02-05 12:51:48 -05:00
arvidn 7ff4f56ae2 add function to get default settings 2017-02-05 11:31:43 -05:00
Falcosc a9d6d54111 fix multible torrent status timer bugs related to move time (#1492)
fix last_upload and last_download overflow after 9 hours in past. change last_upload, last_download, finished_time,  resume, upload_mode_time to time_point and duration
2017-02-04 13:34:14 -05:00
arvidn 95c8c1de0f fix build 2017-01-28 21:26:46 -05:00
arvidn 6b91adab6a merged RC_1_1 into master 2017-01-28 14:36:23 -05:00
Arvid Norberg 7285813449 fix merge issue in python endpoint converter (#1625)
fix merge issue in python endpoint converter
2017-01-25 23:42:26 -05:00
Falcosc c979802ce9 add check and test for torrent parameter (#1541)
add test and fix for add_torrent_params python binding
2017-01-24 09:26:11 -05:00
Falcosc 32e0028e32 Fix python client (#1512)
extend python test to include examples. add piece index and block index python bindings
2017-01-24 08:50:36 -05:00
arvidn 62db98ca09 add missing min_memory_usage() and high_performance_seed() settings presets to python 2017-01-24 01:34:05 -05:00
arvidn 173951ec7f merged RC_1_1 into master 2017-01-21 02:28:29 -05:00
Calum Lind d32ed4b9de Fixup python code in bindings to pass PEP8 codestyle
* Passes Flake8 default settings.
 * Tabs replace spaces
 * Ensure print_function available for python2
2017-01-21 00:21:54 -05:00
arvidn 27001750a4 add python binding for generate_fingerprint 2017-01-16 14:27:02 -05:00
Calum Lind 748c6e0da0 Fix debug flags and add option to python build
* The '-g' flag are being passed in by CXXFLAGS and CFLAGS so ensure
   that debugging builds are actually off by adding '-g0' to DEBUG_FLAGS.
 * Add DEBUG_FLAGS to Python compiler options.
2017-01-16 13:41:37 -05:00
Calum Lind fc3eae8e9b [#1561] Silence deprecated warnings in Python bindings 2017-01-16 13:41:37 -05:00
arvidn 450a8fb170 fix add_torrent_params field in add_torrent_alert. include more fields in dict -> add_torrent_param converter for add_torrent/async_add_torrent 2017-01-16 11:37:17 -05:00
Arvid Norberg d4672f41ba fix python binding issue with string_view (#1560)
fix python binding issue with string_view
2017-01-15 14:42:22 -05:00
arvidn 934c58a816 merged RC_1_1 into master 2017-01-15 00:45:17 -05:00
Calum Lind de499310f5 [#1217] Fix RuntimeWarning registering pointer with Python
This fix checks for existing registered pointers for alert so that Boost
does not output the following warning when importing libtorrent in Python:

> RuntimeWarning: to-Python converter for boost::shared_ptrlibtorrent::alert already registered; second conversion method ignored.
2017-01-14 22:41:38 -05:00
Calum Lind 9b30d09099 [#1543] Fix missing C++11 flag for building python bindings
* Extract the flags from CXX and put into CXXFLAGS which is
   passed into setup.py extra_compile_args.
 * Remove now redundant os.environ test in setup.py
2017-01-14 19:30:25 -05:00
arvidn febcbbf17c fix make_torrent.py to not use deprecated functions 2017-01-14 16:04:01 -05:00
arvidn ea6e29d23f fix python binding time_point conversion 2016-12-31 12:33:50 -05:00
arvidn 8800cae585 fix msvc-warning in python binding 2016-12-31 02:01:29 -05:00
arvidn 4f89b397b1 fix python build 2016-12-29 15:06:56 -08:00
arvidn 59b322bc79 merged RC_1_1 into master 2016-12-29 08:54:28 -08:00
Arvid Norberg f1e34dfbd5 remove long-standing deprecated filter_pieces functions (#1457)
remove long-standing deprecated filter_pieces functions
2016-12-27 12:42:23 -08:00
arvidn eb5b0e9897 fix another c++98 issue 2016-12-24 11:27:58 -08:00
arvidn fa7846d1fd fix c++98 build 2016-12-24 08:40:49 -08:00
Arvid Norberg a6de426d1e add file_status to python binding (#1448)
add more missing functions to python bindings
2016-12-23 13:57:10 -08:00
arvidn 3f612d7e99 cleaning up of left-overs from torrent eviction functionality 2016-12-23 06:06:59 -05:00
arvidn 820fd29bff add missing session stats functions to python bindings 2016-12-23 06:06:44 -05:00
Arvid Norberg 3f1084d63d strengthened type safety in handling of piece and file indices (#1409)
strengthened type safety in handling of piece and file indices
2016-12-22 10:42:33 -05:00