1. 22 Feb, 2017 1 commit
  2. 26 Jan, 2017 1 commit
    • Thomas Markwalder's avatar
      [5110] D2 now uses JSON parsing and SimpleParsers to handle D2 global scalars · 94938484
      Thomas Markwalder authored
      new files:
          src/bin/d2/tests/
              d2_simple_parser_unittest.cc
              parser_unittest.cc
              parser_unittest.h
      
      src/bin/d2/d2_cfg_mgr.h
      src/bin/d2/d2_cfg_mgr.cc
          D2CfgMgr::parseElement() - overrides base class implementation,
          flag global parameters as parsed without pushing them to D2CfgContext
          value stores
      
          D2CfgMgr::setCfgDefaults() - overrides base class implementation,
          sets defaults for D2
      
          D2CfgMgr::buildParams() - revamped to pull parameters from the given
          element map instead of context value stores.  Removed checks that
          are now done by JSON parser.
      
      src/bin/d2/d2_controller.cc
          D2Controller::parseFile() - instead of generic JSON parsing, parse
          file with PARSER_DHCPDDNS context
      
      src/bin/d2/d2_lexer.ll
      src/bin/d2/d2_parser.yy
          Changed namespace from dhcp to d2
          Added PARSER_SUB_DHCPDDNS and D2 global parameter parsing
          Added objects for forward-ddns, reverse-ddns, tsig-keys
      
      src/bin/d2/parser_context.cc
      src/bin/d2/parser_context.h
          Added PARSER_DHCPDDNS, PARSER_SUB_DHCPDDNS
      
      src/bin/d2/tests/Makefile.am
          Added new test source files
      
      src/bin/d2/tests/d2_cfg_mgr_unittests.cc
      src/bin/d2/tests/testdata/d2_cfg_tests.json
          TEST_F(D2CfgMgrTest, configPermutations) - revamped to test JSON parsing
          as well as element parsing
      
      src/bin/d2/tests/parser_unittest.h
      src/bin/d2/tests/parser_unittest.cc
          New file that tests basic JSON parsing
      
      src/lib/cc/data.h
          Added parens around TypeError position error text
      
      src/lib/cc/simple_parser.cc
          SimpleParser::setDefaults() - added logic to detect bad lexical casts
          when handling integers
      94938484
  3. 24 Jan, 2017 1 commit
  4. 02 Jan, 2017 1 commit
  5. 22 Dec, 2016 3 commits
  6. 14 Dec, 2016 1 commit
  7. 29 Nov, 2016 1 commit
  8. 16 Dec, 2015 2 commits
  9. 17 Jun, 2015 1 commit
  10. 13 Jun, 2015 1 commit
  11. 21 May, 2015 1 commit
  12. 14 May, 2015 1 commit
    • Tomek Mrugalski's avatar
      [3793] Changes after review: · b0a36bcc
      Tomek Mrugalski authored
       - {ptime,duration}ToText moved to lib/util
       - missing comments added
       - EXPECT_EQ -> ASSERT_EQ
       - several consts added
       - protected methods are now private in Observation
       - tabs converted to spaces
      b0a36bcc
  13. 08 May, 2015 1 commit
  14. 19 May, 2014 1 commit
  15. 08 May, 2014 2 commits
  16. 23 Apr, 2014 1 commit
  17. 22 Apr, 2014 1 commit
  18. 18 Apr, 2014 4 commits
  19. 17 Apr, 2014 1 commit
  20. 10 Oct, 2013 1 commit
  21. 07 Aug, 2013 1 commit
  22. 08 Jul, 2013 1 commit
  23. 03 Jul, 2013 1 commit
  24. 15 Mar, 2013 1 commit
  25. 06 Mar, 2013 1 commit
  26. 07 Jan, 2013 2 commits
  27. 25 Oct, 2012 1 commit
  28. 09 Oct, 2012 2 commits
  29. 27 Jun, 2011 1 commit
  30. 07 Feb, 2011 1 commit
  31. 21 Jan, 2011 1 commit