1. 08 Jul, 2010 1 commit
    • Per Cederqvist's avatar
      Remove the reclamation field of Text_stat. · 46ec1c8b
      Per Cederqvist authored
      	* src/include/kom-types.h (Text_stat): Remove the reclamation
      	field.  It was a mistake to add it 2006-11-06.
      	* src/server/dbck-cache.c (cached_flush_text): Don't touch
      	reclamation.
      	* src/server/memory.c (copy_text_stat): Ditto.
      	(init_text_stat): Ditto.
      	* src/server/ram-output.c (foutput_text_stat_3): Ditto.
      	* src/server/ram-parse.c (fparse_text_stat_3): Ditto.
      	(fparse_text_stat_2): Ditto.
      	(fparse_text_stat_0): Ditto.
      	* src/server/simple-cache.c (cached_create_text): Ditto.
      46ec1c8b
  2. 06 Nov, 2006 1 commit
    • Per Cederqvist's avatar
      Introduce datafile format version 3. A textstat contains · c1ef8d5b
      Per Cederqvist authored
      "generation" and "reclamation" fields.
      * src/include/kom-types.h (Text_stat): Added fields generation
      and reclamation.
      * src/server/simple-cache.c (cached_get_text): Handle text file
      generation 0 in the old-fashioned way.  Added a #warning about
      other generations.  Check return value of fseek.
      (cached_create_text): Added a #warning about nonzero generations
      of the text file.
      (cached_create_text): Initialize generation and reclamation.
      (save_one_conf): Do a file copy only if the formats of file A and
      B are the same.  Otherwise, parse the object into a temporary
      object and re-serialize it.
      (save_one_pers): Ditto.
      (save_one_text): Ditto.
      (init_cache): Handle data file format 3.
      * src/server/ram-parse.c (fparse_text_stat_3): New static function.
      (fparse_text_stat_2): Set generation and reclamation to 0.
      (fparse_text_stat_0): Ditto.
      (fparse_info): Handle data file format 3.
      (fparse_conference): Ditto.
      (fparse_person): Ditto.
      (fparse_membership): Ditto.
      (fparse_membership_list): Ditto.
      (fparse_text_stat): Ditto.
      (fparse_member): Ditto.
      * src/server/ram-output.c (foutput_info): Handle data file format 3.
      (foutput_text_stat_3): New static function.
      (foutput_person): Ditto.
      (foutput_conference): Ditto.
      (foutput_text_stat): Ditto.
      (foutput_membership): Ditto.
      (foutput_membership_list): Ditto.
      (foutput_member): Ditto.
      (foutput_conf_type): Ditto.
      * src/server/ram-io.c (output_format): Initialize it to 3.
      (dbfile_open_read): Handle data file format 3.
      * src/server/memory.c (copy_text_stat): Handle generation and
      reclamation.
      (init_text_stat): Initialize generation and reclamation.
      * src/server/membership.c (read_ranges_postcondition): Use data
      file format 3 when dumping a membership to stderr.
      * src/server/dbck.c (main): Handle data file format 3.
      * src/server/dbck-cache.c (cached_get_text): Handle text file
      generation 0 in the old-fashioned way.  Added a #warning about
      other generations.
      (cached_flush_text): Flush a generation 0 text file.  Added a
      #warning about other generations.
      (sync_output_header): Handle data file format 3.
      (cache_sync_all): Ditto.
      (init_cache): Ditto.
      * src/server/testsuite/test-l2g.c (main): Use data
      file format 3 when reading an Local2Global structure from stdin,
      or writing it to stdout.
      c1ef8d5b
  3. 29 Aug, 2003 1 commit
  4. 23 Aug, 2003 1 commit
  5. 22 Aug, 2003 1 commit
  6. 20 Aug, 2003 1 commit
  7. 16 Aug, 2003 1 commit
  8. 14 Aug, 2003 1 commit
  9. 11 Aug, 2003 2 commits
  10. 24 Jul, 2003 2 commits
  11. 12 Jan, 2003 1 commit
  12. 15 Nov, 2002 1 commit
  13. 06 Nov, 2002 1 commit
  14. 08 Sep, 2002 1 commit
  15. 29 Mar, 2002 1 commit
  16. 01 Jan, 2002 1 commit
  17. 28 Dec, 2001 3 commits
  18. 04 Nov, 2001 1 commit
  19. 30 Sep, 2001 1 commit
  20. 16 Apr, 2001 1 commit
  21. 10 Jul, 1999 1 commit
  22. 05 Jul, 1999 1 commit
  23. 26 Jun, 1999 1 commit
  24. 03 Jun, 1999 1 commit
  25. 24 May, 1999 1 commit
  26. 21 May, 1999 1 commit
  27. 20 May, 1999 1 commit
  28. 18 May, 1999 1 commit
    • David Byers's avatar
      Documentation updates: · 6ee9dcb0
      David Byers authored
              Merged lyskomd.texi, hacking.texi and dbck.texi
              Added what-is-unread.swe to Protocol-A.texi
      
      Aux-items:
              Handle disabled item types in a cleaner manner.
              Fixed bugs related to linked aux items. This feature
              should work pretty well now.
              Added test cases to test linking aux items.
      6ee9dcb0
  29. 12 May, 1999 1 commit
    • David Byers's avatar
      New RPC calls: · e6dca4a9
      David Byers authored
              set-pers-flags
      
      Modified RPC calls
              create-person (new parameter pers-flags)
      
      Removed several hard-coded constants and paths.
              Max texts
              Max conferences
              Nologin file
      
      Support for aux-item validation functions (not just regexps.)
      Support for aux-items that can only be created by the server
      Support for linking pairs of aux items
      
      Added test cases to improve code coverage
      
      Renamed log to kom_log to avoid conflicts with math function log.
      
      Several bug fixes (code and documentation)
      e6dca4a9
  30. 05 Apr, 1999 1 commit
  31. 05 Feb, 1999 1 commit
  32. 15 Jan, 1999 1 commit
  33. 13 Jan, 1999 1 commit
  34. 26 Dec, 1998 1 commit
  35. 05 Aug, 1998 1 commit
  36. 26 Jul, 1998 1 commit