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 #404

Merged
merged 46 commits into from
Jun 10, 2024
Merged

API rework #404

merged 46 commits into from
Jun 10, 2024

Conversation

sashacmc
Copy link
Member

@sashacmc sashacmc commented Apr 19, 2024

Rework the API according to new Zenoh C API concept.

What should be done to finish the PR:

NB: We don't touch attachment and payload parts, it will be reworked after.

@sashacmc sashacmc force-pushed the ctr_api_rework branch 2 times, most recently from b05f180 to 9f6bd76 Compare April 30, 2024 16:36
Copy link
Member

@cguimaraes cguimaraes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed the ownership helpers were removed in many places. Is that part of the API changes as well?

@sashacmc
Copy link
Member Author

sashacmc commented May 6, 2024

I noticed the ownership helpers were removed in many places. Is that part of the API changes as well?

Not removed, but changed (here is almost finished work for zenoh-c eclipse-zenoh/zenoh-c#346)

@sashacmc sashacmc force-pushed the ctr_api_rework branch 3 times, most recently from 4e8ca75 to f4d4438 Compare May 15, 2024 16:35
@fuzzypixelz
Copy link
Member

@sashacmc Please change the base branch to dev/1.0.0 as protocol_changes is no longer the development branch.

@sashacmc sashacmc changed the base branch from protocol_changes to dev/1.0.0 May 17, 2024 18:51
@sashacmc sashacmc changed the title C "constructors" API rework API rework May 22, 2024
jean-roland and others added 19 commits May 24, 2024 16:23
Fix some string rework issues
* fix: init encoding in put options

* fix: switch z_keyexpr functions return value to _Bool

* fix: z_api_alignment_test issues

* fix: z_api_alignment_test memory leak

* fix: missin reply encoding in z_client_test

* fix: add value encoding in examples

* ci: add retry to raweth test
* feat: add zenoh-c decode bytes function

* fix: rename string_from_bytes to string_convert_bytes

* feat: add _z_string_from_bytes function
* refactor: reworking encoding prefix enum

* feat: create net/encoding module

* fix: missing include in logging module

* fix: update files with encoding module

* feat: rework z_encoding api

* fix: remove encoding from freertos examples

* feat: add encoding_loan_check function

* feat: update tests & examples with new encoding

* fix: bad size schema allocation

* feat: add _z_encoding clear and check functions

* feat: add _z_encoding copy and move functions

* fix: use _z_encoding_check for errors

* fix: set encoding id value

* fix: missing end of file newline

* fix: deactivate faulty workflow

* doc: improve encoding documentation

* fix: missing new encoding functions

* fix: pr corrections

* fix: update examples

* fix: remove z_encoding_loan_check

* feat: rework _z_encoding make/wrap functions

* fix: update alignment test

* fix: missing return statement

* fix: create encoding in loop as it's moved

* feat: add z_encoding_move function

* fix: compilation/test issue

* fix: missing z_move to alignment test

* fix: remove default encoding struct
* doc: update doc comment for api functions

* feat: rework z_sub_keyexpr

* doc: update comments

* doc: update type doc

* fix: revert doc changes
@sashacmc sashacmc marked this pull request as ready for review June 6, 2024 14:52
examples/arduino/z_queryable.ino Outdated Show resolved Hide resolved
@milyin milyin merged commit b07c4d6 into eclipse-zenoh:dev/1.0.0 Jun 10, 2024
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants