commit 4b3c284e3978ad569deed38489e57041dca604c0
Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Jun 23 12:51:13 2015 +0200 Update versions before 0.5.0 release Version for libcollection was already updated with patch: df4d87161410bb6ab11105e74d2232cca6730f8b Function to return one of the dups Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 7689460153b056b4064af6ed06a34915530b11a7 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Jun 23 12:50:53 2015 +0200 Bump version-info The function ref_array_debug was updated. There wasn't any other changes to ref_array. New functions were added to collections: col_get_dup_item, col_delete_item_with_cb, col_remove_item_with_cb New functions were added to ini_config: ini_config_augment, ini_comment_construct and many functions from ini_configmod.h Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 4d7e92836d8582a8af2f2885d4fcae34fd14b662 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Jun 23 10:16:34 2015 +0200 INI: Add check based test ini_configmod_ut_check Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> create mode 100644 ini/ini_configmod_ut_check.c commit c26d21b8702112145c2076e7140e390a5647bc72 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Jun 23 09:39:18 2015 +0200 INI: Fix adding string with INI_VA_MODADD_E and big index According to documentation string should not be added with INI_VA_MODADD_E and big index and ENOENT should be returned. ENOENT could be returned in case of missing entry or if exact flag was used with big index. The behaviour shoudl be different in both cases. Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit a223f05ccc6346d086519342bc3027ed5d0027e1 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Jun 22 21:43:18 2015 +0200 COLLECTION: Return the last duplicate for big index Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 1d8d283f7788b0993db7defdbb400901eb9d9d53 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat May 30 20:05:56 2015 +0200 INI: Fix memory leak with INI_VA_CLEAN Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 57b647bd1877d61d400ae9ed9648564f6c0bda7b Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri May 29 15:49:07 2015 +0200 collection: Add new function col_remove_item_with_cb Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 8622a49fbdf77cff22244f866cb978cfbfdd3d16 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon May 25 16:37:13 2015 +0200 ini_config_ut: enable verbose mode with env variable Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 9c1a5dcc940bca6ee52f3d2feb0c54460c468d2e Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 25 12:49:49 2014 -0500 Build new tests for the save interface Patch adds changes to the make file to handle unit test for the new "save" interface functions. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 40e13331ad5534a05510a7fac3000067a573c70e Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 25 12:48:14 2014 -0500 Unit test for the save interface Patch adds a unit test and files used by the unit test. It is more convenient to use a different directory. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> create mode 100644 ini/ini2.d/real16be.conf create mode 100644 ini/ini2.d/real16le.conf create mode 100644 ini/ini2.d/real32be.conf create mode 100644 ini/ini2.d/real32le.conf create mode 100644 ini/ini2.d/real8.conf create mode 100644 ini/ini_save_ut.c commit 5108e04823a6ec0fc39519df3bce768e3e976ee2 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 14 21:22:49 2014 -0500 Implementation of the interface to save configuration The patch adds implmentation of the new interface that allows saving configuration in a file, creating backups and changing file permissions and ownership. Signed-off-by: Dmitri Pal <dpal@redhat.com> Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 3b7e0fee81b74d4dd853f6d13e2eab5d9747db40 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 14 21:21:14 2014 -0500 New interface to save configuration in a file The patch adds declaration of the new interface that allows saving configuration in a file, creating backups and changing file permissions and ownership. Signed-off-by: Dmitri Pal <dpal@redhat.com> Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 7f52581ddad5e30bf254900da3e1f05a92952822 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 14 21:19:29 2014 -0500 Change order of the headers The headers have been changed and thus require a specific order for forward declarations. Commit order changes first. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit dd9bf166cce68a8e5d6928f61dfcbb45d1e1bd0f Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 7 16:05:31 2014 -0500 Cleaning doxygen comments Patch makes changes to better comment the access structure so it is readable in doxygen doc. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit ad5b5830484c3951d5e954133c58263e1fe7e2d1 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 6 14:20:11 2014 -0500 Generate doxy doc for INI modification API Add configuration so that doc generater pick another header. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit d302c00a74d7526ba5f151169b35f5ed459e02d0 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 6 14:21:42 2014 -0500 Build new interface Add new interface to makefile so that it can be built. Signed-off-by: Dmitri Pal <dpal@redhat.com> Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 8dce07627b72adaaafe1462338a4dba44247bb85 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 7 17:10:07 2014 -0500 New interface to modify configuration This patch adds a new interface to modify configuration. Signed-off-by: Dmitri Pal <dpal@redhat.com> Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> create mode 100644 ini/ini_configmod.c create mode 100644 ini/ini_configmod.h create mode 100644 ini/ini_configmod_ut.c commit 2aec9f8ac2e3b554298461ed45ea6cc2f4bc5c22 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 6 14:18:28 2014 -0500 Fix wrapping error The values starting with space were automatically wrapped by that first space. This is wrong. It should not wrap on the first space automatically. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit c4e84b7f9236712c917b71fe781334aae4625b3a Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 6 14:17:05 2014 -0500 Move definition to common header The constants will be reused so they belong to common header. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 8f2937e056a49a9288b1e8ac1d7d5f8800f72c8d Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 28 21:25:15 2014 -0500 Comment can be NULL It is valid to set comment to NULL. The function is adjusted to work when caller wants to remove the comment by passing NULL. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 447779a744b80e58c0af40cec91140895adae49f Author: Dmitri Pal <dpal@redhat.com> Date: Sun Nov 9 16:38:14 2014 -0500 Comment creation helper Patch adds a function that makes creating a comment from a list of strings easier. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 8d5b84d3f3503a7dd552efc41e383d744d5abf17 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 7 17:07:08 2014 -0500 Expose delete with callback function Expose internal function to be able to delete collection elements with callback. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 6bd0e75686dfb80ad1c4079b13bfcc79384372ab Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 7 16:03:33 2014 -0500 Allow to modify item name It was not possible to rename an item that is a collection or collection reference. With this patch it becomes possible. Signed-off-by: Dmitri Pal <dpal@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 081ed5117807eabbc5d56a7592163eb3a519789a Author: Dmitri Pal <dpal@redhat.com> Date: Sun Nov 9 19:44:38 2014 -0500 Function to return one of the dups The internal search functoins we not able to deal with the duplicates that might be scattered across a collection. This change creates a new search function that is more robust. The old function becomes a wrapper. The code is adjusted in the cases where the functionality of the more advanced functions is needed. Signed-off-by: Dmitri Pal <dpal@redhat.com> Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 9044d853a4a6c7cf0387d07b1a4c333adc07de17 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Dec 3 11:50:44 2014 +0100 [INI] Make the merge function build Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit b9104ae94e9f839d263acaef5296b8676734e855 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Sep 7 22:53:19 2014 +0200 Test file for unit test Test file and unit test cleanup. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> create mode 100644 ini/ini.d/merge.validator commit d9df58eb9be0264ee4a9e864391df2d60f33f1b5 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Sep 7 16:42:00 2014 +0200 New function to merge snippets The patch includes the implementation of the merge function and the unit test. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> create mode 100644 ini/ini_augment.c create mode 100644 ini/ini_augment_ut.c commit 50abe3828ab2139c4e79d96d1ccf2b76c820cedb Author: Dmitri Pal <dpal@redhat.com> Date: Sun Sep 7 16:43:31 2014 +0200 Refactored access control check The patch includes implementation of the new internal function. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 0c7250402e027cd325af3e06b15b365bffb19688 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Sep 7 16:39:58 2014 +0200 Declaring new internal access check function Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 04d88a875e3ac5f1c707d09cc9d5cb7ebf827913 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Sep 7 16:38:19 2014 +0200 Print info when array is empty Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit ab73013bc79ebd8d893fff0dd707efaf9b3cb9bf Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Jul 7 15:33:58 2014 +0200 SPEC: Do not include compiled files into package libdhash-devel Devel package should be platform independent and should not contain compiled files. /usr/share/doc/libdhash-devel/examples/.deps /usr/share/doc/libdhash-devel/examples/.deps/.dirstamp /usr/share/doc/libdhash-devel/examples/.dirstamp /usr/share/doc/libdhash-devel/examples/.deps/.dirstamp /usr/share/doc/libdhash-devel/examples/dhash_example.o /usr/share/doc/libdhash-devel/examples/dhash_test.o Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit d50b5514bc87f80e9b7fe95b4f7a3e1d30ba2175 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Jul 7 15:17:55 2014 +0200 SPEC: Use correct soname for packages lib{collection,ini_config} RPM build errors: File not found: /BUILDROOT/ding-libs-0.4.0/usr/lib/libcollection.so.3 File not found: /BUILDROOT/ding-libs-0.4.0/usr/lib/libcollection.so.3.0.0 File not found: /BUILDROOT/ding-libs-0.4.0/usr/lib/libini_config.so.4 File not found: /BUILDROOT/ding-libs-0.4.0/usr/lib/libini_config.so.4.0.0 Reviewed-by: Pavel Reichl <preichl@redhat.com> commit 56d5c94104f648901cf0b3cb6136153b2251d11b Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Apr 14 08:32:40 2014 +0200 Bump versions for 0.4.0 release Versions in .sym files should not be changed between releases, they can be added. ding-libs wasn't released with them yet, therefore we can modify them. This patch fixes initial version of .sym files and keeps the same name as the version of the libraries in version.m4 Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> commit 85617771f24b245e5f1e318bd69252e1bb6d0f07 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Apr 14 08:28:49 2014 +0200 Bump version-info The soname of libcollection is changed, we can unify versions in version script Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> commit eb98ff066b106af42b764d0fb260a94173309c31 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Mar 8 18:21:50 2014 +0100 AUTOMAKE: Do not treat warnings as errors The EXTRA_*_DEPENDENCIES variable is useful for cases where you merely want to augment the automake-generated _DEPENDENCIES variable rather than replacing it. It is a syntax warning in automake < 1.11.3 and syntax warnings are enabled by default. Makefile.am:259: variable `EXTRA_libini_config_la_DEPENDENCIES' is defined but no program or library has `EXTRA_libini_config_la' as canonical name (possible typo) autoreconf: automake failed with exit status: 1 The only negative of this solution is that library will not be recompiled with older version of automake if files listed in EXTRA_*_DEPENDENCIES are changed. It is better to see warnings than override automatically generated dependencies calculated by automake with syntax: *_DEPENDENCIES Reviewed-by: Sumit Bose <sbose@redhat.com> commit 1c65fc1a9b585fca62e35d09ae6aaf750a566e75 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 30 22:20:29 2014 -0400 Unit test for the new interface This patch adds unit test for the interface that allows reading configuration data from memory. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> create mode 100644 ini/ini.d/new_line.conf commit ffcd1c1e980ee2b05c63615335966a1fd2089051 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Mar 8 19:02:29 2014 -0500 Prevent tight loop New functionality added revealed a potential tight loop with files of the 0 length. This patch addresses this issue. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 8adcc6605c517402b6e31c3ca02410cbd701ce84 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Mar 8 19:00:57 2014 -0500 New entry to read data from mem The commit adds a new entry point to read configuration data from a memory buffer instead of file. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit 253682e079a0d9e650f8fbcf05ebd247508cc969 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Jan 10 21:14:46 2014 +0100 Add version symbol files Resolves: https://fedorahosted.org/sssd/ticket/2193 Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Jan Engelhardt <jengelh@inai.de> create mode 100644 basicobjects/libbasicobjects.sym create mode 100644 collection/libcollection.sym create mode 100644 dhash/libdhash.sym create mode 100644 ini/libini_config.sym create mode 100644 path_utils/libpath_utils.sym create mode 100644 refarray/libref_array.sym commit a0ff0d5d5ec5c0d4edc89f71ff93cfece04d9f57 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Feb 21 18:26:00 2014 -0500 Refactor conversion function Extracted the initialization code into a separate function. Hopefully the code is a bit more readbale now. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> commit e1a476b3794a635c9aff9098fd3e32c35be20ca4 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Jan 11 15:48:31 2014 +0100 Enable extra compiler warning flags Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 52133253672e5183ce9075ba8fa6e429628eac08 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Feb 4 13:37:22 2014 +0100 DHASH: Use ifdef for testing DEBUG macro "#ifdef DEBUG" was used 5 times and "#if DEBUG" was used 2 times. This patch unifies usage. Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 8f33485690617f802e30f1518e532eaa140d4d2c Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Jan 11 15:42:01 2014 +0100 REFARRAY: Move declaration of ref_array_debug to public header file Reviewed-by: Dmitri Pal <dpal@redhat.com> commit ce6a2fd9473db9168e01a1e4bef512740776bcf5 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Thu Feb 13 16:50:45 2014 +0100 INI: Include missing header file with declarations Function ini_config_serialize was declared in the header file ini_configobj.h, but this header file was not included in implementation module ini_serialize.c Reviewed-by: Dmitri Pal <dpal@redhat.com> commit d7b5317a4baf974185ddddf31694c56321951d5d Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Jan 11 15:18:40 2014 +0100 INI: Fix warning missing-prototypes for some functions. Experimental functions are not declared in public header files, but we want to suppress warnings missing-prototypes. We also want to suppress warnings missing-prototypes for function from old interface (ini_config.h), which are in the module ini_print.c; because we don't want to include header file with old interface(ini_config.h) and new interface(ini_configobj.h) into the same implementation module. Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 273c224d9bbbf6e7533789702dab60a5444437e9 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Jan 11 15:08:10 2014 +0100 Use static modifier for unit test functions This change fixes compiler warnings: warning: no previous prototype for 'function_abc' [-Wmissing-prototypes] Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 17d9b6565450442476c4430cbf792972d3311120 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Jan 10 21:29:39 2014 +0100 INI: Use static modifier for non public functions Some functions (ini_comment_cb, ini_boundary_cb, is_just_spaces, is_allowed_spaces, parser_run, read_line) weren't declared in public header files and they weren't defined with static modifier. This patch fix it. Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 636e1b61327671a23f2a872267e164aad52be019 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Jan 10 21:18:45 2014 +0100 Collection: Fix typo in function declarations There were two declaration of functions, which didn't have a definition. col_insert_unsinged_property col_insert_unsinged_property_with_ref It was a typo and it is fixed with replacement s/ng/gn/ Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> commit c59029fe0f7080ceb7a9b3617b88af739d760388 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Sat Jan 11 15:11:20 2014 +0100 INI: run also negative_test Test negative_test was defined, but it has never been executed as part of ini_config test suite. Reviewed-by: Michal Žídek <mzidek@redhat.com> Reviewed-by: Dmitri Pal <dpal@redhat.com> commit 6f829cba74cb64f2a9aeda099c5a502f6beaaa36 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Jan 20 14:08:00 2014 +0100 SPEC: path-utils unit test requires libcheck commit cc28f673eb3df584c258fa5668e31d51fbe5f82a Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Tue Jan 21 12:23:24 2014 +0100 DOC: Fix problems in documentation comments. void functions needn't have "@return" comment. We was not consistent. Fix problems with parameter names commit 1a8f8ae437d15e483968fa7546cbd41d37bfad70 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Mon Jan 20 14:07:42 2014 +0100 AUTOTOOLS: fix warning: macro xyz not found in library commit 1cf54fa212c45b5fb333362e827c27ebd89ca30c Author: Peter Robinson <pbrobinson@gmail.com> Date: Mon Jan 20 10:27:49 2014 +0100 Fix build with automake 1.14 commit 58f276bc46db1b9ab46c4dc1031da6025d464691 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Oct 19 15:49:11 2013 -0400 Adding more unit tests This patch introduces more unit test that hammer both the unicode convertion and folding. The new file symbols.conf contains characters in multiple different languages. It actually comes from a Windows system. The test adds this new file to the list of files that are read and then saved. The saved files are read again and saved again. Two saved files are compared to make sure they were processed correctly. The additional code change forces the creation of such files with different folding boundary. create mode 100644 ini/ini.d/symbols.conf commit 31ac36f2c3f843b34fca59eb7c888f922c327347 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Oct 19 15:46:16 2013 -0400 Unit test for space trimming in multiline values This patch adjusts unit test to make sure that spaces are trimmed as expected. commit 7c1901e753b2ef8cd76d49e85dd67f7d69f7f965 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Oct 19 15:42:14 2013 -0400 Fix processing of the white space at the end of the line Before this patch the spaces were trimmed on every line. That causes problems if the value was folded and spaces were at the end of the non last line of the multi line value. Now we trim spaces only on the last line. To accomplish this we moved the trimming from parser code into the layer where the value is constructed from individual lines. commit 931496062eb0473cb9d7d044927be60157fca469 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Oct 18 22:23:26 2013 -0400 Fix typo in trace message commit e656059925d15ba4691764c7309ecc3048626622 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Oct 10 22:51:22 2013 -0400 Updated unit test for UTF8 conversion Patch adds new test files and bom creation function. create mode 100644 ini/ini.d/real16be.conf create mode 100644 ini/ini.d/real16le.conf create mode 100644 ini/ini.d/real32be.conf create mode 100644 ini/ini.d/real32le.conf create mode 100644 ini/ini.d/real8.conf commit 00f1d40506e1a834400e160b700f1e1cb6b98c00 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Oct 10 22:47:23 2013 -0400 Convert files to UTF Patch adds functionality that detects BOM at the beginning of the file and uses it to convert to UTF8. If no BOM is detected file is assumed to be UTF8 encoded. commit 6a56c2f2776b71af3a65af6f2ebd3e91187529a9 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Oct 9 23:31:49 2013 -0400 Extend internal file handle When we need to decode the file we need to keep it in memory so we need to have a buffer. Adding simple buffer into the internal structure. commit 52560382f4d28ad1b0ab42e6a081667f1de4dcc3 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Oct 9 23:29:22 2013 -0400 Expose buffer context as void In some cases the intenal buffer needs to be accessed as void. Add a function that would do that instead of type casting and dealing with 'const'. commit e5a62af059c3aecfde80aca852d9d2efffc86f65 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Oct 6 11:52:48 2013 -0400 Unit test for c-style comments commit f57458c5b944f94463b49b7a66555beaab988728 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Oct 6 11:38:56 2013 -0400 Test files for unit test Update existing file with c-style comments. Add another one for negative testing. create mode 100644 ini/ini.d/comment.conf commit 057550eedb7560d2ae26fe6514cecb409e29867e Author: Dmitri Pal <dpal@redhat.com> Date: Sun Oct 6 11:35:23 2013 -0400 Process c-style comments Patch adds parser check for extended set of comment types. It also processes error if last comment is incomplete. commit c801225e6bd8432e44d62c5ca55735651006c233 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Oct 6 11:31:50 2013 -0400 Extend error set and add parsing error One more parsing error is now needed. commit 26f8f1886e788f4be171f2f016245bc89740ec9f Author: Dmitri Pal <dpal@redhat.com> Date: Sun Oct 6 11:29:25 2013 -0400 Do not check validity of comments The validity of comment was checked on the low level. Now when we support c-style comments any line can be a part of comment so vality check needs to be removed. Comment object should trust parser to do the right thing. commit c32568125826889f3c7a866526622d46df6a451d Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Thu Jan 9 19:18:34 2014 +0100 DHASH: Remove dead code. HI_STATE_0 cannot be reached in switch, because there is no falltrough from another case and there is check few lines before in while "(state != HI_STATE_0)" commit 34a1fb4836038dd20a0e39a07c97bef77407bf9e Author: Jan Engelhardt <jengelh@inai.de> Date: Thu Dec 19 17:42:36 2013 +0000 build: add missing Requires to pkgconfig file ini_comment.h uses simplebuffer.h, therefore must Require basicobjects which provides that. Similarly, ini_valueobj.h uses ref_array.h and must therefore Require ref_array. commit 57ee38fd35572dac2e3fa2ecca36e1768012257b Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Wed Nov 6 13:02:19 2013 +0100 Fix linking of tests on debian commit 1a9162c91483f99db56907a1cc7573ba2da5a896 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Thu Oct 17 09:26:49 2013 +0200 Fix warning format string is not a string literal. (potentially insecure) [-Wformat-security] printf(message) String message can contain formating characters. commit 8a743dcaa04b7b1f9708dd8001aca807357779d3 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Oct 3 23:19:23 2013 -0400 Fix for ini_get_string_config_array https://fedorahosted.org/sssd/ticket/2110 Patch fixes the issue with the string processing. It addresses the last token problem, adds unit tests and fixes corner cases when the value consists only of separators. commit 4bef456bfe1447c8c493a16719a65ff602ce6d2b Author: Dmitri Pal <dpal@redhat.com> Date: Fri Oct 4 20:57:47 2013 -0400 Adding missing argument to docs https://fedorahosted.org/sssd/ticket/2107 Patch fixes two doxygen comments. One to make the meaning of a flag more clear. Another to expose the argument that was missing from the doc. commit 7a2eb259b2e22ce5e2395fbf578b5fef57667489 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Sep 23 16:03:30 2013 -0400 Trim trailing spaces This patch addressed issue https://fedorahosted.org/sssd/ticket/2095 The new parser in fact stopped trimming trailing spaces. This is now corrected. commit dbde0566df490cb8a4c1119de45e6361b0ea4c18 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Sat Jul 13 09:10:34 2013 +0200 rpm: Include the right filename of libini_config commit 723ce0cd957d2b17618ca9698bcc66e61b9b6110 Author: Ondrej Kos <okos@redhat.com> Date: Fri Jul 12 14:05:23 2013 +0200 DOXY: Don't generate timestamp https://fedorahosted.org/sssd/ticket/2003 commit c42187dbbec1380ed632782315226220385b2af7 Author: Ondrej Kos <okos@redhat.com> Date: Mon May 6 11:41:50 2013 +0200 INI: Bump version-info https://fedorahosted.org/sssd/ticket/1908 commit c1e2175844ffb99cd56da5859f5d197f122519a8 Author: Ondrej Kos <okos@redhat.com> Date: Wed Apr 10 16:38:20 2013 +0200 DHASH: minor fixes https://fedorahosted.org/sssd/ticket/1877 fix coverity issue 11620 fix compilation warning (missing HI_STATE_0 in switch) commit 30d760b2888e3d2a55390b1691bbab4ff2d39cf0 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Fri Apr 5 17:50:37 2013 +0200 libiniconfig_devel must require libref_array-devel and libbasicobjects-devel commit f8a80797c298f4ebe2dc2ebcb2327fa1f3a38905 Author: Ondrej Kos <okos@redhat.com> Date: Tue Apr 2 17:28:32 2013 +0200 DHASH: Don't use backward jumps https://fedorahosted.org/sssd/ticket/1855 commit e9a8759bcc696d78ce9d8187e263cfd90c96fdef Author: Ondrej Kos <okos@redhat.com> Date: Wed Apr 3 13:25:28 2013 +0200 INI: Remove dead code https://fedorahosted.org/sssd/ticket/1857 Discovered by coverity The code was inaccessibile, if no key is present, the error will occur before this check. commit 3d3056b38061386a49ca793e08ce52e8c5562f46 Author: Ondrej Kos <okos@redhat.com> Date: Wed Apr 3 12:33:30 2013 +0200 PATH_UTILS: check against character representation of NULL https://fedorahosted.org/sssd/ticket/1859 commit 736ccbe7930f443d7d381d93d8cf89665345f36a Author: Ondrej Kos <okos@redhat.com> Date: Wed Apr 3 12:30:04 2013 +0200 DHASH: Check before dereferencing https://fedorahosted.org/sssd/ticket/1858 commit bba9bb80671636886206f74549705329c42e4bcc Author: Ondrej Kos <okos@redhat.com> Date: Wed Apr 3 12:26:01 2013 +0200 COLLECTION: Fix comparision https://fedorahosted.org/sssd/ticket/1856 commit 69bcbaba75172b2bcb9292237092e206147dce8d Author: Ondrej Kos <okos@redhat.com> Date: Fri Mar 29 10:22:11 2013 +0100 Bump version for 0.3.0.1 release commit ff863970210e07383b6ffd9e5000b5d07d3a359b Author: Jakub Hrozek <jhrozek@redhat.com> Date: Thu Mar 28 15:09:29 2013 -0400 Remove spurious cast commit 6ae982f110aa4c0d1e842b61d62fd3015973c8ee Author: Ondrej Kos <okos@redhat.com> Date: Thu Mar 28 17:56:34 2013 +0100 Bump version for 0.3.0 release commit 3889914c2c915eb28e4bb92a7e388a33d1b0af97 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Thu Mar 28 16:31:03 2013 +0100 Add a release script create mode 100755 scripts/release.sh commit 826b5d57dfb6ca529a8c857a515ad3ab115dab87 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Mon Mar 25 10:56:23 2013 +0100 Run autoreconf before configure in the specfile commit 6d109eb648640f4dc10599c3f262f0ca4b028315 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Mon Mar 25 11:03:19 2013 +0100 Include AM_PROG_AR in configure.ac to get rid of warnings commit 3aaeadef1f5a867e8fe5258921ad0e97cc6ab3c0 Author: Günther Deschner <gdeschner@redhat.com> Date: Wed Oct 24 12:48:27 2012 +0000 ini_comment.h needs to be installed as well for the new ini interface. Guenther commit 44174288111e9715ccbb96e8a8283e99a721ba7b Author: Dmitri Pal <dpal@redhat.com> Date: Sat Jan 26 20:07:48 2013 -0500 Expose collected stat data Added a new top level interface funtion and a unit test for it. commit 059519fb2a8d056eba5f61cde98ed8b5292195d4 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Jan 26 16:47:56 2013 -0500 Check is the stats we collected This patch corrects a problem related to stats being accessed and evaluated without being initialized. commit 66e30c2f3862093505a8497744207d2812c95be3 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 25 09:31:07 2012 -0500 Unit test for parsing flags. Added unit test. create mode 100644 ini/ini.d/space.conf commit 6823d7104cca0f8ac22ed9432ee8a2f1a0d9124a Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 24 17:45:00 2012 -0500 More interface refactoring I also realized that error list processing should not be bound to the file object. This patch corrects that by moving the error_list and corresponding count from file object to the config object. Things updated by the patch: 1. The internal variables are moved from file obj to config obj. 2. The external header is updated to reflect the change 3. Functions are moved from file obj module to config obj module. 4. Parser code is updated because error validation was in the wrong place 5. Unit test is adjusted to get error list from the right object. I had to adjust the copy function for the config object. Copy function does not copy over the error list. commit fa00e2e16e5c1d3ac56f1bbd3a84875642d0bb39 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 24 13:33:44 2012 -0500 Introducing parsing flags 1. Added definition of the parsing flags to the header. 2. Added new argument to the parser. 3. Added function to check the correctness of the line. 4. Added new constants and strings for errors. 5. Refactored function that handles spaces. 6. Moved handle_space since it now calls handle_kvp. 7. Updated handle_kvp to trim spaces at the beginning. 8. Adjusted line inspection to handle any space character. 9. Adjusted exising unit tests. Added parameter to the call. 10. Found couple places where there was a space at the end of the line and cleaned them. The additional unit tests will be added in the follow up patch. commit 3b9baa61367f2b651c8068efc99ce017331622e0 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 24 11:31:24 2012 -0500 Refactor interface a bit After some evaluation it became apparent that error level and collision flags should not be a part of the fileobj but rather passed directly to the parser function. This way the interface is more clean and logical. This patch: 1) Removes the error level and collision flags from the fileobj 2) Moves validation function from ini_fileobj.c to ini_configobj.c where it belongs. 3) Moves error level and collision flags arguments from file open function to the parser function. 4) The internals of the file obj are cleaned 5) Validation of the arguments is moved to parser function. 6) Unit tests are updated. commit 833a46e384828be48c27898e755d6215eb5c4bb8 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 13:49:56 2012 -0500 Replacing sprintf with snprintf Replaced sprintf in the unit test. Defined constants for sizes and used them. Wrpapped lines where noticed that they are longer than 80. Added comments to the places where sprintf is still used but it is safe to use. commit 57faa64667411a3d8eeeeff62b1e659a94ed29cf Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 13:03:00 2012 -0500 Fixing headers Move GNU_SOUCE definition to configure.ac Change all headers to use config.h. Move config.h to the top. Remove errno.h if it is not needed. commit 360710d1a6c0c24d00a915a630884281b0b9e665 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 11:59:48 2012 -0500 Use ENOMEM instead of errno Reviewed all uses or errno. Cleaned places that needed cleaning. Did not remove <errno.h> yet where it is not needed. commit 9b368a8652b595528dcf85c9ecfeba0d93550ee1 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 11:07:43 2012 -0500 Converting errors to enum Patch converts error and error level to enum instead of defines. commit 6c3a184c9345ab35bb64002530dc68074cc3a10b Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 16:54:22 2012 -0500 Add INI_GET_LAST_VALUE Refactored the defines to enum. Added support for fetching last value from the section. commit 75fb29de5f180ff7a672865629c83367c10ae5ee Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 16:13:14 2012 -0500 Fix CLANG errors in unit test commit e984e914b6aced5dabe250ad769c63186f21f8b8 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 23 15:14:08 2012 -0500 Make CLANG happy Address CLANG issues in the main code. commit 89243948c4f0499e70ca5bdbad62f03fd3cfb6a4 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 11 12:30:03 2012 -0500 Fixing coverity issue 13105 commit e2a161e0e2728f65b42c1560c9e92ebbc85362c5 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:49:25 2012 -0500 Update unit tests The parser unit test have been updated to execute the changes in the parser code. A new test was added to execute merge code in all possible modes. commit 15797910266f4ea30878df95c64dcda1705942a7 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:48:12 2012 -0500 Update files used in the unit test create mode 100644 ini/ini.d/first.conf create mode 100644 ini/ini.d/mergecheck.conf create mode 100644 ini/ini.d/second.conf commit 58d87578aa10693e6cb968f0aac804ee611ea4e5 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:46:05 2012 -0500 Update comments in the public interface commit 854d077f8a7ded3f5c25f58fa4bfc46aa55095db Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:38:58 2012 -0500 Improve parser 1. Move the last comment into the config object Last comment in the file was previously treated as a special value in the last section in the configuration object. That created difficulties while merging. Storing an orphan comment as part of the config object is a better approach 2. Since the structure of the config object changed the internal header and serialization required update. 3. Parser code was updated to: - deal with the last comment on the top level - make sure the right error codes are returned in different modes - pass right information through the layers which caused some refactoring of the internal calls - prevent using an already used configuration object as an input to parser. commit 85831de020e701104d0bcfbb274e5978faf31723 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:36:58 2012 -0500 Ability to merge configurations This patch adds capability to merge two configuration objects. commit ded67f11c611f47f2ba5ffe277950c4b09ba0702 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:33:51 2012 -0500 Fix trace message commit c1ea4fc67da3dff58e87a28859f93966e4dd10b7 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Dec 5 11:29:39 2012 -0500 Merge comments from different values Patch allows merging comments that are part of the two different value objects. The values are not merged. commit 5605cc68ac70722284f5443e1fbc7dccb59c4e77 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:21:03 2012 -0500 Merge and serialize comments Patch adds ability to combine two different comments into one. It includes changes to the comment API, header file and unit test. It also fixes an invalid free in one of the error cases. commit 43a8f3a71b15e3dd33bed72e4e42a1beaaa62e8f Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 4 19:15:16 2012 -0500 Adding a trace statement commit e551bfe4c94f3c3d76d71d4038baa79f14ea6008 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Oct 17 22:40:28 2012 -0400 Remove code that allows dup sections Duplicate sections in the config tree is a bad idea. After more evaluation I decided to not allow more than one section with the same name to be acceptable in the resulting object. All duplicate sections need to be processed so that only one section is left as a result. The collision flags control that. It is OK to remove it as this code has not been released yet. I also spotted that unit test does not exit if the system() call was successful but the command it invoked was not. Fixed that. Also fixed couple spelling mistakes here and there. commit 2372a71057996bc5271cc951776718eb406e6186 Author: Ondrej Kos <okos@redhat.com> Date: Thu Oct 25 11:13:08 2012 +0200 Fixed libcollection dependency and header files inclusion Fixes https://bugzilla.redhat.com/show_bug.cgi?id=637955 Also while fixing this, I found that rpmbuild was broken due to missing includes in ini_config-devel spec. commit 8315b3e18db8f04a91cfebf4218cab01db498c54 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Oct 19 17:38:51 2012 -0400 Clean doxygen configurations The doxygen files contained some deprecated values and typos. This patch cleans them for all interfaces exposed by ding libs. commit 4345f435825367d6674d535a139e7b68a26adf5e Author: Dmitri Pal <dpal@redhat.com> Date: Fri Oct 19 17:19:33 2012 -0400 Fix doxygen warnings for the interface This patch fixes the doxygen warnings in the new interface. commit 2fb4a178f23e016082dbfe53c2e60f03e40421c4 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Sep 27 12:30:14 2012 -0400 Fixing coverity issue 11089 Pointer was not initialized before being read. commit 2ca8e6fcfdf37ad737c6da751d9c92c285db7e12 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Sep 26 14:18:20 2012 -0400 Fix two issues in Makefile.am 1. The header files were not included into the package. 2. The `make distcheck` commnd was failing due to typo. commit 761794873d533c881b23eee0b15144e821c7fe3a Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jul 19 18:24:10 2012 -0400 Build docs for new interface This patch stops building interface docs for the old interface and starts generating description for the new interface. commit d6759220c7ce3b9e3e821256bd0be145520a747b Author: Dmitri Pal <dpal@redhat.com> Date: Fri Jul 13 19:12:13 2012 -0400 Added new tests for the multi value keys commit 537667f02826563e6f3199e283630b45c58aed31 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jul 19 18:19:45 2012 -0400 Start building the new interface commit aa65942aa19e6aea576c71fff9e3e385e2e15cc7 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jul 19 18:14:37 2012 -0400 The implementation of the new interface The three files in the patch implement the functions of the new interface. It is mostly inspired by the old interface except that the string value is replaced with the value object that hides all the metadata about the value itself. The main function to get value now allows more than one value per key. create mode 100644 ini/ini_get_array_valueobj.c create mode 100644 ini/ini_get_valueobj.c create mode 100644 ini/ini_list_valueobj.c commit d18cb68d460e377716e9cc510ce6802403f933a5 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Sep 25 16:05:12 2012 -0400 Add a search state to the config object The search state allows one to search a configuration object for the same key in the cases when a key permits more than one value scattered across the config file. The state needs to be stored, initialized and properly cleaned. commit f4ee2d445f96272726c7ff91a64fbe806691a3f9 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jul 19 17:43:50 2012 -0400 Definition of the new INI interface Some time ago I started the new INI interface that exists in parallel to the existing interface but uses value object to store value rather than just strings. The header has all the details about the new interface. commit 634441aaab657d0850469714a7a1f3f5fff7d34b Author: Dmitri Pal <dpal@redhat.com> Date: Fri Sep 21 19:33:55 2012 -0400 Adding couple functions to value object The patch adds function to get the length of the concatenated value. It also adds a convenince print function that is convenint in debugging the values inside configuration object. Patch also add checkes for input values that can be passed by pointer. commit 2196f6eb06a6178eea688935fb315f87eb2d9b51 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Sep 21 19:02:11 2012 -0400 No need to copy file in configure any more File is copied from the test itself. commit 46e4b24e313cf0885cc2dd8ab090a0e1227a98fc Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri May 11 09:31:24 2012 -0400 Fix permission checking unit test The unit test was broken. The wrong function was used. To make sure everything is correct I also added a convenience function to print the internals if the file context object. The unit test is fixed to use relative paths consitently. Also added nice statements at the beggining and the end of the unit test functions where they were missing. commit 7ad6e8180022b0f373fa253d00f9bed29d27cbde Author: Jan Zeleny <jzeleny@redhat.com> Date: Wed May 9 10:15:08 2012 -0400 Update version numbers for ding-libs-0.2.91 release commit bf6d43a490ce791ece8df83554e46f9d1faabd99 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri May 11 09:53:06 2012 -0400 Properly handle file permissions for ini_parse_ut startup_test() commit 013e9da407a3b583db93f827f054cd2fd6127739 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri May 11 09:31:24 2012 -0400 Fix issue when running make distcheck When running 'make distcheck', all files in the $srcdir are set to read-only, to ensure that the build does not modify the source. However, this broke our ability to test file permissions. We will now copy the file to the builddir and do the tests there, where we have control. delete mode 100644 ini/ini.d/foo.conf create mode 100644 ini/ini.d/foo.conf.in commit 6b3bc0158926ed03536c6c72b3847b8c04ace864 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Thu Sep 15 16:07:39 2011 -0400 Update version numbers for ding-libs 0.1.3 release commit 8f987ab49abe3ae952e78d78b729c4dcdef8fb4c Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Sep 6 14:59:30 2011 -0400 Bump version for 0.1.3 release commit bc2f7c12c035d98e03341629c68f21c639386d91 Author: Sumit Bose <sbose@redhat.com> Date: Mon Jan 24 11:33:50 2011 +0100 Ensure error_string() never returns NULL A Coverity check indicated that ther are platforms where strerror() will return NULL for unknown, e.g. negative error numbers. Chances are that these platforms will have problems with NULL arguments to printf() too. commit add869cb76e6ba1e3a16923faf83b68148e9278b Author: John Dennis <jdennis@redhat.com> Date: Tue Sep 6 14:36:59 2011 -0400 * Resolves: bug #735464 Fix the loop limit used to initialize the table directory, was based on count, now limited to segment_count. * Do not pre-allocate all buckets based on requested table size. This defeats the point of a dynamic hash table which adjusts it's memory usage depending upon the number of items it holds. Pre-allocation also runs afoul of the table contraction logic, if the table is pre-allocated to a large size it will subsequently try to compact it negating the pre-allocation. Now the initial allocation is restricted to one directory segment (i.e. table->segment_count == 1) * If the caller did not specify the directory_bits and segment_bits then compute them from the requested table size. The directory_size and segment_size must be powers of 2 to accmodate fast arithmetic. An optimal maximum number of buckets would be equal to the anticipated table size. If there were no collisions that would mean each item would be located in it's own bucket whose chain length is 1, the item would be immediatly found upon indexing into the bucket table. * There is a requirment there be at least one directory segment, however contract_table() failed to enforce this requirement. Add a check to enforce the requirement. * If hash_create() or hash_create_ex() failed it left the tbl parameter uninitialized but returned an error code. Now upon failure tbl is initialized to NULL as well as returning an error code. * Clean up how the directory and segment sizes were computed. It had been using a loop and shifting 1 bit at a time, now it shifts all the bits in one operation and assures at least one directory and segment are allocated. * In the event of an early exit from hash_create_ex() due to an error make sure all previously allocated resources are cleaned up by calling hash_destroy(). There was only one place this was missing. hash_destroy() blindly assumed the table had a directory, normally it would unless hash_destroy was called due to an early exit in hash_create_ex(). Modify hash_destroy() to check for the existence of the directory before cleaning up the directory contents. * Update the function documentation in dhash.h to explain each parameter of hash_create() and hash_create_ex(). * Enhance dhash_test.c - To output the random seed used to intialize the random number generator and add command line option to set the random seed. This permits recreating a failed test run. - Add command line parameter to set the initial table size. - Use proper string to long conversion routines when reading command line parameters (e.g. strtoul() instead of atoi()) - Add logic to make sure each test value is unique. * Add additional information to the debug output to show the computed directory_bits, segment_bits, sizes, etc. * Adjust the debug_level conditionals to be less verbose. commit b597c0e70474f1ee40fd78d006fc1da1a04d4bba Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 26 19:34:04 2012 -0400 Use right macro Use correct macro instead of type casting. commit 16197f9cc3e9f732a41edf07d9e314288b86d161 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 26 19:28:57 2012 -0400 Add missing cleanup in unit test commit 80d4e27c3c62bc8e4d40864bfe54fa4e06e24a78 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 26 19:16:01 2012 -0400 Add missing assertion macro commit 12c8a2748fb47168e19e2600772fea46b73eebed Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 26 17:41:19 2012 -0400 Do not debug padding The header structure might contain padding to align data on the boundary of the word. It is unsafe to always print the header data as it might be uninitialized. I do not want to remove it as it might be handy some day so I prefer to #ifdef it. commit fb03c1c48d0df64aba93aa69c59081dccc7d7c35 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Jan 3 14:36:47 2011 -0500 Exposing functions This patch makes two internal functions resusable from different source modules. commit 56b3277a0eff7a6128f4eaf0ac31bdcdbbfcfae9 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 21:58:24 2010 -0500 Initialize variables in loops It occured to me that one of the issues that Coverity did not like (and I could not understand what it is complaining about) is related to intializing the variables in the loop. This patch adds initialization in the loops. Also there was an initialization missing in the ini_configobj.c commit 0513944b4e65415a697190d716551dbeb9a0fa0d Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 21:45:39 2010 -0500 Rename error print function All config file processing functions start with "ini_config". The only function that does not comply is ini_print_errors. We can't rename it since it is a part of the current active interface. I marked that function needs to be removed when we remove old interface and created a copy with the correct name. I also updated unit test accordingly. commit ce8a6de72d6fcfa7fe8be9e3ec578a0a514ce3a7 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 16:32:00 2012 -0400 Tests for access and changes Patch adds two functions. One tests permissions, another validates if the file has changed or not. commit 5866ee2f1560e27dff4d60f09429818ab8401333 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 14:56:44 2012 -0400 Function to check for changes Added function to detect changes to the configuration file. commit 31c43691242c234c1c9bca336eda6647b79d1442 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 14:54:37 2012 -0400 Check access function Added check access constants and the check access function. The function is effectively copied from ini_metadata.c The flags are copied from ini_config.h commit 89bd6c4dbb49ed8e6a540bb934ac7ac1ded1940e Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 14:46:37 2012 -0400 Metadata collection is gone After some more thinking I decided not to use metadata collection. It seems to be an overhead. Patch does following: * Replaces metadata collection in file context structure with standard file stats * Removes all operations against old metadata collection * Defines new flags for data to collect * Creates a function that consolidates common operations between open and reopen functions. commit be389dc97e64653ca17ad76564dcc89ca7905937 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 14:20:54 2012 -0400 Function to reopen file This patch would allow to reopen file and create a new context based on the old one. commit 31fb35c3fc8ac631b39fcad5c2cba7a7e7c97fa0 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Mar 18 14:13:00 2012 -0400 Separate close and destroy Allow closing file without destroying the context. commit b2784fd8bb14123deb03692932e1a0af5819aabe Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 23:31:41 2012 -0400 Fix indentention in the switch statement Spotted style violation. commit 06212227da5a99c2957b7a90cf03d0878583e31d Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 23:10:36 2012 -0400 Test for all section merge modes New test reads smerge.conf in all possible modes and compares the combined result with the sexpect.conf function. commit 8b8132c246ba6d1f66e54a17a1224679c84425ea Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 00:18:48 2010 -0500 Test DETECT mode and use new file Patch adds smerge.conf file to the list of files to test and adds test for the DETECT mode for inidividual values. commit c631e86ab3cd0b9284c4d1c40c8834b4677939dd Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 00:15:12 2010 -0500 New test files for section merge smerge.conf - test file sexpect.conf - file contains output of the smerge.conf processed in different merge modes for sections and values create mode 100644 ini/ini.d/sexpect.conf create mode 100644 ini/ini.d/smerge.conf commit d34f8dd6d9d6888da3e1535233196d41aa403d72 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 00:10:23 2010 -0500 Return error in DETECT mode If in merge DETECT mode and there were no parsing errors return error if there were merge collisions. commit 21ebb86b27e2052f8388f38b92eea552a7919619 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 22:08:42 2012 -0400 Refactor section processing This patch adds functionality to respect merge section flags and to process section collisions differently dpending on these flags. commit 68af883a8dd3e812718196b11d48a244478b651e Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 00:05:28 2010 -0500 Use section line number Use section line number for error reporting about the section collisions. commit 4da37d4cd782b6e8310f81f53915c914f682fb58 Author: Dmitri Pal <dpal@redhat.com> Date: Sun Dec 26 00:03:33 2010 -0500 Enhance value processing This patch refactores the value processing function so that it can be used both in normal mode when velues need to be constrcuted and saved into the current section (po->sec) and in the merge mode when values are already constructed and need to be saved into a po->merge_sec. commit f1a030e074610675f8b978aad30ad2fb1676dffc Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 25 23:56:51 2010 -0500 Preparing for merging sections Patch implements three functions: * Function to detect a collision between two section names. * Function to empty section from all its keys * Function to add values one by one from one section to another. commit 6c6fdda6b4353869fc2c4fc9c8bdc29badfd10d7 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 21:46:13 2012 -0400 Change parse_error to use save_error * Changed parse_error to use save_error function created in previous commit. * Fixed comment to be more clear. commit 100d9ed10ce27cf98abfbb6f4236bb3577b27913 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 21:30:41 2012 -0400 Add save_error function Create a function to add error into error list. commit 09fc9d21c5dd42d0fe59bcd4794acaf76945a54c Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 25 23:36:06 2010 -0500 Add new vars to parse structure Adding new varibles to the internal parsing structure and initializing them. commit 6aa1f3b84bc42d98916ec6410d5901c1bd46041d Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 25 23:29:05 2010 -0500 New merge flags Adding "DETECT" merge modes. These modes would be useable for dry run cases to detect if there are any potential merge conflicts. Patch just defines new constans and adds input checks. commit 142396b25e68e254f7bc3478d9467158f0fb0eb7 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Dec 25 23:24:35 2010 -0500 New error codes and messages Patch consists of two parts: * Adding new constants for error messages to ini_configobj.h file * Making ini_print.c use this header file instead of the old one. Converting this to enums is tracked as a separate ticket. commit cf667071bab4673468b10c837a024aae30f3f9af Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 15 21:07:26 2012 -0400 Fixing coverity issues 10078 & 10079 The fact that the other_test could return EOK on error was the actual problem. commit 1f9961c46d1d507046e57bb08e0d2e25d77f2d82 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Mar 7 09:29:46 2012 -0500 path_utils: path_concat should return empty string on ENOBUFS Also clean up the code a bit and add more comments commit 030d99cef35962dc78111407218d66215296de4b Author: Jakub Hrozek <jhrozek@redhat.com> Date: Tue Mar 6 18:18:33 2012 +0100 INI: Silence compilation warnings * Do not set ext_data parameter to NULL * include a private header to avoid implicit declarations commit bb90be1e23e419e92eff404208ecf175796f4eba Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Mar 6 11:34:41 2012 -0500 path_utils: Handle "/" in path_concat commit 7b1d48d4e1cbd83a2d228e500f376c516b1c93b0 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Mar 6 11:05:53 2012 -0500 path_utils: handle off-by-one error in path_concat() https://fedorahosted.org/sssd/ticket/1230 commit f5dbb4ecb9bdf991625d5e48d039a66a765b292c Author: Dmitri Pal <dpal@redhat.com> Date: Thu Nov 17 09:45:06 2011 -0500 Fixing dereferencing NULL This is the issue found by Coverity. If the proprty is NULL but type is not there is dereferencing of the NULL veriable in the check. commit 6e9bffe8cf0070aefa6727bfecab55e1e47db711 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Jan 4 15:40:06 2011 -0500 Coverity issue 10075 Previous fix was not complete. Secondary scan revealed other issues. commit 5db8f8695e2f2ed1d35879831fdcf14b24d5d3ca Author: Dmitri Pal <dpal@redhat.com> Date: Tue Jan 4 15:34:27 2011 -0500 Coverity issue 10042 Previous fix was not complete. New scan revealed potential memory leak in case of coding error. Low severity but still a bug... commit 449b6da753cc4912778905eebe4c03cd9b154d9a Author: Dmitri Pal <dpal@redhat.com> Date: Fri Dec 24 21:29:07 2010 -0500 Adding missing const One liner to eliminate compilation warning. commit b823a0743afc9d09ee93ff39b597e759e66fd1ed Author: Dmitri Pal <dpal@redhat.com> Date: Fri Dec 24 21:25:56 2010 -0500 Freeing memory used for source dir I decided not to redo the whole test. It would have been too much work. Just cleaned the code a bit and freed allocated memory. It is Coverity issue 10075. commit 859df7ddd1bf1f36ce05966482086ecfb6c81e11 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Dec 24 00:18:56 2010 -0500 Free newly created value in case of error The newly created value object was not freed in case of an error. Coverity issue 10076. commit 06ce5367aa0578b11890db45a9acee3ec4357f58 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Dec 24 00:01:34 2010 -0500 Initialize simple buffer Allocating simple buffer is not enough. It needs to be initialized with something. The patch does exactly this for the case when the empty comment string is represented by a NULL value in the function input variable. Coverity issue 10073. commit a2a434d8a0d97419ac81643602613595105ae24f Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 23 23:33:37 2010 -0500 Initializing variables in test Addresses coverity issue 10048. Patch should apply to master and 0.1.x. commit 95453a142af530a8ecfbe6ec39ce4a8cb5670d25 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 23 23:26:52 2010 -0500 Leaking memory on failure One liner to fix Coverity isssue 10044. commit 703886478f38cdad2e81095aae0662137b47f504 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 23 23:03:18 2010 -0500 File descritpor leak Noticed under valgrind then checked and saw that this is a coverity issue 10077. commit a10ece2161bdf54e244568661eff283bba95fb5a Author: Dmitri Pal <dpal@redhat.com> Date: Thu Dec 23 23:01:45 2010 -0500 Coverity issue 10034 The 'len' varible was not initialized properly. The ref_array_get function does not return error so the error check is removed. commit 5a0d623a03f47448177dfba6628381f35e8cfc95 Author: Dmitri Pal <dpal@redhat.com> Date: Tue Dec 21 16:53:06 2010 -0500 Coverity issues 10071 & 10072 The unit tests we actually not executed due to wrong initialization. Also the pointers were not correctly dereferenced in the string array test. commit d83a94bc34b995789e038174a3b878c2f28e694d Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 20 19:28:43 2010 -0500 Additional tests I investigated the coverity issue 10043. Reading code did not reveal the issue. I added the test just to be sure and ran valgrind again. It does not seem to leak despite the Coverity concerns. commit 0c08053b6a7ebca2401a67a5beb16be8fa0665c7 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 20 17:51:35 2010 -0500 Correcting paths to test files The paths to test files did not work in parallel build or 'make diskcheck' cases. Now they are corrected. All temp files are created in the build directory and read from there. commit 32ede0c1400c1393cad1f7a1b06d2bc58e5696f0 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 20 17:48:59 2010 -0500 Fix crashes with file object This patch addresses the crashes with the file object when the file is not there and the file context needs to be destroyed during the open operation. commit a88d52ce32a950d466234fb67ce56327094b8e56 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Dec 20 17:45:05 2010 -0500 Adding missing file to the package One of the recently added test config files was missing from the package. Got added. commit b6bdd1672a60ddfaf8aeb07b9095210e5dfb2715 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Nov 27 23:51:40 2010 -0500 Preparing to merge sections * Rearranged code in parser module and created a skeleton of the function that will be responcible for merging sections. * Added missing static declarations to some functions. commit 490d3d9df1a2c666e262cd1fc9fd9f725871c8a1 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Nov 27 23:49:19 2010 -0500 Collision flag validation Added validation of the collision flags at the interface boundary. commit ec246f748f8dcbeefd46125546364ed2aa3100ea Author: Dmitri Pal <dpal@redhat.com> Date: Sat Nov 27 22:03:24 2010 -0500 Allow merging values This patch is the first pass at merging functionality. It implements merging of values that belong to the same section. Patch includes: * Definition of merge flags in doxy format * Definition of the masks in internal header * Changes to parser to handle the merging of values. * Also swithed parser to not use ini_config.h as I want to switch implementation of the current interface to new interface at some point. * New unit test was created. * New config file for this unit test was added to ini.d Main code changes are in ini_parse.c create mode 100644 ini/ini.d/foo.conf commit 5dadfb4371b8ba694b8d9431cb6789bf6de485c4 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 26 23:11:07 2010 -0500 New copy and folding functionality * Added method to copy configuration. * Added unit test for it. * Added method to reset boandary for the whole configuration. * Added unit test for it. * Unit test now can read a file save it read again and save. Both saves produce same files! * Reworked the way the parser was dealing with empty lines. It was sutting off the value in the middle if the folded line consisted of just spaces. commit 500eaf3ef5d53a9961443d2f3ea0d7e8b01d4c1f Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 26 23:05:55 2010 -0500 Improvements to the value object * Fixed different issues with folding and serialization * Added more unit testing. commit f7a48c6b5975259f20780a6353a1325852e71850 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 26 22:54:02 2010 -0500 Fix copy collection Collection with subcollections was failing to pass copy callback to the subcollections. commit fdb79f1e66baff7461ab686b1c29f819d861030b Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 26 22:47:23 2010 -0500 Minor tracing cleanup commit 589ff8ad9525124bf2570a8c151bf2b831659ff4 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Nov 26 00:12:57 2010 -0500 Refactoring error reporting Minor cleanup in the error reporting. commit 604eed33089fdef36bd2f63a73ed638d642b6856 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Nov 25 23:38:47 2010 -0500 Enhancements to value object * Added capability to copy value. * Added function to set alternative wrapping boundary of the value. * Created a unit test for both new functions. commit 4c694864b8dba716cde0d3933145f3ffab346cdb Author: Dmitri Pal <dpal@redhat.com> Date: Thu Nov 25 22:44:08 2010 -0500 Fixing trace macros One of the macros did not work, when I turned on tracing. The issue is that __FUNCTION__ should be treated as a variable and not as macro. This patch addressed the issue. commit 94e5ad22e13733a21ac612b601eb1ba5873d2b1e Author: Dmitri Pal <dpal@redhat.com> Date: Thu Nov 25 20:51:49 2010 -0500 Refactoring comment object * Added copy coment functionality * Changed the internal implementation to use array simple buffer instead of the two arrays one for lines and one for lengths * Realigned comments in the header file * Changed the trace macros to use simplified entry and exit macros. * Corrected unit test to return error codes. * Refactored unit test to use array of test functions intead of the direct calls * Added unit test for copy functionality. commit 8c201905d5f0720b62d036eb2308f81f4530cfad Author: Dmitri Pal <dpal@redhat.com> Date: Thu Nov 25 17:36:36 2010 -0500 Adding ref_array copy method * Added a method to copy ref array * Added unit test to check copy functionality * Took advantage of the new trace macros * Reworked the debug function to be able to trace arrays with different types of data. commit 86564695945fa1892fe990ba8b7bbc1af70cc48a Author: Sumit Bose <sbose@redhat.com> Date: Wed Dec 8 18:28:38 2010 +0100 Fix typo which makes make prerelease-srpm fail commit d7999c317e4823b953e635061011567a9838a9fa Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri Nov 19 07:54:06 2010 -0500 Fix license text for several files that should be LGPLv3+ This is NOT a relicensing. These files were mislabeled. They were always LGPLv3+. commit ee1479c56b5594ad673f4a724cd2a95e4c9e337b Author: Sumit Bose <sbose@redhat.com> Date: Thu Oct 21 16:14:47 2010 +0200 Fix a typo in dhash.h commit d3c6af1d4d4b7c754e2fbd72ad752e1ffff2be56 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Oct 12 14:27:35 2010 -0400 Updating dhash version to 0.4.2 commit 8a5a0c340cb259103abc77d37960710177a74f8c Author: Sumit Bose <sbose@redhat.com> Date: Wed Sep 29 12:24:19 2010 +0200 dhash: Allow hash_enter() to update entries commit 841a1ab44968f13f0f7b6a2ace4e38d418142cbd Author: Sumit Bose <sbose@redhat.com> Date: Wed Sep 29 10:05:30 2010 +0200 dhash: Fix memory leak in example commit 64d27d3e9ec77874895f4dceac4fed89ff95fa12 Author: Sumit Bose <sbose@redhat.com> Date: Tue Sep 28 17:24:57 2010 +0200 dhash: add stddef.h to dhash.h size_t is used in dhash.h and was currently not defined by any included header file. commit a7d58845973f1e81e6cfc7d2a64b1456c1b17de8 Author: Sumit Bose <sbose@redhat.com> Date: Thu Sep 23 14:39:09 2010 +0200 Fix version handling of the libraries commit 964b08633bfd225bf5394a1d0c4eef4a79033583 Author: Sumit Bose <sbose@redhat.com> Date: Thu Sep 23 14:38:05 2010 +0200 Remove unneeded --disable-rpath configure option commit f9f74617b10cc8e37b36d7c412d93a6bfac21799 Author: Sumit Bose <sbose@redhat.com> Date: Thu Sep 23 12:48:00 2010 +0200 Fix overflow in ini_parse unit test commit 93cd31036f6c6bc66713b2a430cc4da9c605ce50 Author: Sumit Bose <sbose@redhat.com> Date: Thu Sep 23 12:47:30 2010 +0200 Fix typo in spec file commit a54a8e53a97d104490966e36d40e9b0b419ad050 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Aug 2 21:44:15 2010 -0400 Introducing configuration file object The patch contains two major pieces of work: * The beginning of the new INI interface significantly re-thought and reworked. * The implementation of the file object. Parsing was adjusted to use this object. create mode 100644 ini/ini_fileobj.c commit fbaa3ff3a5e45bffea373d0bea4ccd206db37a45 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Jul 30 14:05:50 2010 -0400 Starting to consolidate the new interface in one place I realized that the new high level interface should be defined in one file instead of being scattered in many headers. I would have to eventuallu eliminate ini_configobj.h too and move everything to the new interface in ini_config.h. This patch renames couple functions to be consistent with the naming convention and removes ini_parse.h header. delete mode 100644 ini/ini_parse.h commit bcfbcf2e8d578580f308b5bdded49b166650f131 Author: Dmitri Pal <dpal@redhat.com> Date: Sat Jun 19 11:28:04 2010 -0400 New INI parser The parser is added to the existing module. The old parsing functuion will be removed when we switch to the new interface. Parser logic: * There is one high level function that wraps the parser interface. It is at the bottom of the module. ini_parse_config(); * Internally it creates a perser object and then runs parser on it. * At the end parser object is destroyed. * This object stores the state of the parser. * The parser has an action queue * There are several actions that parser can perform - read line - inspect read line - record an error - process last comment in the file (POST) * Each action handler determines what to do next depending upon what has happened. * Read handler reads lines and enqueues inspection action in case of success or error action in case of failure. * Inspection action parses last read line and treats it either is a: * Comment * Section * New key + value * Continuation of the value In case of error the error action is enqueued. * Error can be fatal or non fatal. It depend on the error_level flag passed in. If the error is non fatal the read action is enqueued otherwise parser stops. * The POST action is a special action to handle comment at the bottom of the file. The comment is stored with the value it preceeds so in case there is a comment at the bottom of the file a special value needs to be created to hold just the comment. create mode 100644 ini/ini_parse_ut.c commit 49ea94d1755e9003cbc2cba99c218cdd0a391813 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jul 28 16:44:09 2010 -0400 The beginning of the new INI interface * ini_config_priv.h - private header * ini_configobj.h - future public header for the new interface * ini_configobj.c - just constructor/decructor for now * ini_serialize.c - code to serialize the configuration into a buffer so it can be written somewhere. create mode 100644 ini/ini_config_priv.h create mode 100644 ini/ini_configobj.c create mode 100644 ini/ini_configobj.h create mode 100644 ini/ini_serialize.c commit 85c26abd9dabc0f192fe9bb695c3aac1493a9e34 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jul 28 16:37:14 2010 -0400 Fixes to the value object * Removed the annoyong type casting in the serialization since there is a new function in the simplebuffer to addstring. * Changed the serialization code to not create simple buffer object but rather add to the passed in one. * Added serialization of the value that stores section * Started cleaning constants but then stopped since this effor should be done a bit later when the new high level ini config interface is better baked. commit fed9fb7462a5ee8afcae8741cb66d8167f9372b1 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jul 28 16:27:09 2010 -0400 Add error codes for the new parser commit 22e8ad54ccaa756931c88eb205301722d597c99d Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jul 28 16:24:36 2010 -0400 Extend the comment interface Take advantage of the already known string length instead of counting bytes once more. commit 25e29187c688aa76d2db036a4d4c103a1d500f2d Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jul 28 16:19:41 2010 -0400 More config files for testing create mode 100644 ini/ini.d/ipa.conf create mode 100644 ini/ini.d/mysssd.conf commit ee99d5d047080218bde02e2d06e0d14518fefa4f Author: Dmitri Pal <dpal@redhat.com> Date: Fri Jul 23 19:33:04 2010 -0400 Added a convenience function Added a function to add a string to the buffer. Allows adding const strings to the buffer. This solution eliminates all the hassle of type casting that was needed before. commit 2893de11973c4912f4c2a3d40f09ef0823a3f091 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Jul 23 14:33:56 2010 -0400 Allow destroying collection with a callback Addresses ticket #572 Bumps the library and interface version. Updates the docs. [COLLECTION] Changed callback signature commit 30eeb8e833570c9117f298005d33e6e238561237 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jun 10 11:57:25 2010 -0400 Introducing Value object Value object is an object that combines a potentially multiline value comment and some statistical information regarding a configuration value. Patch includes: Source Header Unit test Makefile changes create mode 100644 ini/ini_valueobj.c create mode 100644 ini/ini_valueobj.h create mode 100644 ini/ini_valueobj_ut.c commit 6f41753879870c35b2192fe6d6e7c0fca8f5ef17 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jun 10 11:55:49 2010 -0400 Refining comment object Comment object should store lengths of the lines. commit 252be01e3972f0bfa01b5ad562a4c95d5fbf0039 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jun 10 11:53:54 2010 -0400 Fixing the cleaup code It turned out that the array cleanup was assuming that the data always requires cleanup. In case of array of numbers it is a false assumtion. commit e65ef66621b6d59580018f6ecf1f9bffacc27372 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Jun 18 14:52:21 2010 -0400 Introducing basic objects The first basic object is extensible buffer. create mode 100644 basicobjects/basicobjects.cfg.doxy.in create mode 100644 basicobjects/basicobjects.pc.in create mode 100644 basicobjects/simplebuffer.c create mode 100644 basicobjects/simplebuffer.h create mode 100644 basicobjects/simplebuffer_ut.c commit b8b0158e4f84b4b2ba15e3bdc4ea94ff29aefc82 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Apr 28 13:00:57 2010 -0400 New wrapper macros for function entry and exit commit 8b33851e6ebc805c9b1eb49d07285b39e85286b0 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Sep 22 14:54:59 2010 -0400 Bumping development version number commit 43f7cfb86f2f405e5cf3f78b4f883cd70fe451e3 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Sep 21 14:33:25 2010 -0400 Build all of the ding-libs from the root This changes our approach from having independent tarballs to having a single, monolithic tarball for all of the libraries create mode 100644 COPYING create mode 100644 COPYING.LESSER create mode 100644 Makefile.am delete mode 100644 collection/COPYING delete mode 100644 collection/COPYING.LESSER delete mode 100644 collection/Makefile.am delete mode 100644 collection/configure.ac delete mode 100644 collection/contrib/libcollection.spec.in delete mode 100644 collection/m4/.dir delete mode 100644 collection/trace.h create mode 100644 configure.ac create mode 100644 contrib/ding-libs.spec.in delete mode 100644 dhash/COPYING delete mode 100644 dhash/COPYING.LESSER delete mode 100644 dhash/Makefile.am delete mode 100644 dhash/README create mode 100644 dhash/README.dhash delete mode 100644 dhash/configure.ac delete mode 100644 dhash/contrib/libdhash.spec.in delete mode 100644 dhash/m4/.dir delete mode 100644 ini/COPYING delete mode 100644 ini/COPYING.LESSER delete mode 100644 ini/Makefile.am delete mode 100644 ini/configure.ac delete mode 100644 ini/contrib/libini_config.spec.in delete mode 100644 ini/m4/.dir delete mode 120000 ini/trace.h create mode 100644 m4/.dir delete mode 100644 path_utils/COPYING delete mode 100644 path_utils/COPYING.LESSER delete mode 100644 path_utils/Makefile.am delete mode 100644 path_utils/README create mode 100644 path_utils/README.path_utils delete mode 100644 path_utils/configure.ac delete mode 100644 path_utils/contrib/libpath_utils.spec.in delete mode 100644 path_utils/m4/.dir delete mode 100644 refarray/COPYING delete mode 100644 refarray/COPYING.LESSER delete mode 100644 refarray/Makefile.am delete mode 100644 refarray/README create mode 100644 refarray/README.ref_array delete mode 100644 refarray/configure.ac delete mode 100644 refarray/contrib/libref_array.spec.in delete mode 100644 refarray/m4/.dir delete mode 120000 refarray/trace.h create mode 100644 trace/trace.h create mode 100644 version.m4 commit 67c9f9b4a1db45159e710c152deb3d12319bea35 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Aug 11 16:44:56 2010 -0400 ini_config: Adding RPM build targets create mode 100644 ini/contrib/libini_config.spec.in commit 8a55c780d1a3d22b27e3746158322ff0de64b572 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Aug 11 16:26:36 2010 -0400 collection: add RPM build targets create mode 100644 collection/contrib/libcollection.spec.in commit 88a0a472f61c1301ca31f9d443647d11f05c06d0 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Aug 11 16:14:49 2010 -0400 ref_array: add RPM build targets create mode 100644 refarray/contrib/libref_array.spec.in commit 45ad0c5fe1e9d3b811057d6febcb756d920fee0a Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Aug 11 12:40:14 2010 -0400 path_utils: Add targets for RPM build create mode 100644 path_utils/contrib/libpath_utils.spec.in commit 169aef0315b86c1a66e6d792c2a533fafc91dd53 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Aug 11 12:10:19 2010 -0400 dhash: Add targets for RPM build create mode 100644 dhash/contrib/libdhash.spec.in commit e30512271d235f5812d4ca9ab26a9d5c8bbbca79 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Aug 10 12:08:55 2010 -0400 Update ini for new buildsystem create mode 100644 ini/m4/libbasicobjects.m4 create mode 100644 ini/m4/libcollection.m4 create mode 100644 ini/m4/libpath_utils.m4 create mode 100644 ini/m4/libref_array.m4 create mode 120000 ini/trace.h commit bf98ddf34edf25064e96594d782e8418fcd80f77 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Aug 10 11:55:27 2010 -0400 Update libcollection with new make environment create mode 100644 collection/trace.h delete mode 100644 trace/Makefile.am delete mode 100644 trace/trace.h commit 345e0fbc582d212f0fe580b83a16b5932640ee63 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Aug 10 12:36:42 2010 -0400 Update refarray for new build system create mode 120000 refarray/trace.h commit 5d79d8e627a8f4da584b28674e9fc7cf0bf661b0 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri Aug 13 14:28:07 2010 -0400 Update path_utils version commit 1e4a5fe91925d454b570db68218de48a44d21e6f Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri Aug 13 14:27:29 2010 -0400 Update dhash version commit 7e7874fdc13902071814897d9a3b2857101db78e Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Aug 10 11:49:01 2010 -0400 Remove toplevel Makefile All libraries should be built individually now. create mode 100644 .gitignore delete mode 100644 COPYING delete mode 100644 COPYING.LESSER delete mode 100644 Makefile.am delete mode 100644 configure.ac delete mode 100644 m4/.dir commit db4132d61c290116cd74fcc4d32b5a7f25676be5 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jun 10 12:35:05 2010 -0400 Memory leak in case of empty value Addressing coverity issue. Ticket #513. The memory was really leaked when the configuration value was empty. Added unit test that confirmed the bug. MANUAL MERGE. commit fefab388e9122a3d61cebdddd9ef128347e3c864 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Jun 10 12:19:01 2010 -0400 Fixing NULL dereferencing in ini_config Addressing ticket #504 Conflicts: common/ini/ini_config.c commit e76a1323da65eef62672ea10d7d0cc1892c984bf Author: Dmitri Pal <dpal@redhat.com> Date: Sat Jun 19 11:19:45 2010 -0400 Fixing memory leaks in the unit test. commit 74100f356c8b485e6c2b6c462ab42b6b172a676f Author: Dmitri Pal <dpal@redhat.com> Date: Sat Jun 19 11:18:42 2010 -0400 Fixing types in queue and stack interfaces commit cb4f5de2be0eed29f48f8c3a4d855f38e0802cf8 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Thu Jun 24 10:03:31 2010 -0400 Bump libini_config version to 0.6.0 commit 5124b1999b902e1517c60e9f148acc71fbe73b4e Author: Dmitri Pal <dpal@redhat.com> Date: Wed Jun 9 14:02:56 2010 -0400 Addressing initialization issues. Fixing bug found by coverity. Tciket #519 commit 8b164f115d694d6f7c4bc2b2853c1860679bfaa6 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Jun 9 09:59:52 2010 -0400 Don't leak directory access resources on errors in directory_list() https://fedorahosted.org/sssd/ticket/514 commit c06735031379e0dae58c19f3ab922258248d9c26 Author: Dmitri Pal <dpal@redhat.com> Date: Mon May 17 13:21:56 2010 -0400 Adding support for explicit 32/64 types (attempt 2). This is a reworked patch to add support for explicit 32 and 64 bit values in the config files. commit 97840a33d5e8ae1c03eaa4f4454b87bfb86a4ba5 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Apr 21 21:16:18 2010 -0400 Introducing a comment object Comment object will store the comments found in the INI file. It is based on the ref_array interface. Fixing review comments for comment obj. create mode 100644 ini/ini_comment.c create mode 100644 ini/ini_comment.h create mode 100644 ini/ini_comment_ut.c commit abb26eb1152e9fd926ca353dbea2854cd78da6f8 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Apr 21 21:10:10 2010 -0400 Extending refarray interface Added functions to inert, delete, replace swap the array elements. Unit test and docs have been updated accordingly. Fixing review comments for refarray. commit e06ef2acf0df9ffa854b0359750bb4800a702bf2 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Apr 15 17:27:04 2010 -0400 Code restructuring Time came to split ini_config.c into many much smaller pieces. 1) ini_parse.c - will have parsing functions 2) ini_get_value.c - will have single value interpretation functions 3) ini_get_array.c - will have array interpretation functions. 4) ini_print.c - error printing 5) ini_defines.h - common constants 6) ini_parse.h header for parsing functions 7) ini_list.c - will have list processing functions create mode 100644 ini/ini_defines.h create mode 100644 ini/ini_get_array.c create mode 100644 ini/ini_get_value.c create mode 100644 ini/ini_list.c create mode 100644 ini/ini_parse.c create mode 100644 ini/ini_parse.h create mode 100644 ini/ini_print.c commit e26fa48aa42eebd2acc22a3731b17a53911dcd4b Author: Dmitri Pal <dpal@redhat.com> Date: Wed Apr 14 14:09:41 2010 -0400 Fixing build commit 35f37fbc241bcc64f99a0d1d619b77ea8b0bce67 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Wed Apr 14 11:20:41 2010 -0400 Fix ini_config unit test When running 'make distcheck', the entire source directory is set to read-only, to ensure that the build process only has write access to $builddir. As a result, this was causing the unit test for file mode to fail, since the file it was testing resides in the $srcdir. This patch guarantees that the test file has the correct permissions prior to running the access test. commit 3d639daef0a0b3ff2adb6a2bcaf04fb12b906466 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Apr 9 11:30:09 2010 -0400 Add ability to trace 64bit numbers [TRACE] Adding macros for signed numbers commit f9a7b9fa00fbc57bf86ec4381f78ae0d9c12354a Author: Dmitri Pal <dpal@redhat.com> Date: Fri Apr 2 20:08:14 2010 -0400 Acess control and config change checks 1) Fixed the issue that metadata was saved as numbers. Was supposed to be saved as strings. 2) Added two functions. One is to check permissions on the config file. Another to check if the file has changed and thus the cinfiguration needs to be reread. 3) Added unit test will sample code and comments how to use the functions. 4) Added doxygen description in the comments. 5) Fixed couple typos and ommisions here and there. [INI] Fixing crash detected on 64-bit system This patch corrects original code to be more on the safe side and check parameters before using. Instead of dereferencing metadata it is now passed as reference to the next level. It is not used there yet so no other new changes needed so far. [INI] Addressing review comments [INI] Addressing comments. commit 3941ba7fb37ddebf8406da2a53337a659c6cb505 Author: Dmitri Pal <dpal@redhat.com> Date: Wed Mar 31 19:49:32 2010 -0400 Resolve paths for reporting purposes commit e020e018ead0766b72b1e68877e4f8347fb5901c Author: Dmitri Pal <dpal@redhat.com> Date: Wed Mar 31 19:21:35 2010 -0400 Adding content to the metadata This patch implements function that collects stats and saves them in the ACCESS section inside metadata. commit 3c189c57a30eaba8a6af4bb35eed45535fc8d16f Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 29 16:58:29 2010 -0400 Adding metadata interface This patch: 1) Adds the definition of the metadata interface to the header file. The functions that were exposed for no good reason are now hidden. 2) Previously exposed functions and their descriptions are removed from the public header and placed into the source code for now. 3) The function that reads the config file no longer tries to close file in case of error. 4) Lines collection is still passed in into the reading function but as a collection itself not as a pointer to it. 5) All the parts related to processing lines are currently ifdefed using HAVE_VALIDATION that is currently is not defined. This is done to disable creation of the lines collection utill it is actually needed. I did not want to blindly remove it though and loose already done work that will be useful in future. 6) Version of the library and interface is updated 7) New header and source modules are introduced to hold functions related to the meta data. They are mostly stubbed out. This is incomplete patch. It builds and make check runs. It is created just to simplify the review a bit. create mode 100644 ini/ini_metadata.c create mode 100644 ini/ini_metadata.h commit 52fe67cfc9d427495e237acf9468f3cf94393007 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Thu Apr 8 16:46:15 2010 -0400 Support docdir and abs_builddir 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 commit b5a5108f1d4c45fb5d27698ce2c9ba95b95411ba Author: Dmitri Pal <dpal@redhat.com> Date: Mon Apr 5 10:59:33 2010 -0400 Adding interface documentation Package refarray documentation by default create mode 100644 refarray/ref_array.cfg.doxy.in commit e80dfd59fb89d37ba317cceb24a8c9353c70eb18 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Thu Mar 25 15:28:30 2010 -0400 Fix path_utils_ut segfault 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. commit 7ea74ac64811265384c8b2b2a6f12f88b63b3d95 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Fri Mar 19 13:59:02 2010 +0100 Generate doxygen documentation for path_utils create mode 100644 path_utils/path_utils.cfg.doxy.in commit 404f1fff24862a2b754354b268a0ae74de12d71f Author: Jakub Hrozek <jhrozek@redhat.com> Date: Tue Mar 16 09:17:02 2010 +0100 Unit tests for path_utils Fixes: #81 create mode 100644 path_utils/path_utils_ut.c commit a44e5d5e59eea7b3ec98b28431e16648b5c7ad56 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Tue Mar 16 09:44:28 2010 +0100 Fixes for path_utils * 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 commit 468ebea67beec7215506125c5a4fbad35e12adc3 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 11 12:28:40 2010 -0500 Fixing type conversion in INI interface. Additional changes. commit 885d8e5c7cd6e27643a70c35a52de0ece0901e1f Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 11 12:23:14 2010 -0500 Convert collection to use sized values. 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. commit 02a89e253225b46c37ae03a5045e3e18f3fcb296 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Mar 15 13:46:10 2010 -0400 Build and package libini_config docs delete mode 100644 ini/README commit 5a0c5b1195f5ce4ae7e7f9ce9de1cd2db54691d6 Author: Dmitri Pal <dpal@redhat.com> Date: Mon Mar 15 12:30:05 2010 -0400 Adding interface description using doxygen. create mode 100644 ini/ini_config.cfg.doxy.in commit 8621fa3b2a367fe37f42724884e98ff8667f5473 Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 11 12:20:10 2010 -0500 Fixing verbosity and formatting of the INI unit test. commit 4a7e01523bfbbe1971bf2fa681f386e20c53637b Author: Dmitri Pal <dpal@redhat.com> Date: Thu Mar 11 12:19:00 2010 -0500 Do not generate man pages for COLLECION for now. commit e6415ba6f34ebd544d26fac48cf50a6e1fe687ed Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Mar 8 12:23:08 2010 -0500 Package libcollection documentation into libcollection-devel delete mode 100644 collection/README commit f50374ed1a3d40a984f2386c05306a7ecdd21e95 Author: Dmitri Pal <dpal@redhat.com> Date: Fri Mar 5 17:23:00 2010 -0500 Documentation for collection interface Passed through the interface and changed the comments to comply with the collection interface. create mode 100644 collection/collection.cfg.doxy.in commit f003197d370bd177027bd7042206892c7ada5771 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Thu Feb 18 14:43:39 2010 -0500 Properly license libdhash commit c9ee113d6a1abe7f35e7de14087c30682c25ddfe Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri Jan 22 13:51:49 2010 -0500 License libpath_utils under LGPL commit c170439337e796f9d565f8a60095889d7636a310 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Feb 9 16:02:10 2010 -0500 Remove ELAPI from the SSSD repository ELAPI now lives in its own project at https://fedorahosted.org/ELAPI delete mode 100644 elapi/Makefile.am delete mode 100644 elapi/conf_macros.m4 delete mode 100644 elapi/configure.ac delete mode 100644 elapi/def_macros.m4 delete mode 100644 elapi/elapi.h delete mode 100644 elapi/elapi.pc.in delete mode 100644 elapi/elapi_async.c delete mode 100644 elapi/elapi_async.h delete mode 100644 elapi/elapi_basic.c delete mode 100644 elapi/elapi_basic.h delete mode 100644 elapi/elapi_defines.h delete mode 100644 elapi/elapi_event.c delete mode 100644 elapi/elapi_event.h delete mode 100644 elapi/elapi_fd.h delete mode 100644 elapi/elapi_internal.c delete mode 100644 elapi/elapi_ioctl.c delete mode 100644 elapi/elapi_ioctl.h delete mode 100644 elapi/elapi_log.c delete mode 100644 elapi/elapi_log.h delete mode 100644 elapi/elapi_net.h delete mode 100644 elapi/elapi_priv.h delete mode 100644 elapi/elapi_resolve.c delete mode 100644 elapi/elapi_sink.c delete mode 100644 elapi/elapi_sink.h delete mode 100644 elapi/elapi_subst.c delete mode 100644 elapi/elapi_test/Makefile.am delete mode 100644 elapi/elapi_test/configure.ac delete mode 100644 elapi/elapi_test/elapi_ut.c delete mode 100644 elapi/elapi_test/elapi_ut.conf delete mode 100644 elapi/elapi_test/m4/.dir delete mode 100644 elapi/elapi_tm.h delete mode 100644 elapi/m4/.dir delete mode 100644 elapi/providers/file/file_fmt_csv.c delete mode 100644 elapi/providers/file/file_fmt_csv.h delete mode 100644 elapi/providers/file/file_provider.c delete mode 100644 elapi/providers/file/file_provider.h delete mode 100644 elapi/providers/file/file_util.c delete mode 100644 elapi/providers/file/file_util.h commit 8acfb78b1d0eb1e2f8a136b395f335df1f8fc8bc Author: Stephen Gallagher <sgallagh@redhat.com> Date: Tue Feb 9 13:00:44 2010 -0500 Make collection_queue.h and collection_stack.h into public headers commit 9a5c96aa6d29577017d478626ac81f7efd3602f9 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 12:52:39 2010 -0500 Split refarray off into a shared library create mode 100644 refarray/README commit 7d7d7ae6aeff6109480d9c06515b76d9fedc6899 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 12:48:08 2010 -0500 Add license files for refarray create mode 100644 refarray/COPYING create mode 100644 refarray/COPYING.LESSER commit e467f4da6d71d2de3c70f38942ce80f3ababbd11 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 11:17:03 2010 -0500 Split off libini_config into a shared library create mode 100644 ini/README commit 0786af71b4ef4135cbdbdf64ed53c9f305a42a7e Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 10:57:43 2010 -0500 Fix array index error 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) commit 84214adfd0dc046c247e9359cf25839f89cae682 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 10:43:55 2010 -0500 Add license files for ini_config create mode 100644 ini/COPYING create mode 100644 ini/COPYING.LESSER commit 3d26bc84a31d559704d1c33673bde066a5861fae Author: Stephen Gallagher <sgallagh@redhat.com> Date: Mon Feb 1 10:33:28 2010 -0500 Split off libcollection into a shared library create mode 100644 collection/README commit 53ff0724abd2e1f4bac2cb8298b0b4d481da8560 Author: Stephen Gallagher <sgallagh@redhat.com> Date: Fri Jan 22 14:47:40 2010 -0500 Remove private header requirements from collection_tools.h commit bf34d4d9ebee08f768477dc0cc47c40204060553 Author: Stephen Gallagher <sgallagh@redha ... |