]> pilppa.com Git - libplp.git/log
libplp.git
13 years agoUpdates to set_config_value parameter
Mika Laitio [Fri, 15 Apr 2011 16:37:35 +0000 (19:37 +0300)]
Updates to set_config_value parameter

- add boolean parameter for set_configuration_value to specify whether
  the single config parameter change is is wanted to save immediately
  (usefull when changing multiple different values)
- rename set_cfg_value to set_config_value
- renamed get_cfg_value to get_config_value

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoRemoved unrequired code
Mika Laitio [Mon, 11 Apr 2011 15:02:57 +0000 (18:02 +0300)]
Removed unrequired code

uci_lookup_option for section was not needed when saving config-data.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoHardcoded the linking to libuci
Mika Laitio [Mon, 11 Apr 2011 13:41:22 +0000 (16:41 +0300)]
Hardcoded the linking to libuci

Removed the pkoconfig check for uci as the patch
has not been accepted to upsteam.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agomemory leak fixes
Mika Laitio [Mon, 14 Mar 2011 07:01:09 +0000 (09:01 +0200)]
memory leak fixes

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agonamed sections can be done also without adding new api function
Mika Laitio [Sun, 13 Mar 2011 23:45:15 +0000 (01:45 +0200)]
named sections can be done also without adding new api function

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoremove warning from possible uninitialized variable
Mika Laitio [Sun, 13 Mar 2011 18:05:02 +0000 (20:05 +0200)]
remove warning from possible uninitialized variable

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoRemoved warning from uninitialized and unused parameters.
Mika Laitio [Sun, 13 Mar 2011 17:53:25 +0000 (19:53 +0200)]
Removed warning from uninitialized and unused parameters.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoMemory leak cleanups.
Mika Laitio [Fri, 11 Mar 2011 15:55:58 +0000 (17:55 +0200)]
Memory leak cleanups.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agofixes for w1 data read
Mika Laitio [Thu, 10 Mar 2011 17:58:19 +0000 (19:58 +0200)]
fixes for w1 data read

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoNullpointer bug fix if device's datastore was empty while reading data.
Mika Laitio [Thu, 10 Mar 2011 14:51:49 +0000 (16:51 +0200)]
Nullpointer bug fix if device's datastore was empty while reading data.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agocode cleanup, removed std:: prefix from parameter type names.
Mika Laitio [Thu, 10 Mar 2011 14:51:01 +0000 (16:51 +0200)]
code cleanup, removed std:: prefix from parameter type names.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agosupport for querying daily summary from the latest date.
Mika Laitio [Wed, 9 Mar 2011 00:45:12 +0000 (02:45 +0200)]
support for querying daily summary from the latest date.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agow1 independent file cleanups.
Mika Laitio [Sat, 5 Mar 2011 20:48:54 +0000 (22:48 +0200)]
w1 independent file cleanups.

Moving w1 independent device and store files from lib1wire to
libplp.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoutils for getting byte array as hex str.
Mika Laitio [Mon, 14 Feb 2011 20:31:02 +0000 (22:31 +0200)]
utils for getting byte array as hex str.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoadded new helper function for getting byte array as hex-str.
Mika Laitio [Mon, 14 Feb 2011 20:30:02 +0000 (22:30 +0200)]
added new helper function for getting byte array as hex-str.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agocleanups and error handling for set_config_value method.
Mika Laitio [Mon, 24 Jan 2011 19:34:30 +0000 (21:34 +0200)]
cleanups and error handling for set_config_value method.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoset_config_value(): fix memory leak
Mika Laitio [Sun, 23 Jan 2011 22:16:04 +0000 (00:16 +0200)]
set_config_value(): fix memory leak

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
14 years agofixed pkgconfig file dependencies
Mika Laitio [Tue, 21 Dec 2010 23:12:43 +0000 (01:12 +0200)]
fixed pkgconfig file dependencies

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
14 years agoAdded libuci dependency to pkconfig file
Mika Laitio [Tue, 21 Dec 2010 22:23:37 +0000 (00:23 +0200)]
Added libuci dependency to pkconfig file

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
14 years agoinitial config file support
Mika Laitio [Tue, 21 Dec 2010 22:18:50 +0000 (00:18 +0200)]
initial config file support

supports for now only the setting of config values, read must still be
done directly by using libuci functions. Note config value setup
requires a special version of libuci which contains some modifications
for adding new sections.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
14 years agoversion 0.1.0
Mika Laitio [Thu, 28 Oct 2010 21:34:04 +0000 (00:34 +0300)]
version 0.1.0

14 years agoremoved non-needed libuci dependency
Mika Laitio [Thu, 28 Oct 2010 21:31:08 +0000 (00:31 +0300)]
removed non-needed libuci dependency

14 years agocleanups
Mika Laitio [Sun, 3 Oct 2010 21:20:21 +0000 (00:20 +0300)]
cleanups

14 years agoinitial version
Mika Laitio [Sat, 2 Oct 2010 21:06:08 +0000 (00:06 +0300)]
initial version