All notable changes to this project will be documented in this file.
- Move to zbus 5.0 (by TTWNO)
- 🧑💻 Also look in the directory with the crate name. This is useful if build is invoked from the workspace.
- 🩹
validate
now requires a comma separated argument list if multiple arguments are supplied. - 🩹 In macros prefer relative paths to absolute paths.
- 📝 Mention
resolve_xml_path
can now find..xml/
or..XML/
too.
- 🧑💻 Be more lenient by adding parent to defaults for
resolve_xml_path
- 🚸 Remove requirement
zbus_xml
to be in scope at macro call site. - Add
Copy
,Clone
,Hash
, to publicMshType
.
- 📝 Update Readme to
zbus-xml
instead ofzbus
- ✅ [lockstep] Remove unnecessary references.
- ✅ [macros] validate generated test now decorated with
#[cfg(test)]
-
➖ Swap zbus for zbus_xml
-
➖ Remove
signatures_are_eq
,assert_signatures_eq!
andassert_signatures_ne!
. -
➖ Remove tests for
signatures_are_eq
,assert_signatures_eq!
andassert_signatures_ne!
.
- 🔥 Cargo.lock
- ➖ Do not add changed Cargo.lock
- ✨
property_type_signature
macro accepts identifying args.
property_type_signature!(member: "Frequency", interface: "org.noise.Kazoo")
- ✨
signal_body_type_signature
macro accepts identifying args.
signal_body_type_signature!(member: "Telegram", interface: "org.mail.Man")
- ✨
method_args_signature
macro accepts identifying args.
method_args_signature!(member: "Frequency", interface: "org.noise.Kazoo")
- ✨ Add
argument
parameter tomethod_return_signature
macro. - ✨ Add
argument
parameter tomethod_args_signature
macro. - ✨ Add
argument
parameter tosignal_body_type_signature
macro.
- 🐛 Cannot disambiguate between multiple 2-arg macro invocations
Remove second 2-arg macro invocations.
- 📝
property_type_signature
macro doc examples. - 📝
signal_body_type_signature
macro doc examples. - 📝
method_return_signature
macro doc examples. - 📝 Update docs to accompany added
argument
feature New examples to show how the macros may be called.
- ✅ Add
property_type_signature
macro identifier unit tests. - ✅ Add
signal_body_signature
macro identifier unit tests. - ✅ Add
method_args_signature
macro identifier unit tests. - ✅ Add
method_return_signature
macro identifier unit tests. - ✅ Add six unit tests to cover 'happy path' in macros.
- 🐛 In macros with 'interface' arms, pass
String
instead of&str
- 🐛 'get_property_type' expects three args, not four.
- ✅ Add tests for macros with 'interface' arms.
- 🩹 Fully qualify
signatures_are_eq
in macros.
- 🩹 Fully qualify
find_definition_in_dbus_xml!
in macros.
-
✅ Ignore examples from test
-
✅ Adds tests for XML path retrieval macros:
-
method_return_signature
-
method_args_signature
-
signal_body_type_signature
-
property_type_signature
✨ Add signature retrieval macros for each msg-type
resolve_xml_path
functionfind_definition_in_dbus_xml
Is used in macros:method_return_signature
method_args_signature
property_type_signature
signal_body_type_signature
- 🐛 Fix falsely identified previously found signal.
- Remove senseless checks.
- 🐛 [macros] Do not treat subdirectories as files.
- 🐛 Skip subdirectories in the xml-definitions path.
- 🐛 [macros] Cannot read contents from
Cursor<str>
, read from aFile
. - 🐛 Canonicalize env and argument provided paths alike.
- 🐛 Fix: call the generated test after it is generated.
- 🩹 Replace hard coded directory paths with consts
- 📝 [macro] Improve
README.md
- 📝 [macros] Improve
validate
macro documentation - 📝 [macros] Document order of attribute macros
-
- Remove mention of irrelevant
Cache.xml
- Remove mention of irrelevant
- 📝 Synchronize the three README's
- ♻️ [macros] Remove function that resolves xml
- 🚚 Remove module
marshall
from public API
- ✅ [macros] CI test for path as argument
- ✅ [macros] Ads tests for
RemoveNode
with an xml-path as env-variable or as argument. - ✅ Failing test in GH
- Remove dependency on self in dev-dependencies
- 📝 Add CI badge to README.md
- ✅ Add example to
get_method_args_type
- ✅ version-numbers tests
- 🎉 Initial commit
First commit for helper crate zbus-lockstep