summaryrefslogtreecommitdiff
path: root/test/SessionSerializerTest.cc
Commit message (Collapse)AuthorAgeFilesLines
* DownloadEngine: Use std::unique_ptr for eventPoll_Tatsuhiro Tsujikawa2013-07-061-1/+1
|
* DownloadEngine: Use std::unique_ptr for RequestGroupManTatsuhiro Tsujikawa2013-07-061-11/+9
|
* Remove vbegin and vend in favor of std::begin and std::endTatsuhiro Tsujikawa2013-06-241-7/+6
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-9/+9
|
* SessionSerializer: Truly unique URIsNils Maier2013-06-101-1/+12
| | | | | | | | | | | Before, only spent uris where sanitized not to be contained within remaining uris. Change this so that each uri in the union(remaining,spent) get saved once at most. The order of the uris will won't be changed, with remaining uris going first followed by spent uris. Also avoid copying the uri std::strings around during dupe checking, usually resulting in better performance regarding CPU and space.
* Add test for recent changes in SessionSerializerTatsuhiro Tsujikawa2013-05-281-1/+6
|
* SessionSerializer: Save spent URIs as well as remaining onesTatsuhiro Tsujikawa2013-05-281-0/+24
|
* Fix missing value in serialized pause optionTatsuhiro Tsujikawa2013-03-031-0/+3
|
* Fix infinite loop when size of downloadResults_ exceeds maxDownloadResult_Tatsuhiro Tsujikawa2013-02-251-20/+1
|
* Add test for saving finished download with force-save optionTatsuhiro Tsujikawa2013-02-041-2/+11
|
* Fix bug that active downloads are not saved with --save-session-intervalTatsuhiro Tsujikawa2013-02-041-0/+10
|
* Save gid option with --save-session optionTatsuhiro Tsujikawa2012-12-171-5/+27
|
* Use map to make DownloadResult lookup fastTatsuhiro Tsujikawa2012-12-161-0/+1
|
* Removed strconcatTatsuhiro Tsujikawa2011-11-121-1/+1
|
* Rewritten SessionSerializer using BufferedFileTatsuhiro Tsujikawa2011-08-071-3/+4
|
* Don't save removed download in --save-session text file.Tatsuhiro Tsujikawa2011-05-291-0/+28
| | | | | Now stat column of removed downloads in Download Results is 'RM' instead of INPR.
* Made `make distcheck' pass.Tatsuhiro Tsujikawa2010-12-021-2/+2
| | | | | | We added 2 macros A2_TEST_DIR and A2_TEST_OUT_DIR to pass tests in `make distcheck`. A2_TEST_DIR refers to test directory. All output files by unit tests are now created under A2_TEST_OUT_DIR directory.
* 2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2010-11-141-2/+2
| | | | | | | | | Added .cc file for classes/structs that only provided by header file. Defined non-POD classes' ctor, dtor in .cc file. Moved implementation code in header file to .cc file for major classes/strucsts.
* 2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2010-04-081-0/+71
Added --save-session=FILE option. This option saves error/unfinished downloads to FILE on exit. You can pass this output file to aria2c with -i option on restart. Please note that downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC method are not saved. * src/BtPostDownloadHandler.cc * src/DownloadResult.h * src/Makefile.am * src/MetadataInfo.cc * src/MetadataInfo.h * src/Metalink2RequestGroup.cc * src/MetalinkPostDownloadHandler.cc * src/MultiUrlRequestInfo.cc * src/OptionHandlerFactory.cc * src/RequestGroup.cc * src/RequestGroup.h * src/SessionSerializer.cc * src/SessionSerializer.h * src/UTMetadataPostDownloadHandler.cc * src/download_helper.cc * src/download_helper.h * src/prefs.cc * src/prefs.h * src/usage_text.h * test/Makefile.am * test/SessionSerializerTest.cc * test/XmlRpcMethodTest.cc * test/serialize_session.meta4