Commit Graph
87 Commits
Author SHA1 Message Date
Arvid NorbergandArvid Norberg 69001184e1 transition more test facilities to use add_torrent_params and load_torrent_buffer() instead of the deprecated use of torrent_info 2025-02-13 16:19:50 +01:00
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
luzpazandArvid Norberg 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn 95c386b10a merged RC_2_0 into master 2023-04-01 08:53:33 +02:00
Arvid NorbergandArvid Norberg 7a266700af add validation of enum settings when asserts are enabled. When logging is enabled, print a session log if invalid values are set 2023-03-26 16:41:18 +02:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidnandArvid Norberg 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn 7d196867fa merged RC_2_0 into master 2022-06-08 00:30:15 +02:00
arvidnandArvid Norberg 276a63afea random cleanup 2022-06-06 16:34:41 +02:00
arvidnandArvid Norberg 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidnandArvid Norberg 0d3f80bedd update copyright and license headers (of a few new files merged from RC_2_0) 2021-03-29 19:35:45 +02:00
Alden TorresandArvid Norberg 999035a200 moved random.hpp to aux 2021-01-11 23:58:31 +01:00
Arvid Norberg b4b8060f9d merged RC_2_0 into master 2020-12-24 17:32:20 +01:00
arvidn e185832c74 merged RC_1_2 into RC_2_0 2020-12-20 20:56:22 +01:00
arvidnandArvid Norberg f4d58ae4b3 fix time_now_string to not use a global variable for the returned string 2020-12-19 23:59:07 +01:00
arvidnandArvid Norberg 19e8c2f3ea remove full BSD license from all source files. reference LICENSE file in the root instead 2020-09-02 00:56:54 -07:00
arvidnandArvid Norberg 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn a2d59a00b2 merged RC_1_2 into master 2020-04-13 23:51:43 +02:00
arvidnandArvid Norberg 744e5bcfa6 make test_privacy less likely to fail spuriously 2020-04-11 16:17:48 +02:00
arvidnandArvid Norberg 3e47161820 move session_params into its own header/cpp pair 2019-11-30 21:40:01 +01:00
arvidnandArvid Norberg d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
Steven SilotiandArvid Norberg 575eb32c71 announce hybrid torrents on both v1 and v2 infohashes 2019-08-10 09:28:38 -07:00
arvidn 87a689a0ad merged RC_1_2 into master 2019-03-30 17:22:46 +01:00
arvidnandArvid Norberg 64600f444b improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' 2019-03-26 10:14:06 +01:00
arvidnandArvid Norberg f509df655d update naked news to make_unique 2019-02-22 10:48:50 +01:00
arvidnandArvid Norberg d140d1e20d update addresses 2019-02-11 20:19:08 +01:00
arvidn 109db58641 merge RC_1_1 into master 2018-09-25 21:33:29 -07:00
arvidnandArvid Norberg 6c4d1b9143 back-port the patch to split up the progress_notification alert_mask into three new categories, file-, piece- and block progress 2018-09-24 08:52:30 -07:00
Arvid NorbergandArvid Norberg b3856d3027 narrow the scope affected by TORRENT_DISABLE_EXTENSIONS to only disable the user extensions, but always support the extension message and the built-in extensions, like lt_donthave and seed_mode 2018-07-26 09:31:49 +02:00
arvidnandArvid Norberg b750b6cc2c deprecate (and disable) the force-proxy setting. Instead, always use the proxy when set, never fall back on circumventing it 2018-07-08 18:26:47 +02:00
arvidnandArvid Norberg fe612ca167 replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options 2018-05-13 19:25:17 +02:00
Arvid NorbergandArvid Norberg 6efff919cd deprecated alert::progress_notification alert category, split into finer grained categories 2018-04-05 16:27:28 +02:00
Alden TorresandArvid Norberg 070d1cd61f fixing warnings in tests code, part5 (#2736) 2018-01-28 00:56:21 +01:00
Alden TorresandArvid Norberg 8d379dd944 fixing warnings in tests code, part3 2018-01-25 09:09:21 +01:00
arvidn 7b06a5ee6e merged RC_1_1 into master 2017-12-13 12:36:35 +01:00
arvidnandArvid Norberg b00b3184c0 some minor i2p cleanups 2017-12-08 09:57:21 +01:00
arvidnandArvid Norberg b38efb6c65 make alert category flags be a strong type 2017-07-26 07:20:47 -07:00
arvidnandArvid Norberg 4947602a2f make add_torrent_params::flags_t an enum class and move it out into its own header 2017-07-17 01:05:31 -07:00
arvidnandArvid Norberg d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
arvidnandArvid Norberg 79d7ae3638 separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class 2017-04-11 18:07:55 -04:00
Arvid NorbergandGitHub 64ad4f5c96 enable warnings when building tests (#1880) 2017-04-02 14:22:17 -04:00
Arvid NorbergandGitHub 57f52adc88 various cleanup (#1497)
* various cleanup

* fix

* cleanup
2017-01-06 01:39:01 -05:00
arvidnandArvid Norberg 20aeed09e1 clean up tests 2016-11-12 17:39:34 -05:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -04:00
arvidn 74fc0fae9d merged RC_1_1 into master 2016-08-21 16:28:49 -04:00
Arvid NorbergandGitHub 80e5ce9b32 add a default DHT bootstrap node when it's enabled on session startup (#1008)
make the dht bootstrap nodes part of settings_pack instead, to make it possible to set them on startup. and add default
2016-08-21 12:15:19 -04:00
Alden TorresandArvid Norberg bb388563b3 refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
Arvid NorbergandGitHub 71f5510d62 make the random function produce proper random distributions, based o… (#981)
make the random function produce proper random distributions, based on uniform_int_distribution of C++11. also clean up piece_picker's priority_range to return two results instead of taking pointers to out-parameters. fix recent pe-crypto regression exposed by this change
2016-08-06 13:18:48 -04:00
Arvid NorbergandGitHub 770935cd46 modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
Arvid NorbergandGitHub eda956f13a use standard library for suspending threads (#855)
use standard library for suspending threads
2016-06-26 09:24:06 -04:00