<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/checksrc.pl, branch bagder/hyper-tests</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>checksrc: improve the SPACESEMICOLON error message</title>
<updated>2021-10-18T21:52:30+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-18T08:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=3da8b4dabf712f6fd709334955fce3694df94e9e'/>
<id>3da8b4dabf712f6fd709334955fce3694df94e9e</id>
<content type='text'>
and adjust the MULTISPACE one to use plural

Closes #7866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and adjust the MULTISPACE one to use plural

Closes #7866
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: ignore preprocessor lines</title>
<updated>2021-10-17T09:19:49+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-10-16T11:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=53418dbc847c9a78d79ee81b702770a0efe9cf22'/>
<id>53418dbc847c9a78d79ee81b702770a0efe9cf22</id>
<content type='text'>
In order to check the actual code better, checksrc now ignores
everything that look like preprocessor instructions. It also means
that code in macros are now longer checked.

Note that some rules then still don't need to be followed when code is
exactly below a cpp instruction.

Removes two checksrc exceptions we needed previously because of
preprocessor lines being checked.

Reported-by: Marcel Raad
Fixes #7863
Closes #7864
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to check the actual code better, checksrc now ignores
everything that look like preprocessor instructions. It also means
that code in macros are now longer checked.

Note that some rules then still don't need to be followed when code is
exactly below a cpp instruction.

Removes two checksrc exceptions we needed previously because of
preprocessor lines being checked.

Reported-by: Marcel Raad
Fixes #7863
Closes #7864
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: don't use strerror()</title>
<updated>2021-09-09T05:53:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-09-08T09:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2f0bb864c126892afc822e0cf5547d7ea5094212'/>
<id>2f0bb864c126892afc822e0cf5547d7ea5094212</id>
<content type='text'>
We have and provide Curl_strerror() internally for a reason: strerror()
is not necessarily thread-safe so we should always try to avoid it.

Extended checksrc to warn for this, but feature the check disabled by
default and only enable it in lib/

Closes #7685
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have and provide Curl_strerror() internally for a reason: strerror()
is not necessarily thread-safe so we should always try to avoid it.

Extended checksrc to warn for this, but feature the check disabled by
default and only enable it in lib/

Closes #7685
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: complain on == NULL or != 0 checks in conditions</title>
<updated>2021-04-22T07:10:17+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-19T08:45:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=52fab72397687467650093c86e5479cb1d759042'/>
<id>52fab72397687467650093c86e5479cb1d759042</id>
<content type='text'>
... to make them all consistenly use if(!var) and if(var)

Also added a few missing warnings to the documentation.

Closes #6912
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to make them all consistenly use if(!var) and if(var)

Also added a few missing warnings to the documentation.

Closes #6912
</pre>
</div>
</content>
</entry>
<entry>
<title>curl.se: new home</title>
<updated>2020-11-04T22:59:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-11-04T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4d2f8006777d6354d9b62eae38ebd0a0256d0f94'/>
<id>4d2f8006777d6354d9b62eae38ebd0a0256d0f94</id>
<content type='text'>
Closes #6172
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6172
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: warn on empty line before open brace</title>
<updated>2020-10-15T21:32:26+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-10-15T13:30:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=475c1aba68030bc21b8d0ed76a7028eb2e797f64'/>
<id>475c1aba68030bc21b8d0ed76a7028eb2e797f64</id>
<content type='text'>
... and fix a few occurances

Closes #6088
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and fix a few occurances

Closes #6088
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: detect // comments on column 0</title>
<updated>2020-10-07T08:14:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-10-07T07:11:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7d8c89d47b459e104125dc900251d0bd07c6fd79'/>
<id>7d8c89d47b459e104125dc900251d0bd07c6fd79</id>
<content type='text'>
Spotted while working on #6045

Closes #6048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Spotted while working on #6045

Closes #6048
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: warn on space after exclamation mark</title>
<updated>2020-10-02T14:35:53+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-10-02T08:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=26a7d51c21bce00e332bbd10443594edb879a871'/>
<id>26a7d51c21bce00e332bbd10443594edb879a871</id>
<content type='text'>
Closes #6034
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6034
</pre>
</div>
</content>
</entry>
<entry>
<title>src: Consistently spell whitespace without whitespace</title>
<updated>2020-09-30T19:10:14+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2020-09-30T19:10:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2aac895fb6a7b19dada73f55041b710670befa49'/>
<id>2aac895fb6a7b19dada73f55041b710670befa49</id>
<content type='text'>
Whitespace is spelled without a space between white and space, so
make sure to consistently spell it that way across the codebase.

Closes #6023
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
Reviewed-by: Emil Engler &lt;me@emilengler.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whitespace is spelled without a space between white and space, so
make sure to consistently spell it that way across the codebase.

Closes #6023
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
Reviewed-by: Emil Engler &lt;me@emilengler.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: verify do-while and spaces between the braces</title>
<updated>2020-08-24T14:38:17+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-08-24T07:31:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4ebac06106825a5d28be4c38e62732c911168605'/>
<id>4ebac06106825a5d28be4c38e62732c911168605</id>
<content type='text'>
Updated mprintf.c to comply

Closes #5845
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated mprintf.c to comply

Closes #5845
</pre>
</div>
</content>
</entry>
</feed>
