Commit Graph

120 Commits

Author SHA1 Message Date
Christien Rioux
e0c20ed4c9 improve error handling for network errors
make relay requirements more aggressive
2024-08-05 16:10:19 -05:00
Christien Rioux
2440476564 more fix 2024-08-01 20:30:21 -05:00
Christien Rioux
9005e0718e fix non-tracing spawn 2024-08-01 20:27:54 -05:00
Christien Rioux
a363b26673 clippy fixes for wasm for rust 1.80 2024-07-27 17:25:15 -04:00
Christien Rioux
006e7aaaf5 clippy fixes for rust 1.80 2024-07-27 17:19:39 -04:00
Christien Rioux
87a0e38e36 reduce frequency of interface resets on ios 2024-07-25 21:10:12 -04:00
Christien Rioux
bcb9f2a96c remove unnecessary spans 2024-07-22 09:54:10 -04:00
Christien Rioux
b091c78539 one more socket error edge case 2024-07-22 09:22:44 -04:00
Christien Rioux
f0b1b6535c spawn work 2024-07-21 22:35:41 -04:00
John Smith
09bda21ee6 fix linux 2024-07-21 22:35:41 -04:00
Christien Rioux
2ec843cd17 clean up spans and correct shutdown behavior. clean up reverse connection and hole punch errors 2024-07-21 22:35:41 -04:00
Christien Rioux
35dc7bdfd6 spawn names 2024-07-21 22:35:41 -04:00
Christien Rioux
e568c39efb shutdown work and perfetto logger 2024-07-21 22:35:40 -04:00
Christien Rioux
1b34239eb8 startup lock 2024-07-21 22:35:40 -04:00
Christien Rioux
2b1dd49138 ios improvements 2024-06-23 14:59:03 -04:00
Christien Rioux
c272c768fc initial version of preempt for dht get_value 2024-05-21 15:08:51 -04:00
Sashanoraa
b71cb0ea6c Fix errors from new 1.78 clippy lints 2024-05-03 15:00:14 -04:00
Christien Rioux
bcee358a0e update ndk and gradle versions
add subpackage to veilid-flutter with test fixtures for writing veilid integration tests in dart
2024-04-30 17:44:12 -04:00
Christien Rioux
b0ccd04a9f fix WASM build
improve Earthfile with better unit tests and updated dependencies
2024-04-28 16:15:09 -04:00
John Smith
03e872c128 refactor net bind, wip 2024-04-25 21:32:35 -04:00
Christien Rioux
39c47dbd66 harden assembly buffer unit test 2024-04-20 12:25:49 -04:00
Debanjan Basu
70bc2235d7 upgraded the ndk version 2024-04-14 15:31:16 +10:00
Christien Rioux
0b587e8f04 minor android fixes 2024-04-05 21:22:42 -04:00
John Smith
d49e78d931 windows cleanup 2024-03-27 17:53:51 -05:00
Christien Rioux
37dbbc39fd testing cleanup 2024-03-27 17:53:51 -05:00
John Smith
d8710b800d fix linux 2024-03-27 17:53:51 -05:00
Christien Rioux
fdc3de906f major logging cleanup 2024-03-27 17:53:51 -05:00
John Smith
30f2879827 remove misplaced doc comments 2024-03-27 17:53:50 -05:00
Christien Rioux
931d145719 fix issue #355 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
9b04fb1e4b debug 2024-03-27 17:53:50 -05: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
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
Paul Sajna
47e9029456 Use proper c_char ffi type 2024-01-29 00:19:25 +00:00
Christien Rioux
ae339e6573 wasm fixes 2024-01-19 21:30:48 -05:00
Christien Rioux
b9705285e9 xfer 2024-01-19 14:34:09 -05:00
John Smith
70ef992714 windows fix 2024-01-19 13:55:35 -05:00
John Smith
5ad4814515 push configuration check to veilid-server 2024-01-19 13:55:35 -05:00
John Smith
25637e5ff5 disable async-std+windows build 2024-01-19 13:55:35 -05:00
John Smith
633c0394c9 fix windows tokio signature 2024-01-19 13:55:35 -05:00
John Smith
b11f404d3f async-std support 2024-01-19 13:55:35 -05:00
John Smith
d1aa488883 windows specific ipc logic 2024-01-19 13:55:35 -05:00
John Smith
f47adfa03f change signature of accept function 2024-01-19 13:55:35 -05:00
John Smith
bdb64a96ea cleanup a bit 2024-01-19 13:55:35 -05:00
John Smith
37979277b5 IPC to server 2024-01-19 13:55:33 -05:00
Christien Rioux
8ed3f0672e fix clear screen 2024-01-19 13:53:43 -05:00
John Smith
cdf823c1cc better debug commands for dht 2024-01-19 13:53:43 -05:00
Christien Rioux
a67bfde1f7 send valuechanged 2024-01-19 13:53:42 -05:00
Christien Rioux
facb343160 clean up protect/refs 2023-11-04 19:53:14 -04:00