1. 28 Aug, 2003 19 commits
    • Per Cederqvist's avatar
      (fparse_read_range_0): Handle the errors introduced by bug 1121. Log · f58f660a
      Per Cederqvist authored
      	an error message if any damage was repaired.
      f58f660a
    • Per Cederqvist's avatar
      (lyskomd_start): New argument: db_messages. · f1673426
      Per Cederqvist authored
      (dbck_run): New argument: extra_lines.
      f1673426
    • Per Cederqvist's avatar
      Test for bug 1121: mark-as-read mishandles read texts in some · 80a5e6db
      Per Cederqvist authored
      circumstances.  Also test that lyskomd can repair the problems
      introduced by this bug.
      80a5e6db
    • Per Cederqvist's avatar
      New file. · c6911d36
      Per Cederqvist authored
      c6911d36
    • Per Cederqvist's avatar
      Reduce the noise in the log. · f6e2f31f
      Per Cederqvist authored
      f6e2f31f
    • Per Cederqvist's avatar
      23014ed6
    • Per Cederqvist's avatar
      Generate two now forms of extracted grammars. Publish them on the · f3980e74
      Per Cederqvist authored
      web.  Mention them in Protocol-A.texi.
      f3980e74
    • Per Cederqvist's avatar
      Updated. · c177c6c1
      Per Cederqvist authored
      c177c6c1
    • Per Cederqvist's avatar
      Generate protocol-a-recommended.txt and protocol-a-current.txt. · 11438b8c
      Per Cederqvist authored
      (prot_a_type.__init__): Initialize __recommended to 0.
      (prot_a_type.use): New argument: recommended.  All callers
      	updated.  Set the __recommended flag once a recommended
      	request or async uses this type.
      (prot_a_builtin.use_recurse): Ditto.
      (prot_a_type.recommended): New method.
      (lexer.__parse_type): Replaced the protover arguemnt with a
      	request object.  All callers updated.
      (lexer.__parse_request_arg): Ditto.
      (generate_stable_output): New argument: filename,
      	only_recommended.
      (generate_summary_output): New function.
      11438b8c
    • Per Cederqvist's avatar
    • Per Cederqvist's avatar
      (update-www): Depend on protocol-a-full.txt, so that checkargs.py is · d571771f
      Per Cederqvist authored
      	run first.  Copy the generated grammars to the web dir.
      (protocol-a-full.txt): New target.
      d571771f
    • Per Cederqvist's avatar
      Ignore protocol-a-*.txt. · 4eb10734
      Per Cederqvist authored
      4eb10734
    • Kent Engström's avatar
    • Kent Engström's avatar
      Add support for the "html" alternative of mx-refuse-import: Update · 78e9e1d6
      Kent Engström authored
      validation regexp. Also set the unique flag to false.
      78e9e1d6
    • Per Cederqvist's avatar
      Don't crash if a person has read more than 65535 texts after the first · 05d5d173
      Per Cederqvist authored
      unread.  Complete the renaming of aux.h.  Fix several minor errors in
      Protocol-A.texi.  Generate a stable machine-readable file with the
      syntax of Protocol A.
      05d5d173
    • Per Cederqvist's avatar
      (fparse_read_range_0): Use int, not short, in case a person has read · 6cc31e43
      Per Cederqvist authored
      	many texts after the first unread text.
      6cc31e43
    • Per Cederqvist's avatar
    • Per Cederqvist's avatar
      (Protocol Requests): The status codes for who-is-on-ident and · fded4489
      Per Cederqvist authored
      	get-session-info-ident were "r" but should have been "O".
      (login-old): Added info about when this request became obsolete in
      	the section.
      (get-person-stat-old): Ditto.
      (lookup-name): Ditto.
      (get-conf-stat-older): Ditto.
      (mark-text-old): Ditto.
      (who-is-on-old): Ditto.
      (broadcast): Ditto.
      (get-session-info): Ditto.
      (re-lookup-person): Ditto.
      (re-lookup-conf): Ditto.
      (lookup-person): Ditto.
      (lookup-conf): Ditto.
      (query-read-texts-10): Ditto.
      (get-membership-10): Ditto.
      (set-connection-time-format): Fixed typo in the @section heading.
      (Asynchronous Messages): The status codes for async-new-text-old
      	was "r" but should have been "O".
      (async-new-text-old): Added async number to the @section heading.
      (async-i-am-off): Ditto.
      (async-i-am-on-obsolete): Ditto.
      (async-new-name): Ditto.
      (async-i-am-on): Ditto.
      (async-sync-db): Ditto.
      (async-leave-conf): Ditto.
      (async-login): Ditto.
      (async-broadcast): Ditto.
      (async-rejected-connection): Ditto.
      (async-send-message): Ditto.
      (async-logout): Ditto.
      (async-deleted-text): Ditto.
      (async-new-text): Ditto.
      (async-new-recipient): Ditto.
      (async-sub-recipient): Ditto.
      (async-new-membership): Ditto.
      (async-new-user-area): Ditto.
      (async-new-presentation): Ditto.
      (async-new-motd): Ditto.
      (async-text-aux-changed): Ditto.
      fded4489
    • Per Cederqvist's avatar
      (defined_request_names): New variable. · cd36209c
      Per Cederqvist authored
      (defined_request_names): New variable.
      (defined_async_names): New variable.
      (set_values): New variable.
      (tt): New variable.
      (tr): New variable.
      (rt): New variable.
      (rr): New variable.
      (at): New variable.
      (ar): New variable.
      (has_suffix): New function.
      (remove_suffix): New function.
      (prot_a_type.__init__): Initialize __protover.
      (prot_a_type.line_no): Renamed from line().
      (prot_a_type.use): New argument: protover.  All callers
      	and derived methods updated.
      (prot_a_type.protover): New method.
      (prot_a_builtin.use_recurse): Ditto.
      (prot_a_simple.base_type): New method.
      (prot_a_simple.array): New method.
      (prot_a_alternate.type_a): New method.
      (prot_a_alternate.type_b): New method.
      (prot_a_struct.fields): New method.
      (prot_a_bitstring.add_field): Store the bits in the order they are
      	defined.
      (prot_a_bitstring.bits): New method.
      (prot_a_selection.fields): New method.
      (prot_a_enumeration_of.base_type): New method.
      (prot_a_msg): New class.
      (prot_a_request): New class.
      (prot_a_async): New class.
      (menu): New class.
      (reader.menu_re): New constant.
      (reader.getc_eofok): If a menu line for a request or async message
      	is found, store the information.
      (reader.menu): New method.
      (lexer.section_re): New method.
      (lexer.__init__): __implemented_conftypes and
      	__implemented_privbits both maps to None, not a random number.
      (lexer.run): If __toplevel_at() returns a non-None value, return it.
      (lexer.__toplevel_at): Return the result of the called "toplevel_"
      	method instead of always returning None.
      (lexer.toplevel_set): New method.
      (lexer.toplevel_section): New method.
      (lexer.toplevel_findex): Store information about the request in a
      	prot_a_request instance.  Check the corresponding @section
      	heading and @menu item.
      (lexer.toplevel_amindex): Ditto for asyncs.
      (lexer.__parse_async): New API.
      (lexer.toplevel_bye): Generate stable names.  Return the error
      	flag instead of calling sys.exit().
      (lexer.__parse_request): New API.
      (lexer.__parse_type): New argument: protover.
      (lexer.__parse_request_arg): Ditto.  Return the parsed info.
      (lexer.__bad_arg): Fixed minor typo.
      (lexer.generate_stable_names): New method.
      (generate_stable_output): New function.
      cd36209c
  2. 25 Aug, 2003 21 commits