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

feat: chat ffi #5349

Merged
merged 13 commits into from
May 2, 2023
Merged

feat: chat ffi #5349

merged 13 commits into from
May 2, 2023

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Apr 21, 2023

Description

Create an FFI wrapper for a simple chat client

Motivation and Context

So we can chat on mobile and other non rust platforms.

How Has This Been Tested?

Cucumber

What process can a PR reviewer use to test or verify this change?

Review the cucumber tests as well

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@ghpbot-tari-project ghpbot-tari-project added CR-too_long Changes Requested - Your PR is too long CR-one_job labels Apr 21, 2023
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

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

This is looking good. Only thing I think we can improve on is removal of the excepts inside of the ffi

base_layer/chat_ffi/build.rs Outdated Show resolved Hide resolved
base_layer/chat_ffi/src/lib.rs Outdated Show resolved Hide resolved
base_layer/chat_ffi/src/lib.rs Outdated Show resolved Hide resolved
@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Apr 25, 2023
@brianp brianp force-pushed the chat-ffi branch 2 times, most recently from 9494725 to aad48eb Compare April 26, 2023 11:21
brianp added 5 commits April 26, 2023 13:22
If possible I'll use a common client for FFI so moving the client from
the testing suite into the contacts crate makes it more available.
Whether FFI or native client treat them the same to reduce duplication
of similar functions.
@brianp brianp force-pushed the chat-ffi branch 3 times, most recently from 24976a1 to a58b656 Compare April 26, 2023 12:19
@brianp brianp marked this pull request as ready for review April 26, 2023 22:27
@brianp brianp requested a review from SWvheerden April 26, 2023 22:27
@brianp brianp changed the title feat: chat ffi wip feat: chat ffi Apr 27, 2023
@brianp brianp requested a review from hansieodendaal April 27, 2023 07:38
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Apr 27, 2023
@SWvheerden
Copy link
Collaborator

ACK

@ghpbot-tari-project ghpbot-tari-project removed the P-acks_required Process - Requires more ACKs or utACKs label May 2, 2023
@SWvheerden SWvheerden merged commit f7cece2 into tari-project:development May 2, 2023
SWvheerden added a commit that referenced this pull request May 8, 2023
##
[0.50.0-pre.1](v0.50.0-pre.0...v0.50.0-pre.1)
(2023-05-08)


### Features

* add miner timeout config option
([5331](#5331))
([aea14f6](aea14f6))
* chat ffi ([5349](#5349))
([f7cece2](f7cece2))
* chat scaffold
([5244](#5244))
([5b09f8e](5b09f8e))
* improve message encryption
([5288](#5288))
([7a80716](7a80716))
* **p2p:** allow listener bind to differ from the tor forward address
([5357](#5357))
([857fb55](857fb55))


### Bug Fixes

* add SECURITY.md Vulnerability Disclosure Policy
([5351](#5351))
([72daaf5](72daaf5))
* added missing log4rs features
([5356](#5356))
([b9031bb](b9031bb))
* allow public addresses from command line
([5303](#5303))
([349ac89](349ac89))
* clippy issues with config
([5334](#5334))
([026f0d5](026f0d5))
* default network selection
([5333](#5333))
([cf4b2c8](cf4b2c8))
* make the first output optional in the wallet
([5352](#5352))
([bf16140](bf16140))
* remove wallet panic
([5338](#5338))
([536d16d](536d16d))
* wallet .h file for lib wallets
([5330](#5330))
([22a3a17](22a3a17))
@brianp brianp deleted the chat-ffi branch October 2, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR-one_job CR-too_long Changes Requested - Your PR is too long
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants