Commit Graph

4318 Commits (644a74da012900be6a3c83d0a1eecd62343c9415)

Author SHA1 Message Date
Tatsuhiro Tsujikawa b4ae039702 BinExpr, UnExpr: Make copies of args so that we can use them with rvalues 2013-07-04 03:04:50 +09:00
Tatsuhiro Tsujikawa 05d75ed218 Fix array version make_unique is invoked for 1 size_t arg accidentally 2013-07-04 03:02:33 +09:00
Tatsuhiro Tsujikawa bc6aa3073b Use std::unique_ptr for StreamPieceSelector instead of std::shared_ptr 2013-07-04 01:41:12 +09:00
Tatsuhiro Tsujikawa 128783cf86 Use std::unique_ptr for PieceSelector instead of std::shared_ptr 2013-07-04 01:38:24 +09:00
Tatsuhiro Tsujikawa a479473949 Use std::unique_ptr for URISelector instead of std::shared_ptr 2013-07-04 01:16:48 +09:00
Tatsuhiro Tsujikawa c36370ef60 Use std::unique_ptr for LpdMessage instead of std::shared_ptr 2013-07-04 00:56:29 +09:00
Tatsuhiro Tsujikawa 57f1902ee1 Use std::unique_ptr for StreamFilter instead of std::shared_ptr 2013-07-04 00:39:11 +09:00
Tatsuhiro Tsujikawa cb205a207c Use std::unique_ptr for HttpRequest instead of std::shared_ptr 2013-07-04 00:13:15 +09:00
Tatsuhiro Tsujikawa 9a38c102dc Use std::unique_ptr for HttpResponse instead of std::shared_ptr 2013-07-03 23:42:55 +09:00
Tatsuhiro Tsujikawa 7e6db8d801 Use std::unique_ptr instead of array_ptr 2013-07-03 23:23:22 +09:00
Tatsuhiro Tsujikawa df0034f1cd Add countSetBitSlow tests 2013-07-03 23:22:40 +09:00
Tatsuhiro Tsujikawa c2e62cdb81 Fix compile error with i686-w64-mingw32-g++ 4.6
Which does not support constructor delegate
2013-07-03 23:21:47 +09:00
Tatsuhiro Tsujikawa 211f685add BitfieldMan: Rewrite getCompletedLength and countMissingBlockNow
Rewritten so that no memory allocation is required for these
functions.
2013-07-03 22:40:28 +09:00
Tatsuhiro Tsujikawa 0d85fb0df3 Use std::unique_ptr for AsyncResolverMan 2013-07-03 01:30:01 +09:00
Tatsuhiro Tsujikawa 74d6d64271 Use std::unique_ptr for MessageDigest 2013-07-03 01:13:13 +09:00
Tatsuhiro Tsujikawa f2d85c38cc Fix segmentaion fault 2013-07-03 00:02:27 +09:00
Tatsuhiro Tsujikawa f022402dc9 Use std::unique_ptr in DHTRegistry 2013-07-02 23:52:40 +09:00
Tatsuhiro Tsujikawa 1a5d75e819 Use std::unique_ptr to store DHTMessages instead of std::shared_ptr 2013-07-02 22:58:20 +09:00
Tatsuhiro Tsujikawa 4f7d1c395b Use std::unique_ptr for ProgressUpdate instead of raw pointer 2013-07-01 21:59:54 +09:00
Tatsuhiro Tsujikawa 529b9fdceb Use std::unique_ptr for ExtensionMessage 2013-07-01 21:42:51 +09:00
Tatsuhiro Tsujikawa 9e35750bb8 Code cleanup 2013-06-30 22:59:07 +09:00
Tatsuhiro Tsujikawa 098f1571be Wrap BtMessage objects by std::unique_ptr instead of std::shared_ptr 2013-06-30 22:55:43 +09:00
Tatsuhiro Tsujikawa abcb0745ed Fix unitest compile error 2013-06-30 01:03:39 +09:00
Tatsuhiro Tsujikawa 03ae308faa Use RequestSlot as pointer to avoid copying 2013-06-30 00:31:50 +09:00
Tatsuhiro Tsujikawa d128a39fb6 HttpServer: Return bool for receiveHeader, use std::unique_ptr for headers 2013-06-29 23:20:43 +09:00
Tatsuhiro Tsujikawa 6a3e26a34d Remove accidentally added const 2013-06-29 23:11:14 +09:00
Tatsuhiro Tsujikawa 5a223115e0 Rewrite CookieStorage 2013-06-29 23:09:09 +09:00
Tatsuhiro Tsujikawa 0b1e05b13b Fix compile error 2013-06-27 00:20:48 +09:00
Tatsuhiro Tsujikawa da7400ef5c Return std::unique_ptr member as const ref
Returning raw pointer has a risk that it may be stolen by
std::shared_ptr in accident.
2013-06-26 23:56:43 +09:00
Tatsuhiro Tsujikawa 47402c5f29 Refactor HttpConnection and its neighbor objects 2013-06-26 23:19:15 +09:00
Tatsuhiro Tsujikawa d485c8e767 Rewrite AuthConfig objects using std::unique_ptr 2013-06-26 21:45:29 +09:00
Tatsuhiro Tsujikawa a4cf50914d HttpRequest: Use raw non-owning pointer for cookieStorage_ 2013-06-25 23:01:00 +09:00
Tatsuhiro Tsujikawa 4803482a51 HttpRequest: Store non-owning raw pointer for authConfigFactory_ 2013-06-25 22:06:29 +09:00
Tatsuhiro Tsujikawa 6bcf33a69e Fix compile error with clang 2013-06-25 02:57:48 +09:00
Tatsuhiro Tsujikawa 2761301dfb Rewrite util::divide 2013-06-25 00:07:15 +09:00
Tatsuhiro Tsujikawa 2f6eff3821 download_helper: Cleanup 2013-06-24 23:49:49 +09:00
Tatsuhiro Tsujikawa b364c2436b toUpper, toLower: Let compiler copy src 2013-06-24 23:23:34 +09:00
Tatsuhiro Tsujikawa a159cc96fb Update README.rst 2013-06-24 22:00:27 +09:00
Tatsuhiro Tsujikawa 10cdc59297 Remove vbegin and vend in favor of std::begin and std::end 2013-06-24 21:46:42 +09:00
Tatsuhiro Tsujikawa d2ec57057e HttpServer: Use std::unique_ptr for lastBody_ and headerProcessor_ 2013-06-23 23:44:38 +09:00
Tatsuhiro Tsujikawa fba7e7ee8b Use move to send string data into SocketBuffer::pushStr 2013-06-23 23:31:07 +09:00
Tatsuhiro Tsujikawa 508109edbb SocketBuffer: Use std::unique_ptr to store BufEntry 2013-06-23 23:06:12 +09:00
Tatsuhiro Tsujikawa c0b60eb087 Use std::unique_ptr for UnionSeedCriteria 2013-06-23 22:07:25 +09:00
Tatsuhiro Tsujikawa fa9f3fb5a3 Wrap Command object in std::unique_ptr 2013-06-23 21:55:52 +09:00
Tatsuhiro Tsujikawa bb5b7eeedb Move RequestGroup vector from Context to RequestGroupMan 2013-06-23 16:35:14 +09:00
Tatsuhiro Tsujikawa 28c84148e4 Pass std::unique_ptr by value 2013-06-23 16:24:47 +09:00
Tatsuhiro Tsujikawa 23086b6e21 AbstractBtMessage: Use std::unique_ptr for validator 2013-06-23 16:12:19 +09:00
Tatsuhiro Tsujikawa a18bba7c66 DefaultBtMessageReceiver: Use raw pointer for non-owning object 2013-06-23 12:29:18 +09:00
Tatsuhiro Tsujikawa 85f5134626 DefaultBtMessageDispatcher: Use raw pointers for non-owning objects 2013-06-23 12:25:58 +09:00
Tatsuhiro Tsujikawa 9db01bed71 DefaultBtAnnounce: Use non-owning raw pointer for downloadContext_ 2013-06-23 12:14:17 +09:00