summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove D-Bus policy configuration for org.genivi.persistence.adminHEADv1.2.1masterMartin Ejdestig2019-07-221-16/+0
| | | | | | | | | | The policy file is never installed by Makefile and it is persistence-common-object that takes the name so policy should probably be in that repository. Remove from pcl for less confusion. See GENIVI/persistence-common-object#8 for more details. Signed-off-by: Martin Ejdestig <mejdestig@luxoft.com>
* Merge pull request #15 from sashko/masterv1.2.0Ingo Huerner2018-08-311-1/+1
|\ | | | | Fix compilation with GCC 8
| * Fix compilation with GCC 8Oleksandr Kravchuk2018-08-261-1/+1
|/ | | | Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
* Merge pull request #14 from frznlogic/fix-longIngo Huerner2018-03-271-1/+1
|\ | | | | persistence_client_library_benchmark.c: fix long compilations on 32-bit cpus
| * persistence_client_library_benchmark.c:Oscar Andreasson2018-03-151-1/+1
|/ | | | | | | Fix compilation on 32-bit cpu's, long long and long are different datatypes on 32-bit but not 64-bit cpu's. Signed-off-by: Oscar Andreasson <oscar.andreasson@pelagicore.com>
* Merge pull request #13 from mdanilov/remove-yocto-recipesIngo Huerner2018-03-133-77/+0
|\ | | | | Remove Yocto recipes
| * Remove Yocto recipes, there is meta-ivi repository for that. Most probably ↵Maxim Danilov2018-02-163-77/+0
| | | | | | | | current files is outdated (last update 4 years ago)
* | Merge pull request #11 from mdanilov/masterIngo Huerner2018-03-135-69/+527
|\ \ | |/ |/| tools: fixed errors
| * Update README, added INSTALL docMaxim Danilov2018-02-162-0/+371
| |
| * Fixed: persistence_db_viewer does not show content of big databasesMaxim Danilov2018-02-162-38/+129
| | | | | | | | Added .gitignore
| * db-viewer: fixed resource list handlingMaxim Danilov2018-02-152-7/+7
| |
| * db_viewer: increase read value sizeMaxim Danilov2018-02-151-16/+13
| | | | | | Values bigger than 2KB a not shown in persistence_db_viewer tool, increase buffer size for 8KB to support reading values with max size.
| * tools: strings are not null terminatedMaxim Danilov2018-02-151-13/+12
|/
* Merge pull request #10 from ↵Ingo Huerner2018-01-251-38/+38
|\ | | | | | | | | frznlogic/fix-memset-improperly-initialized-length-of-elements pcl_test: Fix memset calls
| * pcl_test: Fix memset callsOscar Andreasson2018-01-181-38/+38
|/ | | | | | | | The length parameter was improperly initialized writing only partially to some of the memset target variables. This caused build errors with newer gcc versions. Signed-off-by: Oscar Andreasson <oscar.andreasson@pelagicore.com>
* Merge pull request #8 from tolkien-joh/masterIngo Huerner2017-07-101-3/+4
|\ | | | | fix error on compiling meta-ivi 12.0 for qemux86, vexpressa9
| * fix error on compiling meta-ivi 12.0 for qemux86, vexpressa9Yong-iL Joh2017-04-191-3/+4
| | | | | | | | | | | | | | | | | persistence_client_library_benchmark.c:86:23: error: conversion to 'long int' from 'long long int' may alter its value [-Werror=conversion] | durationInit += getNsDuration(&initStart, &initEnd); | ^~~~~~~~~~~~~ Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
* | Merge pull request #9 from gunnarx/fix_usageIngo Huerner2017-07-101-7/+7
|\ \ | | | | | | persistence_client_tool: Correct name in usage help
| * | persistence_client_tool: Correct name in usage helpGunnar Andersson2017-05-231-7/+7
| | | | | | | | | | | | | | | | | | | | | The binary name is persistence_client_tool but the usage help text described it as persclient_tool. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
* | | Make test data directory (localestatedir) variableIngo Huerner2017-06-022-2/+2
| | |
* | | Added test to verify restared crashed application is able to access data in ↵Ingo Huerner2017-06-013-64/+479
| | | | | | | | | | | | cache again
* | | Check return value when registering to PAS, pclInitLibrary returns now an ↵Ingo Huerner2017-05-237-58/+198
|/ / | | | | | | error code if PAS register fails
* | Fixed findings from static code analysisIngo Huerner2017-05-229-107/+149
| |
* | Added environment checker to tests in order to detect insufficient ↵Ingo Huerner2017-04-194-9/+294
|/ | | | persistence setup
* NSM interaction rework: Lifecycle request will be answered with pending (not ↵Ingo Huerner2017-04-102-1/+10
| | | | OK anymore); LifecycleRequestComplete to NSM will be sent later
* Adjusted dbus arg typesIngo Huerner2017-04-051-1/+1
|
* Corrected argument type for LifecycleRequestComplete message; extended ↵Ingo Huerner2017-04-053-17/+89
| | | | checkLocalArtefacts function; makeShmName function adjusted
* Added configure switch --enable-fsync to use fsync instead fdatasync.Ingo Huerner2017-03-306-31/+48
| | | | Added more dlt logs for dbus communication.
* Removed call dbus_shutdown() when ending dbus mainloopIngo Huerner2017-03-271-2/+4
|
* Improved backup and recovery for file APIIngo Huerner2017-03-092-31/+442
|
* Added pclCustomLibConfigFileTest.cfg.in config file for tests.Ingo Huerner2017-03-0714-73/+777
| | | | | | Removed in pclCustomLibConfigFile.cfg.in entries for test plugins. Replaced sync call by syncfs (process_prepare_shutdown function). Removed some unnecessary close calls (findings static code analysis tool).
* Handling of dbus pending calls rework (mutex handling improved, added ↵Ingo Huerner2017-02-217-85/+227
| | | | | | condvar). Improved registration to PAS: if PAS is not available when calling pclInit, PCL registers itself as soon as PAS will be available
* Merge pull request #6 from gmacario/feat-skip-multithreaded-testsIngo Huerner2017-02-201-4/+13
|\ | | | | Skip testcases MultiThreadedRead, MultiThreadedWrite
| * Fix typoGianpaolo Macario2017-02-171-4/+4
| | | | | | | | Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
| * Skip testcases MultiThreadedRead, MultiThreadedWriteGianpaolo Macario2017-02-171-0/+9
|/ | | | | | Reference: [BASE-37] Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
* Moved closing of open handles from pclDeinit function into mainloop.Ingo Huerner2017-02-176-99/+163
| | | | Deinit function just sends a message to mailoop to close handles.
* Merge pull request #4 from gmacario/fix-duplicate-readmeIngo Huerner2017-02-172-203/+3
|\ | | | | Fix duplicate README
| * Fix typo in the command line option specificationGianpaolo Macario2017-02-131-2/+2
| | | | | | | | | | | | | | | | --with-database=key-value-store instead of the '-- with_database=key-value-store' https://at.projects.genivi.org/jira/browse/PCL-2 Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
| * README: Replace with symlink to README.mdGianpaolo Macario2017-02-131-201/+1
| | | | | | | | | | | | | | This will prevent the risk that the contents of the two files will diverge in the future Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
* | Merge branch 'master' of https://github.com/GENIVI/persistence-client-libraryIngo Huerner2017-02-162-2/+2
|\ \ | |/
| * Merge pull request #3 from gmacario/fix-test-makefileamIngo Huerner2017-02-131-1/+1
| |\ | | | | | | test: Fix AM_CFLAGS in Makefile.am
| | * test/Makefile.am: Add -Og option if DEBUGGianpaolo Macario2017-02-131-1/+1
| | | | | | | | | | | | Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
| | * test: Fix AM_CFLAGS in Makefile.amGianpaolo Macario2017-02-131-1/+1
| | | | | | | | | | | | | | | | | | Option "-g" was missing when DEBUG is on. Fixed Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
| * | Merge pull request #2 from dliakh/patch-1Ingo Huerner2017-02-131-1/+1
| |\ \ | | |/ | |/| Fix typo in the command line option specification
| | * Fix typo in the command line option specificationdliakh2017-01-051-1/+1
| | | | | | | | | | | | | | | --with-database=key-value-store instead of the '-- with_database=key-value-store' https://at.projects.genivi.org/jira/browse/PCL-2
* | | Replaced file handle array by simple linked listIngo Huerner2017-02-165-77/+575
|/ /
* | Added appcheck to pclFileOpenIngo Huerner2017-02-101-26/+37
| |
* | Fixed a array out of bounds access (results in mutex deadlock).Ingo Huerner2017-02-1018-344/+1205
| | | | | | | | | | | | Improved mutex handling. Removed valgrind warning GENIVI JIRA issue PCL-3. Delete remaining semaphores and shared memory in case of app crash.
* | Added ownership configuration JSON file to test data tar file; NOTE: You ↵Ingo Huerner2017-02-061-0/+0
| | | | | | | | need to be root ńow when running the tests
* | Make usage of plugins more robust (Nullpointer check); Added creation of ↵Ingo Huerner2017-01-2710-119/+383
| | | | | | | | test log file for file API tests