• fix incorrect parenthesis
    
    update some clang-tidy fixes mainly else after return but a few conversions from into to bool
    
    add extra newline before footer
    
    add an extra field to the extra Error
    
    add a footer callback for help operations
    Philip Top authored
     
    Browse File »

  • * change the checked_multiply function to not use undefined behavior to check for potential undefined behavior and wrapping.
    
    * update the checked_multiply template to deal with mismatched sign in signed numbers and min val correctly.  This involved adding to templates to clear up warnings
    Philip Top authored
     
    Browse File »
  • * add some tests with default capture on the two parameter template and some notes about it in the README.md
    
    remove the test from visual studio 2015
    vs2015 doesn't seem to properly deal with is_assignable in the cases we care about so make a standalone version that is more direct in what we are doing
    
    add version to appveyor and add some notes to the readme
    
    fix a few test cases to make sure code is covered and test a few other paths
    
    remove unneeded enum streaming operator
    
    add some diagnostic escapes around trait code to eliminate gcc Wnarrowing warnings
    
    work specification of the template operations
    
    remove optional add some templates for options conversions
    
    add the two parameter template for add_option
    
    * Fix some comments from Code review and add more description
    
    * fix case when string_view doesn't work to append to a string.
    
    * This PR also addressed #300
    
    * modify lexical_cast to take  const std::string &, instead of by value to allow string_view in a few cases
    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 »
  • * [WIP] Initial implementation
    
    * Add mapping validation
    
    * More documentation
    
    * Add support for floats in checked_multiply and add tests
    
    * Place SuffixedNumber declaration correctly
    
    * Add tests
    
    * Refactor SuffixedNumber
    
    * Add as size value
    
    * Update README
    
    * SFINAE for checked_multiply()
    
    * Mark ctors as explicit
    
    * Small fixes
    
    * Clang format
    
    * Clang format
    
    * Adding GCC 4.7 support
    
    * Rename SuffixedNumber to AsNumberWithUnit
    Viacheslav Kroilov authored
     
    Browse File »

  • * some tweaks with optional
    
    * remove set_results function that was bypassing some of the result processing in some cases of config files.
    
    * add positional Validator example and tests add CLI::Number validator.
    
    * add positional Validator example and tests add CLI::Number validator.
    
    * do some reformatting for style checks and remove auto in test lambda.
    Philip Top 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 »


  • * 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 »