• update conan and azure-pipelines to fix gcc 4.8 issue
    
    make the CLI11 target sources only for newer CMake
    
    Change the cmake to use subdirectory and move the library generation and warnings to separate files.
    Philip Top authored
     
    Browse File »






  • * Update options.md book chapter and the readme to better reflect current usage and the modifications to the add_options templates.
    
    add support in add_option for wrapper types, such as std::optional, boost::optional or other types with a value_type trait.  Add support for generalized containers beyond vector,  add support for nested tuples and vectors, and complex numbers directly in add_option.  This includes several new type traits and object categories.
    
    Upgrade the google test version to better support templated tests.
    
    add support for vector argument separator `%%`
    
    * update formatting to match recent changes
    
    * Apply suggestions from code review
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    Philip Top authored
     
    Browse File »


  • Refactor some of the configuration file handling code.  Make it easier to get the actual file that was processed, and allow extras in the config file to be ignored (default now), captured or errored.
    
    fix std::error reference and formatting
    
    add test for required but no default and fix a shadow warning on 'required' from gcc 4.8
    
    Test correctness of config write-read loop
    
    fix config generation for flag definitions
    
    make the config output conform with toml
    
    continue work on the config file interpretation and construction
    
    get all the ini tests working again with the cleaned up features.
    
    update formatting
    
    rename IniTest to ConfigFileTest to better reflect actual tests and add a few more test of the configTOML
    disambiguate enable/disable by default to an enumeration, and to make room for a configurable option to allow subcommands to be triggered by a config file.
    add a ConfigBase class to generally reflect a broader class of configuration files formats of similar nature to INI files
    
    add configurable to app and allow it to trigger subcommands
    
    add test of ini formatting
    
    add section support to the config files so sections can be opened and closed and the callbacks triggered as appropriate.
    
    add handling of option groups to the config file output
    
    add subcommand and option group configuration to config file output
    
    subsubcom test on config files
    
    fix a few sign comparison warnings and formatting
    
    start working on the book edits for configuration and a few more tests
    
    more test to check for subcommand close in config files
    
    more tests for coverage
    
    generalize section opening and closing
    
    add more tests and some fixes for different configurations
    
    yet more tests of different situations related to configuration files
    
    test more paths for configuration file sections
    
    remove some unused code and fix some codacy warnings
    
    update readme with updates from configuration files
    
    more book edits and README formatting
    
    remove extra space
    
    Apply suggestions from code review
    
    Co-Authored-By: Henry Schreiner <HenrySchreinerIII@gmail.com>
    
    fix some comments and documentation
    
    fix spacing
    
    Rename size_t -> std::size_t
    
    Fix compiler warnings with -Wsign-conversion
    
    Fix new warnings with -Wsign-conversion in PR
    Philip Top authored
     
    Browse File »


  • * Fixing some warnings
    
    * Make gtest a system library
    
    * Fixing format
    
    * Adding better method for adding warnings
    
    * Nicer Windows deprecated test
    
    * JSON update and drop testing timer
    
    * Warnings as errors everywhere
    Henry Schreiner authored
     
    Browse File »


  • * add transform and checkedTransform tests
    
    add Transformer and CheckedTransformer validators
    
    * Eliminate the Validator description string, some code cleanup
    
    add tests
    
    Make Validators a full Object and remove friend,  move to descriptions instead of overriding type name.
    
    update validators to actually merge the type strings and use all validators in the type outputs
    
    rework join so it works without the start variable,  allow some forwarding references in the validator types, some tests for non-copyable maps, and transforms
    
    merge the search function and enable use of member search function,  make the pair adapters forwarding instead of copying
    
    * add a few more tests and documentation
    
    fix some gcc 4.7 issues and add a few more test cases and more parts of the README
    
    Work on ReadMe and add Bound validator to clamp values
    
    * updates to README.md
    
    * Add some more in TOC of README and fix style in Option.hpp
    Philip Top authored
     
    Browse File »

  • * change the move function to _move_option and add an additional test
    
    add a validation check on min options to make sure it is even possible to succeed.
    
    add some additional tests to cover code paths and potential errors.
    
    add a number of additional tests and checks and fix some issues with the add function in option_groups
    
    clean up example and help formatting
    
    add option_groups example to play with
    
    move create_option_group to a member function using a dummy template
    
    add some optionGroup tests
    
    add min and max options calls and an associated Error call
    
    * add ranges example,  add excludes to app for options and subcommands.
    
    * add some tests on ranges, and some subcommand tests with exclusion
    
    * add tests in optionGroups for some invalid inputs
    
    * add required option to subcommands and option_groups
    
    * add disabled flag
    
    * add disable option to subcommands and some more tests
    
    * start work on ReadMe modifications
    
    * update the readme with descriptions of function and methods added for option_groups
    
    * clear up gcc 4.7 warnings
    
    * some update to the Readme and a few more warnings fixed
    
    * Minor readme touchup
    Philip Top authored
     
    Browse File »

  • * Fixing typos in FindBoost
    
    * Minimum required Boost is actually 1.61
    Henry Schreiner authored
     
    Browse File »
  • * Adding first draft of Sets
    
    Use IsMember now
    
    Using IsMember as backend for Set
    
    Non-const validator backend
    
    Move set tests to set
    
    Clearer inits
    
    * Drop shortcut
    
    Tighten up classes a bit for MSVC
    
    Check with GCC 4.8 too
    
    * Simpler templates, but more of them
    
    Dropping more type safety for older compilers
    
    Shortcut string set
    
    * Adding shortcut init
    
    Making g++ 4.7 docker image happy
    
    Fix Clang tidy issue with last commit
    
    Adding one more shortcut, adding a couple of tests
    
    * Dropping dual pointer versions of code
    
    * Smarter shortcut syntax
    
    * Adding slighly faster choices
    
    * Cleanup to make InMember simpler
    
    * Drop choices for now, adding some tests
    
    * ValidationError is now always the error from a validator
    
    * Support for other types of initializer lists, including enums
    
    * Factor out type utilities, single version of IsMember code
    
    * Adding a few tests for #224
    
    * Minor cleanup for Validation Error
    
    * Adding tests, moved deprecated tests
    
    * Docs updates
    Henry Schreiner authored
     
    Browse File »






  • Henry Fredrick Schreiner authored
     
    Browse File »
  • in progress: formatters
    
    Getting closer
    
    Working on apps
    
    One test actually runs
    
    All builds, added filter functions
    
    Reverting a few behavours as needed
    
    Repairs
    
    All tests pass
    
    Fixing error with adding help flag
    
    Labels are simpler mappings, normalized setters
    
    Adding help_all
    
    Adding a few more tests
    
    One more line tested
    
    Adding one more check
    
    Adding to readme
    
    Simplify naming
    
    Adding default constructors
    
    Fixing spacing issues with subcommand all printout
    
    Adding a couple of tests
    Henry Fredrick Schreiner authored
     
    Browse File »