Skip to content
Snippets Groups Projects
  1. Jan 30, 2003
  2. Jan 29, 2003
  3. Jan 12, 2003
    • Niels Möller's avatar
      *** empty log message *** · 7b19e978
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.160
      Rev: src/nettle/tools/.gdbinit:1.1
      7b19e978
    • Niels Möller's avatar
      * tools/input.c, tools/input.h, tools/output.c, tools/output.h, · e563d808
      Niels Möller authored
      tools/parse.c, tools/parse.h, tools/misc.c, tools/misc.h: Moved
      parts ov sexp-conv.c to separate files
      
      Rev: src/nettle/tools/Makefile.am:1.3
      Rev: src/nettle/tools/input.c:1.1
      Rev: src/nettle/tools/input.h:1.1
      Rev: src/nettle/tools/misc.c:1.1
      Rev: src/nettle/tools/misc.h:1.1
      Rev: src/nettle/tools/output.c:1.1
      Rev: src/nettle/tools/output.h:1.1
      Rev: src/nettle/tools/parse.c:1.1
      Rev: src/nettle/tools/parse.h:1.1
      Rev: src/nettle/tools/sexp-conv.c:1.13
      e563d808
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_parse): Take a struct sexp_compound_token * · bd7386a1
      Niels Möller authored
      as argument. Updated all callers. Simplified handling of display types
      and transport encoding.
      
      Rev: src/nettle/tools/sexp-conv.c:1.12
      bd7386a1
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_input): Deleted string attribute. · a9495490
      Niels Möller authored
      Changed all related functions to take a struct nettle_buffer *
      argument instead.
      (struct sexp_compound_token): New struct.
      (sexp_compound_token_init, sexp_compound_token_clear): New
      functions.
      (struct sexp_parser): Added a struct sexp_compound_token
      attribute, as a temporary measure.
      
      Rev: src/nettle/tools/sexp-conv.c:1.11
      a9495490
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_parser): Renamed struct (was · b4476c72
      Niels Möller authored
      struct sexp_parse_state). Added input pointer. Updated users to
      not pass around both parser and input.
      (sexp_check_token): handle token == 0.
      (sexp_parse): Simplified a little by calling sexp_check_token
      unconditionally.
      
      * tools/sexp-conv.c (sexp_convert_string): Deleted function.
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.10
      b4476c72
    • Niels Möller's avatar
      (struct sexp_parser): Renamed struct (was struct · 0dcdec81
      Niels Möller authored
      sexp_parse_state). Added input pointer. Updated users to not pass
      around both parser and input.
      
      Rev: src/nettle/tools/sexp-conv.c:1.9
      0dcdec81
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_convert_string): Deleted function. · aed9c008
      Niels Möller authored
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.8
      aed9c008
    • Niels Möller's avatar
      (enum sexp_token): New constant SEXP_DISPLAY. · 4689295c
      Niels Möller authored
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.7
      4689295c
  4. Jan 08, 2003
  5. Jan 01, 2003
  6. Nov 11, 2002
  7. Nov 10, 2002
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_get_token_string): Fixed end of file · 35632b67
      Niels Möller authored
      handling.
      (sexp_get_string): Fixed end of encoding/end of file handling.
      (parse_options): Check for negative width and complain.
      
      Rev: src/nettle/tools/sexp-conv.c:1.3
      35632b67
    • Niels Möller's avatar
      *** empty log message *** · 8ada538c
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.147
      Rev: src/nettle/tools/.cvsignore:1.2
      8ada538c
    • Niels Möller's avatar
      Use supplied getopt. · e5380bdf
      Niels Möller authored
      (werror): New function.
      (sexp_output_hash_init): New function.
      (sexp_put_char): Made base64 linebreaking configurable.
      Implemented hashing.
      (sexp_put_code_start, sexp_put_code_end): Don't output any
      delimiters here.
      (sexp_put_string): Output base64 delimiters.
      (sexp_put_digest): New function.
      (sexp_convert_item): Output transport delimiters.
      (sexp_convert_file): Deleted function, folded with main.
      (parse_options): New function.
      (main): Implemented --hash and --once, needed by lsh-authorize.
      
      Rev: src/nettle/tools/sexp-conv.c:1.2
      e5380bdf
  8. Nov 07, 2002
    • Niels Möller's avatar
      *** empty log message *** · 6ad27d1c
      Niels Möller authored
      Rev: src/nettle/tools/.cvsignore:1.1
      6ad27d1c
    • Niels Möller's avatar
      * examples/Makefile.am (AM_CFLAGS): We need -I$(top_srcdir). · 16d5ddeb
      Niels Möller authored
      * tools/Makefile.am (AM_CFLAGS): Likewise.
      * testsuite/Makefile.am (AM_CFLAGS): Likewise.
      
      Rev: src/nettle/examples/Makefile.am:1.13
      Rev: src/nettle/testsuite/Makefile.am:1.31
      Rev: src/nettle/tools/Makefile.am:1.2
      16d5ddeb
    • Niels Möller's avatar
      New files. · 3e1ddaff
      Niels Möller authored
      Rev: src/nettle/tools/Makefile.am:1.1
      Rev: src/nettle/tools/getopt.c:1.1
      Rev: src/nettle/tools/getopt.h:1.1
      Rev: src/nettle/tools/getopt1.c:1.1
      Rev: src/nettle/tools/sexp-conv.c:1.1
      3e1ddaff
Loading