Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api rework #314

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
02b8a9b
support for sleep api
DenisBiryukov91 Feb 26, 2024
89e1c00
support for time api
DenisBiryukov91 Feb 26, 2024
8468d56
clippy and fmt fixes
DenisBiryukov91 Feb 26, 2024
c333956
fix zp_time_t size
DenisBiryukov91 Feb 26, 2024
7f34076
conditional for zp_time_t struct for x86_64-apple
DenisBiryukov91 Feb 27, 2024
53180e9
corrected zp_time_t to store only time difference from some initial I…
DenisBiryukov91 Feb 27, 2024
7cc0427
fmt
DenisBiryukov91 Feb 27, 2024
0d28425
rename zp_time... -> zp_clock...; implement zp_time... functionality …
DenisBiryukov91 Feb 27, 2024
583c849
typo fix
DenisBiryukov91 Feb 28, 2024
bbbf0ba
replace zp_ prefix with z_
DenisBiryukov91 Feb 28, 2024
1da2801
set error values to correspond to the ones from GNU pthreads
DenisBiryukov91 Feb 28, 2024
74c42b8
fix error codes sign to be negative
DenisBiryukov91 Feb 28, 2024
a229066
replace zp_ prefix with z_
DenisBiryukov91 Feb 28, 2024
aa4dbac
Merge branch main into feature/platform-primitives-sleep-clock
DenisBiryukov91 Feb 28, 2024
2f90580
merge fix
DenisBiryukov91 Feb 28, 2024
e1be626
chore: Dummy commit
fuzzypixelz Feb 28, 2024
8a8d37a
fix: Bump dependencies
fuzzypixelz Feb 28, 2024
233668d
chore: Use Clang 15.0.7
fuzzypixelz Feb 28, 2024
5ce55e6
chore: Revert to Clang 14.0
fuzzypixelz Feb 28, 2024
6bce283
use u64 to store time instead of double
DenisBiryukov91 Feb 28, 2024
6561fdc
clippy fix
DenisBiryukov91 Feb 28, 2024
81907b8
fix: Revert dummy commit
fuzzypixelz Feb 28, 2024
3ffe9ca
keep base time instant reference in z_clock_t
DenisBiryukov91 Feb 29, 2024
680deb0
implement random functions
DenisBiryukov91 Feb 29, 2024
da918c5
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 1, 2024
40efc7e
Merge pull request #260 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 1, 2024
0dc55d0
Merge pull request #253 from fuzzypixelz/test-rtd-pr-builds
milyin Mar 4, 2024
b5ae137
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 5, 2024
584ea9c
Merge pull request #261 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 5, 2024
73856fb
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 5, 2024
06b2dba
Merge pull request #262 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 5, 2024
fcf2198
Merge pull request #258 from DenisBiryukov91/feature/platform-random
milyin Mar 5, 2024
22573da
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 6, 2024
31dac73
Merge pull request #263 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 6, 2024
870bc06
cargo.lock update
DenisBiryukov91 Mar 6, 2024
a063067
Merge branch 'main' into feature/platform-primitives-sleep-clock
DenisBiryukov91 Mar 6, 2024
3f86d59
Merge pull request #256 from DenisBiryukov91/feature/platform-primiti…
milyin Mar 6, 2024
3970e06
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 7, 2024
5be32c8
Merge pull request #265 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 7, 2024
bff9dc6
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 8, 2024
8bb4b02
Merge pull request #266 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 8, 2024
3f1aa75
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 9, 2024
10176b9
Merge pull request #272 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 9, 2024
98b5ed4
add z_attachment_len and z_bytes_map_len functions
DenisBiryukov91 Mar 11, 2024
8c35add
add z_attachment_is_empty and z_bytes_map_is_empty functions
DenisBiryukov91 Mar 11, 2024
0e3e3d4
add z_(owned_)keyexpr_t autocanonize initializers
DenisBiryukov91 Mar 11, 2024
d137b92
add z_keyexpr_relation_to api
DenisBiryukov91 Mar 12, 2024
b447b29
add z_whatami_to_str api
DenisBiryukov91 Mar 12, 2024
9d76dee
typo fix
DenisBiryukov91 Mar 12, 2024
f807ed1
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 14, 2024
8843da7
Merge pull request #285 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 14, 2024
0825219
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 15, 2024
a627700
Merge pull request #287 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 15, 2024
98a095d
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 16, 2024
52cb521
Merge pull request #288 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 16, 2024
9dd7df7
Merge pull request #284 from DenisBiryukov91/feature/what_am_i_to_str
milyin Mar 18, 2024
12ed033
Merge pull request #282 from DenisBiryukov91/feature/keyexpr-autocano…
milyin Mar 18, 2024
e11ed6d
Merge pull request #283 from DenisBiryukov91/fix/keyexpr.relation_to
milyin Mar 18, 2024
233e144
Merge pull request #280 from DenisBiryukov91/feature/attachement_len
milyin Mar 18, 2024
32a3b01
Fix z_pub arguments parsing (#289)
OlivierHecart Mar 18, 2024
0ab2e0f
Rename zc_owned_liveliness_get_options_t to zc_liveliness_get_options_t
sashacmc Mar 18, 2024
53b4792
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 19, 2024
815d221
Merge pull request #291 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 19, 2024
337e7d1
Merge pull request #290 from ZettaScaleLabs/rename-zc_owned_livelines…
milyin Mar 19, 2024
4e49681
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 20, 2024
73dc541
Merge pull request #292 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 20, 2024
36bf1b8
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 21, 2024
bd0fe98
Merge pull request #293 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 21, 2024
a8c6053
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 23, 2024
6b07ce5
Merge pull request #296 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 23, 2024
82e7656
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 25, 2024
0d0a6d8
Merge pull request #297 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 25, 2024
e3d4a4e
Update alignment - ZenohId is [u8;16]
Mallets Mar 25, 2024
37ce1d9
Point to zenoh main
Mallets Mar 25, 2024
ae1f0d0
Point to latest commit in zenoh main
Mallets Mar 25, 2024
74089f8
Merge pull request #298 from eclipse-zenoh/zid
milyin Mar 25, 2024
e431a2f
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 26, 2024
db9733e
Merge pull request #299 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 26, 2024
faad2df
chore: Sync Cargo lockfile with Zenoh's
eclipse-zenoh-bot Mar 28, 2024
5b47216
Merge pull request #302 from eclipse-zenoh/eclipse-zenoh-bot/sync-loc…
eclipse-zenoh-bot Mar 28, 2024
de1f606
make impl_guarded_transmute automatically implement From, Deref and D…
DenisBiryukov91 Mar 28, 2024
5e5333f
fmt
DenisBiryukov91 Mar 28, 2024
4d1816b
merge
DenisBiryukov91 Mar 28, 2024
42823ed
Merge pull request #303 from DenisBiryukov91/qol/guarded_transmute_wi…
milyin Mar 28, 2024
a2cfa7f
merge
DenisBiryukov91 Mar 28, 2024
dbc8877
removed cargo channel parameter by default (#301)
milyin Mar 28, 2024
c1498fc
chore: Sync Cargo lockfile with Zenoh's (#307)
eclipse-zenoh-bot Apr 3, 2024
206983e
put and get with owned payload
DenisBiryukov91 Apr 3, 2024
ed3a164
reply with owned payload
DenisBiryukov91 Apr 3, 2024
6d005bb
modified payload decoding functions to return error and take value by…
DenisBiryukov91 Apr 4, 2024
b957f98
generate opaque types data inside build.rs instead of cmake
DenisBiryukov91 Apr 5, 2024
f73599f
.gitignore update
DenisBiryukov91 Apr 5, 2024
a3cc34a
extract build.rs instad of current folder to allow build outside of c…
DenisBiryukov91 Apr 5, 2024
142b752
remove println!
DenisBiryukov91 Apr 5, 2024
4932ddf
move Payload/zBuf-related functionality into separate file
DenisBiryukov91 Apr 5, 2024
90f2578
replace unsafe transmutes with safe ones
DenisBiryukov91 Apr 5, 2024
32ac0af
add payload reader
DenisBiryukov91 Apr 8, 2024
e7e657f
merge
DenisBiryukov91 Apr 8, 2024
f1cdeda
fmt and clippy
DenisBiryukov91 Apr 8, 2024
e2df814
make all references to z_buffer_t private
DenisBiryukov91 Apr 8, 2024
05401fe
remove reference to z_buffer_t
DenisBiryukov91 Apr 8, 2024
7a94a55
fmt
DenisBiryukov91 Apr 8, 2024
0275363
explicit zero-intialization
DenisBiryukov91 Apr 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,8 @@ dkms.conf
.cache

# Platform dependent generated files
include/zenoh_configure.h
include/zenoh_configure.h

# Build resources
.build_resources*
src/opaque_types/mod.rs
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare_cache_var_true_if_vscode(ZENOHC_BUILD_IN_SOURCE_TREE "Do build inside so
declare_cache_var(ZENOHC_BUILD_WITH_LOGGER_AUTOINIT TRUE BOOL "Enable logger-autoinit zenoh-c feature")
declare_cache_var(ZENOHC_BUILD_WITH_SHARED_MEMORY TRUE BOOL "Enable shared-memory zenoh-c feature")
declare_cache_var(ZENOHC_CUSTOM_TARGET "" STRING "Rust target for cross compilation, 'aarch64-unknown-linux-gnu' for example")
declare_cache_var(ZENOHC_CARGO_CHANNEL "stable" STRING "Cargo channel selected: stable or nightly")
declare_cache_var(ZENOHC_CARGO_CHANNEL "" STRING "Cargo channel parameter. Should be '+stable', '+nightly' or empty value")
declare_cache_var(ZENOHC_CARGO_FLAGS "" STRING "Additional cargo flags")
declare_cache_var(ZENOHC_LIB_STATIC FALSE BOOL "Alias zenohc::lib target to zenohc::static if TRUE, to zenohc::shared if FALSE")

Expand Down Expand Up @@ -198,8 +198,8 @@ file(GLOB_RECURSE rust_sources "Cargo.toml.in" "src/*.rs" "build.rs" "splitguide
add_custom_command(
OUTPUT ${libs}
COMMAND ${CMAKE_COMMAND} -E echo \"RUSTFLAGS = $$RUSTFLAGS\"
COMMAND ${CMAKE_COMMAND} -E echo \"cargo +${ZENOHC_CARGO_CHANNEL} build ${cargo_flags}\"
COMMAND cargo +${ZENOHC_CARGO_CHANNEL} build ${cargo_flags}
COMMAND ${CMAKE_COMMAND} -E echo \"cargo ${ZENOHC_CARGO_CHANNEL} build ${cargo_flags}\"
COMMAND cargo ${ZENOHC_CARGO_CHANNEL} build ${cargo_flags}
VERBATIM
COMMAND_EXPAND_LISTS
DEPENDS "${rust_sources}"
Expand Down
Loading
Loading