summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tool_getparam.c: Fixed compilation warningsSteve Holme2014-05-221-2/+2
| | | | There is an implicit conversion from "unsigned long" to "long"
* build: Fixed incorrect reference to curl_setup.h in Visual Studio filesSteve Holme2014-05-221-1/+1
| | | | Fixed a copy / paste error from my 2011 project files.
* Makefile.inc: Added curlx headers to assist Visual Studio project generationSteve Holme2014-05-211-0/+8
|
* build: Renamed CURLX_ONES file list definition to CURLX_CFILESSteve Holme2014-05-217-8/+8
| | | | | | | Renamed the CURLX_ONES file list definition in order to a) try and be consistent with other file lists and b) to allow for the addition of the curlx header files, which will assist with Visual Studio project files generation rather than hard coding those files.
* Makefile.inc: Added resource file to assist Visual Studio project generationSteve Holme2014-05-171-0/+2
|
* tool_operate.c: Fixed compilation warningSteve Holme2014-05-101-1/+1
| | | | An enumerated type is mixed with another type.
* tool_operate.c: Fixed TAB is white space from commit 5b8ae0a985Steve Holme2014-05-091-1/+1
|
* tool_urlglob.c: Fixed compilation warningSteve Holme2014-05-091-1/+1
| | | | An enumerated type is mixed with another type.
* tool_operate.c: Fixed compilation warningsSteve Holme2014-05-091-7/+7
| | | | An enumerated type is mixed with another type.
* tool_help: Fixed missing --login-options optionSteve Holme2014-05-071-2/+2
| | | | | ...and removed ;OPTIONS from --user as that functionality was removed in 7.34.0.
* curl: bail on cookie use when built with disabled cookiesDaniel Stenberg2014-05-061-12/+14
|
* tool_writeout.c: initialize string pointer variableMarc Hoersken2014-04-191-1/+1
|
* tool_formparse.c: fix possible use of non-null-terminated stringsMarc Hoersken2014-04-191-2/+2
|
* tool_urlglob.c: added some comments to clarify for loop conditionsMarc Hoersken2014-04-181-0/+2
| | | | | I was tempted to change those to >= 0 until I saw that this is actually a for loop that terminates once i underflows.
* Makefile.vc6: Follow up fix to commit 45d3f00803Steve Holme2014-04-061-1/+5
|
* Makefile.vc6: added warnless.c to fix buildMarc Hoersken2014-04-051-0/+2
|
* curl: add --proxy-headerMaciej Puzio2014-04-044-1/+13
|
* curl: stop interpreting IPv6 literals as glob patterns.Paul Marks2014-03-301-3/+45
| | | | | | | | | | | | | | | | | | | | This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in the URL. For example: curl http://[::1]/file[1-3].txt This creates no ambiguity, because there is no overlap between the syntax of valid globs and valid IPv6 literals. Globs contain hyphens and at most 1 colon, while IPv6 literals have no hyphens, and at least 2 colons. The peek_ipv6() parser simply whitelists a set of characters and counts colons, because the real validation happens later on. The character set includes A-Z, in case someone decides to implement support for scopes like [fe80::1%25eth0] in the future. Signed-off-by: Paul Marks <pmarks@google.com>
* mkhelp: generate code for --disable-manual as wellDaniel Stenberg2014-03-261-1/+5
| | | | | | | | | This allows configure --disable-manual to run and build without having to regenerate the src/tool_hugehelp.c file which otherwise is necessary since we ship tarballs with that file present. Reported-by: Remi Gacogne Bug: http://curl.haxx.se/bug/view.cgi?id=1350
* tool_operate: Fixed uninitialised variable under some error situationsSteve Holme2014-03-231-6/+3
| | | | | For example when a URL is not specified or the headers file fails to open.
* tool_parsecfg: Reworked error handling from commit fc59a9e1Steve Holme2014-03-221-1/+2
|
* tool_getparam: Removed "dead assignment" code introduced in commit 1a9b58fcSteve Holme2014-03-221-3/+4
|
* Rework Open Watcom make files to use standard Wmake featuresJiri Malak2014-03-031-103/+103
| | | | | | | | 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
* tool: Do not output libcurl source for the information only parametersSteve Holme2014-03-021-7/+3
| | | | | | | | | | | 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.
* tool: Fixed libcurl source output for multiple operationsSteve Holme2014-03-022-35/+39
| | | | | | | | | | 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.
* tool_metalink.h: Fixed compilation warningSteve Holme2014-03-011-0/+3
| | | | | warning: declaration of 'struct GlobalConfig' will not be visible outside of this function
* tool: Moved internal variable isatty to the global configSteve Holme2014-03-013-6/+9
|
* tool_operate.c: Fixed compilation errorSteve Holme2014-03-011-1/+1
| | | | incompatible types - from 'OperationConfig *' to 'GlobalConfig *'
* tool: Moved --libcurl to the global configSteve Holme2014-03-018-28/+29
|
* tool: Moved --progress-bar to the global configSteve Holme2014-03-013-15/+15
|
* tool: Moved --stderr to the global configSteve Holme2014-03-0112-68/+69
|
* tool_main: Fixed a memory leak on main_init errorDan Fandrich2014-02-281-2/+7
|
* tool_cfgable: Code policing of structure pointersSteve Holme2014-02-271-4/+4
|
* tool: Moved --trace and --verbose to the global configSteve Holme2014-02-276-29/+35
|
* tool_main: Forgot to initialise the first operation's global pointerSteve Holme2014-02-271-0/+1
|
* tool: Moved --silient to the global configSteve Holme2014-02-274-9/+10
| | | | | Other global options such as --libcurl, --trace and --verbose to follow.
* tool_cfgable: Added GlobalConfig pointer to OperationConfigSteve Holme2014-02-273-0/+9
| | | | | In order to ease the moving of global options such as the error stream, updated the OperationConfig structure to point to the GlobalConfig.
* tool: Added support to .curlrc for URL specific optionsSteve Holme2014-02-261-1/+23
| | | | | In addition to adding support for URL specific options via the command line with --next it is now possible to specify "next" in .curlrc.
* tool: Reworked argument parsing to use --next/-:Steve Holme2014-02-261-27/+27
| | | | | Follow up to commit 1a9b58fcb2 to replace the : command line option with --next and -:.
* tool_getparam: Added initial support for --next/-:Steve Holme2014-02-263-0/+6
| | | | | | 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.
* parse_args: fix a too long source code lineDaniel Stenberg2014-02-251-1/+2
|
* tool_help: Moved --no-alpn and --no-npn to be listed alphabeticallySteve Holme2014-02-251-2/+2
| | | | | ...and added the HTTP suffix as these options are only used for HTTP2 based connections.
* tool: Moved --showerror to the global configSteve Holme2014-02-255-14/+17
| | | | | Other global options such as --libcurl, --trace and --verbose to follow.
* tool_getparam: Added global config to getparameter()Steve Holme2014-02-255-14/+15
| | | | | In preparation for parsing global options added the GlobalConfig structure to the getparameter() function.
* tool_getparam.h: Fixed compilation warningSteve Holme2014-02-251-0/+1
| | | | | warning: declaration of 'struct GlobalConfig' will not be visible outside of this function
* tool_cfgable: Added support for knowing the current operationSteve Holme2014-02-242-5/+6
|
* tool_operate: Moved easy handle cleanup into tool_mainSteve Holme2014-02-243-22/+9
|
* tool_hugehelp: partially reverted 24e22e10Marc Hoersken2014-02-241-4/+0
| | | | | | Compilation was not possible if manuel is disabled due this error: error: macro "hugehelp" passed 1 arguments, but takes just 0 void hugehelp(void) {}
* tool_main: Moved easy handle into global config structureSteve Holme2014-02-245-46/+42
|
* tool: Fixed line longer than 79 characters from commit 705a4cb549Steve Holme2014-02-232-2/+4
|