Commit Graph

105 Commits

Author SHA1 Message Date
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
Christien Rioux
126bb0035d refactor wasm tests 2023-11-04 19:53:14 -04:00
Christien Rioux
7da6b62c52 more cleanup 2023-10-21 18:51:16 -04:00
Christien Rioux
697ac5e9ce error cleanup 2023-10-21 15:00:50 -04:00
Christien Rioux
97be49a9a7 clean up handling of errors in route spec store 2023-10-20 22:39:09 -04:00
John Smith
855b7eaf7d ipv6 detection 2023-10-15 11:27:31 -04:00
Christien Rioux
36f0320a2f fix wasm32 2023-10-14 15:56:52 -04:00
Christien Rioux
1c7cfcf0cb Merge branch 'overlaopsTypo2023-10-14' into 'main'
Fix overlaops in assembly_buffer.rs comment

See merge request veilid/veilid!219
2023-10-14 18:12:37 +00:00
Haley Weslin
f50c9ed4a8 Fix overlaops in assembly_buffer.rs comment
This fixes a typo of "overlaops" for "overlaps" in a comment
in veilid-tools/src/assembly_buffer.rs.
2023-10-14 17:05:42 +00:00
Christien Rioux
f456f418d2 testing cleanup 2023-10-13 19:45:03 -04:00
Christien Rioux
c8555df863 fix apple 2023-10-13 18:41:11 -04:00
John Smith
cf6a139928 linux fixes 2023-10-13 18:17:10 -04:00
John Smith
d922bc1f5d windows upnp work 2023-10-13 17:57:38 -04:00
Christien Rioux
86dee2b6ed xfer 2023-10-10 09:56:56 -04:00
Haley Weslin
327ae80b11 Fix "from one message and other" - assembly_buffer
This fixes the "other" wordo in "from one message and other" in
assembly_buffer.rs.
2023-09-28 03:09:57 +00:00
Christien Rioux
20451af880 more clippy 2023-09-18 19:49:57 -04:00