summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* TimeTest: Fix testElapsed() fail occasionallyTatsuhiro Tsujikawa2013-10-201-1/+1
|
* test: Fix stack overflowTatsuhiro Tsujikawa2013-10-061-2/+2
|
* Request: Remove previousUri_Tatsuhiro Tsujikawa2013-10-011-22/+2
| | | | | | Historically, the previousUri_ has different meaning from referer_, but in the course of development, they have the same value. This change remove previousUri_ in favor of referer_.
* util::percentEncodeMini: Fix regression bug removed unsignednessTatsuhiro Tsujikawa2013-09-301-0/+8
| | | | | srange-based for around std::string is convenient but several functions depend unsigned char for correctness and readability.
* Randomizer: Remove unused interfacesTatsuhiro Tsujikawa2013-09-281-9/+1
|
* Provide internal ARC4 implementationNils Maier2013-09-241-2/+4
| | | | | | Now you can build bittorrent support without without external libraries, meaning you can skip libnettle, libgmp, libgcrypt, GnuTLS and OpenSSL on OSX (for now).
* Add some md5 testsNils Maier2013-09-201-0/+8
|
* Add internal md5 and sha1 message digestsNils Maier2013-09-202-0/+14
|
* Set old cookie's creation-time to new cookie on replacementTatsuhiro Tsujikawa2013-09-201-5/+15
| | | | As described in http://tools.ietf.org/html/rfc6265#section-5.3
* Clean up if defined styleTatsuhiro Tsujikawa2013-09-171-2/+2
|
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-2010-33/+33
| | | | Courtesy of llvm cpp11-migrate 3.3
* Use std::unique_ptr for Metalink objectsTatsuhiro Tsujikawa2013-07-125-234/+203
|
* Use std::unique_ptr for ValueBase object hierarchyTatsuhiro Tsujikawa2013-07-1119-499/+525
|
* DefaultBtMessageDispatcher: Remove unused members peerStorage_, pieceStorage_Tatsuhiro Tsujikawa2013-07-071-36/+0
|
* DownloadEngine: Use std::unique_ptr for eventPoll_Tatsuhiro Tsujikawa2013-07-063-3/+3
|
* BtRegistry: Use std::unique_ptr for BtObjectTatsuhiro Tsujikawa2013-07-062-13/+17
|
* Use CXX11_OVERRIDETatsuhiro Tsujikawa2013-07-0625-207/+310
|
* DownloadEngine: Use std::unique_ptr for RequestGroupManTatsuhiro Tsujikawa2013-07-066-55/+56
|
* Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntryTatsuhiro Tsujikawa2013-07-061-6/+6
|
* AbstractSingleDiskAdaptor: Use std::unique_ptr for diskWriter_Tatsuhiro Tsujikawa2013-07-066-44/+51
|
* MultiDiskAdaptor: Use std::unique_ptr for DiskWriterEntry and DiskWriterTatsuhiro Tsujikawa2013-07-062-104/+86
| | | | | MultiFileAllocationIterator is also rewritten so that it does not requre copying DiskWriterEntry objects.
* Set log level DEBUG for unittestsTatsuhiro Tsujikawa2013-07-061-0/+5
|
* Check that C++ compiler supports override keywordTatsuhiro Tsujikawa2013-07-0612-23/+29
| | | | | If the compiler supports override, define CXX11_OVERRIDE as override, otherwise define it as empty. Use CXX11_OVERRIDE instead of override.
* Return nullptr directly where std::shared_ptr is expectedTatsuhiro Tsujikawa2013-07-044-9/+9
| | | | | The constructor of std::shared_ptr which takes nullptr is not explicit so we can return nullptr directly.
* Return nullptr directly where std::unique_ptr is expectedTatsuhiro Tsujikawa2013-07-042-29/+29
| | | | | The constructor of std::unique_ptr which takes nullptr is not explicit so we can return nullptr directly.
* Use std::unique_ptr for PieceSelector instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-49/+49
|
* Use std::unique_ptr for URISelector instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-68/+52
|
* Use std::unique_ptr for LpdMessage instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-1/+1
|
* Use std::unique_ptr for StreamFilter instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-042-16/+15
|
* Use std::unique_ptr for HttpRequest instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-39/+41
|
* Use std::unique_ptr instead of array_ptrTatsuhiro Tsujikawa2013-07-031-24/+0
|
* Add countSetBitSlow testsTatsuhiro Tsujikawa2013-07-031-0/+7
|
* Use std::unique_ptr for MessageDigestTatsuhiro Tsujikawa2013-07-037-12/+12
|
* Use std::unique_ptr in DHTRegistryTatsuhiro Tsujikawa2013-07-022-22/+22
|
* Use std::unique_ptr to store DHTMessages instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-0210-342/+339
|
* Use std::unique_ptr for ExtensionMessageTatsuhiro Tsujikawa2013-07-0112-119/+108
|
* Wrap BtMessage objects by std::unique_ptr instead of std::shared_ptrTatsuhiro Tsujikawa2013-06-3015-415/+361
|
* Use RequestSlot as pointer to avoid copyingTatsuhiro Tsujikawa2013-06-303-78/+69
|
* Rewrite CookieStorageTatsuhiro Tsujikawa2013-06-299-480/+563
|
* Return std::unique_ptr member as const refTatsuhiro Tsujikawa2013-06-261-1/+0
| | | | | Returning raw pointer has a risk that it may be stolen by std::shared_ptr in accident.
* Refactor HttpConnection and its neighbor objectsTatsuhiro Tsujikawa2013-06-262-148/+141
|
* Rewrite AuthConfig objects using std::unique_ptrTatsuhiro Tsujikawa2013-06-264-92/+101
|
* HttpRequest: Use raw non-owning pointer for cookieStorage_Tatsuhiro Tsujikawa2013-06-252-7/+7
|
* HttpRequest: Store non-owning raw pointer for authConfigFactory_Tatsuhiro Tsujikawa2013-06-251-65/+70
|
* Rewrite util::divideTatsuhiro Tsujikawa2013-06-251-6/+5
|
* Remove vbegin and vend in favor of std::begin and std::endTatsuhiro Tsujikawa2013-06-2424-195/+153
|
* AbstractBtMessage: Use std::unique_ptr for validatorTatsuhiro Tsujikawa2013-06-231-4/+2
|
* DefaultBtMessageDispatcher: Use raw pointers for non-owning objectsTatsuhiro Tsujikawa2013-06-231-9/+9
|
* DefaultBtAnnounce: Use non-owning raw pointer for downloadContext_Tatsuhiro Tsujikawa2013-06-231-11/+15
|
* DefaultBtRequestFactory: Use raw pointer for pieceStorage_Tatsuhiro Tsujikawa2013-06-231-1/+1
|