platform/upstream/libconfig.git
9 years agoadded config_set_options(), config_get_options(), setOptions(), getOptions().
Mark Lindner [Sat, 20 Sep 2014 06:44:33 +0000 (23:44 -0700)]
added config_set_options(), config_get_options(), setOptions(), getOptions().

9 years ago-
Mark Lindner [Sat, 20 Sep 2014 04:54:48 +0000 (21:54 -0700)]
-

9 years agoCheck if file being opened is a directory.
Mark Lindner [Sat, 20 Sep 2014 04:53:53 +0000 (21:53 -0700)]
Check if file being opened is a directory.

10 years agodeleted some cruft; added a .gitignore file
Mark Lindner [Fri, 30 May 2014 05:02:43 +0000 (22:02 -0700)]
deleted some cruft; added a .gitignore file

10 years agoMerge branch 'master' of https://github.com/hyperrealm/libconfig
Mark Lindner [Wed, 28 May 2014 06:05:47 +0000 (23:05 -0700)]
Merge branch 'master' of https://github.com/hyperrealm/libconfig

10 years agomore code cleanup
Mark Lindner [Wed, 28 May 2014 06:03:11 +0000 (23:03 -0700)]
more code cleanup

10 years agoFixed implementations of iterator operator== and operator!=
hyperrealm [Tue, 27 May 2014 05:13:13 +0000 (22:13 -0700)]
Fixed implementations of iterator operator== and operator!=
(which were infinitely recursive).

10 years agoadjusted copyright dates
Mark Lindner [Mon, 26 May 2014 08:30:49 +0000 (01:30 -0700)]
adjusted copyright dates

10 years agoversion updates
Mark Lindner [Mon, 26 May 2014 08:25:25 +0000 (01:25 -0700)]
version updates

10 years agoparser code cleanup; and regenerated with bison 3.0.2
Mark Lindner [Mon, 26 May 2014 08:21:58 +0000 (01:21 -0700)]
parser code cleanup; and regenerated with bison 3.0.2

10 years agoMisc. code cleanup v1.5.0
Mark Lindner [Mon, 26 May 2014 08:04:53 +0000 (01:04 -0700)]
Misc. code cleanup

10 years agomigrated over the contrib directory from svn repo
Mark Lindner [Mon, 26 May 2014 08:00:25 +0000 (01:00 -0700)]
migrated over the contrib directory from svn repo

10 years agoBump version symbols.
Mark Lindner [Mon, 26 May 2014 07:08:19 +0000 (00:08 -0700)]
Bump version symbols.

10 years agoMerge branch 'yurial-public-exceptions' of https://github.com/yurial/libconfig
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.

10 years agoPatch from Alexander Klauer; fix float precision loss
Mark Lindner [Mon, 26 May 2014 06:49:04 +0000 (23:49 -0700)]
Patch from Alexander Klauer; fix float precision loss

10 years agoscanner code cleanup
Mark Lindner [Mon, 26 May 2014 06:46:52 +0000 (23:46 -0700)]
scanner code cleanup

10 years agoremoved files that shouldn't be versioned
Mark Lindner [Mon, 26 May 2014 06:34:59 +0000 (23:34 -0700)]
removed files that shouldn't be versioned

10 years ago- removed throws specifications and other code cleanup
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

10 years agomake libconfig exceptions public
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" );

10 years agoUpdated AUTHORS to contain myself.
Matt Renaud [Thu, 6 Mar 2014 00:44:05 +0000 (19:44 -0500)]
Updated AUTHORS to contain myself.

10 years agoAdded iterators to Setting sequences.
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.

10 years agoUnified lookup interface for Config and Setting.
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.

10 years agoRemoved cast from Setting to const char*.
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.

10 years agoAdded Setting constructor taking a std::string.
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.

10 years agoupdated some automake helper files
Mark Lindner [Tue, 4 Mar 2014 02:10:39 +0000 (18:10 -0800)]
updated some automake helper files

10 years agoinitial commit
Mark Lindner [Tue, 4 Mar 2014 02:07:17 +0000 (18:07 -0800)]
initial commit

10 years agoAdded readme.
Mark Lindner [Tue, 4 Mar 2014 01:50:39 +0000 (17:50 -0800)]
Added readme.

10 years agofirst commit
Mark Lindner [Tue, 4 Mar 2014 01:49:04 +0000 (17:49 -0800)]
first commit

10 years agoInitial commit
mesmerism [Tue, 4 Mar 2014 01:38:37 +0000 (17:38 -0800)]
Initial commit