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
3a29890651
ready to cut a new release ( close #199 )
2020-05-25 23:41:44 +02:00
Michele Caini
fb270887b4
updated to libuv v1.38
2020-05-25 23:38:52 +02:00
Michele Caini
e5870c79e1
doc: updated cmake minimum required version (see #194 )
2020-05-21 22:35:06 +02:00
Michele Caini
fd52f76e4d
doc: removed references to patreon account
2020-05-21 08:46:11 +02:00
Michele Caini
3a02460be1
build system: updated required version for cmake ( close #194 )
2020-05-17 22:12:33 +02:00
Eli Lindsey
d35f557161
add elindsey to contributors list ( #193 )
2020-04-27 16:01:43 +02:00
Michele Caini
99e6ba7124
ready to cut a new release ( close #191 )
2020-04-24 00:59:15 +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
Stefano Fiorentino
ff0d29309a
improve dns instantiations
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-06 16:54:07 +02:00
Stefano Fiorentino
b2647468e2
avoid to install .cpp with BUILD_UVW_LIBS
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-06 16:15:36 +02:00
Stefano Fiorentino
8872af2d86
improve tcp instantiations
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-06 16:03:45 +02:00
Stefano Fiorentino
d611ca264f
Instantiate Loop::run<Mode>() in the .cpp
...
This is possible because a limited values are available as Mode
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-06 15:02:26 +02:00
Stefano Fiorentino
0ee7ef41fe
adding option to activate UB sanitizer
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-03 22:42:45 +02:00
Stefano Fiorentino
03b98bc234
update project description to add shared/static library
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-04-03 22:42:45 +02:00
Eli Lindsey
fc197b5117
fix undefined behavior in resource.hpp
...
Today, uvw triggers undefined behavior in resource.hpp:
runtime error: downcast of address which does not point to an object of type 'uvw::FsEventHandle'
note: object is of type 'uvw::BaseHandle'
It looks like we're saving the current handle in the void* data member
so it can be retrieved on the next callback run. This downcast to a
derived class from its parents ctor as it's being constructed isn't
valid.
Since we're storing this as a void* anyways and all the callsites using
it need to do their own cast on retrieval, we can instead persist the
this pointer. For downcasting to work in all cases the Resource class
tree needs to be leftmost in Handler's multiple inheritance.
Tested by verifying that my unit tests no longer show ubsan errors and
uvw's test suite still passes.
2020-04-02 14:37:45 -04:00
Michele Caini
8233a6e6b2
updated README file (thanks to @escherstair for pointing out some errors in the documentation)
2020-04-01 15:12:30 +02:00
Michele Caini
fda5b57f4f
doc: updated README ( close #187 )
2020-03-31 22:54:44 +02:00
Michele Caini
1f2b6ed23d
increase code coverage
2020-03-28 00:03:54 +01:00
Michele Caini
4d92e354be
increase code coverage
2020-03-27 23:39:08 +01:00
Michele Caini
fc50c60987
removed dead branch (BUILD_TESTING is used already to enter the test directory)
2020-03-27 23:32:48 +01:00
Stefano Fiorentino
d9ab73a281
`make install' requires gtest and tests to be built #186
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 21:50:28 +01:00
Stefano Fiorentino
336e5dfb1d
Improving test coverage [adding Mutex::RecursiveLockUnlock]
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 12:31:33 +01:00
Stefano Fiorentino
bfc4a2c95b
Improving test coverage [adding Mutex::LockUnlock]
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 12:02:05 +01:00
Stefano Fiorentino
53da326aea
FsReq.ReadDir test now reads all dirent's entries
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-25 23:14:48 +01:00
Stefano Fiorentino
6fd64f93a0
Improving test coverage [adding FsReq::readdirSync]
...
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-25 19:34:05 +01:00
Stefano Fiorentino
216f5f4da1
Improving test coverage [adding FsReq::readdir]
2020-03-25 16:04:23 +01:00
Stefano Fiorentino
fe73fa048a
explicit instantiation of compile-time flag-based functionalities #183
2020-03-25 15:56:35 +01:00
Stefano Fiorentino
1f7d4acc40
Improving test coverage [adding Thread] ( #181 )
2020-03-25 15:55:16 +01:00
Michele Caini
008361d83c
updated README.md ( close #185 )
2020-03-25 15:51:26 +01:00
Michele Caini
0fe8d7959b
updated README.md to reflect the new dual-mode
2020-03-22 22:54:22 +01:00
Michele Caini
8d1a431f68
allow custom deleters with write requests ( close #182 )
2020-03-22 22:29:15 +01:00
Michele Caini
4afb5ebb20
updated list of collaborators
2020-03-21 15:54:23 +01:00
Stefano Fiorentino
0e36f685e8
Export cmake targets ( close #179 )
2020-03-21 15:47:50 +01:00
Stefano Fiorentino
ebc8199d42
Add support for pkg-config ( close #177 )
2020-03-18 23:05:06 +01:00
Michele Caini
3a32097dc8
ready to cut a new release
2020-03-16 23:25:09 +01:00
Michele Caini
855d851f47
updated to libuv v1.35 ( close #175 )
2020-03-16 23:23:05 +01:00
Michele Caini
55d7782af5
allow static build - see #171 , thanks to @stefanofiorentino
2020-03-16 23:01:53 +01:00
Sergiu Giurgiu
76f247847f
Changed FsReq::stasfs method name to statfs ( #173 )
2020-03-01 21:47:43 +01:00
Michele Caini
da3b5f00f5
updated copyright
2020-01-17 23:17:07 +01:00
Michele Caini
bc88511a29
updated version
2020-01-17 23:14:58 +01:00