Commit Graph

495 Commits (871c3e3281d15ce876fcd85a02228b4e70453bac)

Author SHA1 Message Date
Michael 0cbd7b3116
Fixup fs 5 years ago
Michael 5cef2865bd
Fix Ubuntu builds 5 years ago
Jeff Becker dc87b6dc6b
use correct uint128 functions when doing endian flipping 5 years ago
Jeff Becker 1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff 1a145ea515
Merge pull request #697 from majestrate/fix-freebsd-pthread
typo fix
5 years ago
Jeff Becker 8c67f14838
typo fix lel 5 years ago
Jeff a768a9ad59
Merge pull request #695 from majestrate/fix-freebsd-pthread
fix freebsd build for real
5 years ago
Jeff Becker ebab9b8905
fix freebsd build for real 5 years ago
Jeff 8e6c830641
Merge pull request #691 from majestrate/fix-freebsd-pthread
fix freebsd build
5 years ago
Jeff Becker b207990d01
use elseif 5 years ago
Jeff Becker 4206132ea1
use correct function from free bsd pthread 5 years ago
Jeff Becker e0d8e34369
fix freebsd build 5 years ago
Michael 488695047f
Remove redundant else blocks 5 years ago
Jeff Becker 8ac9ef6f18
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker b9bcc2b775
make threadpool consice 5 years ago
Michael b01e5accbb
Add function to set threadname, and use from threadpool impl 5 years ago
Jeff Becker 58005c5f81
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
5 years ago
Jeff Becker ec1910b8ca
remove threadpool.hpp
make link layer not use null lock and null mutex
5 years ago
Jeff Becker fc8f58822c
remove threadpool.hpp
make link layer not use null lock and null mutex
5 years ago
Jeff Becker 04c9c61dfb
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Thomas Winget d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
5 years ago
Michael 8c2d67f8f1
Fix tests 5 years ago
Michael b51f7d8015
Convert to load config in config loader 5 years ago
Michael bd78471dae
Move ini parser as well 5 years ago
Michael 80d1e4aef9
Add in-source version of std::filesystem::permissions 5 years ago
Jeff Becker d6ec528a72
start work on seperating ips out of endpoint 5 years ago
Jeff Becker 64e9622270
start seperating tun and endpoint 5 years ago
Jeff Becker 4e355327d8
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker c7e9118bb6
fix fs stuff 5 years ago
Jeff Becker 6c1a04e804
reset errno and make unit tests pass 5 years ago
Jeff Becker b178aa1a36
make it compile and make it secure files 5 years ago
Jeff Becker ba6f9ed2d7
continue using llarp::openfilestream 5 years ago
Jeff Becker bf3212820b
finish up issue 17 5 years ago
Jeff Becker e265661adb
try fixing issue number 17 (not done) 5 years ago
Jeff Becker 54a098356d
continue using llarp::openfilestream 5 years ago
Jeff Becker 38d5a4855a
finish up issue 17 5 years ago
Jeff Becker aad71c2022
try fixing issue number 17 (not done) 5 years ago
Jeff Becker cd05fa6150
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Rick V 0b1e3ce959
fix windows native console 5 years ago
Rick V c6c31efec9
make format 5 years ago
Rick V 97fad8194c
fix legacy windows console logger 5 years ago
Jeff Becker 227f561ffc
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael 95646d2d87
Publish metric tags 5 years ago
Michael 7d4126407c
Introduce tags for metrics 5 years ago
Michael bb0c05a2ca
Introduce tag types 5 years ago
Jeff Becker 6714b06470
json logging option 5 years ago
Jeff Becker eb10638497
Merge branch 'master' into ipv6-tun 5 years ago
Jeff Becker 3174e581b7
make format 5 years ago
Jeff Becker 584cc61f8f
Merge remote-tracking branch 'origin/master' 5 years ago
Michael d244674339
Unfuck integer metrics 5 years ago
Michael 0a5ac10880
Unfuck metrics 5 years ago
Michael a1ef2ca342
Tidy up metric code 5 years ago
Jeff Becker 2403ab8f86
ipv6 5 years ago
Jeff Becker d95d03593a
put deltas in timestamps 5 years ago
Michael 3822fe2341
Create util::MemFn and memFn to make binding callbacks easier 5 years ago
Michael 8323725509
Initial No-Op Crypto implementation 5 years ago
Michael 3f53965b71
Remove all use of IBEncodeMessage 5 years ago
Jeff Becker c355d37beb
use limited size queue for logic and singled threaded threadpool 5 years ago
Jeff 28623766c1
Merge pull request #617 from majestrate/master
changes after consensous
5 years ago
Michael 7ca0927d8f
Replace dict_reader/list_reader with version which doesn't involve indirection 5 years ago
Jeff Becker b86e834e1b
Merge remote-tracking branch 'origin/master' 5 years ago
Jeff Becker 73f1d34239
make format and revert stupid alloc changes 5 years ago
Michael dd8a93a400
Apply rule of zero to code base 5 years ago
Jeff 65766a501f
Merge pull request #610 from michael-loki/more_thread_pool
Convert more things to use thread::ThreadPool
5 years ago
Michael 636bb2a17d
Convert router diskworker to use a modern ThreadPool 5 years ago
Michael 19578fa8fc
Fix ASAN build 5 years ago
Michael f734ffeae4 Fixup MSVC build 5 years ago
Jeff Becker 5d388bc9f2
meh 5 years ago
Jeff Becker 24a27df402
i am a potatoe 5 years ago
Jeff Becker d2ef6fc77b
just use new/delete :^) 5 years ago
Jeff bae926d3d6 fix osx compile 5 years ago
Jeff Becker faacc86eb5
qualify 5 years ago
Jeff Becker 11b9aea4a7
fix 5 years ago
Jeff Becker 018dd008ec
add custom single threaded allocator for utp buffers
fix up test net stuff
5 years ago
Jeff Becker a0c9d912f5
make it compile
(faaaaaaaaaaaaaaaAAAAAAAAAaaaaaAAaaaaaaaaAAaaaAAAAAAAAaak)
5 years ago
Jeff Becker 767b521325
log node name 5 years ago
Jeff Becker 9b379a1659
add explicit constructor 5 years ago
Jeff Becker 9d7ff9b35e
compare based on pointer when one or both are nullptr 5 years ago
Jeff Becker 34533db620
add urgent build that builds over an existing path for an endpoint 5 years ago
Michael 1744ae7686
Tidy up service endpoint a bit more 5 years ago
Jeff Becker 92ad98be8b
refactor hooks to be have more c++isms
make path build timeouts use log level warning
5 years ago
Jeff Becker fc3bccb161
revert 5 years ago
Jeff Becker 0cc8517bca
add error messages to ini parser and catch base cases. 5 years ago
Jeff Becker d423ee02d2
use shared_ptr 5 years ago
Jeff 01906c5d94 Merge remote-tracking branch 'origin/master' 5 years ago
Jeff 81bf00f9bc
Merge pull request #566 from majestrate/on-off-patch
add on/off values
5 years ago
Jeff Becker 2332294258
add on/off values 5 years ago
Jeff Becker 49439d80c1
add on/off values 5 years ago
Jeff Becker fea64eaf12
handle subdomains 5 years ago
Jeff Becker d20ba9ceab
handle subdomains 5 years ago
Michael 9ee525a006
Fix shadowing warnings 5 years ago
Jeff Becker 0529e45ebe
more 5 years ago
Jeff Becker af1529fa72
Merge remote-tracking branch 'origin/master' 5 years ago
Michael 4143472a17
Add cmake module to target a library as 'system', and fix a few warnings 5 years ago
Jeff Becker 3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 5 years ago
michael-loki 0195152e05 Allow builds on MSVC (#518)
* Import cxxopts to replace getopts usage

* Add visual studio build things

* Fixup abseil build parts

* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED

* Fixup minor windows build issues

* Replace getopts usage

* Temporarily fixup .rc files

* More minor windows fixes

* Get a working build

* Revert .rc files

* Revert changes to nodedb
5 years ago
Michael c39c931d03
Remove IStateful virtual inheritance 5 years ago
Jeff e10edfd0b8
Merge pull request #531 from majestrate/master
bundle RC in build record to improve build success rates.
5 years ago
Jeff Becker 94eb37d490
bundle RC in build record to improve build success rates. 5 years ago
Jeff bfdbf634dd
Merge pull request #523 from majestrate/master
recent stability pokes
5 years ago
Jeff Becker 9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
5 years ago
Michael 544c5f9b61 Move metrics publishers to their own directory 5 years ago
Jeff 5834607997 * don't ban bootstrap nodes with profiling
* less vigorous profiling timeouts
* async remove rc from disk
5 years ago
Rick V d887004d99
fix warning 5 years ago
Rick V 9a24c46aa6
move these into a read-write data segment 5 years ago
Jeff Becker 5399b93270
make format and readd win32 console color logging 5 years ago
Jeff Becker 4948fd50f8
be consice 5 years ago
Jeff Becker 40f8434851
syslog 5 years ago
Jeff Becker 9e24557429
refactor logger 5 years ago
Jeff Becker 48254c8ea0
make it compile 5 years ago
Michael 6f23cbe176
Add JSON publisher 5 years ago
Rick V 1fb3a0bf62
stderr is unbuffered by default? 5 years ago
Rick V 120e24ee0a
flush stream after each write 5 years ago
Michael 6b5a688e08
Fix Catalog.Iterator test failure 5 years ago
michael-loki 1fddf59743
Flush output stream after publish
Fixes #458
5 years ago
Jeff Becker bfcaaa87be
check for empty buffer 5 years ago
Jeff Becker 74534c22b8
mark profile success on outbound connection success, add default case in metrics 5 years ago
Rick V 3c21db9316 lul 5 years ago
Michael 8f0f6dde9d
Include What You Use 5 years ago
Michael f2c5d32399
Metric collection subsystem 5 years ago
Michael acfff4ca5c
Threading structures for metrics 5 years ago
Rick V ad966342d9
make windows happy 5 years ago
Jeff Becker 2218749134
Merge remote-tracking branch 'origin/staging' into staging 5 years ago
Jeff Becker 6a09348c47
today's work 5 years ago
Ryan Tharp 75c7c12502 fix linux gcc 7.3 issues, feeling like #include <condition_variable> should be in one of the threading headers tho 5 years ago
Jeff Becker eceb55623c
more 5 years ago
Jeff 1a09a12ee0
Merge branch 'staging' into absl_mutex 5 years ago
Michael 61f3273dc4
Add threading annotations and fix potential deadlocks 5 years ago
Michael c5a129ddff
Convert to use abseil synchronisation primitives 5 years ago
Michael ab83d3d54e
Fixup build on debian 5 years ago
Michael 31441b46dc
Convert from rapidjson to use nlohmann::json 5 years ago
Ryan Tharp 6b763807e6 add missing include to make linux gcc 7.3 happy 5 years ago
Jeff db504e8044
Merge pull request #354 from despair86/dev
regression fixes
5 years ago
Rick V 975b4ca743
clang-format 5 years ago
Rick V d67eb40697
require full C++11 toolset for mingw-w64 (see loki-project/loki #441) 5 years ago
Rick V e94d1ebb4f
combine these 5 years ago
Rick V f0ce9a0afb
try fixing threading bug
XXX: get jeff to go over threadpool code for overview
5 years ago
Michael e4cf1f245c
Convert most of llarp to use Printer 5 years ago
Michael e6e19369e9
Create Printer - A general-purpose, stateful printer class 5 years ago
Michael 95a5c386fe
Initial type trait work 5 years ago
Michael b80ecfa4d6
Use string_view for string_view 5 years ago
Michael 4fb2b39f74
Format changes 5 years ago
Michael c6e6bdb90f
Fix for windows just being the Worst 5 years ago
Michael 4132f883a7
Make libabyss mandatory 5 years ago
Michael de13ab3adc
Fix warning in bencode 5 years ago
Ryan Tharp 547cf96606 make macos 10.12 happy 5 years ago
Ryan Tharp 2b433f046d
Oh it was a typo 5 years ago
Ryan Tharp 8e000c8321
linux gcc 7.3 support 5 years ago
Ryan Tharp f06b275193
make macos happy 5 years ago
Ryan Tharp 413843bab1
Merge branch 'staging' into dev 5 years ago
Rick V 5a3947ca5c
clang-format 5 years ago
Rick V 0f45e286ff
XXX: the inline string_view constructors *should* be harmless on pre-C++17 platforms...
fix windows build
5 years ago
Ryan Tharp f247a3623c So lu on linux gcc 7.3 but llu everywhere else? 5 years ago
Ryan Tharp 25d00e2974 Merge remote-tracking branch 'origin/master' 5 years ago
Ryan Tharp ad91071633 Fix undefined behaviors and misaligned member access 5 years ago
Ryan Tharp 8e51d3a491 fix linux gcc 7.3 error (warning) 5 years ago
Jeff bbbad826ef
Merge pull request #316 from michael-loki:buffer_obj
Convert llarp_buffer_t to be a class with methods
5 years ago
Michael a00d6afc5e
Convert llarp_buffer_t to be a class with methods 5 years ago
Michael a0125ffe86
Move abyss/json to llarp/util/json 5 years ago
Jeff Becker b5a1637224
make shared lib compile 5 years ago
Michael 656843e9a3
Fix issues on debian 5 years ago
Ryan Tharp d17383aba6 Merge branch 'cmake_refactor' of https://github.com/michael-loki/loki-network 5 years ago
Jeff 555711b70d
Merge pull request #303 from michael-loki/no_new
Replace usage of new/delete with unique_ptr/stack allocation
5 years ago
Jeff Becker 46222df421
refactor 5 years ago
Michael 67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation 5 years ago
Michael 057365d40c
Fix issues on debian 5 years ago
Jeff Becker e1fceb3636
fix it (again) 5 years ago
Jeff Becker 66753430ad
fix it 5 years ago
Jeff Becker e1522faeaa
add introspection rpc endpoint 5 years ago
Jeff Becker faf8149502
make testnet ini files work 5 years ago
Jeff Becker fae2b1a444
make it compile on debian and ubuntu 5 years ago
Jeff 1369c3b23c
Merge pull request #283 from despair86/dev
more windows fixes
5 years ago
Rick V 4c19f562f0
A compromise for C++17 ports.
Remove abseil build config for such targets.
Include headers (which should fall through by definition).
Macintosh can go fuck itself.
5 years ago
Rick V 72d0720da0
use c++17 stl on windows
While the absl:: namespace is aliased to std:: in a
standard win32 build, it also needlessly adds the
library to the build process, only to discard most
of it at link time. This also makes the distinction
between Abseil STL and G++ STL more explicit, to avoid
some forms of confusion.

From the product page:
"...We think not: if you look at the preprocessor conditional
structure in our string_view.h you'll see that we are trying
to identify whether your C++ installation has std::string_view.
If you do, absl::string_view is defined only as an alias to the
standard type. If you don't, you get a C++11/C++14 compatible
implementation of the type. This means you can adopt Abseil,
and for types we are b you can use the type from the absl
namespace. As soon as your project is built with the appropriate
compiler/standard library version, we'll fall away and leave you
with the standard type, albeit spelled funny. Better: as soon as
you know that your project will only build with the appropriate
language version you can run tools that we will provide to change
the places that refer to absl::string_view to spell it std::string_view
-- since those are the same type, this is safe to do, even across
API boundaries.

So, one reason you might want to adopt Abseil: early access to facilities
from upcoming C++ standard library releases, with a clear migration path."
5 years ago
Rick V dd52f13c7c
turn off text translation on windows
(std::ios::binary does nothing on unix btw)
5 years ago
Michael 6d8d910aff
Refactor and add tests for bits.hpp 5 years ago
Ryan Tharp 6446074881
Merge pull request #267 from michael-loki/abseil
Import abseil LTS 20181200
5 years ago
Ryan Tharp 4bf4faa956 make format 5 years ago
Michael 6055829df4
Remove tl::optional and use absl::optional always 5 years ago
Michael 7212baa062
Add implicit conversion from ManagedBuffer to llarp_buffer_t 5 years ago
Michael 7ca3e13e78
Rename to ManagedBuffer 5 years ago
Michael 47380ba64b
Simplify some code 5 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 5 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 5 years ago
Ryan Tharp c7e126a426 fix buffer overrun 5 years ago
Jeff Becker 18c4107ff6
* wire up jsonrpc caller for lokid integration
* add jsonrpc caller http basic auth
5 years ago
Jeff Becker 519cec50ac
update libabyss rpc endpoints for service nodes 6 years ago
Jeff Becker 9991d17976
Merge branch 'staging' into use-lokid-seed 6 years ago
Jeff Becker 3b76182ee6
fix whitespace parsing 6 years ago
Jeff Becker 465a3d3e43
redo ini parser 6 years ago
Michael 6e38e85a79
Produce hierarchy of 'libraries' inside libllarp 6 years ago
Michael 79157414f3
Split crypto.hpp into 3 different files 6 years ago
Michael 081d4dfa32
Reorganise source into more folders 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago