summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Fixing types in queue and stack interfacesDmitri Pal2010-06-286-18/+18
|
* Bump libini_config version to 0.5.1Stephen Gallagher2010-06-281-1/+1
|
* Addressing initialization issues.Dmitri Pal2010-06-101-6/+6
| | | | | Fixing bug found by coverity. Tciket #519
* Don't leak directory access resources on errors in directory_list()Stephen Gallagher2010-06-101-0/+8
| | | | https://fedorahosted.org/sssd/ticket/514
* Fixing NULL dereferencing in ini_configDmitri Pal2010-06-101-24/+34
| | | | Addressing ticket #504
* Memory leak in case of empty valueDmitri Pal2010-06-102-0/+44
| | | | | | | Addressing coverity issue. Ticket #513. The memory was really leaked when the configuration value was empty. Added unit test that confirmed the bug.
* Support docdir and abs_builddirStephen Gallagher2010-04-121-0/+6
| | | | | | | | Old versions of autoconf (before 2.60) did not include support for the docdir and abs_builddir variables. This patch emulates support for them. Fixes https://fedorahosted.org/sssd/ticket/422
* Adding interface documentationDmitri Pal2010-04-085-20/+1727
| | | | Package refarray documentation by default
* Fix path_utils_ut segfaultStephen Gallagher2010-03-251-2/+3
| | | | | | | | | In the case where the allocated buffer is not large enough to hold the resulting absolute path, we were writing out a null terminator outside of the buffer, instead of at its beginning. Also fixes potential issue where split_path would not initialize the count to zero if it returned a failure.
* Generate doxygen documentation for path_utilsJakub Hrozek2010-03-255-113/+1848
|
* Unit tests for path_utilsJakub Hrozek2010-03-253-0/+741
| | | | Fixes: #81
* Fixes for path_utilsJakub Hrozek2010-03-251-63/+109
| | | | | | | | | * Do not segfault on passing NULL path to get_{dir,base}name * There is no way dirname can return "..", remove that code * Buffer overflow in path_concat * Expand . in get_basename * Return NULL rather than crash in split_path on passing NULL path * Be more defensive in directory_list
* Fixing type conversion in INI interface.Dmitri Pal2010-03-173-35/+197
| | | | Additional changes.
* Convert collection to use sized values.Dmitri Pal2010-03-153-75/+83
| | | | | | | This patch replaces int with int32_t, unsigned with uint32_t, long with int64_t, unsigned long with uint64_t as values that collection can store and hold.
* Build and package libini_config docsStephen Gallagher2010-03-152-2/+1
|
* Adding interface description using doxygen.Dmitri Pal2010-03-154-161/+2728
|
* Fixing verbosity and formatting of the INI unit test.Dmitri Pal2010-03-121-132/+197
|
* Do not generate man pages for COLLECION for now.Dmitri Pal2010-03-121-2/+2
|
* Package libcollection documentation into libcollection-develStephen Gallagher2010-03-082-2/+6
|
* Documentation for collection interfaceDmitri Pal2010-03-089-880/+5171
| | | | | Passed through the interface and changed the comments to comply with the collection interface.
* Properly license libdhashStephen Gallagher2010-02-184-0/+88
|
* License libpath_utils under LGPLStephen Gallagher2010-02-182-7/+38
|
* Remove ELAPI from the SSSD repositoryStephen Gallagher2010-02-1240-8421/+3
| | | | | ELAPI now lives in its own project at https://fedorahosted.org/ELAPI
* Make collection_queue.h and collection_stack.h into public headersStephen Gallagher2010-02-101-3/+3
|
* Split refarray off into a shared libraryStephen Gallagher2010-02-034-10/+13
|
* Add license files for refarrayStephen Gallagher2010-02-032-0/+839
|
* Split off libini_config into a shared libraryStephen Gallagher2010-02-034-7/+19
|
* Fix array index errorStephen Gallagher2010-02-031-1/+1
| | | | | | The null-terminator would have been written one byte past the end of the array (and there may have been an extra garbage character in the index before it)
* Add license files for ini_configStephen Gallagher2010-02-032-0/+839
|
* Split off libcollection into a shared libraryStephen Gallagher2010-02-033-7/+13
|
* Remove private header requirements from collection_tools.hStephen Gallagher2010-02-031-1/+0
|
* Add license files for collectionStephen Gallagher2010-02-032-0/+839
|
* Split off libpath_utils into a shared libraryStephen Gallagher2010-02-033-8/+11
|
* License libpath_utils under LGPLStephen Gallagher2010-02-033-0/+846
|
* COLLECTION: Fixing queue collection and unit tests.Dmitri Pal2010-02-014-298/+478
| | | | | | | | | | This patch includes following functionality: 1) Fixed the invalid handling of the pointers in the collection when last element is removed from the collection. 2) Added unit test to verify the fix. 3) Modified the three unit test to be verbose on demand. 4) Switched the main of the unit test to use array of functions rather than big if statement.
* REFARRAY: New referenced array objectDmitri Pal2010-01-219-2/+802
| | | | | | | | | | | | | | | | | | | This object allows creation the arrays with the reference count. Usefull when there are many instances of some object have to reference dynamically allocated array which is common for all these instances. In case of ELAPI the event object keeps a referecne to the common array of the sinks in the fail over order. We decided that it will be a common object not specific only to ELAPI. All the review concerns related to this object have been addressed in this patch. It also has been moved to the common area.
* INI: Added method to get string list with empty valuesDmitri Pal2010-01-213-54/+117
| | | | | | | | | | | The original implementation was compressing the list, throwing away empty strings. The function that did that was pretty brain damaging. I cleaned it up and adjusted so that it could return list with empty values and without them. The old function was turned into a wrapper and a new high level function was intorduced to provide ability to get both empty and non empty strings.
* Use version.m4 for setting the SSSD versionStephen Gallagher2010-01-211-1/+2
| | | | | | | | This is the preferred way of setting the version in a file, as autotools will properly monitor this file for changes and rerun autoconf/configure when necessary to update the version. This means that we don't need to manually perform an autoreconf in order to build a new RPM
* Split off libdhash into a shared libraryStephen Gallagher2010-01-205-9/+16
| | | | | | | | Right now, the pkg-config checks for the system version of libdhash are forcibly disabled, requiring the SSSD to build it from its own tree. In the future, when we split the libraries off from the SSSD, it will be easy to switch this check to the external library.
* License libdhash under the LGPLStephen Gallagher2010-01-203-0/+844
|
* Add elapi_ut.conf to the list of dist filesSumit Bose2009-12-152-3/+4
| | | | Some newlines are added, too.
* INI Correcting build warnings.Dmitri Pal2009-12-102-8/+7
| | | | | | The previous patch included "config.h" into the public header which caused all sorts of redefinitions and warnings.
* INI: Cleaning FIXME comments.Dmitri Pal2009-12-103-7/+16
| | | | | | | Added configurable key length. Changed comments for the functions that are currently not used and reserved for future functionality.
* COLLECTION: Cleaning FIXME commentsDmitri Pal2009-12-103-20/+2
| | | | | | | I scanned through the code and made sure that the FIXME comments are either addressed or a corresponding ticket exists. I removed two comments that had "FIXME" in them. The tickets for those comments are #72 and #308.
* COLLECTION Create reference to the top level collectionDmitri Pal2009-12-103-21/+47
| | | | | | | | | | | | | This patch adds ability to create a reference to the top level collection. Previously one could get reference only to collection inside other collection. With this change it becomes possible to have two pointers to the same top level collection from multiple places. COLLECTION Adding comment. COLLECTION: Some tracing
* COMMON Improvements to the trace macroDmitri Pal2009-12-101-9/+15
| | | | | Added more distingushable indication to the trace messages that represent errors.
* Add comments to document latest changesSimo Sorce2009-12-081-0/+7
|
* dhash: Add private pointer for delete callbackSimo Sorce2009-12-084-13/+35
| | | | | Also pass a flag to the delete callback to tell it if this is a normal entry removal or we are cleaning up the tbale definitively.
* Run dhash testsStephen Gallagher2009-12-081-0/+2
| | | | Previously we were only building them but not running them.
* Change dhash API to be talloc-friendlySimo Sorce2009-12-083-39/+78
|