Home
last modified time | relevance | path

Searched hist:0 (Results 76 – 100 of 373) sorted by relevance

12345678910>>...15

/unit/src/
H A Dnxt_mem_map.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_murmur_hash.h0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_parse.h0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_queue.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_gmtime.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_hash.h0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_recvbuf.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_recvbuf.h0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_djb_hash.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dnxt_dyld.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
/unit/auto/cc/
H A Dtest0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
/unit/auto/echo/
H A DMakefile0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Decho.c0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
/unit/auto/
H A Dhave0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dtest_build0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dpcrediff 2228:f403dc1e3ec1 Thu Oct 27 23:17:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 2228:f403dc1e3ec1 Thu Oct 27 23:17:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
H A Dtimediff 2228:f403dc1e3ec1 Thu Oct 27 23:17:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 2228:f403dc1e3ec1 Thu Oct 27 23:17:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
0:a63ceefd6ab0 Tue Jan 17 17:00:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Initial version.
/unit/test/node/write_before_write_head/
H A Dapp.jsdiff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1114:6d87da79ec4e Tue Aug 06 13:24:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Node.js: returning "this" from writeHead() to allow chaining.

In Node.js version 11.10.0 and later, the writeHead() function returns "this".
/unit/test/node/variables/
H A Dapp.jsdiff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1114:6d87da79ec4e Tue Aug 06 13:24:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Node.js: returning "this" from writeHead() to allow chaining.

In Node.js version 11.10.0 and later, the writeHead() function returns "this".
/unit/test/node/promise_handler/
H A Dapp.jsdiff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1865:3c551b9721df Wed May 12 09:26:00 UTC 2021 Oisin Canty <o.canty@f5.com> Node.js: a shim for overriding "http" and "websocket" modules.

Also added stubs for Server.address()
This was done to prevent crashes in some popular frameworks like express

Supports both CommonJS and the new ES Modules system syntax e.g:

app.js:
const http = require('http')

app.mjs:
import http from "http"

Usage on Node 14.16.x and higher:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--loader",
"unit-http/require_shim.mjs"
"--require",
"unit-http/require_shim",
"app.js"
]
}

Usage on Node 14.15.x and lower:
{
"type": "external",
"processes": {"spare": 0},
"working_directory": '/project',
"executable": "/usr/bin/env",
"arguments": [
"node",
"--require",
"unit-http/require_shim",
"app.js"
]
}
diff 1114:6d87da79ec4e Tue Aug 06 13:24:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Node.js: returning "this" from writeHead() to allow chaining.

In Node.js version 11.10.0 and later, the writeHead() function returns "this".
/unit/pkg/docker/
H A DDockerfile.wasmdiff 2691:39009f55160d Wed Feb 21 13:10:00 UTC 2024 Andrew Clayton <a.clayton@nginx.com> Docker: Re-generate Dockerfile.wasm

This now includes support for the 'wasm-wasi-component' module.

This targets the upcoming 1.32.0 release which is required by
wasm-wasi-component. However of course the 1.32.0 tag doesn't exist yet,
so there will be a small window where this image won't build.

Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 2691:39009f55160d Wed Feb 21 13:10:00 UTC 2024 Andrew Clayton <a.clayton@nginx.com> Docker: Re-generate Dockerfile.wasm

This now includes support for the 'wasm-wasi-component' module.

This targets the upcoming 1.32.0 release which is required by
wasm-wasi-component. However of course the 1.32.0 tag doesn't exist yet,
so there will be a small window where this image won't build.

Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 2546:3a9046dca2a6 Wed Aug 23 11:29:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Generated Dockerfiles for Unit 1.31.0.
/unit/test/php/auth/
H A Dindex.php1742:0b6b58efc489 Thu Dec 10 19:28:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for PHP_AUTH_* variables.
/unit/pkg/deb/
H A DMakefile.jsc161887:0a32914bf7bf Thu May 27 10:12:00 UTC 2021 Andrei Belov <defan@nginx.com> Packages: added Ubuntu 21.04 "hirsute" support.
/unit/pkg/deb/debian.module/
H A Dunit.example-jsc16-config1887:0a32914bf7bf Thu May 27 10:12:00 UTC 2021 Andrei Belov <defan@nginx.com> Packages: added Ubuntu 21.04 "hirsute" support.
H A Dunit.example-jsc17-config1887:0a32914bf7bf Thu May 27 10:12:00 UTC 2021 Andrei Belov <defan@nginx.com> Packages: added Ubuntu 21.04 "hirsute" support.

12345678910>>...15