aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-02-23tool_cfgable: Added global config structureSteve Holme
2014-02-23tool_cfgable: Renamed Configurable structure to OperationConfigSteve Holme
To allow for the addition of a global config structure and prevent confusion between the two.
2014-02-23tool: Fixed incorrect return code with --version from commit c10bf9bb36Steve Holme
2014-02-23tool_getparam: Moved tool_help() call into operate()Steve Holme
2014-02-23tool_getparam: Moved hugehelp() call into operate()Steve Holme
2014-02-23tool_getparam: Moved tool_version_info() call into operate()Steve Holme
2014-02-22tool_cfgable: Removed list_engine flag from config structureSteve Holme
In preparation for separating the global config options from the per operation config options, reworked the list engines code to not use a member variable in the Configurable structure.
2014-02-22tool_operate: Start to use CURLcode rather than int for return codesSteve Holme
To help assist with the detection of incorrect return codes, as per commits ee23d13a79, 33b8960dc8 and aba98991a5, updated the operate based functions to return CURLcode error codes.
2014-02-22tool: Fixed incorrect return code when setting HTTP request failsSteve Holme
During initialisation SetHTTPrequest() may fail and cURL would return PARAM_BAD_USE, which is equivalent to CURLE_NOT_BUILT_IN in cURL error terms. Instead, return CURLE_FAILED_INIT as we do for other functions that may fail during initialisation.
2014-02-22tool_getparam: Moved version information into separate function in tool_helpSteve Holme
2014-02-22tool_operhlp.h: Fixed compilation warningSteve Holme
warning: 'struct Configurable' declared inside parameter list
2014-02-22tool_operhlp: Consolidated engine output code into tool_helpSteve Holme
2014-02-22tool_operate: Moved list engines into separate function in tool_helpSteve Holme
2014-02-20tool_paramhlp: Fixed compilation warningsSteve Holme
declaration of 'index' shadows a global declaration
2014-02-16tool_paramhlp: Added URL index to password prompt for multiple operationsSteve Holme
2014-02-16warnless: add wrapper function for read and write on WindowsMarc Hoersken
2014-02-15tool_operate: Changed the required argument check/get to be upfrontSteve Holme
Rather than check for required arguments, and prompt for any host and proxy passwords, as each operation is performed, changed the code so all configurations are checked before any operations are performed. This allows the user to input all the required passwords, for example, upfront rather than wait for each operation.
2014-02-15tool_operate: Moved required argument getting into separate functionSteve Holme
2014-02-14curl: output protocol headers using binary modeMarc Hoersken
Since protocol headers contain explicit line-endings there should be no automatic conversion to ASCII text or CRLF line-endings. This might break third party tools that already depend on this behaviour. We might need to introduce an option to make this optional.
2014-02-10tool_cfgable: Moved easy handle cleanup to fix pingpong logout issuesSteve Holme
Commmit c5f8e2f5f4 removed the easy handle clean-up from tool_operate, letting the code that was already present in free_config_fields() perform the task. Unfortunately, this wasn't the correct place to do this as it broke protocols, that would perform a logout, as the main clean-up in tool_main had already been called.
2014-02-10NPN/ALPN: allow disabling via command lineFabian Frank
when using --http2 one can now selectively disable NPN or ALPN with --no-alpn and --no-npn. for now honored with NSS only. TODO: honor this option with GnuTLS and OpenSSL
2014-02-09tool_metalink: fix compiler warning when built without metalinkDaniel Stenberg
2014-02-09tool_operate: Move the trace and error file closure to tool_cfgableSteve Holme
2014-02-09tool_operate: Added support for performing URL specific operationsSteve Holme
2014-02-09tool_operate: Let curl handle cleanup take place in config_free()Steve Holme
2014-02-08tool_getparam: Added support for parsing of specific URL optionsSteve Holme
2014-02-07tool_cfgable: For consistency renamed init_config() to config_init()Steve Holme
2014-02-07tool_cfgable: Introduced config_free() functionSteve Holme
2014-02-07--help: add missing --tlsv1.x optionsDaniel Stenberg
2014-02-06tool_operate: Removed unused argument parameters from operate_do()Steve Holme
2014-02-06tool_operate: Moved list SSL engines code into operate()Steve Holme
2014-02-06tool_operate: Moved argument parsing into operate()Steve Holme
2014-02-05tool_operate: Moved .curlrc parsing code into operate()Steve Holme
2014-02-05tool_operate: Moved locale setup code into operate_init()Steve Holme
2014-02-04tool_operate: shortened too-long source lineDan Fandrich
2014-02-04tool_operate: Introduced operate_free() functionSteve Holme
2014-02-04tool_operate: Introduced operate_init() functionSteve Holme
2014-02-04tool_operate: Introduced new operate() functionSteve Holme
2014-02-03tool_operate: Moved libcurl information gathering to tool_mainSteve Holme
2014-02-03tool_operate: Moved command line argument parsing into separate functionSteve Holme
2014-02-03tool_operate: Simplified parse .curlrc decision logicSteve Holme
2014-02-03tool_operate: Moved main initialisation and cleanup code into tool_mainSteve Holme
2014-02-03tool_main: Fixed compilation warning from commit 0104678c79Steve Holme
no previous prototype for function 'memory_tracking_init'
2014-02-03tool_main: Changed stack based config struct to be heap basedSteve Holme
2014-02-02tool_operate: Moved memory tracking initialisation into tool_mainSteve Holme
2014-02-02tool_operate: Moved initial config setup into new init_config() functionSteve Holme
2014-02-01tool_main: Moved config struct initialisation into a separate functionSteve Holme
In preparation for adding URL specific options moved the initialisation of the Configurable structure into a separate function in tool_cfgable.
2014-01-30http2: call it "HTTP 2" and not 2.0Daniel Stenberg
The minor version will be dropped for HTTP 2 so it will make sense to avoid using it in option names etc.
2014-01-28getpass: fix password parsing from consoleMaks Naumov
Incorrect password if use backspace while entered the password. Regression from f7bfdbabf2d5398f4c266eabb0992a04af661f22 The '?:' operator has lower priority than the '-' operator
2014-01-19tool: Fixed incorrect return code if password prompting runs out of memorySteve Holme
Due to the changes in commit 3c929ff9f6ea and lack of subsequent updates, curl could return a CURLE_FTP_ACCEPT_FAILED error if checkpasswd() ran out of memory in versions 7.33.0 and 7.34.0. Updated the function declaration and return code to return CURLE_OUT_OF_MEMORY and CURLE_OK where appropriate.