vali v0.1.0
Rahul Sandhu (1):
service: add vali_service_conn_get_fd
Simon Ser (130):
Initial commit
varlinkgen: generate finisher helpers
varlinkgen: add NULL guard for method output
varlinkgen: fix nullable strings
varlinkgen: fix memory leak in call when out is NULL
conn: split off low-level connection logic
service: add initial implementation
varlinkgen: add basic support for services
example: add service
util: split off array helper
service: add proper event loop
service: switch to callback-based API
service: introduce interface registry
Allow multiple varlinkgen_error_set() calls
service: simplify varlinkgen_service_call_fail()
varlinkgen: send errors
Introduce varlinkgen_registry
varlinkgen: embed interface definition
varlinkgen: add --prefix option
varlinkgen: hide global symbols
Add README
registry: fail on duplicate registry interface
registry: add varlinkgen_registry_get_call_handler()
example/client: remove Monitor call
def: add support for arrays
varlinkgen: extract type encoder/decoder/finalizer generation
varlinkgen: add support for arrays
registry: implement org.varlink.service
Set CLOEXEC flag on all FDs
service: add varlinkgen_service_call_is_oneway()
varlinkgen: generate helper to send errors
service: add varlinkgen_service_listen_fd()
service: add varlinkgen_service_get_fd()
service: add support for multiple listeners
varlinkgen: generate error decoder helper
def: document that types are only structs or enums
def: check type references
ci: add .build.yml
client: add varlinkgen_client_connect_fd()
Add docs in header
varlinkgen: handle zero varlinkgen_error in decoder helper
varlinkgen: fix optional nested structs
util: rename array.len to size
conn: rename buf_len to buf_size
varlinkgen: use different variable for array item object
varlinkgen: check that required object fields are provided
varlinkgen: accept null "parameters" fields
client: passthrough null "parameters" field
build: don't pass builtin directory to pkgconfig.generate()
ci: add .gitlab-ci.yml
varlinkgen: allow generated handlers to reply asynchronously
varlinkgen: generate per-method service call types
Introduce varlinkgen_buffer
Add set_nonblock()
Add buffer_grow()
Add buffer_shift()
Introduce varlinkgen_conn.out
Use non-blocking I/O for services
Fix reading multiple requests at once
Rename project to vali
Document that vali_client_call() blocks
Add vali_service_create_conn()
Add basic test
tool: fix missing prefix on some enum entries
test: expand basic test with structs and arrays
Add support for maps
service: ensure a single call is processed at a time
tool: fix duplicate "len" variable in struct decoders
tool: decode maps
tool: introduce fprintf_indent()
tool: add generate subcommand
service: add vali_service_call_is_more()
service: rename vali_service_call_fail() to close_with_error()
service: rename vali_service_call_reply() to close_with_reply()
service: introduce service_call_close_with_response()
registry: use generated code for InterfaceNotFound error
service: introduce vali_service_call_reply()
Document opaque structs in the public API
test: rename Test to Echo
test: split service and echo test in separate functions
conn: don't read when we got a pending message
client: add support for continued calls
readme: add code generation section
tool: generate unique name for nested structs/enums
tool: generate basic doc comments
def: introduce struct varlink_type_alias
def: introduce struct varlink_error
def: add finish_type_alias() and finish_error()
def: add support for doc comments
tool: include docs from interface definition in generated header
tool: generate unique name for structs/enums nested in arrays/maps
test: add a map to the echo test
tool: stop using fixed-size buffers for formatting strings
tool: include <stdbool.h> and <stddef.h> in generated headers
tool: fix nested struct/enum names in encoder/decoder code
tool: create per-struct scope in gen_type_decoder_code()
tool: fix unused variables in encoder/decoder for empty structs
tool: add support for opaque objects
tool: escape struct field names
tool: use C double to represent Varlink float
def: fix missing nullable flag for struct/enum
tool: fix nullable array/map handling
tool: name nested array/map structs
tool: use intermediate variables for arrays/maps in finisher code
tool: use intermediate variables for arrays/maps in encoder code
tool: use intermediate variables for arrays/maps in decode code
client: add vali_client_call_oneway()
tool: generate client functions for oneway calls
test: add certification client
test: add certification service
test: add self-test to certification tool
test: wait for service process in certification self-test
test: use poll() to wait for test end in certification self-test
test/certification: fix typo in usage string
service: add vali_service_call_get_conn()
service: add vali_service_conn_disconnect()
service: drop handler callback return value
service: handle destroyed connection in struct vali_service_conn
service, client: handle OOM when constructing JSON values
readme: update service example with new API
readme: add library API section
client, service: add safety assertions for parameters JSON type
readme: add a building section
build: add support for aml v1.0.0
build: add Meson wrap file for aml
ci: publish HTML documentation
readme: add link to HTML documentation
Add .editorconfig
build: set library version and soversion
client: clarify that vali_error_finish() should be used after a call
Érico Nogueira (2):
Install library and generator.
varlinkgen: add error parameter to the simple client interface