Commit Graph

450 Commits

Author SHA1 Message Date
Michele Caini
426988b000 loop: metrics 2023-05-19 14:57:15 +02:00
Michele Caini
06f084d4ba thread: getcpu 2023-05-19 14:44:33 +02:00
Michele Caini
8743dfc155 util: available_memory + missing declarations for gettime :) 2023-05-19 14:25:21 +02:00
Michele Caini
bd90d77bc7 util: formatting 2023-05-19 14:24:08 +02:00
Michele Caini
5e4694abba util: uvw_clock_id and gettime 2023-05-19 14:23:56 +02:00
Jon Daniel
cf0f8c6fd4
process: fix missing const in equality relation for C++23 (#278) 2023-05-12 08:29:43 +02:00
Benoît
ac42b79b30
process: fix ambiguous overloaded from c++20 with explicit cast (#280) 2023-05-11 14:29:57 +02:00
Michele Caini
d84a031f32 loop: add missing UVW_INLINE (close #282) 2023-05-11 14:26:20 +02:00
Reimu NotMoe
e059473135
poll: fix compile errors caused by ambiguous naming of poll_event in poll_handle (#281) 2023-05-08 08:08:30 +02:00
Michele Caini
70697f4ae9
uvw v3 (#263) 2023-03-10 10:52:03 +01:00
Petr Menšík
1e4f964c47
Include cstdint where uintX_t is used (#273) 2023-02-22 18:14:31 +01:00
Michele Caini
6243d3624a added Utilities::availableParallelism (libuv 1.44) 2022-03-08 13:15:38 +01:00
Michele Caini
5664b04075 added a clang-format file, updated the whole codebase 2022-03-08 12:59:19 +01:00
Michele Caini
9f8047d6d4 osPriorirty -> OS::priority as it ought to be 2022-03-08 11:35:56 +01:00
Petr Menšík
7326baf110
Support dynamic linkage of tests (#253) 2022-02-08 16:53:05 +01:00
Michele Caini
fa83b0fb5e type_info: remove non-UTF-8 characters (close #259) 2022-01-17 14:21:08 +01:00
Moody
b388750a8d
added CMake package configuration files (#246) 2021-11-11 13:52:18 +01:00
Michele Caini
5876a2b11d Add support for uv_try_write2 2021-07-28 11:29:10 +02:00
Fiorentino Ing. Stefano
1e6013d230 libuv version update to v1.42.0
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2021-07-28 10:59:18 +02:00
Michele Caini
67a5eab44f updated type_info.hpp 2021-05-10 11:11:56 +02:00
Michele Caini
3ed391ab13 updated build system 2021-05-10 00:07:57 +02:00
Michele Caini
437ab75068 make internal::counter static inline 2021-05-09 23:47:11 +02:00
Michele Caini
aea6671b14 refine type hash indexing model 2021-05-09 23:42:16 +02:00
Stefano Fiorentino
010d8de944
Removing the monostate pattern from uvw. (#242) 2021-05-09 22:49:33 +02:00
Michele Caini
b0015be668 always initialize local variables (close #241) 2021-04-01 09:47:16 +02:00
Michele Caini
bf61f55dd3 loop::walk ignores unmanaged handles (close #239) 2021-03-22 15:18:39 +01:00
Michele Caini
83973cbc04 removed a bunch of unnecessary copies (close #238) 2021-03-22 12:20:21 +01:00
Michele Caini
d799a7fc85 poll handle: rename variable to avoid clashing (close #236) 2021-02-11 23:26:30 +01:00
Fiorentino Ing. Stefano
2ea56b1dd1 Give the option to build uvw as lib without fetching the libuv dependency
creating a fake lib to re-activate the lib test
	closes #231

Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-11-17 13:46:31 +00:00
Michele Caini
6ed211328e make AddrFuncType in IpTraits an inline static variable rather than a constexpr one (close #226) 2020-10-15 09:39:35 +02:00
Fiorentino Ing. Stefano
41257c60f2 Avoid instantiations as header-only config is used.
Closes #221

Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-10-05 08:26:43 +00:00
Michele Caini
6dd4a420f8 updated to libuv 1.40 (close #220) 2020-10-03 23:02:29 +02:00
Michele Caini
13cbd81881 ready to cut a new release (close #219) 2020-09-07 08:44:41 +02:00
gallexme
c3e189c612
thread.cpp: suppress narrowing conversions warnings (#216) 2020-07-31 11:20:34 +02:00
Michele Caini
0b329720bf get rid of base handle, loop::walk returns actual handles (see #212, close #214) 2020-07-28 22:34:09 +02:00
Stefano Fiorentino
a10844d4bf
basehandle::type() in uv_walk which is in a timer callback causes double free (#213)
Close #212
2020-07-19 12:08:36 +02:00
Michele Caini
52785475b9 udp: get around an issue with ICC (close #209) 2020-07-02 15:47:57 +02:00
Eli Lindsey
1a794772b2
add openbsd support (#204)
* add openbsd support

Renames fileno() so it doesn't clash with OpenBSD's macro expansion.
Makes minor changes to build steps so the test suite compiles and runs
on OpenBSD.

See https://github.com/skypjack/uvw/issues/201 for full context

* drop no-error override

* disable sendfile tests on openbsd

* forgot to commit the new file
2020-06-29 16:37:31 +02:00
Michele Caini
dc67c97ab2 doc: small review + added links to docsforge (close #210) 2020-06-29 16:29:45 +02:00
Michele Caini
f9056e732c resolve an issue with ICC (close #208) 2020-06-29 15:45:55 +02:00
Fiorentino Ing. Stefano
60614d32b8 remove all reference to shared library
too much effort to support cross-platform DSO

Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-06-29 11:10:47 +02:00
Michele Caini
00d5c11e65 doc: make it compile again and suppress some warnings 2020-05-31 16:46:47 +02:00
Michele Caini
37aa1c8260 udp: data event returns non-const data (close #200) 2020-05-27 12:31:53 +02:00
Michele Caini
fb270887b4 updated to libuv v1.38 2020-05-25 23:38:52 +02:00
Michele Caini
ff97bbbc9d now works with libuv v1.37 (see #191) 2020-04-24 00:57:09 +02:00
Fiorentino Ing. Stefano
3d9e45e733 Switch pragma once to legacy include guards
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-04-20 18:24:11 +02:00
Fiorentino Ing. Stefano
991f5cdbb8 Extern template instantiations to get rid of clang warnings.
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-04-19 21:27:43 +02:00
Fiorentino Ing. Stefano
938b8af9b0 Skip including header in .cpp in case UVW_AS_LIB is defined
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-04-19 18:47:32 +02:00
Michele Caini
c0b9dc919b updated to libuv v1.36 (close #191) 2020-04-18 16:45:21 +02:00
Stefano Fiorentino
4a6289ecf7 improve udp instantiations
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-06 17:37:05 +02:00