Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • JSON.cc
18 Feb, 2023
1 commit
  • Merge pull request #890 from m-holger/jpsp ...
    e4e03e9a
    Eliminate the use of shared pointers in JSONParser
    Jay Berkenbilt authored
    2023-02-18 17:43:02 -0500  
    Browse File »

11 Feb, 2023
1 commit
  • Refactor JSON type checks
    d80b63c3
    m-holger authored
    2023-02-11 15:44:03 -0500  
    Browse File »

05 Feb, 2023
2 commits
  • Eliminate the use of shared pointers in JSONParser
    b6f04854
    m-holger authored
    2023-02-05 12:46:38 +0000  
    Browse File »
  • Add new methods JSONParser::append and ignore ...
    f6c90195
    Reduce boilerplate and increase efficiency by avoiding setting and
    branching on action and ready in getToken.
    m-holger authored
    2023-02-05 12:44:38 +0000  
    Browse File »

04 Feb, 2023
23 commits
  • Refactor JSON::encode_string
    415e6795
    m-holger authored
    2023-02-04 15:06:43 -0500  
    Browse File »
  • In JSONParser::getToken handle structural and space chars early
    d3152869
    m-holger authored
    2023-02-04 15:00:21 +0000  
    Browse File »
  • In JSONParser::getToken handle legal control chars early ...
    ee32235f
    Also, reject them in strings.
    m-holger authored
    2023-02-04 15:00:21 +0000  
    Browse File »
  • Extend scope of JSONParser::numberError and rename tokenError ...
    f5b7448a
    Handle all incomplete token type errors in tokenError.
    m-holger authored
    2023-02-04 14:55:49 +0000  
    Browse File »
  • In JSONParser::getToken reject illegal control characters
    5ac6a12e
    m-holger authored
    2023-02-04 14:55:49 +0000  
    Browse File »
  • Remove redundant template toO in JSON
    1b89e768
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • Integrate JSONParser::decode_string into getToken
    98d9ae51
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser::getToken decode escaped chars inside state ls_backslash ...
    320245e0
    (except '\\' and '\uXXXX')
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser::getToken avoid copying '"' characters in strings
    cee746fc
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • Make JSONParser::getToken responsible for decoding strings
    a9a06679
    m-holger authored
    2023-02-04 14:06:26 +0000  
    Browse File »
  • In JSONParser combine stacks
    126dd31c
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken remove next_state
    6748bd33
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken refactor container creation
    29093a16
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken avoid creating JSON objects for dictionary keys
    a39043f6
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken move remaining validations into second switch statement
    f2e46c20
    m-holger authored
    2023-02-04 13:53:23 +0000  
    Browse File »
  • In JSONParser::handleToken simplify setting of start and end
    0de032bc
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move processing for ls_end_array and ls_end_dict into switch statement
    77ceebd6
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move processing for ls_colon and ls_comma into switch statement
    a7338ab1
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move validation for ls_colon etc into switch statement
    4dba3c95
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • In JSONParser::handleToken move string decoding into switch statement
    6f94a3a8
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • Avoid copying delimiters in JSONParser::getToken
    fcc123a6
    m-holger authored
    2023-02-04 13:53:22 +0000  
    Browse File »
  • Add data member JSONParser::token_start
    bb89a603
    m-holger authored
    2023-02-04 13:52:55 +0000  
    Browse File »
  • In JSONParser add lexer states for delimiters
    39dfd305
    m-holger authored
    2023-02-04 13:44:39 +0000  
    Browse File »

01 Feb, 2023
11 commits
  • Remove redundant JSONParser::before_point etc
    1e0ab79a
    m-holger authored
    2023-02-01 14:19:08 +0000  
    Browse File »
  • Refactor end of input handling in JSONParser
    83f972ce
    m-holger authored
    2023-02-01 14:18:57 +0000  
    Browse File »
  • Refactor handling of ls_number in JSONParser::getToken ...
    8fd6e1c5
    Reflect that the ls_number case only handles the digits after an 'e'.
    
    Also, change state to ls_number for all 'ready' numbers.
    m-holger authored
    2023-02-01 14:18:39 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_e_sign
    6ea543e6
    m-holger authored
    2023-02-01 14:12:32 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_e ...
    04333bbc
    Also, allow 'E' as alternative to 'e'.
    m-holger authored
    2023-02-01 14:09:39 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_after_point
    972ebca5
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_point ...
    cdd1f0a9
    Also. remove '.' as  starting char in lsTop.
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_before_point
    bfda62ae
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_leading_zero
    08e76890
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »
  • In JSONParser add lex_state ls_number_minus
    cba1c352
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »
  • Add new method JSONParser::numberError
    b6b4d3b2
    m-holger authored
    2023-02-01 14:01:57 +0000  
    Browse File »

28 Jan, 2023
2 commits
  • Refactor JSON::addDictionaryMember
    1787d850
    m-holger authored
    2023-01-28 14:49:37 -0500  
    Browse File »
  • Refactor JSON::JSON_string::write
    dce43d4f
    m-holger authored
    2023-01-28 14:49:32 -0500  
    Browse File »