summaryrefslogtreecommitdiff
path: root/src/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* curl: support parallel transfersDaniel Stenberg2019-07-201-0/+2
| | | | | | | | This is done by making sure each individual transfer is first added to a linked list as then they can be performed serially, or at will, in parallel. Closes #3804
* whitespace fixesViktor Szakats2018-09-231-90/+90
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* time-cond: fix reading the file modification time on WindowsMichael Kaufmann2018-02-051-0/+2
| | | | | | | | On Windows, stat() may adjust the unix file time by a daylight saving time offset. Avoid this by calling GetFileTime() instead. Fixes #2164 Closes #2204
* curl_ctype: private is*() type macros and functionsDaniel Stenberg2018-01-291-2/+4
| | | | | | | | ... since the libc provided one are locale dependent in a way we don't want. Also, the "native" isalnum() (for example) works differently on different platforms which caused test 1307 failures on macos only. Closes #2269
* mime: use in curl cli tool instead of form API.Patrick Monnerat2017-09-021-2/+0
| | | | | | Extended -F option syntax to support multipart mail messages. -F keyword headers= added to include custom headers in parts. Documentation upgraded.
* curl: remove tool_writeenv.[ch]Daniel Stenberg2017-05-061-2/+0
| | | | | | | | | ... and USE_ENVIRONMENT and --environment. It was once added for RISC OS support and its platform specific behavior has been annoying ever since. Added in commit c3c8bbd3b2688da8e, mostly unchanged since then. Most probably not actually used for years. Closes #1463
* strcase: make the tool use curl_str[n]equal insteadDaniel Stenberg2016-10-311-2/+0
| | | | | | | | As they are after all part of the public API. Saves space and reduces complexity. Remove the strcase defines from the curlx_ family. Suggested-by: Dan Fandrich Idea: https://curl.haxx.se/mail/lib-2016-10/0136.html
* strcasecompare: all case insensitive string compares ignore locale nowDaniel Stenberg2016-10-311-2/+2
| | | | | We had some confusions on when each function was used. We should not act differently on different locales anyway.
* Makefile.inc: s/curl_SOURCES/CURL_FILESDaniel Stenberg2015-12-231-2/+2
| | | | | | | | | This allows the root Makefile.am to include the Makefile.inc without causing automake to warn on it (variables named *_SOURCES are magic). curl_SOURCES is then instead assigned properly in src/Makefile.am only. Closes #577
* tool: Generate easysrc with last cache linked-listDaniel Hwang2015-10-181-0/+2
| | | | | | | | | | Using a last cache linked-list improves the performance of easysrc generation. Bug: https://github.com/bagder/curl/issues/444 Ref: https://github.com/bagder/curl/issues/429 Closes #452
* curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of boundsDaniel Stenberg2014-11-051-2/+2
| | | | | | | | | | | | | When duplicating a handle, the data to post was duplicated using strdup() when it could be binary and contain zeroes and it was not even zero terminated! This caused read out of bounds crashes/segfaults. Since the lib/strdup.c file no longer is easily shared with the curl tool with this change, it now uses its own version instead. Bug: http://curl.haxx.se/docs/adv_20141105.html CVE: CVE-2014-3707 Reported-By: Symeon Paraschoudis
* 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-211-2/+2
| | | | | | | 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
|
* warnless: add wrapper function for read and write on WindowsMarc Hoersken2014-02-161-1/+2
|
* curl: follow-up for commit 5af2bfb9Yang Tse2013-07-311-2/+1
| | | | Use tvnow() and tvdiff() to avoid introducing new linkage issues
* curl: --progress-bar max update frequency now at 5HzDaniel Stenberg2013-07-311-1/+2
|
* Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variablesYang Tse2013-01-201-4/+5
|
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 93 lib/*.c renamed filesYang Tse2013-01-031-4/+5
| | | | | | 93 *.c source files renamed to use our standard naming scheme. This change affects 77 files in libcurl's source tree.
* curl tool: renaming hugehelp files to tool_hugehelpYang Tse2012-12-261-2/+4
|
* metalink: build fixes and adjustments IYang Tse2012-06-071-4/+4
|
* Reduced #ifdef HAVE_METALINKTatsuhiro Tsujikawa2012-05-261-2/+4
|
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-2/+2
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* curl: use new library-side TCP_KEEPALIVE optionsDave Reisner2012-02-091-2/+0
| | | | | | Use the new library CURLOPT_TCP_KEEPALIVE rather than disabling this via the sockopt callback. If --keepalive-time is used, apply the value to CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-061-6/+17
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-051-2/+4
|
* curl tool: code moved to tool_*.[ch] filesYang Tse2011-10-051-3/+21
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-031-0/+4
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-241-2/+14
|
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-221-6/+26
| | | | | | my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-211-4/+5
| | | | | | my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-201-2/+4
| | | | Overhauled FindWin32CACert()
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-191-5/+6
|
* curl tool: create tool_myfunc.[ch] which later on will hold my_* functionsYang Tse2011-09-181-2/+3
| | | | Additionally function my_useragent() now provides default User-Agent string
* curl tool: move 'Configurable' and free_config_fields() to tool_cfgable.[ch]Yang Tse2011-09-161-2/+2
| | | | Reviewing fields being free'd in free_config_fields() still pending
* curl tool: move so called 'multi_files' stuff into tool_mfiles.[ch]Yang Tse2011-09-161-2/+2
| | | | | Additionally some code reorganization and direct OOM handling fixes, just another step towards fixing curl tool issues uncovered 2011-09-15
* curl tool: move convert_* functions into tool_convert.[ch]Yang Tse2011-09-161-2/+3
| | | | Additionally fix data type of result vars for iconv() calls
* save metadata to extended file attributesStefan Tomanek2010-11-051-2/+3
| | | | | | | It is often convinient to track back the source of a once downloaded file; this patch makes curl store the source URL and other metadata alongside the retrieved file by using the extended attributes (if supported by the file system and enabled by --xattr).
* Rename CURL_SOURCES macro; revert previous rename of curl_SOURCES macro.Guenter Knauf2010-08-021-2/+2
|
* Renamed curl_SOURCES to CURL_ALLFILES to overcome wmake's case-insensitivity.Guenter Knauf2010-08-021-2/+2
|
* Added a comment with an alternate idea to avoid the backslash line ↵Guenter Knauf2010-07-291-1/+7
| | | | contination character.
* removed trailing whitespaceYang Tse2010-02-141-1/+1
|
* - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses forDaniel Stenberg2009-07-091-1/+2
| | | | | setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th.
* introduction of os-specific.c and os-specific.hYang Tse2009-06-051-2/+2
|
* moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_Daniel Stenberg2008-10-231-1/+1
| | | | inclusion by the curl tool without colliding with the curl_strequal functions.
* compile the library file strequal.c to get the Curl_raw_equal function asDaniel Stenberg2008-10-161-1/+2
| | | | that's not exported by the lib
* curl tool was using functions curlx_tvnow and curlx_tvdiff which are notYang Tse2007-02-201-3/+3
| | | | | | | | | | | | | | | | | part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, curl tool, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now curlutil.h and curlutil.c define and implement cutil_tvnow and cutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the curl tool. Doing this we avoid the above described problems.
* Moved strdup replacement from src/main.c into src/strdup.c so it's availableDan Fandrich2006-07-111-1/+2
| | | | in libcurl as well, if necessary.