summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: correct copyright year range on a few filesDaniel Stenberg2020-04-061-1/+1
|
* dist: add missing setup-win32.hMarc Hoersken2020-04-061-1/+2
| | | | Follow up to d820224b8b
* vssh: create directory for SSH backend codeDaniel Stenberg2019-08-171-1/+1
|
* curl_multi_poll: a sister to curl_multi_wait() that waits moreDaniel Stenberg2019-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Repeatedly we see problems where using curl_multi_wait() is difficult or just awkward because if it has no file descriptor to wait for internally, it returns immediately and leaves it to the caller to wait for a small amount of time in order to avoid occasional busy-looping. This is often missed or misunderstood, leading to underperforming applications. This change introduces curl_multi_poll() as a replacement drop-in function that accepts the exact same set of arguments. This function works identically to curl_multi_wait() - EXCEPT - for the case when there's nothing to wait for internally, as then this function will by itself wait for a "suitable" short time before it returns. This effectiely avoids all risks of busy-looping and should also make it less likely that apps "over-wait". This also changes the curl tool to use this funtion internally when doing parallel transfers and changes curl_easy_perform() to use it internally. Closes #4163
* lib/Makefile.am: make checksrc run in vquic tooDaniel Stenberg2019-08-051-1/+1
|
* plan9: add support for running on Plan 9lufia2019-07-311-2/+2
| | | | Closes #3701
* makefile: make checksrc and hugefile commands "silent"Daniel Stenberg2019-03-141-2/+7
| | | | | | | ... to match the style already used for compiling, linking etc. Acknowledges 'make V=1' to enable verbose. Closes #3681
* configure: rewrite --enable-code-coverageDaniel Stenberg2019-01-261-5/+1
| | | | | | | | | The previously used ax_code_coverage.m4 is not license compatible and must not be used. Reported-by: William A. Rowe Jr Fixes #3497 Closes #3499
* tests: move objnames-* from lib into testsDaniel Stenberg2019-01-151-2/+1
| | | | | | | Since they're used purely for testing purposes, I think they should rather be stored there. Closes #3470
* Makefile: add 'tidy' target that runs clang-tidyDaniel Stenberg2018-10-271-0/+8
| | | | | | Available in the root, src and lib dirs. Closes #3163
* whitespace fixesViktor Szakats2018-09-231-7/+7
| | | | | | | | | | | - 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
* lib/Makefile: only do symbol hiding if told toDaniel Stenberg2018-08-031-0/+3
| | | | | | | | | | This restores the ability to build a static lib with --disable-symbol-hiding to keep non-curl_ symbols. Researched-by: Dan Fandrich Reported-by: Ran Mozes Fixes #2830 Closes #2831
* build: remove the Borland specific makefilesDaniel Stenberg2018-06-021-2/+2
| | | | | | | According to the user survey 2018, not even one out of 670 users use them. Nobody on the mailing list spoke up for them either. Closes #2629
* lib: don't export all symbols, just everything curl_*W. Mark Kubacki2017-12-011-0/+2
| | | | | | | | | | | | | | | | | Absent any 'symbol map' or script to limit what gets exported, static linking of libraries previously resulted in a libcurl with curl's and those other symbols being (re-)exported. This did not happen if 'versioned symbols' were enabled (which is not the default) because then a version script is employed. This limits exports to everything starting in 'curl_*'., which is what "libcurl.vers" exports. This avoids strange side-effects such as with mixing methods from system libraries and those erroneously offered by libcurl. Closes #2127
* configure: remove --enable-soname-bump and SONAME_BUMPDaniel Stenberg2017-09-061-14/+0
| | | | | | | | | | | | | | | | | | Back in 2008, (and commit 3f3d6ebe665f3) we changed the logic in how we determine the native type for `curl_off_t`. To really make sure we didn't break ABI without bumping SONAME, we introduced logic that attempted to detect that it would use a different size and thus not be compatible. We also provided a manual switch that allowed users to tell configure to bump SONAME by force. Today, we know of no one who ever got a SONAME bump auto-detected and we don't know of anyone who's using the manual bump feature. The auto- detection is also no longer working since we introduced defining curl_off_t in system.h (7.55.0). Finally, this bumping logic is not present in the cmake build. Closes #1861
* lib: bump version info (soname). Adapt and reenable test 1135.Patrick Monnerat2017-09-041-2/+2
|
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-5/+1
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* build: provide easy code coverage measuringDaniel Stenberg2017-06-021-0/+4
| | | | Closes #1528
* VC: remove the makefile.vc6 build infraDaniel Stenberg2017-01-231-2/+2
| | | | | | The winbuild/ build files is now the single MSVC makefile build choice. Closes #1215
* lib/checksrc.whitelist: not needed anymoreDaniel Stenberg2016-04-191-1/+1
| | | | ... as checksrc now skips comments
* checksrc: pass on -D so the whitelists are found correctlyDaniel Stenberg2016-04-181-2/+2
|
* checksrc/makefile.am: use $top_srcdir to find source filesDaniel Stenberg2016-04-181-1/+2
| | | | ... to properly support out of source tree builds.
* Makefile: Fixed echo of checksrc checkSteve Holme2016-04-081-1/+1
|
* checksrc: Fix issue with the autobuilds not picking up the whitelistSteve Holme2016-04-081-1/+1
|
* checksrc: Added missing vauth and vtls directoriesSteve Holme2016-04-081-1/+1
|
* lib/src: fix the checksrc invokeDaniel Stenberg2016-04-031-2/+2
| | | | ... now works correctly when invoke from the root makefile
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* libcurl: VERSIONINFO updatePatrick Monnerat2015-07-211-2/+2
| | | | | Addition of new procedures curl_pushheader_bynum and curl_pushheader_byname requires VERSIONINFO updating.
* INTERNALS: cat lib/README* >> INTERNALSDaniel Stenberg2015-06-091-4/+1
| | | | | | | | and a conversion to markdown. Removed the lib/README.* files. The idea being to move toward having INTERNALS as the one and only "book" of internals documentation. Added a TOC to top of the document.
* README.pingpong: removedDaniel Stenberg2015-05-311-2/+1
|
* README.pipelining: removedDaniel Stenberg2015-05-151-2/+2
| | | | All the details mentioned here are better documented in man pages
* dist: include {src,lib}/checksrc.whitelistDaniel Stenberg2015-04-221-2/+2
|
* vtls: created subdir, moved sslgen.[ch] there, updated all include linesDaniel Stenberg2013-12-201-9/+4
|
* Makefile.am: use LDFLAGS as well when linking libcurlDaniel Stenberg2013-07-231-1/+1
| | | | | | | | Linking on Solaris 10 x86 with Sun Studio 12 failed when we upgraded automake for the release builds. Bug: http://curl.haxx.se/bug/view.cgi?id=1217 Reported-by: Dagobert Michelsen
* curl.h: stricter CURL_EXTERN linkage decorations logicYang Tse2013-03-121-27/+20
| | | | | | No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
* Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibilityYang Tse2013-03-091-0/+2
|
* configure: use XC_LIBTOOL for portability across libtool versionsYang Tse2013-03-081-12/+15
|
* move msvc IDE related files to 'vc' directory treeYang Tse2013-02-131-65/+7
|
* vms: config-vms.h is removed, no use trying to distribute itcurl-7_29_0Daniel Stenberg2013-02-061-11/+10
|
* build: fix circular header inclusion with other packagesYang Tse2013-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit renames lib/setup.h to lib/curl_setup.h and renames lib/setup_once.h to lib/curl_setup_once.h. Removes the need and usage of a header inclusion guard foreign to libcurl. [1] Removes the need and presence of an alarming notice we carried in old setup_once.h [2] ---------------------------------------- 1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H, this single inclusion guard is enough to ensure that inclusion of lib/setup_once.h done from lib/setup.h is only done once. Additionally lib/setup.h has always used __SETUP_ONCE_H macro to protect inclusion of setup_once.h even after commit ec691ca3, this was to avoid a circular header inclusion triggered when building a c-ares enabled version with c-ares sources available which also has a setup_once.h header. Commit ec691ca3 exposes the real nature of __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard foreign to libcurl belonging to c-ares's setup_once.h The renaming this commit does, fixes the circular header inclusion, and as such removes the need and usage of a header inclusion guard foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl. 2 - Due to the circular interdependency of old lib/setup_once.h and the c-ares setup_once.h header, old file lib/setup_once.h has carried back from 2006 up to now days an alarming and prominent notice about the need of keeping libcurl's and c-ares's setup_once.h in sync. Given that this commit fixes the circular interdependency, the need and presence of mentioned notice is removed. All mentioned interdependencies come back from now old days when the c-ares project lived inside a curl subdirectory. This commit removes last traces of such fact.
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-42/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* test 1222: 8 chars object name generation && test 1221: adjustmentsYang Tse2013-01-031-1/+2
|
* build: make use of 93 lib/*.c renamed filesYang Tse2013-01-031-11/+41
| | | | | | 93 *.c source files renamed to use our standard naming scheme. This change affects 77 files in libcurl's source tree.
* build and tests: curl_10char_object_name() shell functionYang Tse2013-01-021-1/+2
| | | | | | | | | | | | | | | | | | lib/objnames.inc provides definition of curl_10char_object_name() shell function. The intended purpose of this function is to transliterate a (*.c) source file name that may be longer than 10 characters, or not, into a string with at most 10 characters which may be used as an OS/400 object name. Test case 1221 does unit testng of this function and also verifies that it is possible to generate distinct short object names for all curl and libcurl *.c source file names. lib/objnames-test.sh is the shell script used for test case 1221. tests/runtests.pl modified to accept shell script test cases. More details inside lib/objnames.inc and lib/objnames-test.sh
* build: explain current role of LIBS in our Makefile.am filesYang Tse2012-12-041-1/+1
| | | | | | | BLANK_AT_MAKETIME may be used in our Makefile.am files to blank LIBS variable used in generated makefile at makefile processing time. Doing this functionally prevents LIBS from being used for all link targets in given makefile.
* build: prevent global LIBS from influencing src and lib build targetsYang Tse2012-12-031-0/+3
| | | | Currently, LIBS is already used through other macros.
* libcurl: VERSIONINFO updateDaniel Stenberg2012-11-081-2/+2
| | | | | | | Since we added the curl_multi_wait function, the VERSIONINFO needed updating. Reported by: Patrick Monnerat
* uniformly use AM_CPPFLAGS, avoid deprecated INCLUDESDave Reisner2012-11-061-14/+12
| | | | | | | | | | | | | Since automake 1.12.4, the warnings are issued on running automake: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Avoid INCLUDES and roll these flags into AM_CPPFLAGS. Compile tested on: Ubuntu 10.04 (automake 1:1.11.1-1) Ubuntu 12.04 (automake 1:1.11.3-1ubuntu2) Arch Linux (automake 1.12.4)
* Removed libcurl.imp from Makefile.am.Guenter Knauf2012-07-111-8/+8
| | | | Updated .gitignore for NetWare created files.
* build adjustments: commit 9e24b9c7 follow-upYang Tse2012-04-171-3/+3
|