1. 23 Jun, 2020 1 commit
  2. 22 Jun, 2020 1 commit
    • Thomas Braun's avatar
      json_pointer::array_index: Use unsigned values for the array index when parsing · ecbb2756
      Thomas Braun authored
      The current code uses std::stoi to convert the input string to an int
      array_index. This limits the maximum addressable array size to ~2GB on
      most platforms.
      
      But all callers immediately convert the result of array_index to
      BasicJsonType::size_type.
      
      So let's parse it as unsigned long long, which allows us to have as
      big arrays as available memory. And also makes the call sites nicer to
      read.
      
      One complication arises on platforms where size_type is smaller than
      unsigned long long. We need to bail out on these if the parsed array
      index does not fit into size_type.
      ecbb2756
  3. 21 Jun, 2020 2 commits
  4. 20 Jun, 2020 4 commits
  5. 19 Jun, 2020 1 commit
  6. 18 Jun, 2020 1 commit
  7. 17 Jun, 2020 2 commits
  8. 16 Jun, 2020 2 commits
  9. 14 Jun, 2020 3 commits
  10. 12 Jun, 2020 1 commit
  11. 10 Jun, 2020 1 commit
  12. 09 Jun, 2020 3 commits
  13. 08 Jun, 2020 1 commit
  14. 07 Jun, 2020 9 commits
  15. 06 Jun, 2020 3 commits
  16. 05 Jun, 2020 5 commits