Skip to content
Snippets Groups Projects
  1. Oct 25, 2002
    • Niels Möller's avatar
      (struct sexp_output): Added coding attribute. · 1c8a7192
      Niels Möller authored
      (sexp_put_char): Use output->coding.
      (sexp_put_base64_start): Likewise.
      (sexp_put_base64_end): Likewise.
      
      Rev: src/nettle/examples/sexp-conv.c:1.7
      1c8a7192
    • Niels Möller's avatar
      (struct sexp_input): Deleted the mode from · 3a69f832
      Niels Möller authored
      the state, that should be passed as argument to relevant
      functions. Instead, introduces enum sexp_coding, to say if base64
      coding is in effect.
      
      Rev: src/nettle/examples/sexp-conv.c:1.6
      3a69f832
    • Niels Möller's avatar
      (sexp_put_newline): Return void, die on · 6ef2256c
      Niels Möller authored
      error.
      (sexp_put_char, sexp_put_data, sexp_puts, sexp_put_length,
      sexp_put_base64_start, sexp_put_base64_end, sexp_put_string,
      sexp_put_list_start, sexp_put_list_end, sexp_put_display_start,
      sexp_put_display_end, sexp_convert_string, sexp_convert_list,
      sexp_skip_token): Likewise.
      (sexp_convert_item): Die on error.
      
      Rev: src/nettle/examples/sexp-conv.c:1.5
      6ef2256c
  2. Oct 24, 2002
    • Niels Möller's avatar
      Doesn't need echo -n anymore. · e264bd2b
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.3
      e264bd2b
    • Niels Möller's avatar
      (die): New function. · 4da2bc6a
      Niels Möller authored
      (struct sexp_input): Deleted field ITEM.
      (sexp_get_char): Die on failure, never return -1.
      (sexp_get_quoted_char): Likewise.
      (sexp_get_quoted_string): Die on failure, no returned value.
      (sexp_get_base64_string): Likewise.
      (sexp_get_token_string): Likewise.
      (sexp_get_string): Likewise.
      (sexp_get_string_length): Likewise.
      (sexp_get_token): Likewise.
      (sexp_convert_string): Adapted to sexp_get_token.
      (sexp_convert_list): Likewise.
      (sexp_convert_file): New function.
      (main): Use sexp_convert_file.
      
      Rev: src/nettle/examples/sexp-conv.c:1.4
      4da2bc6a
  3. Oct 23, 2002
    • Niels Möller's avatar
      (TS_PROGS): Added sexp-conv-test. · 98a1d30f
      Niels Möller authored
      Rev: src/nettle/examples/Makefile.am:1.9
      98a1d30f
    • Niels Möller's avatar
      Ignore files matching test*. · fd5dfb2a
      Niels Möller authored
      Rev: src/nettle/examples/.cvsignore:1.5
      fd5dfb2a
    • Niels Möller's avatar
      Better tests. · 3b65d057
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.2
      3b65d057
    • Niels Möller's avatar
      (sexp_input_init): Initialize input->string · 30dca9e6
      Niels Möller authored
      properly.
      (sexp_get_char): Fixed non-transport case.
      (sexp_get_quoted_char): Fixed default case.
      (sexp_get_token): Loop over sexp_get_char (needed for handling of
      white space). Don't modify input->level. Fixed the code that skips
      comments.
      (sexp_put_char): Fixed off-by-one bug in assertion.
      (sexp_put_string): Fixed escape handling for output of quoted
      strings.
      (sexp_convert_list): Prettier output, hanging indent after the
      first list element.
      (sexp_skip_token): New function.
      (sexp_convert_item): Use sexp_skip_token to skip the end of a
      "[display-type]".
      
      Rev: src/nettle/examples/sexp-conv.c:1.3
      30dca9e6
  4. Oct 22, 2002
  5. Oct 21, 2002
  6. Oct 06, 2002
  7. Oct 04, 2002
  8. Oct 02, 2002
  9. Oct 01, 2002
  10. Sep 30, 2002
  11. Sep 29, 2002
Loading