summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Install D-Bus policy file in /usr/share/dbus-1/system.dHEAD1.1.1masterMartin Ejdestig2019-07-221-1/+1
| | | | | | | | | | | | Instead of /etc/dbus-1/system.d. Package supplied policy configuration in /etc/dbus-1/system.d is officially deprecated in D-Bus since 1.13.10 and is reserved for system administrators wanting to override default behavior. /usr/share/dbus-1/system.d has been preferred since D-Bus 1.10.0 (released ~4 years ago). See the following commit in D-Bus for deprecation notice: https://gitlab.freedesktop.org/dbus/dbus/commit/dee0f551112349da4aa3f913f92f2c7c8f48f1f0 Signed-off-by: Martin Ejdestig <mejdestig@luxoft.com>
* Revert "dbus_config: Remove dbus configuration file"Martin Ejdestig2019-07-222-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 103be9f0bb77df0b139541ab366ff98a4fe4e408. No D-Bus policy file is installed which causes persistence-administrator to fail during startup since it ends up calling a persitence-client-object function that wants to own the name org.genivi.persistence.admin. Owning names is denied by default on the system bus. Since it is persistence-common-object that takes the name org.genivi.persistence.admin in src/pers_ipc_dbus.c:persIpcPASLoopThread(), the configuration probably belongs in this repository. It looks like persistence-client-library has never installed org.genivi.persistence.admin.conf itself in its build system. It was done for a while in meta-ivi which must have been the source of the conflict mentioned in the reverted commit. Installed in GENIVI/meta-ivi@7318681d851e3e3ee22a but later removed in GENIVI/meta-ivi@9d5a45e473fbb3a29f5e with the comment "it should be done by PCO". The reverted commit was sent in pull request #3 with no reasoning as to why it should be added by persistent-client-library instead of persistence-common-object. Later pull request #5 first adds it but then removes it again in a later commit. Unsure why. Reasoning in comment about the missing D-Bus config file seemed correct. Signed-off-by: Martin Ejdestig <mejdestig@luxoft.com>
* Fix gdbus-codegen invocation1.1.0Oleksandr Kravchuk2018-09-201-1/+1
| | | | Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
* Merge pull request #5 from mdanilov/masterIngo Huerner2018-03-134-6/+106
|\ | | | | Fixed build
| * Reverted: added dbus config file (there was commit to remove it due to ↵Maxim Danilov2018-02-162-17/+0
| | | | | | | | conflict with pcl repo)
| * Change README to symlinkMaxim Danilov2018-02-161-13/+1
| |
| * Fixed build, added missed dbus config fileMaxim Danilov2018-02-166-6/+135
|/
* Merge pull request #2 from GordanM/topic/deprecatedGuy Sagnes2017-07-071-6/+0
|\ | | | | pers_ipc_dbus: remove deprecated glib init
| * pers_ipc_dbus: remove deprecated glib initGordan Markuš2017-07-031-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | As the comment states the g_type_init function calls are deprecated. It still produces build warnings and as such it is better to remove it. ../src/pers_ipc_dbus.c:1411:2: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations] ../src/pers_ipc_dbus.c:1470:2: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations] Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
* | Merge pull request #1 from GordanM/topic/fix-READMEGuy Sagnes2017-07-072-26/+13
|\ \ | | | | | | README.md: Update README
| * | README.md: Update READMEGordan Markuš2017-07-052-26/+13
| |/ | | | | | | | | | | | | Reformat the README in markdown format, fix broken links and update repository information and description. Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
* | Merge pull request #3 from GordanM/topic/remove-dbus-confIngo Huerner2017-07-052-18/+0
|\ \ | |/ |/| dbus_config: Remove dbus configuration file
| * dbus_config: Remove dbus configuration fileGordan Markuš2017-07-032-18/+0
|/ | | | | | | | | | | | | | | | | The same copy of the default dbus configuration file can be found in https://github.com/GENIVI/persistence-client-library and that should be the only repository holding this file. Furthermore, because this file is being installed by both of these components, the Yocto build system will declared the do_rootfs job as a failure due to the following error: Error: Transaction check error: file /etc/dbus-1/system.d/org.genivi.persistence.admin.conf conflicts between attempted installs of persistence-client-library-1.1.0 and libpers-common0-1.0.3 Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
* Added sqlite backend; use --with-database=sqlite in configure stepIngo Huerner2017-06-211-0/+1428
|
* Update after static code analysis; Added test for crashed app handling; ↵Ingo Huerner2017-06-017-217/+730
| | | | removed obsolete test data
* Added key-value store documentationIngo Huerner2017-05-221-0/+0
|
* Changed location of test dataIngo Huerner2017-05-052-4/+5
|
* Removed memset in qhasharr (prevents allocated mamory to be marked as "used").Ingo Huerner2017-05-058-7/+528
| | | | | Added tests for RCT comparing function. Make define PERS_CACHE_MAX_SLOTS configurable using --with-cachemaxslots (default 100.000).
* Replaced sem_wait with sem_timedwait in pers_lldb_open and pers_lldb_close ↵Ingo Huerner2017-04-063-12/+114
| | | | with 5 sec timeout
* Added test for corrupt key-names when reusing a deleted blockIngo Huerner2017-03-301-2/+154
|
* Added configure switch --enable-fsync to use fsync instead fdatasync.Ingo Huerner2017-03-303-16/+68
| | | | Added library constructor/destructor to call DLT_REGISTER_CONTEXT/DLT_UNREGISTER_CONTEXT
* Added fdatasync for writethrough keys to make sure data will be synced to ↵Ingo Huerner2017-03-291-0/+8
| | | | non-volatile memory device
* Fixed an issue with key-name when reusing a block and the key-name is shorterIngo Huerner2017-03-231-0/+2
|
* Replace mutex with robust mutex; fixed a bug in persComDbGetSizeKeysList ↵Ingo Huerner2016-12-133-178/+314
| | | | when a key has been deleted in cache
* Added test case for previous fixIngo Huerner2016-12-051-0/+60
|
* Fix crash in KISSDB_IteratorNext caused by problem with handling deleted ↵Tomasz Lewandowski2016-12-053-14/+46
| | | | | | | items. [IHU-12393] Change-Id: I0b072d5d0cec636102823390de9ef1ccef7b24e5 Signed-off-by: Tomasz Lewandowski <tomasz.lewandoski@delphi.com>
* removed consecutive spaces in DLT_LOG callsDisch, Simon2015-11-271-4/+4
|
* persComTypes.h: Bug 251 work aroundHolger Behrens2015-04-221-2/+2
| | | | Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
* removed MD5 hash functionsDisch, Simon2015-04-225-394/+0
|
* fixed GENIVI Bug 345Disch, Simon2015-04-011-1/+1
|
* configure.ac: fix typoHolger Behrens2015-03-271-1/+1
| | | | Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
* Version 1.0.3 add persComDbgetMaxKeyValueSize() ,new Options for ↵1.0.3Guy Sagnes2015-03-043-21/+29
| | | | persComDbOpen() merge of the interface extension provided by MentorGraphic: - Default Max size of the key descreased to 8KiB - add function persComDbgetMaxKeyValueSize() - add bitfield definition for persComDbOpen() bOption: create, write through, read only
* latest version of key-value-store (updated database structure, using mmap ↵Disch, Simon2015-02-2412-1830/+6115
| | | | for database access, added recovery mechanism)
* Merge remote-tracking branch 'genivi/master' (Key Value Store)7.01.0.2Guy Sagnes2014-09-1721-3/+8923
|\ | | | | | | | | | | | | Conflicts: src/Makefile.am Change-Id: I930ce4078a897e7811ad764fd1d6a9ab217abd8f
| * initial commit of key-value-storeDisch, Simon2014-09-0421-3/+8923
| |
* | PCO Vers. 1.0.2 - Updated protected IF persComTypes.h :Petrica Manoila2014-09-164-10/+23
|/ | | | | | | Allow support of the standard C99 instead of redeclaration. Change-Id: Ie62e2c6466fc73c2d054c115627a2387db3eb964 Signed-off-by: Petrica Manoila <petrica.manoila@continental-corporation.com>
* Merge remote-tracking branch 'genivi/master'Guy Sagnes2014-09-010-0/+0
|\
| * Revert "Extended enum type PersistencePolicy_e with values for default data ↵Guy Sagnes2014-07-311-8/+4
| | | | | | | | | | | | | | | | | | | | | | and configurable default data" The interface change was only provided for test purpose. The extension of the enumerator in not in scope of the RCT definition and is removed. This reverts commit adf7dfb37ea4dcf8d48af5c503b7b7b8877cc455. Signed-off-by: Guy Sagnes <guy.sagnes@continental-corporation.com>
| * Updated interface versionIngo Huerner2014-07-171-1/+2
| |
| * Extended enum type PersistencePolicy_e with values vor default data and ↵Ingo Huerner2014-07-171-3/+6
| | | | | | | | configurable default data
* | PCO Vers. 1.0.1 - Split of the low level database accessPetrica Manoila2014-08-296-23/+126
|/ | | | | | | | | | | | Added separate folders (itzam, sqlite, rawdb) under src, for specific database access implementations. Default database : itzam. Use "./configure --with-sqlite" to build using the SQLITE db. Provide implementation in src/sqlite/pers_low_level_db_access.c based on pers_low_level_db_access_if.h Use "./configure --with-rawdb" to build using the RAWDB db. Provide implementation in src/rawdb/pers_low_level_db_access.c based on pers_low_level_db_access_if.h Change-Id: I4c32835fd1863b3d25bc35c54958905e2c535758 Signed-off-by: Petrica Manoila <petrica.manoila@continental-corporation.com>
* * Bugfix: Convert files to unix expected formatGuy Sagnes2014-03-065-2307/+2307
| | | | | | | Issue reported by Ingo Hürner / Marko Hoyer Change-Id: I0f08035f8506e0ab0b01b2d3a22d9298d3f2ed93 Signed-off-by: Guy Sagnes <guy.sagnes@continental-corporation.com>
* Added version 1.0.1Guy Sagnes2014-02-2528-0/+6654
| | | | | | | | | | | | | 12.12.2013 * add missing licenses information / update after review feedback 20131212 - J.Kowalski 03.12.2013 * Persistence Common Object - OIP BL 0.9.130 08.08.2013 * Add instrumentation for debug purposes (low level db access) 18.06.2013 * persistence-common version 1.0.1 - Add makefile to allow creation of auto-generated code - Default error handler causes the termination of the calling process - de-central build of the common part 02.05.2013 * initial version of the common persistence libraries Change-Id: I6ac6b7f1fe453537835ac32f664c04d537d732db Signed-off-by: Guy Sagnes <guy.sagnes@continental-corporation.com>
* Initial fileGuy Sagnes2014-02-211-0/+26
Signed-off-by: Guy Sagnes <guy.sagnes@continental-corporation.com>