1. 20 Oct, 2006 1 commit
    • Per Cederqvist's avatar
      Wrap all file pointers that refer to the database files inside a · 554e4c59
      Per Cederqvist authored
      "struct dbfile".  Add a database version field to that struct, and
      remove the global database format variables.  This allows lyskomd
      to have files in different versions open at the same time, so that
      it can convert format X to format X+1 on the fly.  (This is more
      preparation for bug 1616.)
      * src/server/ram-io.h (struct dbfile): New struct.
      (dbfile_delete): New function.
      (set_output_format): New function.
      (dbfile_open_write): New function.
      (dbfile_open_read): New function.
      (dump_dbfile_stats): New function.
      (dbfile_ftell): The argument is now a struct dbfile*, not FILE*.
      (dbfile_getc): Ditto.
      (dbfile_ungetc): Ditto.
      * src/server/ram-io.c (output_format): Moved from ram-output.c and
      made static variable.  This defines the output format of all
      struct dbfile objects created after a change to the variable.
      (nr_dbfile_objects): New static statistics variable.
      (nr_dbfile_files): New static statistics variable.
      (dbfile_new): New static function.
  2. 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
      (modify-conf-info): Ditto.
      (modify-system-info): Ditto.
      (Error Codes): Renamed error code ...
  3. 03 Sep, 2006 1 commit
    • Per Cederqvist's avatar
      Rename the aux-item field "unique" to "one-per-person". · afa0c70a
      Per Cederqvist authored
      (Preparation for solving bug 327).
      * doc/lyskomd.texi (Aux-Item Definition File): Renamed the
      "unique" field to "one-per-person", and clarify what it means.
      * src/server/aux-item-def-parse.y: Track the name change of the
      "one-per-person" aux-item field.
      (parse_aux_item_definitions): Ditto.
      * run-support/aux-items.conf: Ditto.
      * src/server/testsuite/leaks.0/lots-aux-items.conf: Ditto.
      * src/server/testsuite/lyskomd.0/aux-items.conf: Ditto.
      * src/server/testsuite/lyskomd.0/bug-64.aux: Ditto.
  4. 06 Aug, 2006 3 commits
  5. 24 Apr, 2006 1 commit
    • Per Cederqvist's avatar
      Tell svn to ignore core files. · e37c8984
      Per Cederqvist authored
      * src/server/testsuite: Ignore core and vgcore.*.
      Replaced the "Client host" and "Client port" configuration file
      parameters with "Listen", and allow lyskomd to listen to more than
      one port.
      * doc/lyskomd.texi (Parameters): Replaced "Client host" and
      "Client port" with "Listen".
      * src/server/ramkomd.c (start_listen_sockets): New static
      function.  Listen to all the ports specified by the "Listen:"
      (server_init): Use start_listen_sockets() instead of calling
      isc_listentcp().  Removed the host and client_port arguments.  All
      callers updated.
      * src/server/testsuite/lyskomd.0/54.exp: New test suite.
      * src/server/conf-file.c (ctor_ipport_list): New static function.
      (dtor_ipport_list): New static function.
      (assign_ipport_list): New static function.
      (cf_ipport_list): New constant.
      * src/server/conf-file.h (struct ipport_entry): New struct.
      (struct ipport_list): New struct.
      (cf_ipport_list): New constant.
      * src/server/param.h (struct kom_par): Replaced "ip_client_host"
  6. 01 Jan, 2006 1 commit
  7. 19 Dec, 2005 2 commits
  8. 18 Dec, 2005 2 commits
  9. 12 Dec, 2005 1 commit
  10. 11 Dec, 2005 2 commits
    • Per Cederqvist's avatar
      (Protocol Requests): get-members-old is now · aab49db2
      Per Cederqvist authored
      	being promoted from "Obsolete" to "Recommended".
      (get-members-old): Ditto.  Discuss get-members versus get-members-old.
      (get-members): Ask client writers to consider using get-members-old.
      (create-conf-old): Document when the ability to send an
      	Extended-Conf-Type was introduced, and what it means to send a
      	four-bit Conf-Type.
      (create-text): Typo fixed.
      (Mapping Local to Global Text Numbers): Typo fixed.
    • Per Cederqvist's avatar
      (set-membership-type): Typo fixed. · d8309e73
      Per Cederqvist authored
  11. 28 Nov, 2005 1 commit
  12. 06 May, 2005 1 commit
  13. 04 Apr, 2005 2 commits
  14. 02 Dec, 2004 1 commit
  15. 30 Nov, 2004 1 commit
  16. 02 Aug, 2004 2 commits
    • Per Cederqvist's avatar
      (Aux-Item Types): Remove inferior documentation of multipart handling · 229d491b
      Per Cederqvist authored
      	by allowed-content-type; that is now obsoleted by the better
      	documentation that Rasmus Sten provided.  Fix markup and
      	language errors in the documentation by Rasmus.
      (Multipart (multipart/mixed)): Fixed markup errors.  Clarify that
      	text/x-kom-basic is preferred.
      (MHTML (message/rfc822;x-lyskom-variant=rfc2557)): Fixed markup
      	errors.  Clarify that it is automatic access to external
      	resources that should be stopped.
    • Per Cederqvist's avatar
      (Aux-Item Types): State that allowed-content-type should be applied · b6160294
      Per Cederqvist authored
      	recursively to all content types, in much more detail than in
      	the change of 2004-07-18.
      (Multipart (multipart/mixed)): New section.
      (MHTML (message/rfc822;x-lyskom-variant=rfc2557)): New section.
  17. 18 Jul, 2004 2 commits
    • Per Cederqvist's avatar
      Updated. · 871c0848
      Per Cederqvist authored
    • Per Cederqvist's avatar
      (Person Status Types): Added missing closing parenthesis. · 1c1f5fd0
      Per Cederqvist authored
      (Who Information): Ditto.
      (Membership Information): Added the Text-Id type.
      (modify-system-info): Fixed references to argument names in the
      	error code descriptions.
      (async-text-read): New async message.
      (async-invalidate-text-read): New async message.
      (Aux-Item Types): Don't use @field for anything but Protocol A
      	structure fields.  State that allowed-content-type should be
      	applied recursively to all content types.
  18. 19 Jun, 2004 2 commits
    • David Byers's avatar
      (Aux-Item Definition File): Documented · 272143c6
      David Byers authored
      	supervisor-only and author-only more accurately (bug 530).
    • David Byers's avatar
      (Aux-Item Types): Document letterbox, text · ad839790
      David Byers authored
      	and other type parameters of aux-item definitions (bug 9).
      (Person Status Types, Who Information, Session Information):
      	Improved documentation of the username field (bug 196).
      (add-member): Fixed documentation of error codes (bug 199).
      (async-i-am-on): Fixed error in the message description (bug 200).
      (Importing and Exporting E-Mail): Improved documentation on what
      	aux-items affect importers (bug 201)
  19. 26 Apr, 2004 1 commit
  20. 06 Jan, 2004 1 commit
  21. 28 Dec, 2003 1 commit
  22. 27 Nov, 2003 1 commit
    • Per Cederqvist's avatar
      (Simple Data Types): The %g format specifier is locale-dependent in · 14290d8b
      Per Cederqvist authored
      	the C specification, so say that FLOAT is formatted as %g is
      	formatted in the "C" locale.
      (Conference Status Types): Fixed the description of the no-of-texts
      	field.  It is actually the difference between the first unused
      	local text number and first-local-no, and that will differ
      	from the number of texts in the conference if a text other
      	than the oldest one is removed.
      (Membership Information): Document that read-ranges is kept in
      	ascending order.
      (What do I have unread): Update the description with the version
      	11 requests.
  23. 06 Oct, 2003 1 commit
  24. 03 Oct, 2003 1 commit
    • Per Cederqvist's avatar
      (Parameters): Document these: · 25152f6f
      Per Cederqvist authored
          Free space warning level
          Free space warning percent
          Free inodes warning level
          Free inodes warning percent
          Free space critical level
          Free space critical percent
          Free inodes critical level
          Free inodes critical percent
      (Invoking checkkomspace): New node.
  25. 31 Aug, 2003 1 commit
  26. 29 Aug, 2003 6 commits