summaryrefslogtreecommitdiff
path: root/src/OptionHandlerImpl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Use default where possibleNils Maier2016-08-291-12/+12
|
* Fix some compiler warningsNils Maier2016-07-191-1/+1
|
* clang-formatTatsuhiro Tsujikawa2016-04-151-1/+1
|
* Fix compile error with Android NDKrelease-1.22.0Tatsuhiro Tsujikawa2016-04-151-4/+4
|
* clang-formatTatsuhiro Tsujikawa2016-03-261-16/+21
|
* Attemp to fix compile errorTatsuhiro Tsujikawa2016-03-261-0/+1
|
* Added support for a dynamic management of the number of concurrent downloads ↵oliviercommelarbre2016-03-161-0/+55
| | | | as a function of the overall bandwidth observed
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-268/+252
|
* Add --ssh-host-key-md optionTatsuhiro Tsujikawa2015-05-161-0/+16
| | | | | | | | | Set checksum for SSH host public key. Use same syntax with --checksum option. TYPE is hash type. The supported hash type is sha-1 or md5. DIGEST is hex digest. For example: sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3. This option can be used to validate server's public key when SFTP is used. If this option is not set, which is default, no validation takes place.
* Fixed some typos in code commentsDan Fandrich2015-01-161-1/+1
|
* util::parseIntSegments: Return SegList<int>Tatsuhiro Tsujikawa2014-06-041-2/+1
|
* Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, alwaysNils Maier2014-04-171-5/+1
|
* Don't allow empty string for --rpc-secret optionTatsuhiro Tsujikawa2014-02-191-1/+10
|
* Add future deprecation warning to --rpc-user and --rpc-passwdTatsuhiro Tsujikawa2014-02-021-6/+19
|
* Introduce PrefPtr typedefNils Maier2013-09-191-17/+17
|
* Convert to autos and ranged loopsNils Maier2013-08-211-20/+19
|
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-201-1/+1
| | | | Courtesy of llvm cpp11-migrate 3.3
* Rewrite util::divideTatsuhiro Tsujikawa2013-06-251-2/+1
|
* Pass std::unique_ptr by valueTatsuhiro Tsujikawa2013-06-231-1/+1
|
* ParameterOptionHandler: Use initializer lists for paramsTatsuhiro Tsujikawa2013-06-221-44/+2
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-1/+1
|
* Add TAG_DEPRECATED in DeprecatedOptionHandler ctorTatsuhiro Tsujikawa2013-05-061-1/+4
|
* Handle OptionHandlers as raw pointerTatsuhiro Tsujikawa2012-09-271-12/+27
|
* Use nothrow version of parseInt, parseUInt and parseLLIntTatsuhiro Tsujikawa2012-09-271-1/+6
|
* Rewritten help tags and various internal flag handling in OptionHandlerTatsuhiro Tsujikawa2012-09-231-2/+2
| | | | | Now help tags are defined as enum values to avoid vector of strings. The internal flags are represented by bitmask to shrink size.
* Use PRId64 for int64_t format specifierTatsuhiro Tsujikawa2012-06-251-7/+4
|
* Use short form of util::startsWith and util::endsWithTatsuhiro Tsujikawa2012-01-111-3/+3
|
* Removed static const char[] as much as possible.Tatsuhiro Tsujikawa2012-01-111-9/+3
| | | | | Provided convenient functions for streq, strieq, startsWith, istartsWith, endsWith, iendsWith to support this move.
* Proxy URI is now constructed in getProxyUri().Tatsuhiro Tsujikawa2011-11-131-104/+0
| | | | | | | | | | The previous implementation constructs proxy URI in OptionHandler but it cannot handle with the situation when user, password and proxy URI is given various order. Now we just set rules: username set in --*-proxy-user overrides username in --*-proxy option, no matter in any order username, password and proxy URI are parsed. Likewise, password set in --*--proxy-passwd overrides password in --*-proxy option.
* Use fmt instead of util::itosTatsuhiro Tsujikawa2011-11-131-11/+10
|
* Use fmt instead of using snprintf directlyTatsuhiro Tsujikawa2011-11-121-6/+2
|
* Removed strappendTatsuhiro Tsujikawa2011-11-121-10/+20
|
* Rewritten parse*IntTatsuhiro Tsujikawa2011-11-121-2/+1
|
* Made const char[] staticTatsuhiro Tsujikawa2011-11-111-5/+5
|
* Made Pref::k_, OptionHandler::getName() and getDescription() const char*.Tatsuhiro Tsujikawa2011-11-111-32/+33
|
* Removed util::endsWith(a, b). Added util::iendsWith()Tatsuhiro Tsujikawa2011-11-051-2/+6
|
* Removed util::startsWith(a, b)Tatsuhiro Tsujikawa2011-11-041-3/+10
|
* util::divide now takes iterators as arguments.Tatsuhiro Tsujikawa2011-11-031-5/+7
|
* Changed parse*Int functions so that it accepts iterators.Tatsuhiro Tsujikawa2011-11-031-1/+1
|
* Use SegList<int> instead of IntSequence.Tatsuhiro Tsujikawa2011-10-301-3/+6
|
* Options for -i list is now available in aria2.changeOption.Tatsuhiro Tsujikawa2011-10-291-0/+10
| | | | | | | | | Options for -i list, except for PREF_CHECKSUM, PREF_DIR, PREF_DRY_RUN, PREF_INDEX_OUT, PREF_LOWEST_SPEED_LIMIT, PREF_MAX_CONNECTION_PER_SERVER, PREF_METALINK_BASE_URI, PREF_OUT, PREF_PIECE_LENGTH, PREF_SELECT_FILE, PREF_SPLIT, PREF_PAUSE and PREF_PARAMETERIZED_URI, are available in aria2.changeOption if the download is waiting state, including paused downloads.
* Fixed compile error without message digest support.Tatsuhiro Tsujikawa2011-10-251-0/+2
|
* Renamed NameMatchOptionHandler as AbstractOptionHandler.Tatsuhiro Tsujikawa2011-10-221-36/+36
|
* Removed OptionHandler::{get,set}OptionID() and canHandle().Tatsuhiro Tsujikawa2011-10-221-15/+0
| | | | Removed typedefs in OptionHandler and NameMatchOptionHandler.
* Renamed OptionHandler::setGlobalChangeOption() as setChangeGlobalOption().Tatsuhiro Tsujikawa2011-10-221-4/+4
|
* OptionHandler now knows its option can be used in -i list option,Tatsuhiro Tsujikawa2011-10-221-0/+40
| | | | | | changeable in aria2.changeOption or aria2.changeGlobalOption. OptionHandler also now its option is cumulative.
* Rewritten OptionParser. Made it simpler and efficient.Tatsuhiro Tsujikawa2011-10-221-63/+5
|
* Rewritten Option. Introduced Pref.Tatsuhiro Tsujikawa2011-10-211-71/+71
| | | | | Now preference key is Pref instead of just string. It has Option ID. Now option lookup and setting takes O(1) using Pref object.
* Rewritten HttpProxyOptionHandler using uri::parse().Tatsuhiro Tsujikawa2011-10-181-22/+10
| | | | | Removed test case where username is empty and resulted URI has empty username in URI.
* HttpProxyOptionHandler: Enclose hostname with square brackets ifTatsuhiro Tsujikawa2011-10-151-1/+6
| | | | hostname is IPv6 numeric address.