Commit Graph

141 Commits

Author SHA1 Message Date
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
TC Johnson
bdb7ad32f2
Version update: v0.3.1 → v0.3.2 2024-04-28 17:33:07 -05: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
TC Johnson
3effd2deef Version update: v0.3.0 → v0.3.1
Signed-off-by: TC Johnson <tc@veilid.org>
2024-04-04 19:35:13 -05:00
TC Johnson
9d3ee579d3 Version update: v0.2.5 → v0.3.0 2024-03-27 21:11:00 -05: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
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