1. 01 Jun, 2014 1 commit
  2. 28 May, 2014 2 commits
  3. 27 May, 2014 1 commit
  4. 26 May, 2014 11 commits
  5. 07 May, 2014 1 commit
    • Yuri Dyachenko's avatar
      make libconfig exceptions public · ee75cfc0
      Yuri Dyachenko authored
      it's allow to generate libconfig exception in user code
      example:
      libconfig::Setting& obj = ...;
      if ( !obj.isGroup() )
          throw libconfig::SettingTypeException( obj, "TypeGroup expected" );
      ee75cfc0
  6. 06 Mar, 2014 1 commit
  7. 05 Mar, 2014 4 commits
    • Matt Renaud's avatar
      Added iterators to Setting sequences. · 6e0f1cd3
      Matt Renaud authored
      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.
      6e0f1cd3
    • Matt Renaud's avatar
      Unified lookup interface for Config and Setting. · 1ff9b7f9
      Matt Renaud authored
      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.
      1ff9b7f9
    • Matt Renaud's avatar
      Removed cast from Setting to const char*. · 6af19564
      Matt Renaud authored
      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.
      6af19564
    • Matt Renaud's avatar
      Added Setting constructor taking a std::string. · 91c09159
      Matt Renaud authored
      To address hyperrealm/libconfig#2, a constructor has been added to the
      header and source file.
      91c09159
  8. 04 Mar, 2014 5 commits