<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git/auto, branch alx-gzip</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Libunit: added bit functions.</title>
<updated>2023-12-19T14:02:42+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-09-05T00:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=f9761247794fce2de3726f3de9871a8ec24dcef3'/>
<id>f9761247794fce2de3726f3de9871a8ec24dcef3</id>
<content type='text'>
These are based on C23's &lt;stdbit.h&gt;.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are based on C23's &lt;stdbit.h&gt;.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: added --no-zlib.</title>
<updated>2023-10-25T11:38:32+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-21T11:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=3630425f826c7334592c7d1f2527082cfe43f79d'/>
<id>3630425f826c7334592c7d1f2527082cfe43f79d</id>
<content type='text'>
Related to:

    HTTP: compress: gzip

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to:

    HTTP: compress: gzip

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "encoding": "gzip".</title>
<updated>2023-10-25T11:38:04+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-19T12:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d05e2ab887602bb3f3f3020ba14f247f1dd18bef'/>
<id>d05e2ab887602bb3f3f3020ba14f247f1dd18bef</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: compiling with zlib.</title>
<updated>2023-10-25T11:38:01+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-21T11:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=2549de1f5ff81653d5176fe20ebb3814c64d103f'/>
<id>2549de1f5ff81653d5176fe20ebb3814c64d103f</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "compress" action.</title>
<updated>2023-10-25T11:37:58+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-19T12:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=fd4f4e4c5943c3bcd09e3bdcbeefc263aa2f1937'/>
<id>fd4f4e4c5943c3bcd09e3bdcbeefc263aa2f1937</id>
<content type='text'>
There are still no supported encodings.  This is just infrastructure for
the next commits, which will add gzip compression.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are still no supported encodings.  This is just infrastructure for
the next commits, which will add gzip compression.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Libunit: added macros that enhance type safety.</title>
<updated>2023-10-25T11:37:31+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-19T10:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=a084e2bc8066ce2fed852bf04e5168e289bf834b'/>
<id>a084e2bc8066ce2fed852bf04e5168e289bf834b</id>
<content type='text'>
nxt_min()
nxt_max()
    Return the minimum/maximum of two values.

nxt_swap()
    Swap the values of two variables passed by their addresses.

nxt_sizeof_array()
    Return the size (in bytes) of an array.

nxt_nitems()
    Return the number of elements in an array.

nxt_memberof()
    Expand to a member of a structure.  It uses a compound literal for
    the object.

nxt_sizeof_incomplete()
    Calculate the size of an incomplete type, as if sizeof() could be
    applied to it.

nxt_sizeof_fam0()
    Calculate the size of each element of a FAM of a structure.

nxt_sizeof_fam()
    Calculate the size of a FAM of a structure.

nxt_offsetof_fam()
    Calculate the offset of the nth element of the FAM from the start of
    the containing structure.

nxt_sizeof_struct()
    Calculate the total size of a structure containing a FAM.  This
    value is the one that should be used for allocating the structure.

    Suggested-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;

nxt_is_near_end()
    Evaluate to true if the member is near the end of a structure.  This
    is only designed to be used with FAMs, to make sure that the FAM is
    near the end of the structure (a zero-length array near the end of
    the structure would still pass this test, but it's a reasonable
    assertion to do.

    Suggested-by: David Laight &lt;David.Laight@ACULAB.COM&gt;

nxt_is_zero_sizeof()
    Evaluate to true if the size of 'x' is 0.

nxt_is_same_type()
    Evaluate to true if the both arguments are compatible types.

nxt_is_same_typeof()
    Evaluate to true if the types of both arguments are compatible.

nxt_is_array()
    Evaluate to true if the argument is an array.

nxt_must_be()
    It's like static_assert(3), but implemented as an expression.  It's
    necessary for writing the must_be_array() macro.  It's always
    evaluates to (int) 0.

nxt_must_be_array()
    Statically assert that the argument is an array.  It is an
    expression that always evaluates to (int) 0.

nxt_must_be_zero_sizeof()
    Statically assert that the argument has a size of 0.

nxt_must_be_near_end()
    Statically assert that a member of a structure is near the end of
    it.

    Suggested-by: David Laight &lt;David.Laight@ACULAB.COM&gt;

nxt_must_be_fam()
    Statically assert that the argument is a flexible array member
    (FAM).  It's an expression that always evaluates to (int) 0.

Link: &lt;https://gustedt.wordpress.com/2011/03/14/flexible-array-member/&gt;
Link: &lt;https://lore.kernel.org/lkml/202308161913.91369D4A@keescook/T/&gt;
Link: &lt;https://inbox.sourceware.org/gcc/dac8afb7-5026-c702-85d2-c3ad977d9a48@kernel.org/T/&gt;
Link: &lt;https://stackoverflow.com/a/57537491&gt;
Link: &lt;https://github.com/shadow-maint/shadow/pull/762&gt;
Cc: Andrew Clayton &lt;a.clayton@nginx.com&gt;
Cc: Zhidao Hong &lt;z.hong@f5.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nxt_min()
nxt_max()
    Return the minimum/maximum of two values.

nxt_swap()
    Swap the values of two variables passed by their addresses.

nxt_sizeof_array()
    Return the size (in bytes) of an array.

nxt_nitems()
    Return the number of elements in an array.

nxt_memberof()
    Expand to a member of a structure.  It uses a compound literal for
    the object.

nxt_sizeof_incomplete()
    Calculate the size of an incomplete type, as if sizeof() could be
    applied to it.

nxt_sizeof_fam0()
    Calculate the size of each element of a FAM of a structure.

nxt_sizeof_fam()
    Calculate the size of a FAM of a structure.

nxt_offsetof_fam()
    Calculate the offset of the nth element of the FAM from the start of
    the containing structure.

nxt_sizeof_struct()
    Calculate the total size of a structure containing a FAM.  This
    value is the one that should be used for allocating the structure.

    Suggested-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;

nxt_is_near_end()
    Evaluate to true if the member is near the end of a structure.  This
    is only designed to be used with FAMs, to make sure that the FAM is
    near the end of the structure (a zero-length array near the end of
    the structure would still pass this test, but it's a reasonable
    assertion to do.

    Suggested-by: David Laight &lt;David.Laight@ACULAB.COM&gt;

nxt_is_zero_sizeof()
    Evaluate to true if the size of 'x' is 0.

nxt_is_same_type()
    Evaluate to true if the both arguments are compatible types.

nxt_is_same_typeof()
    Evaluate to true if the types of both arguments are compatible.

nxt_is_array()
    Evaluate to true if the argument is an array.

nxt_must_be()
    It's like static_assert(3), but implemented as an expression.  It's
    necessary for writing the must_be_array() macro.  It's always
    evaluates to (int) 0.

nxt_must_be_array()
    Statically assert that the argument is an array.  It is an
    expression that always evaluates to (int) 0.

nxt_must_be_zero_sizeof()
    Statically assert that the argument has a size of 0.

nxt_must_be_near_end()
    Statically assert that a member of a structure is near the end of
    it.

    Suggested-by: David Laight &lt;David.Laight@ACULAB.COM&gt;

nxt_must_be_fam()
    Statically assert that the argument is a flexible array member
    (FAM).  It's an expression that always evaluates to (int) 0.

Link: &lt;https://gustedt.wordpress.com/2011/03/14/flexible-array-member/&gt;
Link: &lt;https://lore.kernel.org/lkml/202308161913.91369D4A@keescook/T/&gt;
Link: &lt;https://inbox.sourceware.org/gcc/dac8afb7-5026-c702-85d2-c3ad977d9a48@kernel.org/T/&gt;
Link: &lt;https://stackoverflow.com/a/57537491&gt;
Link: &lt;https://github.com/shadow-maint/shadow/pull/762&gt;
Cc: Andrew Clayton &lt;a.clayton@nginx.com&gt;
Cc: Zhidao Hong &lt;z.hong@f5.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update third-party components for the Java module.</title>
<updated>2023-10-17T17:43:51+00:00</updated>
<author>
<name>Sergey A. Osokin</name>
<email>sergey.osokin@nginx.com</email>
</author>
<published>2023-10-17T17:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=5265b7e0580edee488c07e0cc2953d88ae2aed1b'/>
<id>5265b7e0580edee488c07e0cc2953d88ae2aed1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update third-party components for the Java module.</title>
<updated>2023-10-10T15:55:44+00:00</updated>
<author>
<name>Sergey A. Osokin</name>
<email>sergey.osokin@nginx.com</email>
</author>
<published>2023-10-10T15:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d1a9069852b78e43aa4e0265cf193743019f41be'/>
<id>d1a9069852b78e43aa4e0265cf193743019f41be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update third-party components for the Java module.</title>
<updated>2023-10-06T16:22:03+00:00</updated>
<author>
<name>Sergey A. Osokin</name>
<email>sergey.osokin@nginx.com</email>
</author>
<published>2023-10-06T16:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=c905d0d393378de2fa44d3e21d2bf317a6c3245c'/>
<id>c905d0d393378de2fa44d3e21d2bf317a6c3245c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added unit pkg-config file.</title>
<updated>2023-08-01T17:16:17+00:00</updated>
<author>
<name>Konstantin Pavlov</name>
<email>thresh@nginx.com</email>
</author>
<published>2023-08-01T17:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=ebcc92069d6b4f59a3ab39d66649f5c3c0e6a768'/>
<id>ebcc92069d6b4f59a3ab39d66649f5c3c0e6a768</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
