1. 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
  2. 20 Jun, 2020 2 commits
  3. 19 Jun, 2020 1 commit
  4. 18 Jun, 2020 1 commit
  5. 17 Jun, 2020 1 commit
  6. 14 Jun, 2020 3 commits
  7. 12 Jun, 2020 1 commit
  8. 10 Jun, 2020 1 commit
  9. 09 Jun, 2020 3 commits
  10. 08 Jun, 2020 1 commit
  11. 07 Jun, 2020 9 commits
  12. 06 Jun, 2020 1 commit
  13. 05 Jun, 2020 5 commits
  14. 04 Jun, 2020 2 commits
  15. 03 Jun, 2020 8 commits