Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-28 | tool_main: Fixed a memory leak on main_init error | Dan Fandrich | |
2014-02-27 | tool_cfgable: Code policing of structure pointers | Steve Holme | |
2014-02-27 | tool: Moved --trace and --verbose to the global config | Steve Holme | |
2014-02-27 | tool_main: Forgot to initialise the first operation's global pointer | Steve Holme | |
2014-02-27 | tool: Moved --silient to the global config | Steve Holme | |
Other global options such as --libcurl, --trace and --verbose to follow. | |||
2014-02-27 | tool_cfgable: Added GlobalConfig pointer to OperationConfig | Steve Holme | |
In order to ease the moving of global options such as the error stream, updated the OperationConfig structure to point to the GlobalConfig. | |||
2014-02-26 | tool: Added support to .curlrc for URL specific options | Steve Holme | |
In addition to adding support for URL specific options via the command line with --next it is now possible to specify "next" in .curlrc. | |||
2014-02-26 | tool: Reworked argument parsing to use --next/-: | Steve Holme | |
Follow up to commit 1a9b58fcb2 to replace the : command line option with --next and -:. | |||
2014-02-26 | tool_getparam: Added initial support for --next/-: | Steve Holme | |
Added initial support for --next/-: which will be used to replace the rather confusing : command line operation what was used for the URL specific options prototype. | |||
2014-02-25 | parse_args: fix a too long source code line | Daniel Stenberg | |
2014-02-25 | tool_help: Moved --no-alpn and --no-npn to be listed alphabetically | Steve Holme | |
...and added the HTTP suffix as these options are only used for HTTP2 based connections. | |||
2014-02-25 | tool: Moved --showerror to the global config | Steve Holme | |
Other global options such as --libcurl, --trace and --verbose to follow. | |||
2014-02-25 | tool_getparam: Added global config to getparameter() | Steve Holme | |
In preparation for parsing global options added the GlobalConfig structure to the getparameter() function. | |||
2014-02-25 | tool_getparam.h: Fixed compilation warning | Steve Holme | |
warning: declaration of 'struct GlobalConfig' will not be visible outside of this function | |||
2014-02-24 | tool_cfgable: Added support for knowing the current operation | Steve Holme | |
2014-02-24 | tool_operate: Moved easy handle cleanup into tool_main | Steve Holme | |
2014-02-24 | tool_hugehelp: partially reverted 24e22e10 | Marc Hoersken | |
Compilation was not possible if manuel is disabled due this error: error: macro "hugehelp" passed 1 arguments, but takes just 0 void hugehelp(void) {} | |||
2014-02-24 | tool_main: Moved easy handle into global config structure | Steve Holme | |
2014-02-23 | tool: Fixed line longer than 79 characters from commit 705a4cb549 | Steve Holme | |
2014-02-23 | tool_main: Corrected typo from commit d6b9f054e9 in Symbian code | Steve Holme | |
2014-02-23 | tool_main: Moved OperateConfig cleanup into main_free() | Steve Holme | |
2014-02-23 | tool_main: Moved initial OperateConfig creation into main_init() | Steve Holme | |
2014-02-23 | tool_cfgable: Added global config structure | Steve Holme | |
2014-02-23 | tool_cfgable: Renamed Configurable structure to OperationConfig | Steve Holme | |
To allow for the addition of a global config structure and prevent confusion between the two. | |||
2014-02-23 | tool: Fixed incorrect return code with --version from commit c10bf9bb36 | Steve Holme | |
2014-02-23 | tool_getparam: Moved tool_help() call into operate() | Steve Holme | |
2014-02-23 | tool_getparam: Moved hugehelp() call into operate() | Steve Holme | |
2014-02-23 | tool_getparam: Moved tool_version_info() call into operate() | Steve Holme | |
2014-02-22 | tool_cfgable: Removed list_engine flag from config structure | Steve 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-22 | tool_operate: Start to use CURLcode rather than int for return codes | Steve 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-22 | tool: Fixed incorrect return code when setting HTTP request fails | Steve 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-22 | tool_getparam: Moved version information into separate function in tool_help | Steve Holme | |
2014-02-22 | tool_operhlp.h: Fixed compilation warning | Steve Holme | |
warning: 'struct Configurable' declared inside parameter list | |||
2014-02-22 | tool_operhlp: Consolidated engine output code into tool_help | Steve Holme | |
2014-02-22 | tool_operate: Moved list engines into separate function in tool_help | Steve Holme | |
2014-02-20 | tool_paramhlp: Fixed compilation warnings | Steve Holme | |
declaration of 'index' shadows a global declaration | |||
2014-02-16 | tool_paramhlp: Added URL index to password prompt for multiple operations | Steve Holme | |
2014-02-16 | warnless: add wrapper function for read and write on Windows | Marc Hoersken | |
2014-02-15 | tool_operate: Changed the required argument check/get to be upfront | Steve 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-15 | tool_operate: Moved required argument getting into separate function | Steve Holme | |
2014-02-14 | curl: output protocol headers using binary mode | Marc 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-10 | tool_cfgable: Moved easy handle cleanup to fix pingpong logout issues | Steve 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-10 | NPN/ALPN: allow disabling via command line | Fabian 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-09 | tool_metalink: fix compiler warning when built without metalink | Daniel Stenberg | |
2014-02-09 | tool_operate: Move the trace and error file closure to tool_cfgable | Steve Holme | |
2014-02-09 | tool_operate: Added support for performing URL specific operations | Steve Holme | |
2014-02-09 | tool_operate: Let curl handle cleanup take place in config_free() | Steve Holme | |
2014-02-08 | tool_getparam: Added support for parsing of specific URL options | Steve Holme | |
2014-02-07 | tool_cfgable: For consistency renamed init_config() to config_init() | Steve Holme | |
2014-02-07 | tool_cfgable: Introduced config_free() function | Steve Holme | |