Commit Graph

1642 Commits

Author SHA1 Message Date
Christien Rioux
728038c197 fix tablestore namespacing 2024-03-27 17:53:50 -05:00
Christien Rioux
9aa95f6857 fix async-std support 2024-03-27 17:53:50 -05:00
Christien Rioux
e24f0ac8b2 clean up interactive code 2024-03-27 17:53:50 -05:00
Christien Rioux
ec71c9631c io read write 2024-03-27 17:53:50 -05:00
Christien Rioux
774abe2225 switch to fork 2024-03-27 17:53:50 -05:00
Christien Rioux
bf6be2beed fixes for 'nom' out of date 2024-03-27 17:53:50 -05:00
Christien Rioux
e98877fc71 add interactive mode to veilid-cli 2024-03-27 17:53:50 -05:00
Christien Rioux
931d145719 fix issue #355 2024-03-27 17:53:50 -05:00
Christien Rioux
89c51ff069 fix hang on shutdown 2024-03-27 17:53:50 -05:00
Christien Rioux
a04d4e12c5 integration test and config work 2024-03-27 17:53:50 -05:00
Christien Rioux
8818e63dc0 add default veilid config to the api 2024-03-27 17:53:50 -05:00
Christien Rioux
31bb8018f6 fix race condition in setting dht values before network is ready 2024-03-27 17:53:50 -05:00
Christien Rioux
ad45660db9 fix tests 2024-03-27 17:53:50 -05:00
Christien Rioux
ef6ecdab79 logging improvements 2024-03-27 17:53:50 -05:00
Christien Rioux
292664f3fe add veilid_api logging to debug calls through the api 2024-03-27 17:53:50 -05:00
Christien Rioux
380ac1883f fix spurious error 2024-03-27 17:53:50 -05:00
Christien Rioux
11d621c9be better casts 2024-03-27 17:53:50 -05:00
Christien Rioux
6de2432c53 flutter 3.19 upgrade 2024-03-27 17:53:50 -05:00
Christien Rioux
09cde39f97 fix name 2024-03-27 17:53:50 -05:00
Christien Rioux
929cddad88 always display crash backtrace 2024-03-27 17:53:50 -05:00
Christien Rioux
995a794ea3 add union/intersection for ValueSubkeyRange lists, and some tests 2024-03-27 17:53:50 -05:00
Christien Rioux
d244c1f6a5 fix overzealous gitignore and organize flutter a bit 2024-03-27 17:53:50 -05:00
Christien Rioux
019cb5fd79 preserve watches 2024-03-27 17:53:50 -05:00
John Smith
14dc402356 fix python test 2024-03-27 17:53:50 -05:00
Christien Rioux
1cacc547e0 python work and network keying work 2024-03-27 17:53:50 -05:00
Christien Rioux
0c3271b3b9 add writer to set_dht_value, allow multiple open_dht_record 2024-03-27 17:53:50 -05:00
Christien Rioux
fac9937cf4 update generated code 2024-03-27 17:53:50 -05:00
Christien Rioux
a281f09d82 fix assert 2024-03-27 17:53:50 -05:00
Christien Rioux
2156449486 fix missing address range for local 2024-03-27 17:53:50 -05:00
Christien Rioux
34a861aa69 checkpoint 2024-03-27 17:53:50 -05:00
Christien Rioux
9b04fb1e4b debug 2024-03-27 17:53:50 -05:00
Christien Rioux
40288f41ba config fixes 2024-03-27 17:53:50 -05:00
Christien Rioux
1c13ca81ea rename 2024-03-27 17:53:50 -05:00
Christien Rioux
a32774a29c remove operation for dart VeilidSubkeyRange and List<> 2024-03-27 17:53:50 -05:00
TC
d74dad3ec9 Merge branch 'systemd-hardening' into 'main'
Some light hardening of veilid-server standalone node via systemd

See merge request veilid/veilid!187
2024-03-03 21:45:38 +00:00
TC
7431a5380a Added crates.io and Pypi release steps to build_repositories job. Maybe it works, maybe it doesn't. We'll find out at next release. 2024-03-03 21:19:21 +00:00
Christien Rioux
a8abe155a9 Merge branch 'openbsd' into 'main'
Inital import of openbsd support.

See merge request veilid/veilid!259
2024-02-23 19:27:17 +00:00
dsp
a957cde4a9 Inital import of openbsd support.
Provides the correct C representations for the data structures.
For now it has a lot of code dupplication with apple.rs. These need
to be abstracted and shared keeping only PlatformSupport implementations
and C struct reprs.

enabling openbsd build via mod.rs

not enabling default route on loopback interfaces.
we check the gw address and if it is a loopback one we
don't add the ifindex in the default_route ones.
2024-02-23 10:57:13 -07:00
Christien Rioux
a150a7a605 Merge branch 'salvatoret/default-empty-string' into 'main' 2024-02-17 00:18:00 +00:00
Salvatore Testa
6c6f0c4966
Default config listen_address to empty string
If the address is `""` then an available address is automatically
picked.

```
// Network#allocate_tcp_port
if listen_address.is_empty() {
    // If listen address is empty, find us a port iteratively
    let port = self.find_available_tcp_port(5150)?;
    let ip_addrs = available_unspecified_addresses();
    Ok((port, ip_addrs))
} else {
    // ...
}
```
2024-02-16 15:52:02 -08:00
Christien Rioux
c8429a0a36 Merge branch 'kyanha-hickory-resolver' into 'main'
chore: rebrand trust-dns-resolver to hickory-resolver

Closes #362

See merge request veilid/veilid!257
2024-02-12 23:55:01 +00:00
Kyle Hamilton
aa43f8d4a6 chore: rebrand trust-dns-resolver to hickory-resolver 2024-02-12 17:04:27 -05:00
Christien Rioux
16dead2d6f Merge branch 'salvatoret/cargo-clippy-cleanup' into 'main'
Resolve `cargo clippy` errors

See merge request veilid/veilid!252
2024-02-10 20:35:06 +00:00
Christien Rioux
ff853a6546 Merge branch 'salvatoret/copyable-target' into 'main'
Make Target copy-able

See merge request veilid/veilid!253
2024-02-10 20:33:50 +00:00
Christien Rioux
1db376686a Merge branch 'kyanha-unnecessary-awaits' into 'main'
'await' unnecessary before 'return'

See merge request veilid/veilid!255
2024-02-10 20:33:18 +00:00
Christien Rioux
fedc4d7bb5 Merge branch 'from-into-u8-array-types' into 'main'
impl from and into [u8; size] for byte array types

See merge request veilid/veilid!256
2024-02-10 20:32:17 +00:00
eve.hobert
62ebd4a0aa oops, removing some test code 2024-02-02 16:16:10 -06:00
eve.hobert
6b2c9ed48a adding an impl from and into [u8; size] for byte array types 2024-02-02 16:04:23 -06:00
Salvatore Testa
205be49eec
Run cargo clippy with unit tests 2024-02-02 11:03:03 -08:00
Salvatore Testa
074ec50451
Resolve cargo clippy errors
Here was the error.

```
❯ cargo clippy
    Checking veilid-tools v0.2.5 (~/Developer/veilid/veilid-tools)
error: this `MutexGuard` is held across an `await` point
   --> veilid-tools/src/tests/common/test_host_interface.rs:269:17
    |
269 |             let mut tick = tick_1.lock();
    |                 ^^^^^^^^
    |
    = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await
note: these are all the `await` points this lock is held through
   --> veilid-tools/src/tests/common/test_host_interface.rs:271:25
    |
271 |             sleep(1000).await;
    |                         ^^^^^
...
274 |             sleep(1000).await;
    |                         ^^^^^
...
277 |             sleep(1000).await;
    |                         ^^^^^
...
280 |             sleep(1000).await;
    |                         ^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
note: the lint level is defined here
   --> veilid-tools/src/lib.rs:23:9
    |
23  | #![deny(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[deny(clippy::await_holding_lock)]` implied by `#[deny(clippy::all)]`

error: could not compile `veilid-tools` (lib) due to previous error
```
2024-02-02 11:01:36 -08:00