Rick V
b9c02d999f
why was this there
...
we do not support MSVC
5 years ago
Stephen Shelton
1300de2387
Enable the JSON RPC API by default
5 years ago
Jason Rhinelander
1b710455a7
Disallow AlignedBuffer < 8 bytes; add oddball buffer sizes
5 years ago
Jason Rhinelander
d57d6bfc6d
Use memcpy to extract hash value
...
Using the straight reinterpret_cast runs into type aliasing issues,
which manifest on armhf. C++20 adds `std::bit_cast` to deal with
exactly this, but memcpy is the pre-C++20 way to do it properly.
5 years ago
Jeff
3c9df38b88
Merge pull request #990 from tewinget/libuv-timers
...
Libuv-based timers
5 years ago
Jeff Becker
16c7e7dd33
fix unit tests
5 years ago
Thomas Winget
f4c9e09d44
remove obsolete timer-related code
5 years ago
Thomas Winget
e53e3db171
make dht context use new libuv timers
5 years ago
Thomas Winget
55b44cfc13
fix derp nested function call and derp merge error
5 years ago
Thomas Winget
50118c3127
Change ILinkLayer::ScheduleTick to use new timer
5 years ago
Thomas Winget
71bb0dd520
implement timers using libuv
...
So far only a bit of the code using timers has been modified to use
the new libuv-based timers. Also only the non-Windows case has been
implemented. Seems to be working though, so it's a good time to commit.
5 years ago
Jeff Becker
0eb4efdce9
netid update
5 years ago
Rick V
ccd936feb1
the internal windows toolchain _already_ provides a default manifest
5 years ago
Rick V
a08d2ff64e
microsoft libc a shit
5 years ago
Rick V
caa6549cbb
clang-format everything
5 years ago
Rick V
64710ca4d4
Explicitly align to 16 bytes on Win32 targets
5 years ago
Rick V
9fa9209114
don't be aggressive
...
remove libcurl packaging rules. We still build it, but ship only the curl.exe
5 years ago
Rick V
d1b9b89812
add note
...
add libuv build
add its dependent libraries to the final link line
5 years ago
Rick V
6d49ffd60b
include all platform dependencies transitively
5 years ago
Rick V
e15c57c114
get ready for v0.6
...
bump version
don't ship the shared object
5 years ago
Jeff Becker
896dd85a2b
allow multiple calls to FeedData
5 years ago
Jeff Becker
53b159e361
dont fail on 0 sized data fed to json parser
5 years ago
Jeff Becker
04faee565c
Revert "stricter timeouts"
...
This reverts commit aa9de42d4e
.
5 years ago
Jeff Becker
aa9de42d4e
stricter timeouts
5 years ago
Jeff Becker
8817e7fe21
fix include
5 years ago
Jeff Becker
fcf0ae2b9e
prune unused files.
5 years ago
Jeff Becker
fc55469cfe
change interval such that FEC is less often done
5 years ago
Jeff Becker
7f6d1ebb92
fix slow start bug
5 years ago
Jeff Becker
a93e0a735b
fix typo, reduce delivery timeout
5 years ago
Jeff Becker
fcd3750a8b
increase ack window
5 years ago
Stephen Shelton
332f33b049
Remove FS_LIB conditionals
5 years ago
Stephen Shelton
8f6dd132ff
Make format (on recent version-related code)
5 years ago
Stephen Shelton
5d3cb8f405
Include error code in log output in Identity::EnsureKeys()
5 years ago
Stephen Shelton
a4aef312ae
make format (or format-verify, at least)
5 years ago
Jason Rhinelander
d4a5dc66ac
Change alignment to std::max_align_t
...
This will typically be stricter alignment (16 byte on amd64) which seems
useful for the intended use case here.
5 years ago
Jason Rhinelander
460d64fc0f
Simplify AlignedBuffer alignment implementation
...
This simplifies the use of std::aligned_storage with just using an
`alignas` on AlignedBuffer itself so that the (only) data member gets
the proper alignment and saves a bunch of reinterpret_casts in favour of
just having the std::array as an ordinary member.
5 years ago
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jason Rhinelander
99d27a4886
Add missing ev_libuv (now needed everywhere)
5 years ago
Stephen Shelton
211a5f7a03
Remove typo in version changes
5 years ago
Jeff
27a5904d68
Merge pull request #963 from majestrate/consolidate-versions-2019-12-11
...
consolidate versions
5 years ago
Jeff Becker
4fdff7f233
consolidate versions
5 years ago
Jeff Becker
f259cca0ba
remove mutexes
5 years ago
Jeff Becker
85e911fed0
fug
5 years ago
Jeff Becker
7a78160bf0
final change
5 years ago
Jeff Becker
5729d0bff5
more
5 years ago
Jeff Becker
c4f08e5145
finish remaining changes
5 years ago
Jeff Becker
abf9544ddc
make libuv on win32 work
5 years ago
Stephen Shelton
e2e9e63467
Optimize AlignedBuffer:::IsZero()
5 years ago
Jeff Becker
95eee4081a
trypushback
5 years ago
Jeff Becker
cdfdfa1068
use thread queue
5 years ago