Commit Graph

176 Commits

Author SHA1 Message Date
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
d454f9fdf9 update deps 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
John Smith
09d8a7720e add winerror 2023-11-07 22:00:11 -05:00
TC Johnson
dcd4c0d22a
Version update: v0.2.4 -> v0.2.5
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
2023-11-06 20:51:41 -06: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
8fa4ab10a4 work on wasm tests 2023-11-04 19:53:14 -04:00
TC
502d08eda3 Merge branch 'earthly-caching-2' into 'main'
Refactored Earthfile to improve caching

See merge request veilid/veilid!232
2023-11-03 01:17:14 +00:00
Δ ǀ Ξ ȼ
d38f3cb42f
Refactored Earthfile to improve caching
Targets have been parallelized so that initial push of the container cache should build the whole build a little quicker, plus the container should now use the cache for more of the build and so speed up normal builds to just the compilation and test of the code that has changed

The `build_cache` target now builds a `build-cache:latest` container that is stored in the GitLab project Container Registry, and then used (if it exists) by the `test_build` target.  The `build_cache` task runs under 3 conditions, 1. the container does not exist, 2. if scheduled, 3. if run manually from the Pipelines page in the GitLab interface.

It is recommended that the build is set up to run on a weekly schedule via the `Pipeline schedules` page in GitLab with the schedule of `0 2 * * 6`.
2023-10-31 11:17:13 +00: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
TC Johnson
cc5cb8a8b0
Version update: v0.2.3 → v0.2.4 2023-10-15 12:24:59 -05: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
563b80e31c Merge branch 'clippy-fixes' into 'main'
Clippy fixes

See merge request veilid/veilid!195
2023-09-19 00:43:41 +00:00
Christien Rioux
20451af880 more clippy 2023-09-18 19:49:57 -04:00
Christien Rioux
6438a64fc7 clippy work 2023-09-17 19:37:02 -04:00
TC Johnson
fa13f95a10
Version update: v0.2.2 → v0.2.3
- Security fix for WS denial of service
- Support for latest Rust 1.72
2023-09-17 13:21:57 -05:00
Christien Rioux
8a1260ed48 clippy --fix 2023-09-17 14:14:39 -04:00
John Smith
d60c296303 cargo upgrades 2023-09-16 21:56:19 -04:00
TC Johnson
06c0abead8
Version update: v0.2.1 → v0.2.2 2023-09-16 17:32:16 -05:00
Christien Rioux
960a4cb964 Revert "version bump fix"
This reverts commit 2d291b86b6.
2023-09-16 16:51:59 -04:00
Christien Rioux
ba72aa9dd3 version bump fix 2023-09-16 16:51:59 -04:00
Christien Rioux
7f3f7c9166 clean up cargo.toml 2023-09-16 16:51:59 -04:00
Christien Rioux
60a7e90712 dht fixes 2023-09-09 21:44:16 -04:00
Christien Rioux
07f92b6e3f more setvalue fixes and concurrency cleanup 2023-09-09 18:35:25 -04:00
John Smith
8d694f20cd fix async std test and make windows test script work 2023-09-06 09:53:28 -04:00
TC Johnson
65826b219b
Version update: v0.2.0 → v0.2.1 2023-09-03 19:45:12 -05:00
John Smith
926dfc4190 stray use 2023-09-02 20:34:22 -04:00
Victor Graf
f454f56816
Use getrandom for RNG implementation in WASM 2023-09-03 00:30:34 +00:00
Christien Rioux
20f55745b0 add descriptions 2023-09-02 12:28:31 -04:00
TC Johnson
2c46a159a3
Version update: v0.1.10 → v0.2.0 2023-09-02 09:45:56 -05:00
Christien Rioux
90772728c2 bumpversion fixes 2023-09-02 10:41:59 -04:00
Christien Rioux
246056913e doc work 2023-09-01 21:13:05 -04:00
Christien Rioux
d0e240b545 tests 2023-09-01 17:56:43 -04:00
Christien Rioux
ffcf16711b android fixes 2023-09-01 17:44:42 -04:00
Christien Rioux
e302b764d0 docs and tests work 2023-08-29 15:15:47 -05:00
Christien Rioux
d3407998f5 doc structure 2023-08-28 10:32:55 -05:00
Christien Rioux
3125c19f02 doc work 2023-08-27 16:39:50 -05:00
TC Johnson
513116e672
Version update: v0.1.9 → v0.1.10 2023-08-20 11:37:18 -05:00
TC Johnson
dfeecdde0d
Version update: v0.1.8 → v0.1.9 2023-08-19 17:35:52 -05:00
John Smith
89b357350d upgrade dependencies and fix cargo locks 2023-08-19 15:16:51 -04:00
TC Johnson
04c26e48f0 'Version update: 0.1.7 → 0.1.8' 2023-08-18 20:27:01 -05:00
Christien Rioux
8913f827ff doc 2023-08-18 00:06:21 -04:00
John Smith
8a287d13ef 0.1.7 2023-07-30 19:33:58 -04:00
John Smith
1861650d44 0.1.6 2023-07-22 16:28:05 -04:00
John Smith
c4db765423 fixes for test 2023-07-22 14:41:14 -04:00
TC Johnson
4951e983c7
Release 0.1.5 2023-07-22 12:02:10 -05:00
Christien Rioux
fa45f491eb 0.1.4 2023-07-19 21:15:54 -04:00
John Smith
4702a33a4a licensing 2023-07-19 12:48:44 -04:00
John Smith
fff6742c6f version bump 2023-07-17 17:53:42 -04:00
John Smith
7658e2cb42 fix punishment 2023-07-17 17:51:05 -04:00
Christien Rioux
217a2470b0 first version bump 2023-07-16 15:04:00 -04:00
Christien Rioux
80cb23c0c6 remove rkyv 2023-07-15 19:35:22 -04:00
Christien Rioux
70a0346cc3 fix some more network issues 2023-07-13 18:52:03 -04:00
Christien Rioux
5977b6a141 add more error telemetry 2023-07-13 14:16:20 -04:00
John Smith
b5906a52bc fix wasm 2023-07-04 15:34:48 -05:00
John Smith
b7e531f35b fix blocked issue 2023-07-03 11:38:40 -04:00
John Smith
05a9ee754e cleanup dht stuff and client/server api 2023-06-28 23:15:06 -04:00
John Smith
291e3ef2fe add better dht debugging 2023-06-26 21:29:02 -04:00
John Smith
c3639fd331 fix nodecontactmethod cache 2023-06-25 17:59:11 -04:00
John Smith
297908796c remove owo colors 2023-06-25 14:09:22 -04:00
John Smith
b2bd4bcbbd assembly buffer tests 2023-06-23 15:55:02 -04:00
John Smith
e4f97cfefa assembly buffer 2023-06-23 12:05:28 -04:00
John Smith
754abf2135 fix binding issues 2023-06-21 13:40:12 -04:00
John Smith
419bfcd8ce checkpoint 2023-06-08 14:07:09 -04:00
John Smith
59c14f3b22 checkpoint 2023-06-07 21:55:23 -04:00
John Smith
317f036598 server api 2023-06-07 17:39:10 -04:00
John Smith
0a890c8707 removing dev branch, many changes 2023-05-29 19:24:57 +00:00
John Smith
dfd1af0c6b bugfixes 2023-03-01 20:12:30 -05:00
John Smith
766872ac26 checkpoint 2023-01-29 13:13:50 -05:00