Age | Commit message (Collapse) | Author | Files | Lines |
|
We now depend on Efreet to figure out the directory where to save the
configuration file used by IBusConfig service interface.
Also fix initializations in wkb_ibus_config_register().
Change-Id: I33395d50431931e91955c833591314aec6c2a2e9
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: I4079c68f6c2b22da7d74115ad50fe894278c515b
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: I53de2ae16b80151eb422b65ac4c06cdc23457c9e
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: I491f31c7a0090a3e9cc490d4274cf6bbe6f09492
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: Idf20fee9617ea1322c145d4ebf9804973046110f
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Our implementation makes use of Eet as backend.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
We only need to set the id of a section if it is not the toplevel
Change-Id: If1bfcc07ca657e859493b1cf98c9e68d11016d13
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
We have to use another iterator inside the reply to pack the actual value
Change-Id: I7f4547fb1de3450621aa332ad1caa80f287f7969
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
This function can be used to know the signature of a given key, which is
stored in the struct wkb_config_key.
Also adds new function to return all signatures of a given key, which makes
use of the former.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
This is to reflect the change on the previous commit.
Change-Id: I46199f4f67440660ccedfd7ab507da6b8345d3d4
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also change the various implementations to comply with it.
Change-Id: I669731d992c1b2f77e83c58708821b364810120f
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Change-Id: Iddfe3bc5cccd46087d0d78834b3320b0d49c8df2
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Used to free a reference of the config_eet object, which is initialized
in the register function so it can be used by our IBusConfig interface
implementation.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also fix config_key_string_set
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also add two helper functions for returning the section and key according
to the parameters
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also set the full 'path' for section id, in order to ease section discovery
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Also fix implementations of wkb_config_key_set and wkb_config_key_get.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
With this new struct we simplify the config_section implementation
and remove from it the responsibility for setting/getting values.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
- New macro _config_section_init to reduce code duplication.
- New 'subsection' member of _config_section struct to keep track of
hierarchy between sections. It is now necessary to pass the parent
section as argument to the _new and _section_init functions.
- We are now able to free all subsections and the actual struct on the
base implementation, simplifying the specific implementations and
saving some lines of code.
- The same apply for the _set_defaults function, which is called for all
subsections on the base implementation.
- Protect against the case of specialized config_section implementation not
providing the function in question.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|
|
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
|