]> git.alsa-project.org Git - alsa-gobject.git/log
alsa-gobject.git
5 years agoseq: fulfill missing public symbol
Takashi Sakamoto [Sat, 4 Apr 2020 03:37:35 +0000 (12:37 +0900)]
seq: fulfill missing public symbol

The symbols of 'alsaseq_event_data_queue_get_byte_param' and
'alsaseq_event_data_queue_set_byte_param' is missing from the map of
public symbols.

Fixes: a272b5d0e727: ("seq: event_data_queue: add accessor methods")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_queue: fix type of argument for getter of byte param
Takashi Sakamoto [Sat, 4 Apr 2020 03:22:50 +0000 (12:22 +0900)]
seq: event_data_queue: fix type of argument for getter of byte param

Although the getter of byte param has argument of guint32 type, the
argument should be guint8 type.

Fixes: a272b5d0e727: ("seq: event_data_queue: add accessor methods")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoupdate README
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
update README

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: doc: generate documentation for alsaseq library
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: doc: generate documentation for alsaseq library

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add an API to operate subscription between two ports
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add an API to operate subscription between two ports

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get the list of subscriptions between ports
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get the list of subscriptions between ports

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: subscribe_data: add properties
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: subscribe_data: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: subscribe_data: add object to represent subscription between two ports
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: subscribe_data: add object to represent subscription between two ports

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for tstamp data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for tstamp data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add API to refer to quadlet data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add API to refer to quadlet data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add API to refer to byte data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add API to refer to byte data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add API to refer to data of connect type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add API to refer to data of connect type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_connect: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_connect: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_connect: add Boxed object for data of connect type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_connect: add Boxed object for data of connect type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for addr data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for addr data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for queue data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for queue data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_queue: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_queue: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_queue: add Boxed object for data of queue control type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_queue: add Boxed object for data of queue control type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for ctl data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for ctl data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_ctl: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_ctl: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_ctl: add Boxed object for event of ctl type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_ctl: add Boxed object for event of ctl type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for note data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for note data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_note: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_note: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_note: add Boxed object for event of note type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_note: add Boxed object for event of note type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add a property for result data of event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add a property for result data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_result: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_result: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_data_result: add Boxed object for event of result type
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_data_result: add Boxed object for event of result type

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: emit 'handle_event' signal
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: emit 'handle_event' signal

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add virtual method to handle event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add virtual method to handle event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add GObject signal to handle event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add GObject signal to handle event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add an API to create GSource
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add an API to create GSource

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add an API to schedule event
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add an API to schedule event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_variable: add accessor methods and constructor
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_variable: add accessor methods and constructor

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_variable: add GObject object for event with variable length data
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_variable: add GObject object for event with variable length data

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add constructor
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add constructor

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event_fixed: add GObject object for event with fixed length data
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event_fixed: add GObject object for event with fixed length data

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event: add properties and access methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event: add properties and access methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: event: add GObject abstract object to represent event in ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: event: add GObject abstract object to represent event in ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: tstamp: add accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: tstamp: add accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: tstamp: add Boxed object for timestamp union
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: tstamp: add Boxed object for timestamp union

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add APIs to set/get memory pool in client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add APIs to set/get memory pool in client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get information of memory pool for any client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get information of memory pool for any client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: client_pool: add properties
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: client_pool: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: client_pool: add object to represent memory pool in client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: client_pool: add object to represent memory pool in client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add APIs to create/delete port for client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add APIs to create/delete port for client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get information of port in client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get information of port in client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: port_info: add properties
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: port_info: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: port_info: add object to represent information of port for ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: port_info: add object to represent information of port for ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: addr: add accessor methods and constructors
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: addr: add accessor methods and constructors

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: addr: add object to represent address in ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: addr: add object to represent address in ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get the list of port ID of client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get the list of port ID of client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add APIs to set/get information as client for ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add APIs to set/get information as client for ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add properties
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add an API to open ALSA Sequencer character device
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add an API to open ALSA Sequencer character device

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: user_client: add object to represent user client for ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: user_client: add object to represent user client for ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get information of client for ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get information of client for ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: client_info: add properties and accessor methods
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: client_info: add properties and accessor methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: client_info: add object to represent information of client
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: client_info: add object to represent information of client

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get list of client ID in ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get list of client ID in ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get information of ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get information of ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: system_info: add properties
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: system_info: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: system_info: add object to represent information of ALSA sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: system_info: add object to represent information of ALSA sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get devnode string for ALSA Sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get devnode string for ALSA Sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add global method to get sysname for ALSA sequencer
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add global method to get sysname for ALSA sequencer

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: add Quark object to report any error
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: add Quark object to report any error

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: tests: add test script for enumerations of ALSASeq
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: tests: add test script for enumerations of ALSASeq

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: generate enumerations
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: generate enumerations

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoseq: generate alsaseq library
Takashi Sakamoto [Wed, 1 Apr 2020 09:13:28 +0000 (18:13 +0900)]
seq: generate alsaseq library

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoadd support for i386 build job to workflow of Github Actions
Takashi Sakamoto [Mon, 2 Mar 2020 08:35:03 +0000 (17:35 +0900)]
add support for i386 build job to workflow of Github Actions

In lxd repository for Ubuntu Cloud Images[1], Ubuntu i386 container
is available for applications of Intel386 ABI.

This commit uses the container to test build for Intel386 ABI in
workflow of Github Actions.

I note that no official Fedora i386 container is in dockerhub
registry[2]. It's needed to find the way to build application for
Intel386 ABI on AMD64 architecture (perhaps multiarch) if we are
going to support it.

[1] https://cloud-images.ubuntu.com/releases/
[2] https://hub.docker.com/_/fedora

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user-instance: delegate decision of poll timeout into application
Takashi Sakamoto [Mon, 10 Feb 2020 12:20:41 +0000 (21:20 +0900)]
timer: user-instance: delegate decision of poll timeout into application

As long as using the created Gsource with GMainContext, the call of poll(2)
system call with infinite timeout surely returns when quit() method is
called for the context. All of GMainContext implements GWakeup with eventfd
and the call of quit() emits event via file descriptor of eventfd. This
brings wakeup from blocking when poll(2) is called with inifinite timeout.

This means that it's necessarily need to have explicit timeout internally.
This commit removes implementation of GSourceFunc.prepare for the reason.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoctl: card: delegate decision of poll timeout into application
Takashi Sakamoto [Mon, 10 Feb 2020 12:20:17 +0000 (21:20 +0900)]
ctl: card: delegate decision of poll timeout into application

As long as using the created Gsource with GMainContext, the call of poll(2)
system call with infinite timeout surely returns when quit() method is
called for the context. All of GMainContext implements GWakeup with eventfd
and the call of quit() emits event via file descriptor of eventfd. This
brings wakeup from blocking when poll(2) is called with inifinite timeout.

This means that it's necessarily need to have explicit timeout internally.
This commit removes implementation of GSourceFunc.prepare for the reason.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user-instance: add an argument for open(2) flag into API to open ALSA timer...
Takashi Sakamoto [Mon, 10 Feb 2020 08:04:09 +0000 (17:04 +0900)]
timer: user-instance: add an argument for open(2) flag into API to open ALSA timer character device

As long as using the created Gsource with GMainContext, the call of poll(2)
system call with infinite timeout surely returns when quit() method is
called for the context. All of GMainContext implements GWakeup with eventfd
and the call of quit() emits event via file descriptor of eventfd. This
brings wakeup from blocking when poll(2) is called with inifinite timeout.
This means that it's safe for event polling without O_NONBLOCK.

On the other hand, there are many options for file descriptors; e.g.
O_APPEND and O_CLOEXEC. For the case, glib framework has no support.

This commit adds an argument for the open flags.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoctl: card: add an argument for open(2) flag into API to open ALSA control character...
Takashi Sakamoto [Mon, 10 Feb 2020 08:02:03 +0000 (17:02 +0900)]
ctl: card: add an argument for open(2) flag into API to open ALSA control character device

As long as using the created Gsource with GMainContext, the call of poll(2)
system call with infinite timeout surely returns when quit() method is
called for the context. All of GMainContext implements GWakeup with eventfd
and the call of quit() emits event via file descriptor of eventfd. This
brings wakeup from blocking when poll(2) is called with inifinite timeout.
This means that it's safe for event polling without O_NONBLOCK.

On the other hand, there are many options for file descriptors; e.g.
O_APPEND and O_CLOEXEC. For the case, glib framework has no support.

This commit adds an argument for the open flags.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agoupdate README
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
update README

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: doc: generate documentation
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: doc: generate documentation

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add APIs to pause/continue event emission
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add APIs to pause/continue event emission

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to stop event emission
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to stop event emission

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to start instance for timer device
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to start instance for timer device

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: emit 'handle_disconnection' GObject signal
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: emit 'handle_disconnection' GObject signal

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add class virtual method to handle disconnection of the attache...
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add class virtual method to handle disconnection of the attached timer device

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add GObject signal to handle disconnection of the attached...
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add GObject signal to handle disconnection of the attached timer device

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: emit 'handle-event' signal
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: emit 'handle-event' signal

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add virtual method to handle event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add virtual method to handle event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add GObject signal to handle event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add GObject signal to handle event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_timestamp: add properties and access methods
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_timestamp: add properties and access methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_timestamp: add derived object for timestamp event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_timestamp: add derived object for timestamp event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_tick: add properties
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_tick: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_tick: add derived object to represent event with tick count
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_tick: add derived object to represent event with tick count

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_data: add properties
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_data: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: event_data: add abstract object to represent data of event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: event_data: add abstract object to represent data of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: add enumeration for the type of event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: add enumeration for the type of event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to create GSource to dispatch event
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to create GSource to dispatch event

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to get status of instance
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to get status of instance

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: instance_status: add properies and access methods
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: instance_status: add properies and access methods

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: instance_status: add object to represent status of instance
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: instance_status: add object to represent status of instance

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to configure instance
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to configure instance

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: instance_params: add properties
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: instance_params: add properties

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: instance_params: add object to represent parameter of instance
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: instance_params: add object to represent parameter of instance

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: user_instance: add an API to get information of instance
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: user_instance: add an API to get information of instance

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
5 years agotimer: instance_info: add properties
Takashi Sakamoto [Sun, 9 Feb 2020 03:20:53 +0000 (12:20 +0900)]
timer: instance_info: add properties

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