1. 28 Sep, 2006 1 commit
    • Per Cederqvist's avatar
      Renamed the error code illegal-aux-item to illegal-aux-item-tag. · 147c0add
      Per Cederqvist authored
      Added error code 62=aux-exists, 63=aux-bad-object,
      64=illegal-aux-data, 65=aux-create-only, 66=aux-modify-only,
      67=aux-server-only, 68=aux-data-exists and 69=aux-no-such-text.
      Return proper error codes.  (Bug 192).
      * doc/Protocol-A.texi (Predefined Aux-Item Types): Renamed the
      error code illegal-aux-item to illegal-aux-item-tag.
      (create-text): Updated the error code section to mention the
      aux-related error codes illegal-aux-item-tag, aux-item-permission,
      aux-exists, aux-bad-object, illegal-aux-data, aux-modify-only,
      aux-server-only, aux-data-exists and aux-no-such-text instead of
      only illegal-aux-item and aux-item-permission.  Refer to the
      "Error Codes" node instead of duplicating the reasons here.
      (create-anonymous-text): Ditto.
      (create-conf): Ditto.
      (create-person): Ditto.
      (modify-text-info): Ditto, but with aux-create-only instead of
      aux-modify-only.
      (modify-conf-info): Ditto.
      (modify-system-info): Ditto.
      (Error Codes): Renamed error code 48 from illegal-aux-item to
      illegal-aux-item-tag, and redefine it to not include errors in the
      data.  Added error code 62=aux-exists, 63=aux-bad-object,
      64=illegal-aux-data, 65=aux-create-only, 66=aux-modify-only,
      67=aux-server-only, 68=aux-data-exists and 69=aux-no-such-text.
      * doc/Makefile.am (check-doc): Replaced the error code
      illegal-aux-item with illegal-aux-item-tag and
      illegal-aux-item-data.
      * src/include/kom-errno.h (enum kom_err): Renamed KOM_ILL_AUX to
      KOM_ILL_AUX_TAG.  Added KOM_AUX_EXISTS, KOM_AUX_BAD_OBJECT,
      KOM_ILL_AUX_DATA, KOM_AUX_CREATE_ONLY, KOM_AUX_MODIFY_ONLY,
      KOM_AUX_SERVER_ONLY, KOM_AUX_DATA_EXISTS and KOM_AUX_NO_SUCH_TEXT.
      * src/server/aux-items.c (aux_item_validate): Doc added.  Added
      missing punctuation in comments.  Set kom_errno to
      KOM_ILL_AUX_DATA instead of KOM_ILL_AUX when a regexp cannot be
      compiled or doesn't match an entry, or when a validator fails.
      (aux_item_add_perm): Document that kom_errno is set on failure.
      Do not modify kom_errno on success.  Track name change of
      KOM_ILL_AUX_TAG.  Set KOM_AUX_MODIFY_ONLY, KOM_AUX_CREATE_ONLY,
      KOM_AUX_SERVER_ONLY when appropriate (used to be KOM_AUX_PERM).
      Don't override the error code set by aux_item_check_unique() or
      aux_item_validate() when any of those check fails.
      (aux_item_check_unique): Set kom_errno to KOM_AUX_EXISTS or
      KOM_AUX_DATA_EXISTS on failure (used to sometimes be
      KOM_ILL_AUX).
      (text_stat_check_add_aux_item_list): Track name change of
      KOM_ILL_AUX_TAG.  Set kom_errno to KOM_AUX_BAD_OBJECT if the
      aux-item is not allowed on the active object (used to be
      KOM_AUX_PERM).
      (conf_stat_check_add_aux_item_list): Ditto.
      (system_check_add_aux_item_list): Ditto.
      (aux_item_validate_existing_text): Set kom_errno to
      KOM_AUX_NO_SUCH_TEXT instead of NO_SUCH_TEXT.  Set it to
      KOM_ILL_AUX_DATA if the text number is non-numeric.
      * src/server/testsuite/lyskomd.0/00.exp: Updated the expected
      error codes for aux-item-related errors.
      * src/server/testsuite/lyskomd.0/03.exp: Ditto.
      * src/server/testsuite/lyskomd.0/04.exp: Ditto.
      * src/server/testsuite/lyskomd.0/14.exp: Ditto.
      * src/server/testsuite/lyskomd.0/17.exp: Ditto.
      * src/server/testsuite/lyskomd.0/55.exp: Ditto.
      * src/server/testsuite/lyskomd.0/aux-items-cov.exp: Ditto.
      * src/server/testsuite/lyskomd.0/bug-572.exp: Ditto.
      * src/server/testsuite/lyskomd.0/20.exp: Ditto.  Remove the
      want_illegal_aux_item proc and simplify the code that checks the
      error codes.
      * src/server/testsuite/lyskomd.0/23.exp: Ditto.
      * src/server/testsuite/lyskomd.0/26.exp: Ditto.
      * src/server/testsuite/lyskomd.0/28.exp: Ditto.
      
      Added test cases for handling duplicate faq-text aux-items.
      * src/server/testsuite/lyskomd.0/21.exp: Added new tests that
      attempt to set duplicate faq-text aux-items on a conference in
      various ways, and removing it and re-adding it.  Also test adding
      two different faq-text aux-items at the same time.
      147c0add
  2. 01 Jan, 2006 1 commit
  3. 06 Oct, 2003 1 commit
  4. 29 Aug, 2003 1 commit
  5. 28 Aug, 2003 1 commit
  6. 23 Aug, 2003 2 commits
  7. 20 Aug, 2003 1 commit
  8. 16 Aug, 2003 1 commit
  9. 13 Aug, 2003 2 commits
  10. 08 Feb, 2003 2 commits
  11. 22 Aug, 2002 1 commit
  12. 21 Aug, 2002 1 commit
  13. 17 Aug, 2002 3 commits
  14. 16 Aug, 2002 2 commits
  15. 15 Aug, 2002 1 commit
  16. 11 Aug, 2002 1 commit
  17. 29 Mar, 2002 2 commits
    • Per Cederqvist's avatar
      Updated copyright year. · db060ea9
      Per Cederqvist authored
      db060ea9
    • Per Cederqvist's avatar
      (pdf): New target. · d35eb409
      Per Cederqvist authored
      (html): New target.
      (Protocol-A.dvi): New target.
      (Protocol-A.pdf): Use texi2dvi --pdf instead of texi2pdf.
      (protocol-a.texi): New target.  Major hack.  Expand a few of the
      	macros so that texinfo.tex can cope with the rest.
      (protocol-a/index.html): New target.
      (.texi.notab): Use automake comments instead of /bin/sh comments.
      (update-www): Also depend on protocol-a/index.html, Protocol-A.dvi
      	and Protocol-A.pdf, and install them.
      (check): Also depend on the targets pdf and dvi.
      d35eb409
  18. 01 Jan, 2002 2 commits
  19. 31 Dec, 2001 3 commits
  20. 28 Dec, 2001 2 commits
  21. 09 Nov, 2001 1 commit
  22. 30 Sep, 2001 1 commit
  23. 29 Sep, 2001 1 commit
  24. 23 Sep, 2001 1 commit
  25. 22 May, 2001 1 commit
    • Per Cederqvist's avatar
      (protocol-a.html): New target. · 9cc5efea
      Per Cederqvist authored
      (update-www): Give up on DVI and PDF.  texinfo.tex is currently too
      	broken for my macro usage.  Fix the generation of HTML and
      	Info for the web page.
      9cc5efea
  26. 13 May, 2001 1 commit
  27. 12 May, 2001 1 commit
  28. 01 May, 2001 1 commit
  29. 30 Apr, 2001 1 commit