summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-26Add implementation of string_list_key_get()Eduardo Lima (Etrunko)1-1/+12
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-26Fix signatures of wkb_ibus_config_eet public functionsEduardo Lima (Etrunko)2-45/+46
This is to reflect the change on the previous commit. Change-Id: I46199f4f67440660ccedfd7ab507da6b8345d3d4 Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-26Fix signature of wkb_config_key_getEduardo Lima (Etrunko)2-25/+26
Also change the various implementations to comply with it. Change-Id: I669731d992c1b2f77e83c58708821b364810120f Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-26Cosmetic change for DBus message error checking macrosEduardo Lima (Etrunko)3-41/+39
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-20Move IBus definitions to a dedicated header fileEduardo Lima (Etrunko)6-15/+51
Change-Id: Iddfe3bc5cccd46087d0d78834b3320b0d49c8df2 Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-19Added wkb_ibus_config_unregisterEduardo Lima (Etrunko)3-1/+29
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>
2013-09-19Fix initializations in testsEduardo Lima (Etrunko)2-7/+30
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-19Added missing implementation of config_key_string_list_setEduardo Lima (Etrunko)1-2/+13
Also fix config_key_string_set Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-19Add config_section_get_value and config_section_set_valueEduardo Lima (Etrunko)1-2/+71
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>
2013-09-19Fix config_section initialization orderEduardo Lima (Etrunko)1-10/+14
Also set the full 'path' for section id, in order to ease section discovery Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-19Add accessor for key idEduardo Lima (Etrunko)2-3/+10
Also fix implementations of wkb_config_key_set and wkb_config_key_get. Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-19Introduce struct _config_keyEduardo Lima (Etrunko)4-215/+342
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>
2013-09-19Improve config_section base implementationEduardo Lima (Etrunko)1-110/+106
- 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>
2013-09-19Make use of -Wno-unused-parameterEduardo Lima (Etrunko)1-1/+7
Also fix usage of -Wextra Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-09-18Add dist-bzip2 to AM_INIT_AUTOMAKEv0.0.1Eduardo Lima (Etrunko)1-1/+1
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-08-16Initial commitEduardo Lima (Etrunko)42-0/+5653
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>