#
c3ab4171 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I310cd74890fc18c36958a11fcb544413a809ed01 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
#
2bc745a3 |
| 01-Apr-2024 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
meson: Provide wrap for nlohmann
Currently on the system without nlohmann installed local build fails with error: """ ../test/include/bej_common_test.hpp:5:10: fatal error: nlohmann/json.hpp: No suc
meson: Provide wrap for nlohmann
Currently on the system without nlohmann installed local build fails with error: """ ../test/include/bej_common_test.hpp:5:10: fatal error: nlohmann/json.hpp: No such file or directory 5 | #include "nlohmann/json.hpp" """ Provide wrap file for nlohmann and add the necessary dependency to fix the issue.
Tested: Local build via "meson setup build && cd build && meson compile" now finishes without errors.
Change-Id: I8d63dac6f8963c7da2c5831a1fb1998663a12f6f Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
#
da6e5573 |
| 13-Mar-2023 |
Nikhil Namjoshi <nikhilnamjoshi@google.com> |
Add libbej encoder wrapper for C++
Add unit tests and the test data files needed for unit tests. Move APIs from bej_decoder_test.cpp to a common file, to share those with bej_encoder_test.cpp
Teste
Add libbej encoder wrapper for C++
Add unit tests and the test data files needed for unit tests. Move APIs from bej_decoder_test.cpp to a common file, to share those with bej_encoder_test.cpp
Tested: Verified that encoding using the wrapper works well at runtime. Verified that the unit tests pass.
Change-Id: I61b7c17690eb7e7fefd1973a22d4316c6214267e Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
show more ...
|
#
6eb945fa |
| 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I0c79d23d21956ffd007b1d1001bf6aaa0f72103b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
2ebe82f5 |
| 31-Jan-2023 |
kasunath <kasunath@google.com> |
Add BEJ tree API.
This API allows us to represent a JSON object with a linked list representation.
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: I7894e7c10e4db2ad02a79b01bb4d7a48
Add BEJ tree API.
This API allows us to represent a JSON object with a linked list representation.
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: I7894e7c10e4db2ad02a79b01bb4d7a48d5a197cd
show more ...
|
#
0aa36d82 |
| 23-Nov-2022 |
kasunath <kasunath@google.com> |
Rename rde_common to bej_common
bej_common.h is a more consistant name than rde_common.h.
Also this repo only contains code related to BEJ encoding and decoding. Therefore this change removes the r
Rename rde_common to bej_common
bej_common.h is a more consistant name than rde_common.h.
Also this repo only contains code related to BEJ encoding and decoding. Therefore this change removes the rde related structs defind in the bej_common.h. Those structs should be defined somewhere else (libpldm).
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: Ic296ece11efc0967366e197a8609c3c88c325610
show more ...
|
#
e8946af6 |
| 23-May-2022 |
kasunath <kasunath@google.com> |
Add tests for the JSON decoder.
These tests will test the bej_decoder_core.c as well.
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: Ibf1c9a381a630beac09ed504dd57563160579fb0
|
#
d073aa1a |
| 12-May-2022 |
kasunath <kasunath@google.com> |
Add helper functions for BEJ dictionaries
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: I50f2ccec155434639dfecd96193608cf6c5a1787
|
#
7ffd30aa |
| 10-May-2022 |
kasunath <kasunath@google.com> |
Add common data structures
This adds some common data structures and functions needed for RDE BEJ.
The decoder core is written in C so that we can use this with some other future platforms. clang-t
Add common data structures
This adds some common data structures and functions needed for RDE BEJ.
The decoder core is written in C so that we can use this with some other future platforms. clang-tidy is complaining about C style header. I tried adding a .clang-tidy-ignore file but it did not work. And since this is mainly a C library, I deleted the .clang-tidy.
Signed-off-by: Kasun Athukorala <kasunath@google.com> Change-Id: Ice07527b23cd00c65cd11ed114ea4faefcc085fb
show more ...
|