- 31 Mar, 2010 1 commit
-
-
Per Cederqvist authored
-
- 31 May, 2009 2 commits
-
-
Per Cederqvist authored
* doc/lyskomd.texi (File Object Types): New node. (File Types): New node.
-
Per Cederqvist authored
* doc/lyskomd.texi (Hacking): Fill in descriptions in the menu.
-
- 31 Mar, 2008 1 commit
-
-
Per Cederqvist authored
* doc/lyskomd.texi (Parameters): Changed "Garb" from "on" to "off". (Administration): Suggest that the administrator may want to turn on the garb. * src/server/server-config.c (parameters): Changed "Garb" from "on" to "off".
-
- 14 Jul, 2007 1 commit
-
-
Per Cederqvist authored
* doc/lyskomd.texi (Files): The lyskomd.clients example line was missing the third field. Fix.
-
- 20 Oct, 2006 1 commit
-
-
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. (dbfile_delete): New function. (set_output_format): Moved from ram-output.c. (get_version): Moved from simple-cache.c. Changed return type to int. The argument is an open dbfile, not a file name. Use dbfile_getc() instead of getc(). (dbfile_open_read): New function. (dbfile_open_write): 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/conference.c: Include ram-io.h, since local-to-global.h needs it. * src/server/memory.c: Ditto. * src/server/person.c: Ditto. * src/server/prot-a-output.c: Ditto. * src/server/text.c: Ditto. * src/server/membership.c: Include ram-io.h. (read_ranges_postcondition): Set up a dbfile wrapper around stderr for the report created if check_membership() fails. * src/server/local-to-global.h, src/server/local-to-global.c (l2g_read): The fp argument is now a struct dbfile*, not a FILE*. * src/server/dbck.c (oformat): Removed. The format is stored inside the dbfile struct instead. (main): Report an error message if an attempt to use an undefined output format is detected. * src/server/dbck-cache.c: Change all FILE* that refer to the status files to struct dbfile* in all functions, and made appropriate changes. Use fp->format instead of the global variable oformat or data_file_version. (get_version): Moved to ram-io.c. (sync_output_header): Removed the oformat argument. Use fp->format instead. All callers updated. (cache_sync_all): Use dbfile_open_write() instead of i_fopen(), and dbfile_delete() instead of i_fclose(). (init_cache): Removed the data_file_version variable, as the format is now stored inside the dbfile struct. Use dbfile_open_read() instead of i_fopen(), and dbfile_delete() instead of i_fclose(). * doc/lyskomd.texi (Modifying Stored Types): The default database format is now defined in ram-io.c, and nowhere else. It is preferrable if lyskomd is able to convert an old format to a new one after an upgrade. * src/server/testsuite/test-l2g.c (main): Added a dbfile wrapper around stdin in call to l2g_read(), and another around stderr in call to l2g_write(). * src/server/testsuite/Makefile.am (test_l2g_LDADD): Include libeintr.a. * src/server/simple-cache.c: Change all FILE* that refer to the status files to struct dbfile* in all functions, and made appropriate changes. (pre_sync): Use dbfile_delete() instead of i_fclose(), and dbfile_open_write() instead of i_fopen(). (post_sync): Use dbfile_delete() instead of i_fclose(), and dbfile_open_read() instead of i_fopen(). (save_one_text): Use dbfile_delete() instead of i_fclose(), and dbfile_open_read() instead of i_fopen(). (sync_part): Use dbfile_delete() instead of i_fclose(). (init_cache): Removed local variable datafile_version; use fp->format instead. Use dbfile_open_read() instead of i_fopen(). Removed call to set_input_format(), as dbfile_open_read() does the same thing. (free_all_cache): Use dbfile_delete() instead of i_fclose(). * src/server/ramkomd.c (dump_exit_statistics): Dump dbfile stats. * src/server/ram-parse.h, src/server/ram-parse.c: Change all FILE* that refer to the status files to struct dbfile* in all functions, and made appropriate changes. (set_input_format): Removed. * src/server/ram-parse.c (input_format): Removed. All users changed to use fp->format instead, so that lyskomd can read files with different versions at the same time. (fparse_text_stat_2): Code cleanup. (fparse_text_stat_0): Use dbfile_ungetc() instead of ungetc(). * src/server/ram-output.h, src/server/ram-output.c: Change all FILE* that refer to the status files to struct dbfile* in all functions, and made appropriate changes. (output_format): Moved to ram-io.c and made static. (set_output_format): Moved to ram-io.c.
-
- 03 Sep, 2006 1 commit
-
-
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.
-
- 06 Aug, 2006 3 commits
-
-
Per Cederqvist authored
* doc/lyskomd.texi (local-to-global): Translated old Swedish text that describes the reasoning behind the local-to-global structure, and update it to match the current implementation.
-
Per Cederqvist authored
* doc/lyskomd.texi (The Database): Translated old Swedish text that describes how the database is implemented to English. Updated the description to match the current implementation.
-
Per Cederqvist authored
* doc/lyskomd.texi (Parameters): Document "Max mark_as_read chunks" and "Max super_conf loop".
-
- 24 Apr, 2006 1 commit
-
-
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:" parameter. (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" and "ip_client_port" with "listen". * src/server/server-config.c (parameters): Ditto. * src/server/prot-a-parse-arg-c.awk: Include "conf-file.h" from the generated files. * src/server/admin.c: Include "conf-file.h". * src/server/aux-items.c: Ditto. * src/server/checkkomspace.c: Ditto. * src/server/conference.c: Ditto. * src/server/connections.c: Ditto. * src/server/dbck-cache.c: Ditto. * src/server/dbck.c: Ditto. * src/server/disk-end-of-atomic.c: Ditto. * src/server/komrunning.c: Ditto. * src/server/lockdb.c: Ditto. * src/server/membership.c: Ditto. * src/server/person.c: Ditto. * src/server/prot-a-output.c: Ditto. * src/server/prot-a-parse.c: Ditto. * src/server/prot-a.c: Ditto. * src/server/regex-match.c: Ditto. * src/server/rfc931.c: Ditto. * src/server/send-async.c: Ditto. * src/server/session.c: Ditto. * src/server/simple-cache.c: Ditto. * src/server/splitkomdb.c: Ditto. * src/server/text-garb.c: Ditto. * src/server/text.c: Ditto. * src/server/updateLysKOM.c: Ditto. * run-support/config: Removed the "Client port" setting. Adjust the test suite for the above change. * src/server/testsuite/lyskomd.0/bug-64.exp: Expect memory leaks due to bug 1599. * src/server/testsuite/lyskomd.0/53.exp: Expect a more informative error message when isc_listentcp fails. * src/server/testsuite/lyskomd.0/11.exp: Expect an IP address in the "Listening for clients" log message. * src/server/testsuite/config/unix.exp (clientport_2): New constant. (clientport_3): New constant. (lyskomd_start): New argument: listen_messages. Use "Listen:" instead of "Client port:". (lyskomd_fail_start): Use "Listen:" instead of "Client port:". (client_start): New optional argument: port.
-
- 18 Dec, 2005 2 commits
-
-
Per Cederqvist authored
-
Per Cederqvist authored
-
- 19 Jun, 2004 1 commit
-
-
David Byers authored
supervisor-only and author-only more accurately (bug 530).
-
- 03 Oct, 2003 1 commit
-
-
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.
-
- 29 Aug, 2003 1 commit
-
-
Per Cederqvist authored
-
- 23 Aug, 2003 1 commit
-
-
Per Cederqvist authored
-
- 20 Aug, 2003 2 commits
-
-
Per Cederqvist authored
-
Per Cederqvist authored
(local-to-global): Ditto. (Modifying Stored Types): Mention that dbck needs to be updated. (Coding conventions): New section.
-
- 19 Aug, 2003 2 commits
-
-
Per Cederqvist authored
supervisor-only has no effect on items placed on the system.
-
Per Cederqvist authored
(Signals): Ditto.
-
- 16 Aug, 2003 1 commit
-
-
Per Cederqvist authored
-
- 14 Aug, 2003 2 commits
-
-
Per Cederqvist authored
weight" and "Max weight".
-
Per Cederqvist authored
some text that was left behind a cut-n-paste operation. (Adding a New Protocol Request): Added a CHK_CONNECTION call to the example.
-
- 12 Aug, 2003 3 commits
-
-
Per Cederqvist authored
has_access() instead of access_perm().
-
Per Cederqvist authored
(Signals): Ditto. However, SIGHUP and SIGINT also works. (Administration): Recommend SIGTERM, not SIGHUP. (Bugs): Removed entry about terminating on SIGINT and SIGTERM.
-
Per Cederqvist authored
-
- 05 Aug, 2003 1 commit
-
-
Per Cederqvist authored
(Function Templates for send-async.c): Include a call to handshake_ok() in prototype code. (Traversing Connections): Ditto.
-
- 03 Aug, 2003 1 commit
-
-
Per Cederqvist authored
-
- 02 Aug, 2003 1 commit
-
-
Per Cederqvist authored
"Active timeout".
-
- 01 Aug, 2003 1 commit
-
-
Per Cederqvist authored
queue messages" and "Max client transmit queue bytes".
-
- 31 Jul, 2003 1 commit
-
-
Per Cederqvist authored
-
- 24 Jul, 2003 1 commit
-
-
Per Cederqvist authored
-
- 13 Jul, 2003 1 commit
-
-
Per Cederqvist authored
(Parameters): Updated the documentation for "timeval" parameters and the parameters relating to penalty points.
-
- 10 Jan, 2003 1 commit
-
-
Per Cederqvist authored
file" and "Connection status temp file". (Files): Documented db/number.txt and etc/connections.txt.
-
- 06 Jan, 2003 1 commit
-
-
Per Cederqvist authored
test cases should be written.
-
- 27 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-
- 15 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-
- 12 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-
- 05 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-