summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michal Bloch [Thu, 20 Aug 2020 12:10:47 +0000 (14:10 +0200)]
Further SVACE fixes
Change-Id: I9a89538e95b71822eee9af8cd4eb21ae07fd45d7
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Karol Lewandowski [Wed, 27 May 2020 20:40:54 +0000 (22:40 +0200)]
Fix svace-reported issues
Change-Id: I3cf61033c7282d5d89c794e1e25cd4f1988be6e7
Hyotaek Shim [Mon, 13 Aug 2018 05:18:00 +0000 (14:18 +0900)]
Minor fix on license (LICENSE.LGPL-2.1+)
Change-Id: I76a38a66917a5e1b139b8db96e6ca1766704abf9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Krzysztof Opasiak [Wed, 19 Apr 2017 13:32:03 +0000 (15:32 +0200)]
Bump version to 1.6
Change-Id: I9e8c9dcfaeb9a619f6666638769efd0acb528b6d
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
taeyoung [Thu, 22 Sep 2016 04:44:35 +0000 (13:44 +0900)]
license: update license to LGPL-2.1+
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I6f661c65ae9b56908f44a877acfb429d92f572cc
Krzysztof Opasiak [Wed, 19 Apr 2017 13:46:27 +0000 (15:46 +0200)]
Fix build by removing auto generated files
Files generated by flex or autotools should not be stored
inside repository. This may lead to compilation errors
as reported by a few users.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Sat, 28 Jun 2014 11:15:46 +0000 (13:15 +0200)]
Add packaging for generating rpm package
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Jose Luis Tallon [Thu, 31 Dec 2015 20:18:44 +0000 (21:18 +0100)]
Release 1.6
Jose Luis Tallon [Wed, 30 Dec 2015 22:44:17 +0000 (23:44 +0100)]
Robustness & bug fixes for tab_width handling
* Reset default float_precision to 2 (from leftover DBL_DIG)
* bugfix (missing mask) that multiplied indentation by 3840 (0x0F00)
* Robustness: convert get|set_tab_width() from macro to function
Also: const correctness
jltallon [Wed, 30 Dec 2015 22:02:19 +0000 (23:02 +0100)]
Merge pull request #28 from thfi/cmake
Locating libconfig from CMake-based projects.
Tested. Looks good.
jltallon [Wed, 30 Dec 2015 21:30:55 +0000 (22:30 +0100)]
Merge pull request #45 from jltallon/master
Implement float_precision parameter (Closes #31)
Jose Luis Tallon [Wed, 30 Dec 2015 21:25:50 +0000 (22:25 +0100)]
Implement float_precision parameter (Closes #31)
Added the ability to specify the amount of decimal digits (precision)
to be used when writing out (file or stream) a configuration.
Includes C & C++ versions.
As per zhaopingsun's suggestion
jltallon [Wed, 30 Dec 2015 19:05:52 +0000 (20:05 +0100)]
Merge pull request #44 from jltallon/issue41
Merge fix for issue #41 from random85 ; Documentation and fixes by me
Jose Luis Tallon [Wed, 30 Dec 2015 19:02:53 +0000 (20:02 +0100)]
Documentation fixes for config_setting_remove
Guy Morand [Tue, 22 Dec 2015 13:11:18 +0000 (14:11 +0100)]
Fix RemoveSetting test (Closes: #41)
We look for the setting using its path and extract the setting name from the
path to get its index in parent for removal.
This adds "Removing a setting with its path" feature.
This changes the specification, the documentation has to be updated.
Guy Morand [Tue, 22 Dec 2015 09:45:28 +0000 (10:45 +0100)]
Add a test that fails removing a single element
The test doesn't behave as documented. The wrong element is removed.
hyperrealm [Wed, 30 Dec 2015 18:18:09 +0000 (11:18 -0700)]
Merge pull request #42 from jltallon/octal_ints
Octal ints
Jose Luis Tallon [Tue, 29 Dec 2015 16:43:12 +0000 (17:43 +0100)]
Code styling: apply fixes as per Mark's advice.
Jose Luis Tallon [Mon, 28 Dec 2015 18:58:27 +0000 (19:58 +0100)]
Documentation for octal_ints
Jose Luis Tallon [Mon, 28 Dec 2015 18:55:13 +0000 (19:55 +0100)]
Add support for octal ints
hyperrealm [Wed, 30 Dec 2015 17:54:58 +0000 (10:54 -0700)]
Merge pull request #36 from jltallon/include_dir
Add @include_dir directive: debian-style ("conf.d") config processing
Jose Luis Tallon [Mon, 28 Dec 2015 17:08:53 +0000 (18:08 +0100)]
Indentation: change to 2-spaces indent, like the rest of the code
Apply stylistic fixes, following Mark's advice: homogeneous style
with the rest of the code
Jose Luis Tallon [Thu, 24 Dec 2015 22:05:36 +0000 (23:05 +0100)]
Add support for absolute pathnames to @include / @include_dir (Closes #16)
- Misc documentation fixes
Jose Luis Tallon [Sun, 22 Nov 2015 22:49:23 +0000 (23:49 +0100)]
Documentation & misc fixes:
- Document the include_dir directive
- Robustness: filter out non-files (where scandir supports it)
- Add myself to the credits
Jose Luis Tallon [Sun, 22 Nov 2015 17:51:56 +0000 (18:51 +0100)]
Add @include_dir directive: debian-style ("conf.d") configuration processing
Quite some refactoring of the includefile stack and filename processing logic
Adds some extra fields to scan_context, but does not change the API
"symbols" file should hide all functions called scanctx_* anyway
Mark Lindner [Wed, 23 Dec 2015 03:40:39 +0000 (20:40 -0700)]
Fixed include path (again).
Mark Lindner [Wed, 23 Dec 2015 03:36:23 +0000 (20:36 -0700)]
Documentation update.
Thomas Fischer [Wed, 14 Oct 2015 18:46:35 +0000 (20:46 +0200)]
Locating libconfig from CMake-based projects
Configuration files for CMake are provided to simplify
locating libconfig from within project that use CMake
as their build system.
Separate configuration files are provided for C and C++
builds.
In a CMakeLists.txt file, use the following commands to
locate libconfig:
- To locate the library, use either
find_package(libconfig)
or
find_package(libconfig++)
- The include directories are available as variables
LIBCONFIG_INCLUDE_DIRS
and
LIBCONFIG++_INCLUDE_DIRS
respectively, and can be used like this:
include_directories(${LIBCONFIG++_INCLUDE_DIRS})
- Link to libconfig using variables
LIBCONFIG_LIBRARIES
and
LIBCONFIG++_LIBRARIES
respectively, by writing:
target_link_libraries(${PROJECT_NAME}
${LIBCONFIG++_LIBRARIES}
)
Mark Lindner [Wed, 23 Sep 2015 01:56:41 +0000 (19:56 -0600)]
Fixed include path
Mark Lindner [Sat, 15 Aug 2015 04:05:03 +0000 (22:05 -0600)]
Added autoconf *.in files
Mark Lindner [Sat, 15 Aug 2015 04:01:17 +0000 (22:01 -0600)]
Added missing operator[](std::string&)
Mark Lindner [Sat, 15 Aug 2015 03:58:28 +0000 (21:58 -0600)]
Merge branch 'kinke-vs15'
Martin [Sun, 9 Aug 2015 12:27:12 +0000 (14:27 +0200)]
Add solution and projects for Visual Studio 2015.
Also, add x64 solution platform and DebugStatic/ReleaseStatic solution &
project configurations, generating static libraries.
Reset output and intermediate directories and filenames to VS defaults.
Adjust preprocessor definitions (LIBCONFIG_STATIC / LIBCONFIG_EXPORTS,
_USRDLL) for the static configurations.
Martin [Sun, 9 Aug 2015 12:00:27 +0000 (14:00 +0200)]
Support Visual Studio 2015.
Mark Lindner [Sun, 17 May 2015 05:06:41 +0000 (23:06 -0600)]
Merge branch 'fzago-cray-forupstream'
Re-generate scanner.[ch], add aux-build/test-driver, and update documentation.
Mark Lindner [Sun, 17 May 2015 04:53:49 +0000 (22:53 -0600)]
Merge branch 'forupstream' of https://github.com/fzago-cray/libconfig into fzago-cray-forupstream
Re-generate scanner.[ch], add aux-build/test-driver, and update documentation.
Mark Lindner [Sun, 17 May 2015 04:43:22 +0000 (22:43 -0600)]
updated changelog & readme
Mark Lindner [Sun, 17 May 2015 04:13:59 +0000 (22:13 -0600)]
Added configure to git repo
Mark Lindner [Sun, 17 May 2015 04:12:52 +0000 (22:12 -0600)]
Don't fclose() a null pointer.
Frank Zago [Thu, 19 Mar 2015 19:16:50 +0000 (14:16 -0500)]
Recognize long integers without the need for L extension
A value is recognized as CONFIG_TYPE_INT if it's only numbers, and
CONFIG_TYPE_INT64 if it's numbers followed by L or LL. However from a
user point of view adding L or LL is confusing. Instead, if the
integer is too big to fit in an int, return a CONFIG_TYPE_INT64. This
also avoid silent truncation.
Frank Zago [Thu, 19 Mar 2015 18:40:29 +0000 (13:40 -0500)]
Make an automake testsuite
Add the existing tests and the examples. The testsuite is then run with
"make check".
Frank Zago [Thu, 19 Mar 2015 18:28:59 +0000 (13:28 -0500)]
Silence automake during compilation
Do not display compilation command lines, unless make is called with
V=1.
Mark Lindner [Sat, 20 Sep 2014 06:44:33 +0000 (23:44 -0700)]
added config_set_options(), config_get_options(), setOptions(), getOptions().
Mark Lindner [Sat, 20 Sep 2014 04:54:48 +0000 (21:54 -0700)]
-
Mark Lindner [Sat, 20 Sep 2014 04:53:53 +0000 (21:53 -0700)]
Check if file being opened is a directory.
Mark Lindner [Fri, 30 May 2014 05:02:43 +0000 (22:02 -0700)]
deleted some cruft; added a .gitignore file
Mark Lindner [Wed, 28 May 2014 06:05:47 +0000 (23:05 -0700)]
Merge branch 'master' of https://github.com/hyperrealm/libconfig
Mark Lindner [Wed, 28 May 2014 06:03:11 +0000 (23:03 -0700)]
more code cleanup
hyperrealm [Tue, 27 May 2014 05:13:13 +0000 (22:13 -0700)]
Fixed implementations of iterator operator== and operator!=
(which were infinitely recursive).
Mark Lindner [Mon, 26 May 2014 08:30:49 +0000 (01:30 -0700)]
adjusted copyright dates
Mark Lindner [Mon, 26 May 2014 08:25:25 +0000 (01:25 -0700)]
version updates
Mark Lindner [Mon, 26 May 2014 08:21:58 +0000 (01:21 -0700)]
parser code cleanup; and regenerated with bison 3.0.2
Mark Lindner [Mon, 26 May 2014 08:04:53 +0000 (01:04 -0700)]
Misc. code cleanup
Mark Lindner [Mon, 26 May 2014 08:00:25 +0000 (01:00 -0700)]
migrated over the contrib directory from svn repo
Mark Lindner [Mon, 26 May 2014 07:08:19 +0000 (00:08 -0700)]
Bump version symbols.
Mark Lindner [Mon, 26 May 2014 06:50:51 +0000 (23:50 -0700)]
Merge branch 'yurial-public-exceptions' of https://github.com/yurial/libconfig
Made all exception constructors public.
Mark Lindner [Mon, 26 May 2014 06:49:04 +0000 (23:49 -0700)]
Patch from Alexander Klauer; fix float precision loss
Mark Lindner [Mon, 26 May 2014 06:46:52 +0000 (23:46 -0700)]
scanner code cleanup
Mark Lindner [Mon, 26 May 2014 06:34:59 +0000 (23:34 -0700)]
removed files that shouldn't be versioned
Mark Lindner [Mon, 26 May 2014 06:29:54 +0000 (23:29 -0700)]
- removed throws specifications and other code cleanup
- added Setting.lookup() and config_setting_lookup()
- documentation updates
- version bump
Yuri Dyachenko [Wed, 7 May 2014 11:05:06 +0000 (11:05 +0000)]
make libconfig exceptions public
it's allow to generate libconfig exception in user code
example:
libconfig::Setting& obj = ...;
if ( !obj.isGroup() )
throw libconfig::SettingTypeException( obj, "TypeGroup expected" );
Matt Renaud [Thu, 6 Mar 2014 00:44:05 +0000 (19:44 -0500)]
Updated AUTHORS to contain myself.
Matt Renaud [Wed, 5 Mar 2014 23:38:24 +0000 (18:38 -0500)]
Added iterators to Setting sequences.
To address hyperrealm/libconfig#3, I have added a SettingIterator class
and begin() and end() methods on Setting so that lists and arrays of
Setting can be iterated through using C++ style iterators.
There is an iterator as well as const_iterator defined for the class.
Matt Renaud [Wed, 5 Mar 2014 18:06:38 +0000 (13:06 -0500)]
Unified lookup interface for Config and Setting.
To address hyperrealm/libconfig#4, `Config::operator[](const char*)` and
`Setting::lookup(const std::string& key)` have been added.
Note: `operator[]` had to remain as `const char*` to avoid ambiguities
in some situations.
Matt Renaud [Wed, 5 Mar 2014 16:59:54 +0000 (11:59 -0500)]
Removed cast from Setting to const char*.
To address hyperrealm/libconfig#1, the cast operator from Setting to
const char* has been removed. As a result, lookupValue() taking a const
char* has also been removed as it uses the cast operator.
This change allows code that assigns directly to a std::string or a
const char* to compile without errors. No change to existing code should
be required.
Matt Renaud [Wed, 5 Mar 2014 16:37:34 +0000 (11:37 -0500)]
Added Setting constructor taking a std::string.
To address hyperrealm/libconfig#2, a constructor has been added to the
header and source file.
Mark Lindner [Tue, 4 Mar 2014 02:10:39 +0000 (18:10 -0800)]
updated some automake helper files
Mark Lindner [Tue, 4 Mar 2014 02:07:17 +0000 (18:07 -0800)]
initial commit
Mark Lindner [Tue, 4 Mar 2014 01:50:39 +0000 (17:50 -0800)]
Added readme.
Mark Lindner [Tue, 4 Mar 2014 01:49:04 +0000 (17:49 -0800)]
first commit
mesmerism [Tue, 4 Mar 2014 01:38:37 +0000 (17:38 -0800)]
Initial commit