]> pilppa.com Git - libplp.git/log
libplp.git
12 years agoadded eclipse project file
Mika Laitio [Sun, 12 Aug 2012 22:38:11 +0000 (01:38 +0300)]
added eclipse project file

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agocleanups
Mika Laitio [Sun, 12 Aug 2012 22:37:40 +0000 (01:37 +0300)]
cleanups

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agoapi fixes and cleanups
Mika Laitio [Fri, 3 Aug 2012 15:41:41 +0000 (18:41 +0300)]
api fixes and cleanups

cleaned up the configuration data file
handling via libuci.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agoadd read_interval DeviceConfig methods
Mika Laitio [Tue, 24 Jul 2012 01:39:27 +0000 (04:39 +0300)]
add read_interval DeviceConfig methods

get_read_interval_seconds and
set_read_interval_seconds methods added.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agowarning cleanups
Mika Laitio [Mon, 23 Jul 2012 15:19:41 +0000 (18:19 +0300)]
warning cleanups

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agoadd support for building in 64 bit systems
Mika Laitio [Sat, 14 Jul 2012 13:29:34 +0000 (16:29 +0300)]
add support for building in 64 bit systems

If /lib64 dir exist, assume that system is 64 bit
and use /usr/local/lib64 instead of /usr/local/lib
as an installation dir.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
12 years agofix unsigned long printout warning
Mika Laitio [Sat, 14 Jul 2012 13:06:25 +0000 (16:06 +0300)]
fix unsigned long printout warning

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agocleanups
Mika Laitio [Thu, 16 Jun 2011 22:46:53 +0000 (01:46 +0300)]
cleanups

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agobetter error handling in case where the device specific config file is missing
Mika Laitio [Thu, 16 Jun 2011 18:59:03 +0000 (21:59 +0300)]
better error handling in case where the device specific config file is missing

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoupdates to log_debug/info/warning/error functions
Mika Laitio [Tue, 17 May 2011 20:01:07 +0000 (23:01 +0300)]
updates to log_debug/info/warning/error functions

printout the log severity and function name from where the
method was called by default. examples:

[dbg] test_logging: debug message text...
[inf] test_logging: info message text...
[wrn] test_logging: warning message text...
[err] test_logging: error message text...

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoupdated .gitignore file
Mika Laitio [Tue, 17 May 2011 20:00:01 +0000 (23:00 +0300)]
updated .gitignore file
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agoremove warning from possible unitialized variable
Mika Laitio [Sat, 16 Apr 2011 21:45:03 +0000 (00:45 +0300)]
remove warning from possible unitialized variable

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agofixed eclipse project files
Mika Laitio [Sat, 16 Apr 2011 14:55:28 +0000 (17:55 +0300)]
fixed eclipse project files

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
13 years agorevert previous save_immediately flag
Mika Laitio [Sat, 16 Apr 2011 14:44:10 +0000 (17:44 +0300)]
revert previous save_immediately flag

could not get working the save of variables whose value were not saved
immediately after setting them.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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