summaryrefslogtreecommitdiff
path: root/src/Dictionary.cc
Commit message (Collapse)AuthorAgeFilesLines
* 2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>Tatsuhiro Tsujikawa2008-12-141-87/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Removed Dictionary/List/Data and its related classes. * src/BencodeVisitor.cc: Removed. * src/BencodeVisitor.h: Removed. * src/Data.cc: Removed. * src/Data.h: Removed. * src/Dictionary.cc: Removed. * src/Dictionary.h: Removed. * src/List.cc: Removed. * src/List.h: Removed. * src/Makefile.am * src/MetaEntry.h: Removed. * src/MetaEntryVisitor.h: Removed. * src/MetaFileUtil.cc: Removed. * src/MetaFileUtil.h: Removed. * test/BencodeVisitorTest.cc: Removed. * test/DataTest.cc: Removed. * test/DictionaryTest.cc: Removed. * test/ListTest.cc: Removed. * test/Makefile.am * test/MetaFileUtilTest.cc: Removed.
* 2008-08-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-08-231-0/+1
| | | | | | | Clear table item. * src/Dictionary.cc
* 2008-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-08-071-2/+6
| | | | | | | Fixed memory leak * src/Dictionary.cc
* 2008-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-03-151-0/+1
| | | | | | | Fixed compilation error with g++-4.3
* 2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-02-081-6/+11
| | | | | | | | | Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used.
* 2008-02-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-02-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added DHT functionality, compatible with mainline. DHT is disabled by default. To enable it, give --enable-dht to aria2c. You may need to specify entry point to DHT network using --dht-entry-point. DHT uses UDP port to listen incoming message. Use --dht-listen-port to specify port number. Make sure that your firewall configuration can pass through UDP traffic to the port. The routing table is saved in $HOME/.aria2/dht.dat. * src/DHT* * src/BNode.{h, cc} * src/PeerInteractionCommand.cc: enable DHT functionality for a particular torrent. * src/Data.cc: Rewritten ctor. * src/OptionHandlerFactory.cc: Added --enable-dht, --dht-listen-port, --dht-entry-point. * src/DefaultBtInteractive.cc: Send port message if dht is enabled. * src/RequestGroup.cc: Initialize DHT functionality. When download ends, remove BtContext from DHTPeerAnnounceStorage. * src/BtPortMessage.{h, cc}: Rewritten. * src/message.h * src/OptionHandlerImpl.cc * src/option_processing.cc: Added --enable-dht, --dht-listen-port, --dht-entry-point. * src/Dictionary.{h, cc} (remove): New function. * src/prefs.h * src/DefaultBtMessageFactory.h * src/BtHandshakeMessage.cc * src/ActivePeerConnectionCommand.cc * src/SocketCore.{h, cc}: Added datagram socket support. * src/DefaultBtMessageFactory.cc * src/BtSetup.cc: Add BtContext to DHTPeerAnnounceStorage here. Create DHT commands. * src/BtMessageFactory.h * src/PeerMessageUtil.{h, cc}
* 2006-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2006-09-211-2/+15
| | | | | | | | * src/*.{h,cc}: Added an exception to the license which allows linking with OpenSSL.
* make string type argument const string& where possibleTatsuhiro Tsujikawa2006-04-191-2/+2
|
* * replaced std::vector with std::deque.Tatsuhiro Tsujikawa2006-03-221-1/+1
|
* added bittorrent support(experimental)Tatsuhiro Tsujikawa2006-03-211-0/+57