<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/unit, branch gemini-meta</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>source cleanup: remove all custom typedef structs</title>
<updated>2020-05-15T06:54:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T22:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=8df455479f8801bbebad8839fc96abbffa711603'/>
<id>8df455479f8801bbebad8839fc96abbffa711603</id>
<content type='text'>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Stick to a single unified way to use structs
 - Make checksrc complain on 'typedef struct {'
 - Allow them in tests, public headers and examples

 - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually
   typedef different types/structs depending on build conditions.

Closes #5338
</pre>
</div>
</content>
</entry>
<entry>
<title>checksrc: enhance the ASTERISKSPACE and update code accordingly</title>
<updated>2020-05-13T22:02:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-13T10:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=66b077576313eda129bce9f58fdc894d857cb121'/>
<id>66b077576313eda129bce9f58fdc894d857cb121</id>
<content type='text'>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fine: "struct hello *world"

Not fine: "struct hello* world" (and variations)

Closes #5386
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: fix runtests.pl with CMake, add new test targets</title>
<updated>2020-05-12T06:50:17+00:00</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2020-05-10T00:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=ad6416986755e417c66e2c646d532561b445a5b5'/>
<id>ad6416986755e417c66e2c646d532561b445a5b5</id>
<content type='text'>
  * runtests.pl:
    - Fix out-of-tree build under CMake when srcdir is not set. Default
      srcdir to the location of runtests.pl.
    - Add a hack to allow CMake to use the TFLAGS option as documented
      in tests/README and used in scripts/travis/script.sh.
  * Bump CMake version to 3.2 for USES_TERMINAL, dropping Debian Jessie
    support (no one should care, it is already EOL.).
  * Remove CTest since it defines its own 'test' target with no tests
    since all unittests are already broken and not built by default.
  * Add new test targets based on the options from Makefile.am. Since
    new test targets are rarely added, I opted for duplicating the
    runtests.pl options as opposed to creating a new Makefile.inc file.
    Use top-level target names (test-x) instead of x-test since that is
    used by CI and others.

Closes #5358
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * runtests.pl:
    - Fix out-of-tree build under CMake when srcdir is not set. Default
      srcdir to the location of runtests.pl.
    - Add a hack to allow CMake to use the TFLAGS option as documented
      in tests/README and used in scripts/travis/script.sh.
  * Bump CMake version to 3.2 for USES_TERMINAL, dropping Debian Jessie
    support (no one should care, it is already EOL.).
  * Remove CTest since it defines its own 'test' target with no tests
    since all unittests are already broken and not built by default.
  * Add new test targets based on the options from Makefile.am. Since
    new test targets are rarely added, I opted for duplicating the
    runtests.pl options as opposed to creating a new Makefile.inc file.
    Use top-level target names (test-x) instead of x-test since that is
    used by CI and others.

Closes #5358
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: do not build test programs by default</title>
<updated>2020-05-12T06:50:07+00:00</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2020-05-10T00:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=c2ab2494ef375bfc5d621b39badabeb9a0c86f6a'/>
<id>c2ab2494ef375bfc5d621b39badabeb9a0c86f6a</id>
<content type='text'>
The default target should only build libcurl and curl. Add a dedicated
'testdeps' target which will be used later when running tests. Note that
unittests are currently broken in CMake and already excluded.

Closes #5368
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default target should only build libcurl and curl. Add a dedicated
'testdeps' target which will be used later when running tests. Note that
unittests are currently broken in CMake and already excluded.

Closes #5368
</pre>
</div>
</content>
</entry>
<entry>
<title>dynbuf: introduce internal generic dynamic buffer functions</title>
<updated>2020-05-04T08:40:39+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-02T15:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=ed35d6590e72c23c568af1e3b8ac6e4e2d883888'/>
<id>ed35d6590e72c23c568af1e3b8ac6e4e2d883888</id>
<content type='text'>
A common set of functions instead of many separate implementations for
creating buffers that can grow when appending data to them. Existing
functionality has been ported over.

In my early basic testing, the total number of allocations seem at
roughly the same amount as before, possibly a few less.

See docs/DYNBUF.md for a description of the API.

Closes #5300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A common set of functions instead of many separate implementations for
creating buffers that can grow when appending data to them. Existing
functionality has been ported over.

In my early basic testing, the total number of allocations seem at
roughly the same amount as before, possibly a few less.

See docs/DYNBUF.md for a description of the API.

Closes #5300
</pre>
</div>
</content>
</entry>
<entry>
<title>conncache: various concept cleanups</title>
<updated>2020-04-30T12:27:54+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-04-26T22:33:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=c06902713998d68202c5a764de910ba8d0e8f54d'/>
<id>c06902713998d68202c5a764de910ba8d0e8f54d</id>
<content type='text'>
More connection cache accesses are protected by locks.

CONNCACHE_* is a beter prefix for the connection cache lock macros.

Curl_attach_connnection: now called as soon as there's a connection
struct available and before the connection is added to the connection
cache.

Curl_disconnect: now assumes that the connection is already removed from
the connection cache.

Ref: #4915
Closes #5009
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More connection cache accesses are protected by locks.

CONNCACHE_* is a beter prefix for the connection cache lock macros.

Curl_attach_connnection: now called as soon as there's a connection
struct available and before the connection is added to the connection
cache.

Curl_disconnect: now assumes that the connection is already removed from
the connection cache.

Ref: #4915
Closes #5009
</pre>
</div>
</content>
</entry>
<entry>
<title>headers: copyright range fix</title>
<updated>2020-04-28T16:10:46+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-04-28T16:10:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=6370e43153b99893247c0904bf43bd0f83af8141'/>
<id>6370e43153b99893247c0904bf43bd0f83af8141</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doh: Constify some input pointers</title>
<updated>2020-04-28T05:56:34+00:00</updated>
<author>
<name>Rikard Falkeborn</name>
<email>rikard.falkeborn@gmail.com</email>
</author>
<published>2020-04-27T10:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=fc0e29dd57bb0dc7bbf4d0e5c9638b01f7b6afc6'/>
<id>fc0e29dd57bb0dc7bbf4d0e5c9638b01f7b6afc6</id>
<content type='text'>
Closes #5306
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5306
</pre>
</div>
</content>
</entry>
<entry>
<title>src: Remove C99 constructs to ensure C89 compliance</title>
<updated>2020-04-19T19:56:52+00:00</updated>
<author>
<name>Tom</name>
<email>tomaviv57@gmail.com</email>
</author>
<published>2020-04-17T14:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=207a6cbb909ba6df01ba5ed8f73acc733128bdf1'/>
<id>207a6cbb909ba6df01ba5ed8f73acc733128bdf1</id>
<content type='text'>
This fixes the error: 'for' loop initial declaration used outside C99
mode by declaring the loop increment variable in the beginning of the
block instead of inside the for loop.

Fixes #5254
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the error: 'for' loop initial declaration used outside C99
mode by declaring the loop increment variable in the beginning of the
block instead of inside the for loop.

Fixes #5254
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: insert newline after if() conditions</title>
<updated>2020-03-30T14:05:30+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-30T08:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=0e607542dca1247217997184224fc1a779778166'/>
<id>0e607542dca1247217997184224fc1a779778166</id>
<content type='text'>
Our code style mandates we put the conditional block on a separate
line. These mistakes are now detected by the updated checksrc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our code style mandates we put the conditional block on a separate
line. These mistakes are now detected by the updated checksrc.
</pre>
</div>
</content>
</entry>
</feed>
