Commit Graph

170 Commits

Author SHA1 Message Date
Arvid Norberg 682ceff21b improve messaging of assert caused by precondition violation 2014-03-23 07:40:43 +00:00
Arvid Norberg 6120b78704 merged python fixes from RC_0_16 2014-03-23 00:49:58 +00:00
Arvid Norberg a943fec777 update copyright 2014-02-23 19:12:25 +00:00
Arvid Norberg 4e6b1cfbfb update copyright 2013-12-25 17:07:16 +00:00
Arvid Norberg f11959b235 fix initialization order warnings 2013-11-28 08:48:17 +00:00
Arvid Norberg fc2fc8dfb2 fix initialization order warnings. pack peer_connection and torrent 2013-11-26 07:47:48 +00:00
Arvid Norberg fe414878b2 cleanup of ABI breaking configuration options. TORRENT_DEBUG is believed to no longer affect the ABI of libtorrent. introduce a warning in gen_reference_doc.py for when defines are used in public structs. fix build with deprecated functions off 2013-11-17 22:38:37 +00:00
Arvid Norberg 25e53cd799 fix set_naem() on file_storage actually affecting save paths 2013-11-17 08:02:16 +00:00
Arvid Norberg 01c42720e1 fix some deprecation issues (use interfa) 2013-10-14 02:25:21 +00:00
Arvid Norberg 2b7897700d fix deprecation warning 2013-10-07 07:45:36 +00:00
Arvid Norberg 1dd5e5128b fix issue in internal_file_entry when assigning an empty string that's borrowed 2013-10-05 04:18:24 +00:00
Arvid Norberg 3bd53f88ef fix build with internal_file_entry being deprecated without deprecated functions 2013-08-12 07:30:57 +00:00
Arvid Norberg 85bb6a1839 move create_torrent documentation into headers. deprecate API touching internal_file_entry 2013-08-12 03:18:43 +00:00
Arvid Norberg e7db8d37a2 merge deprecation of wstring overloads from RC_0_16 2013-08-02 05:03:22 +00:00
Arvid Norberg 8f3723cdef support renaming files to absolute paths 2013-06-09 22:30:02 +00:00
Arvid Norberg 92cedf82cf fix the off-by-one errors in file_storage as well as a NULL conversion warning (typo) 2013-03-17 22:05:09 +00:00
Arvid Norberg 96c62bc4b8 merged fix from RC_0_16 2013-02-28 03:29:33 +00:00
Arvid Norberg 89acabce7e merged padfile change from RC_0_16 2013-01-30 08:33:34 +00:00
Arvid Norberg 00c1017f16 minor optimization in file_storage::map_file 2012-11-29 06:44:03 +00:00
Arvid Norberg bff648a89e update copyright dates and add tool to do so 2012-10-02 03:16:33 +00:00
Arvid Norberg d181b2e057 merge pad_file_at optimization from libtorrent_aio 2012-09-30 20:55:12 +00:00
Arvid Norberg c56901e864 improve web seed hash failure mode 2012-09-29 17:46:41 +00:00
Arvid Norberg 52f679d5dc add file_name() to file_storage 2012-08-31 02:31:37 +00:00
Arvid Norberg fdc25967c2 merged string function cleanup from RC_0_16 2012-08-26 15:26:17 +00:00
Arvid Norberg 532e514c00 improve torrent file creator optimizer a bit 2012-08-12 21:18:38 +00:00
Arvid Norberg 3d227a2acc optimized the torrent creator optimizer to scale significantly better with more files 2012-08-12 19:46:24 +00:00
Arvid Norberg 1f32bdab5a fix crash when creating torrents and optimizing file order with pad files 2012-08-12 19:16:20 +00:00
Arvid Norberg a2cb2c9bca make the file_storage interface a bit more sane, and fixed typos in make_torrent documentation 2012-03-26 16:07:55 +00:00
Arvid Norberg 619c375528 don't inline large functions 2012-03-19 06:06:52 +00:00
Arvid Norberg 30d02f6b7a fix potential integer overflows and a typo in boost_version conditional 2012-02-27 06:26:11 +00:00
Arvid Norberg a849d73602 add runtime check for size < 0 to file_storage::add_file 2012-02-25 10:49:50 +00:00
Arvid Norberg 6627ae86d6 fixed integer overflow in file_storage::map_file 2012-02-21 07:43:25 +00:00
Arvid Norberg c82695ef8e fix negative file size to add_file 2012-02-07 03:45:13 +00:00
Arvid Norberg ec5555940b fix integer overflow assert 2011-12-24 20:13:51 +00:00
Arvid Norberg 6aba061cb8 fix pad file bug in create_torrent and amend docs about pad files 2011-11-25 09:45:28 +00:00
Arvid Norberg c342355ab2 back-ported an iterator-debug fix from libtorrent_aio 2011-11-16 02:27:28 +00:00
Arvid Norberg 01405f32ee added async_add_torrent for increased performance when adding many torrents (no documentation yet though) 2011-10-12 10:27:17 +00:00
Arvid Norberg f6f516bed0 fix file_storage copy constructor (would break python bindings) 2011-06-06 07:47:29 +00:00
Arvid Norberg 38caeb43d2 use snprintf instead of sprintf 2011-03-30 16:04:24 +00:00
Arvid Norberg 283b34c439 improve torrent file ordering optimization 2011-03-22 02:27:54 +00:00
Arvid Norberg f22cf00aa4 add comments to the pad file logic 2011-02-21 06:57:03 +00:00
Arvid Norberg 141ada013f fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way 2011-02-21 05:24:41 +00:00
Arvid Norberg 5864a883e6 fixed build warnings 2011-02-14 01:59:01 +00:00
Arvid Norberg 2e69366b02 reverted part of the file_storage API to match the previous one more closly 2010-11-29 05:44:29 +00:00
Arvid Norberg faccbd8ae3 introduce safety limit on total number of items in bencoded trees in lazy_bdecode. Document lazy_bdecode and its error codes. Make dump_torrent able to change the decoding limits 2010-11-25 02:49:50 +00:00
Arvid Norberg 894db973e8 optimized memory usage of torrent_info and file_storage 2010-11-24 23:49:22 +00:00
Arvid Norberg 8c404cc5c1 optimized memory usage of torrent_info 2010-11-15 05:10:36 +00:00
Arvid Norberg 559c4bdf65 fixed some msvc warnings 2010-10-16 15:24:45 +00:00
Arvid Norberg b7b542f587 optimized file_pool lookups and string handling 2010-08-23 08:48:02 +00:00
Arvid Norberg 80fbe4d5ef fixed build issues 2010-08-22 17:47:07 +00:00
Arvid Norberg 7db5996abc header dependency fix 2009-11-26 18:31:27 +00:00
Arvid Norberg a80b2b0fce fixed torrent_info copy constructor. restricted copying of lazy_entry. Fixed build. added pascal_string type to be used with lazy_entry (trunk only) 2009-11-26 06:54:52 +00:00
Arvid Norberg c418165e07 replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability) 2009-10-26 01:29:39 +00:00
Arvid Norberg 51992dda6a added new alert when individual files complete 2009-07-04 04:58:24 +00:00
Arvid Norberg ece98a8ef6 * added support for storing symbolic links in .torrent files 2009-07-01 08:35:45 +00:00
Arvid Norberg 5de60fad78 added support for preserving modification time of files in torrents 2009-06-23 02:50:41 +00:00
Georg Rudoy 8f5e69d610 Fix build on GCC 4.4. 2009-06-22 16:13:16 +00:00
Arvid Norberg 982cf7f7f7 improved support for platforms with no wchar_t and std::wstring 2009-03-31 08:12:35 +00:00
Arvid Norberg 3cdf9c87a8 fixed build errors on Solaris 2009-01-27 08:24:48 +00:00
Arvid Norberg 692c3cd6f8 another map_block fix 2009-01-14 07:39:02 +00:00
Arvid Norberg 63add6c725 map_file fix 2009-01-14 06:55:28 +00:00
Arvid Norberg d0546e702f optimized file_storage::map_block to use lower_bound instead of linear search 2009-01-14 01:12:36 +00:00
Arvid Norberg 43e69cd316 added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows 2009-01-11 22:27:43 +00:00
Arvid Norberg eea890de11 added support for generating torrent files with padding files in them 2009-01-11 10:32:57 +00:00
Arvid Norberg 8e48e81ead added wpath and wstring overloads for functions dealing with paths for more complete wide character support. #432 2008-11-30 08:12:26 +00:00
Arvid Norberg d4c206841b added support for bitcomet padding files. simplified storage read/write code. 2008-10-03 05:49:41 +00:00
Arvid Norberg 9bae670ac7 fix build with boost-1.36 2008-08-16 21:11:27 +00:00
Arvid Norberg 06f3ad65e8 fix to file_progress improvement 2008-07-09 15:23:42 +00:00
Arvid Norberg d06f125513 improved accuracy of the file progress report to include completed blocks from incomplete pieces (but not partial blocks) 2008-07-09 10:45:07 +00:00
Arvid Norberg 3910fe78de separated file_storage from torrent_info and create_torrent 2008-05-28 08:44:40 +00:00