]>
pilppa.com Git - libplp.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mika Laitio [Tue, 14 Aug 2012 22:45:36 +0000 (01:45 +0300)]
Data read optimizations
Check the existence of year and month
folders when scanning the daily data.
This reduces a lot of read cycles in
cases that there months of holes without
data between the first and last data
available for certain device.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
Mika Laitio [Mon, 13 Aug 2012 17:22:36 +0000 (20:22 +0300)]
memory leak fix
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
Mika Laitio [Sun, 12 Aug 2012 22:37:40 +0000 (01:37 +0300)]
cleanups
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
Mika Laitio [Mon, 23 Jul 2012 15:19:41 +0000 (18:19 +0300)]
warning cleanups
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
Mika Laitio [Thu, 16 Jun 2011 22:46:53 +0000 (01:46 +0300)]
cleanups
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
Mika Laitio [Tue, 17 May 2011 20:00:01 +0000 (23:00 +0300)]
updated .gitignore file
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
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>
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>
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>
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>
Mika Laitio [Mon, 14 Mar 2011 07:01:09 +0000 (09:01 +0200)]
memory leak fixes
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
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>
Mika Laitio [Fri, 11 Mar 2011 15:55:58 +0000 (17:55 +0200)]
Memory leak cleanups.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Mika Laitio [Thu, 28 Oct 2010 21:34:04 +0000 (00:34 +0300)]
version 0.1.0
Mika Laitio [Thu, 28 Oct 2010 21:31:08 +0000 (00:31 +0300)]
removed non-needed libuci dependency
Mika Laitio [Sun, 3 Oct 2010 21:20:21 +0000 (00:20 +0300)]
cleanups
Mika Laitio [Sat, 2 Oct 2010 21:06:08 +0000 (00:06 +0300)]
initial version