<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git/auto, branch gzip-v36</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-09-05T01:20:41+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=04e8bdfdbd42d73a68434f88249ab6652cf104a1'/>
<id>04e8bdfdbd42d73a68434f88249ab6652cf104a1</id>
<content type='text'>
These are based on C23's &lt;stdbit.h&gt;.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: added --no-zlib.</title>
<updated>2023-09-04T01:40:33+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=39db8691fe40adcfdb827c194636b87391c7c416'/>
<id>39db8691fe40adcfdb827c194636b87391c7c416</id>
<content type='text'>
Related to:

    HTTP: compress: gzip

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&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;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "encoding": "gzip".</title>
<updated>2023-09-04T01:39:54+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=00801288b07d9d7c9557667b8020bab61375ca1c'/>
<id>00801288b07d9d7c9557667b8020bab61375ca1c</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: compiling with zlib.</title>
<updated>2023-09-03T16:38:05+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=d3f4e09c9e2e451b047dbfba739d54b6b1c4c9ba'/>
<id>d3f4e09c9e2e451b047dbfba739d54b6b1c4c9ba</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "compress" action.</title>
<updated>2023-09-03T16:38:05+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=6e164a368b4aea80233b17486fe549ab70816e86'/>
<id>6e164a368b4aea80233b17486fe549ab70816e86</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;
</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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Libunit: added macros that enhance type safety.</title>
<updated>2023-09-03T16:38:05+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=de56ec617f148a15430d7c2d20e1db46db56c62d'/>
<id>de56ec617f148a15430d7c2d20e1db46db56c62d</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;
</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;
</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>
<entry>
<title>Wasm: Wire the Wasm language module up to the build system.</title>
<updated>2023-08-17T12:09:42+00:00</updated>
<author>
<name>Andrew Clayton</name>
<email>a.clayton@nginx.com</email>
</author>
<published>2023-08-08T22:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=2b4a7eedd0804f49ebbe53cfb046015fff6053e3'/>
<id>2b4a7eedd0804f49ebbe53cfb046015fff6053e3</id>
<content type='text'>
This allows to configure the Wasm module, e.g

  ./configure wasm --include-path=/path/to/wasmtime-v11.0.0-x86_64-linux-c-api/include --lib-path=/path/to/wasmtime-v11.0.0-x86_64-linux-c-api/lib --rpath

--rpath as above says to set the rpath to the value of --lib-path. You
can alternatively specify a directory to use as the rpath. Or simply
omit the option to not have an rpath set.

This is mostly useful for during development where you may not have the
Wasmtime stuff installed to system directories or you want to test with
newer/different versions.

See ./configure wasm --help for a full list of options.

Reviewed-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to configure the Wasm module, e.g

  ./configure wasm --include-path=/path/to/wasmtime-v11.0.0-x86_64-linux-c-api/include --lib-path=/path/to/wasmtime-v11.0.0-x86_64-linux-c-api/lib --rpath

--rpath as above says to set the rpath to the value of --lib-path. You
can alternatively specify a directory to use as the rpath. Or simply
omit the option to not have an rpath set.

This is mostly useful for during development where you may not have the
Wasmtime stuff installed to system directories or you want to test with
newer/different versions.

See ./configure wasm --help for a full list of options.

Reviewed-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Andrew Clayton &lt;a.clayton@nginx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: controlling response headers support.</title>
<updated>2023-08-09T06:37:16+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2023-08-09T06:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=a28bef097cd63da3bbb375ef0283e65be41a88ff'/>
<id>a28bef097cd63da3bbb375ef0283e65be41a88ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>NJS: explicitely require 0.8.0 or later versions in configure.</title>
<updated>2023-07-11T20:02:43+00:00</updated>
<author>
<name>Konstantin Pavlov</name>
<email>thresh@nginx.com</email>
</author>
<published>2023-07-11T20:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=497f08d15fc040b3484562cf95dbe242a85fe0df'/>
<id>497f08d15fc040b3484562cf95dbe242a85fe0df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
