Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-22 | tool_parsecfg: Reworked error handling from commit fc59a9e1 | Steve Holme | |
2014-03-22 | tool_getparam: Removed "dead assignment" code introduced in commit 1a9b58fc | Steve Holme | |
2014-03-03 | Rework Open Watcom make files to use standard Wmake features | Jiri Malak | |
Remove slash/backslash problem, now only slashes are used, Wmake automaticaly translate slash/backslash to proper version or tools are not sensitive for it. Enable spaces in path. Use internal rm command for all host platforms Add error message if old Open Watcom version is used. Some old versions exhibit build problems for Curl latest version. Now only versions 1.8, 1.9 and 2.O beta are supported | |||
2014-03-02 | tool: Do not output libcurl source for the information only parameters | Steve Holme | |
Ensure a source file isn't generated for the following informational command line parameters when --libcurl is specified: --help, --manual, --version and --engine list As the output would only include a fairly empty looking main() function and a call to curl_easy_init() and curl_easy_cleanup() when performed with --engine list. | |||
2014-03-02 | tool: Fixed libcurl source output for multiple operations | Steve Holme | |
Correctly output libcurl source code that includes multiply operations as specified by --next. Note that each operation evaluates to a single curl_easy_perform() in source code form. Also note that the output could be optimised a little so global config options are only output once rather than per operation as is presently the case. | |||
2014-03-01 | tool_metalink.h: Fixed compilation warning | Steve Holme | |
warning: declaration of 'struct GlobalConfig' will not be visible outside of this function | |||
2014-03-01 | tool: Moved internal variable isatty to the global config | Steve Holme | |
2014-03-01 | tool_operate.c: Fixed compilation error | Steve Holme | |
incompatible types - from 'OperationConfig *' to 'GlobalConfig *' | |||
2014-03-01 | tool: Moved --libcurl to the global config | Steve Holme | |
2014-03-01 | tool: Moved --progress-bar to the global config | Steve Holme | |
2014-03-01 | tool: Moved --stderr to the global config | Steve Holme | |
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. |