Version 0.5.0 release

In this release, the minor part of version is incremented so that some
symbols are newly available as public API for new features. The new
features are mainly for error reporting.

In the initial release, libhinoko have used GError for error reporting.
However the implementation is not necessarily following to guidelines of
GError. In the release, the implementation is improved for enhancement.

Firstly, below public symbols are defined for implementation of GQuark and
declared in public headers, so that they can represent unique value for
domains of GError.

* hinoko_fw_iso_ctx_error_quark()
* hinoko_fw_iso_resource_error_quark()
* hinoko_fw_iso_resource_auto_error_quark()

Secondly, below public symbols are defined for implementation of GLib
enumerations and declared in public headers, so that they can represent
actual error code for GError.

* hinoko_fw_iso_resource_auto_error_get_type()
* hinoko_fw_iso_ctx_error_get_type()

Thirdly, the prototype of handlers for below GObject signals are changed
to receive argument for the instance of GError so that applications can
get the error of allocation and deallocation operations.

* HinokoFwIsoResource.allocated
* HinokoFwIsoResource.deallocated

Finally, many error checks are simplified according to GLib's guideline so
that programming errors should not reported by GError. The error of invalid
arguments and unexpected function call is not handled by GError. In the
cases, function call just returns with warnings.
bump release version up to v0.5.0

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 files changed