Viktor Szakats
95a882d268
build: fix -Wconversion/-Wsign-conversion warnings
...
Fix remaining warnings in examples and tests which are not suppressed
by the pragma in `lib/curl_setup.h`.
Silence a toolchain issue causing warnings in `FD_SET()` calls with
older Cygwin/MSYS2 builds. Likely fixed on 2020-08-03 by:
https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=5717262b8ecfed0f7fab63e2c09c78991e36f9dd
Follow-up to 2dbe75bd7f #12492
Closes #12557
2023-12-20 15:38:45 +00:00
Daniel Stenberg
5b060a4108
docs: rewrite to present tense
...
... instead of using future tense.
+ numerous cleanups and improvements
+ stick to "reuse" not "re-use"
+ fewer contractions
Closes #11713
2023-08-23 23:26:10 +02:00
Daniel Stenberg
2bc1d775f5
copyright: update all copyright lines and remove year ranges
...
- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- saves us from pointless churn
- git keeps history for us
- the year range is kept in COPYING
checksrc is updated to allow non-year using copyright statements
Closes #10205
2023-01-03 09:19:21 +01:00
max.mehl
ad9bc5976d
copyright: make repository REUSE compliant
...
Add licensing and copyright information for all files in this repository. This
either happens in the file itself as a comment header or in the file
`.reuse/dep5`.
This commit also adds a Github workflow to check pull requests and adapts
copyright.pl to the changes.
Closes #8869
2022-06-13 09:13:00 +02:00
Daniel Stenberg
a28464ae77
docs: reduce/avoid English contractions
...
You're => You are
Hasn't => Has not
Doesn't => Does not
Don't => Do not
You'll => You will
etc
Closes #7930
2021-11-07 23:16:27 +01:00
Daniel Stenberg
ac0a88fd25
copyright: fix year ranges
...
Follow-up from 4d2f800677
2020-11-05 08:22:10 +01:00
Daniel Stenberg
4d2f800677
curl.se: new home
...
Closes #6172
2020-11-04 23:59:47 +01:00
Daniel Stenberg
b4beb3b115
examples: remove superfluous null-pointer checks
...
in ftpget, ftpsget and sftpget, so that scan-build stops warning for
potential NULL pointer dereference below!
Detected by scan-build
2019-02-14 23:30:43 +01:00
Daniel Stenberg
6b84438d9a
code style: use spaces around equals signs
2017-09-11 09:29:50 +02:00
Daniel Stenberg
3a6563d668
examples: adhere to curl code style
...
All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.
573 checksrc warnings were addressed.
2016-02-11 09:44:45 +01:00
Daniel Stenberg
4af40b3646
URLs: change all http:// URLs to https://
2016-02-03 00:19:02 +01:00
Daniel Stenberg
0e7d76d6a8
examples: more descriptions
2015-06-18 11:38:54 +02:00
Ville Skyttä
56b7663f73
docs: Spelling fixes
2015-06-08 13:43:31 +02:00
Daniel Stenberg
ac28971aa6
examples: cleanup curl includes
...
Only <curl/curl.h> is needed typically and curl/types.h has been removed
2011-06-28 19:08:51 +02:00
Daniel Stenberg
1aeb635cdd
sources: update source headers
...
All C and H files now (should) feature the proper project curl source
code header, which includes basic info, a copyright statement and some
basic disclaimers.
2011-03-10 12:04:33 +01:00
Daniel Stenberg
18e7b52e8e
examples: use example.com in example URLs
2010-10-05 15:00:19 +02:00
Daniel Stenberg
2309b4e330
remove the CVSish $Id$ lines
2010-03-24 11:02:54 +01:00
Dan Fandrich
e664cd5826
Fixed a surprising number of example programs that were passing int arguments
...
to curl_easy_setopt instead of long.
2008-05-22 21:20:07 +00:00
Daniel Stenberg
b12fef3f31
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
...
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-27 09:06:15 +00:00
Dan Fandrich
4706a93341
Fixed some more simple compile warnings in the examples.
2007-07-16 21:22:12 +00:00
Dan Fandrich
49ce3e5160
Fixed some compile warnings and errors and improved portability in the
...
examples.
Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers
any longer.
2007-07-12 21:11:10 +00:00
Daniel Stenberg
d736ac51c0
stripped trailing whitespace
2004-08-23 14:22:52 +00:00
Daniel Stenberg
f68219ddaa
use the newer option names
2003-12-08 14:13:19 +00:00
Daniel Stenberg
0b1197936c
I made the write callback create the file the first time it gets called so
...
that it won't create an empty file if the remote file doesn't exist
2002-01-08 13:05:44 +00:00
Daniel Stenberg
053bf49bd2
Added ftpget.c just to show that it is exactly as easy to get FTP files
2001-03-27 09:00:18 +00:00