ChangeLog 56.1 KB
Newer Older
1
2
1998-08-09  Per Cederqvist  <ceder@lysator.liu.se>

3
4
5
6
7
	Let automake generate the INSTALL file.
	* README: Include the contents of the INSTALL file.  This file
	needs a major overhaul.
	* mkmi: Remove INSTALL and expect automake to recreate it.

8
9
10
11
12
13
14
15
16
17
18
19
20
	Removed GNU malloc.  The integration was poor, to say the least,
	and it was not generally an improvement to use GNU malloc.
	* src/server/testsuite/Makefile.am: Removed references to gnumalloc.
	* src/server/Makefile.am: Removed reference to gnumalloc.
	* src/libraries/Makefile.am (SUBDIRS): Removed @GNUMALLOC@.
	* INSTALL: Don't mention GNU malloc.
	* configure.in: --with-gnu-malloc: flag removed.  Don't substitute
	GNUMALLOC.  Don't define USE_GNU_MALLOC or USING_GNU_MALLOC.
	Don't use the following that was only used because of GNU malloc:
	SUNOS_LOCALTIME_BUG, getpagesize, memmove, AC_USG.  Don't attempt
	to create src/libraries/gnumalloc/Makefile.
	* src/libraries/gnumalloc: All files in this directory removed.

21
22
23
24
	Added sanity check to local_to_global.
	* src/server/text.c (local_to_global): Check that the no_of_texts
	argument isn't larger than 255.

25
26
1998-08-08  Per Cederqvist  <ceder@lysator.liu.se>

27
28
29
30
	Fixed a protocol error with async_deleted_text.
	* src/server/prot-a-send-async.c (prot_a_async_deleted_text):
	Fixed the size in the header.  This emits 18 elements, not 16.

Per Cederqvist's avatar
Per Cederqvist committed
31
32
33
34
35
	Minor documentation fixes.
	* doc/aux-info.doc: Document dont-garb.
	* doc/Protocol-A.texi: Spell checking performed.  Some other minor
	typos fixed.  State that the aux-item read-confirm should only be
	added after the user has acknowledged that he has read the text.
36
37
38
39
	(accept-async): Moved some text that belonged here from the
	query-async node.  The error-status indicates the first offending
	number, not the index of the first offending number, when
	unknown-async is returnd.
Per Cederqvist's avatar
Per Cederqvist committed
40
	
41
42
43
44
45
46
	Fixed bugs in get_map and local_to_global.
	* src/server/text.c (get_map): Fixed a couple of fence errors.
	(local_to_global): Using first_local_no==0 is an error.  Fixed a
	fence error.
	* src/server/prot-a-output.c (prot_a_output_text_mapping): Emit
	"0" or "1", not "48" or "49", as the later-texts-exists flag.
47
	Fixed a bug that could cause much too much data to be written.
48
49
50

	Fixed bugs and made improvements to the test cases for get_map and
	local_to_global.
51
52
	* src/server/testsuite/lyskomd.0/00.exp: Many bugs fixed.  Several
	tests added. 
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
	* src/server/testsuite/config/unix.exp (attach): New constant.
	(line_leader): New variable.
	(meta_line_leader): New variable.
	(l2g_start): Set l2g_id, expect_active and expect_always.
	(fix_expect_after): New proc.
	(simple_expect): New argument: meta.  Handle line leaders.
	Removed tests for unexpected lines, which should now be handled
	via expect_active.
	(unanchored_expect): Added missing quotes.
	(lyskomd_start): Handle attach.  Set expect_active and
	expect_always to something sane.
	(client_start): Use tcpconnect.py and line leaders to make it
	easier to debug the test cases.  Set expect_active and
	expect_always to something sane.
	(talk_to): Handle l2g.  Handle line leaders.  Call
	fix_expect_after.
69
	(client_death): New proc.
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
	* src/server/testsuite/tcpconnect.py: New file.
	* src/server/testsuite/Makefile.am (../lyskomd): New target.
	(lyskomd_check): Depend on ../lyskomd.
	(site.exp): Added srcdir.
	(EXTRA_DIST): Added tcpconnect.py.
	* src/server/Makefile.am (all-recursive check-recursive): Depend
	on lyskomd.
	
	Read the file name of the "Aux-item definition file" from the
	config file, not from the command line.
	* src/server/testsuite/config/Makefile.am (lyskomd-config): Added
	"Aux-item definition file".
	* src/server/server-config.c (parameters): Added "Aux-item
	definition file".
	(AUX_DEF_FILE): Removed.
85
86
	(read_configuration): Handle aux_def_file just like all the other
	file names.
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
	* src/server/ramkomd.c (initialize): Removed the aux_def_file
	argument.  All callers updated.  Get the file of the aux_def_file
	from the config file.
	(main): Removed the -c and -a options.  This reverts the change
	from Sat Sep 13 15:07:32 1997.  It is more consistent to get the
	file name of the aux-def file from the config file.  The -c option
	was buggy anyhow.
	* src/server/param.h (struct kom_par): Added aux_def_file.
	* doc/man/lyskomd.8: Removed the -c and -c flags.  Added "Aux-item
	definition file".
	* src/include/config.h (AUX_DEF_FILE): Constant removed.

	Default to sending async_new_text_old and ay_leave_conf, bug not
	async_new_text, just as the documentation says.
	* src/server/send-async.c (async_new_text_old): Use
	prot_a_async_new_text_old, not prot_a_async_new_text.
	* src/server/async.h (ASYNC_DEFAULT_MESSAGES): Added
	ay_new_text_old instead of ay_new_text.  Added ay_leave_conf.

	Get rid of some compiler warnings.
	* src/server/rfc931.c (get_real_username): Mark unused arguments.
	* src/server/dbck-cache.c (cached_lock_person): Marked unused
	arguments.
	(cached_unlock_person): Likewise.
	(cached_lock_conf): Likewise.
	(cached_unlock_conf): Likewise.

114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
1998-08-07  Per Cederqvist  <ceder@signum.se>

	Merged old uncommitted changes to prot-A.txt.
	* doc/prot-A.txt: Error code 38=no-connect is no longer used.
	Documented 85=get-collate-table.  Typo fixes.

	Facilitate testing of Local_to_global with Electric Fence.
	* src/server/testsuite/config/unix.exp (efence): New constant.
	(efence_blurb): New proc.
	(l2g_start): Handle an efence-instrumented test program if the
	global variable efence is true.

	Improved the documentation on the config file.
	* doc/man/lyskomd.8: Documented the values that you can pass to
	bool config parameters.

130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
1998-08-06  Per Cederqvist  <ceder@lysator.liu.se>

	Added the beginnings of a test suite for the complete lyskomd
	binary.
	* README: Talk a little about the test suite.
	* src/server/testsuite/Makefile.am (l2g_check): Added --srcdir to
	the runtest command line.
	(lyskomd_check): New target.
	* src/server/testsuite/Makefile.am (check): Added lyskomd_check.
	* src/server/testsuite/lyskomd.0/00.exp: New file.
	* src/server/testsuite/config/unix.exp:
	(hollerith): New constant.
	(maxint): New constant.
	(clientport): New constant.
	(muxport): New constant.
	(unanchored_expect): Continue with the expect if an unexpected
	line is detected.
	(lyskomd_start): New proc.
	(lyskomd_death): New proc.
	(client_start): New proc.
	(talk_to): New proc.
	(holl): New proc.
	* src/server/testsuite/config/Makefile.am (noinst_DATA): Added
	lyskomd-config.
	(lyskomd-config): New target.

	Regenerate protocol-a.info automatically.
	* doc/Makefile.am (protocol-a.info): Added an explicit rule
	because Automake 1.3 fails to add it automatically.

160
161
1998-08-05  Per Cederqvist  <ceder@lysator.liu.se>

162
163
164
165
	Fixed the documentation for the local-to-global call.
	* doc/Protocol-A.texi (LysKOM Data Types): Changed the name of the
	type Local-To-Global_Result to Text-Mapping.  All uses updated.

166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
	Implemented the local-to-global call.
	* src/server/fncdef.txt: Added local_to_global.
	* src/include/services.h (local_to_global): New function.
	* src/include/kom-types.h (Text_mapping): New type.
	* src/server/text.c (get_map): Fixed the type of the no_of_texts
	argument.
	(local_to_global): New function.
	* src/server/prot-a.c (prot_a_reply): Handle rt_text_mapping.
	(prot_a_is_legal_fnc): Handle call_fnc_local_to_global.
	* src/server/prot-a-output.c (prot_a_output_text_mapping): New
	function.
	* src/server/prot-a-output.h: Likewise.
	* src/server/connections.h (Res_type): Added rt_text_mapping.
	(Result_holder): Added text_mapping.

181
182
183
184
185
186
187
188
189
190
191
192
193
1998-08-03  Per Cederqvist  <ceder@lysator.liu.se>

	Document the local-to-global call.
	* doc/Protocol-A.texi (Articles): Refer to local-to-global instead
	of get-map.
	(LysKOM Data Types): Added subsection titled "Mapping Local to
	Global Text Numbers".
	(Protocol Requests): Mark get-map as obsolete, and refer to 103.
	Added 103=local-to-global.
	(get-map): This is superseded by local-to-global.
	(accept-async): Fixed typo.
	(local-to-global): New node.

194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
1998-08-02  Per Cederqvist  <ceder@lysator.liu.se>

	Generate and install protocol-a.info.
	* doc/Makefile.am (info_TEXINFOS): New target.  Moved
	Protocol-A.texi here.
	(EXTRA_DIST): Moved Protocol-A.texi to info_TEXINFOS.
	* mkmi: Remove scripts/texinfo.tex and expect automake to
	regenerate it.

	Minor syntactic documentation fixes.
	* doc/Protocol-A.texi: Added @dircategory and @direntry commands.
	(Protocol Requests): Added set-membership-type to the menu.
	(set-membership-type): Minor typo fixed.
	(Top): State that this is a draft, and that the version numbers
	are wrong.

210
211
212
213
214
215
216
1998-07-27  Per Cederqvist  <ceder@lysator.liu.se>

	Fixed a pointer bug in Local_to_global.
	* src/server/local-to-global.c (join_range): Fixed a bug where
	a pointer that pointed to the old position of a reallocated block
	was used.

Per Cederqvist's avatar
Per Cederqvist committed
217
218
1998-07-26  Per Cederqvist  <ceder@lysator.liu.se>

219
220
221
222
223
224
225
	dbck can now read database format 2.
	* src/server/dbck-cache.c (init_cache): Handle database format 2.

	Fix the bootstrap database.
	* db-crypt/db/lyskomd-data: CONF-RECORD uses the Local_to_global
	structure.

226
227
228
229
230
231
232
233
234
	Remove all traces of the Text_list type.
	* src/include/kom-types.h (Text_list): Removed.
	* src/server/connections.h (Res_type): Removed rt_text_list.
	(Result_holder): Removed text_list.
	* src/server/prot-a-output.h (prot_a_output_text_list): Removed.
	* src/server/prot-a-output.c (prot_a_output_text_list): Removed.
	* src/server/prot-a.c (prot_a_reply): Don't attempt to handle
	rt_text_list.

Per Cederqvist's avatar
Per Cederqvist committed
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
	Code cleanup.
	* src/server/aux-item-def.y: Fixed indentation of include statements.
	* src/server/aux-item-def.lex.c: No longer kept under version
	control.

	Improve documentation.
	* doc/server.extend: Updated.

	Start using the Local_to_global structure.
	* doc/lyskomd-database-format (DATABASE VERSION 2): CONF-RECORD
	and PERS-RECORD uses the Local_to_global structure.
	* configure.in: Added AC_C_INLINE.
	* src/server/text.c (add_text_in_conf): Adjusted to the fact that
	the texts member of Conference is now a l2g.
	(do_sub_recpt): Likewise.
	(set_loc_no): Removed.
	(adjust_text_list): Removed.
	(do_delete_text): Adjusted to the fact that the created_texts
	member of Person is now a l2g.
	(do_create_text): Likewise.
	(get_map): The result argument now points to a
	l2g_iterator_as_text_list instead of a Text_list.  Adjusted to the
	fact that the texts member of Conference is now a l2g.
	* src/server/simple-cache.c (mark_conference_as_changed): Adjusted
	to the fact that the texts member of Conference is now a l2g.
	(setup_small_conf): Likewise.
	* src/server/ram-parse.h (fparse_text_list): Removed.
	* src/server/ram-parse.c (fparse_conference_2): Use l2g_read
	instead of fparse_text_list.
	(fparse_person_2): Likewise.
	(fparse_text_list): The result argument now points to a
	Local_to_global instead of a Text_list.
	* src/server/ram-output.h (foutput_text_list): The text_list
	argument is now a pointer to Local_to_global instead of a
	Text_list.
	* src/server/ram-output.c (foutput_person_0): Adjusted to new API
	of foutput_text_list.
	(foutput_person_2): Use l2g_write instead of foutput_text_list.
	(foutput_conference_2): Likewise.
	(foutput_conference_1): Adjusted to new API of foutput_text_list.
	(foutput_conference_0): Likewise.
	(foutput_text_list): The text_list argument is now a pointer to
	Local_to_global instead of a Text_list.  The generated output is
	still the same.
	(foutput_ulong): Eliminated a future buffer overrun.  Cleaned up
	the code.
	* src/server/prot-a.c (prot_a_reply): Handle
	rt_l2g_iterator_as_text_list.
	* src/server/prot-a-output.h
	(prot_a_output_l2g_iterator_as_text_list): New function.
	* src/server/prot-a-output.c (prot_a_output_person): Adjusted to
	the fact that the created_texts member of Person is now a l2g.
	(prot_a_output_conference): Adjusted to the fact that the texts
	member of Conference is now a l2g.
	(prot_a_output_conference_old): Likewise.
	(prot_a_output_l2g_iterator_as_text_list): New function which
	emulates a Text_list.
	* src/server/person.c (do_delete_pers): Adjusted to the fact that
	the created_texts member of Person is now a l2g.
	(get_created_texts): The return value is now an
	l2g_iterator_as_text_list, not a Text_list.  Adjusted to the fact
	that the created_texts member of Person is now a l2g.
	* src/server/memory.c (clear_text_list): Removed.
	(copy_text_list): Removed.
	(clear_conference): Adjusted to the fact that the texts member of
	Conference is now a l2g.
	(init_conference): Likewise.
	(copy_conference): Likewise.  Added const qualifier to the
	argument.
	(clear_person): Adjusted to the fact that the created_texts member
	of Person is now a l2g.
	(copy_person): Likewise.
	(init_person): Likewise.
	(init_text_list): Removed.
	(copy_aux_item_list): Added const qualifier to the src argument.
	* src/server/membership.c (add_rec_time): Adjusted to the fact
	that the texts member of Conference is now a l2g.
	(adjust_read): Likewise.
	(mark_as_read): Likewise.
	(check_membership): Likewise.
	(set_unread): Likewise.
	(set_last_read): Likewise.
	* src/server/kom-memory.h (copy_conference): The argument is const.
	(copy_aux_item_list): Likewise.
	(init_text_list): Removed.
	* src/server/fncdef.txt (get_map): Changed return type from
	text_list to l2g_iterator_as_text_list.
	(get_created_texts): Likewise.
	* src/server/dbck.c (struct delete_list): New struct.
	(delete_list_append): New static function.
	(execute_deletions): New static function.
	(check_misc_infos): Adjusted to the fact that the texts member of
	Conference is now a l2g.
	(adjust_text_list): Deleted.
	(check_created_texts): The "created" argument now points to a
	Local_to_global.  Removed the check for "bad created_texts array"
	since it can no longer be bad in that way.
	(check_membership): Adjusted to the fact that the texts member of
	Conference is now a l2g.
	(check_texts_in_conf): The "tlist" argument now points to a
	Local_to_global.  Removed the check for "bad created_texts array"
	since it can no longer be bad in that way.
	* src/server/dbck-cache.c (cached_get_highest_local_no): Adjusted
	to the fact that the texts member is now a l2g.
	(cache_sync): Fixed type in some printf format strings.
	* src/server/connections.h (Res_type): Added
	rt_l2g_iterator_as_text_list.
	(Result_holder): Added l2g_iterator_as_text_list.
	* src/server/conference.c: (do_delete_conf): Adjusted to the fact
	that the texts member is now a l2g.
	* src/server/Makefile.am (DBCK): Added local-to-global.c.
	(all-recursive, check-recursive): Require libcheck.a to be built.
	* src/include/services.h (get_created_texts): Changed type of
	the result to L2g_iterator_as_text_list.
	(get_map): Likewise.
	* src/include/kom-types.h (struct l2g_block_info): New forward
	declaration.
	(Local_to_global): New type.
	(L2g_iterator): New type.
	(L2g_iterator_as_text_list): New type.
	(Conference): The texts member is now a Local_to_global, not a
	Text_list.
	(Person): The created_texts member is now a Local_to_global, not a
	Text_list.

	Fixes and improvements to the Local_to_global structure.
	* src/server/local-to-global.h (L2G_BLOCKSIZE): Moved to
	local-to-global.c.
	(L2g_block_info): Likewise.
	(Local_to_global): Likewise.
	(l2g_copy): Switched placement of src and dest to match other copy
	functions in the lyskomd code.  Added const qualifier.
	(l2g_lookup): Added const qualifier to the l2g argument.
	(l2g_next_key): Likewise.
	(l2g_compact): Removed.
	(l2g_first_appendable_key): New function.
	(l2g_delete_global_in_sorted): New function.
	(l2g_dump): Switch placement of l2g and file arguments to match
	other similar functions in the lyskomd code.  Added const
	qualifier.
	(l2g_write): Likewise.
	(l2g_read): Likewise.
	(l2g_searchall): Added const qualifier.
	(L2g_iterator): Moved to kom-types.h.
	(l2gi_searchsome): Added const qualifier.
	(l2gi_begin): New function.
	(l2gi_end): New function.
	* src/server/local-to-global.c: Include assert.h.  Only include
	stdlib.h if HAVE_STDLIB_H.  Include stdio.h if we didn't get NULL
	from stdlib.h.  Inlucd lyskomd.h and server/smalloc.h.
	(L2G_BLOCKSIZE): Moved here from local-to-global.h.
	(struct l2g_block_info): Likewise.
	(is_dense): New static function.
	(is_empty): New static function.
	(key_value): New static function.
	(sparse_skip_deleted): New static function.
	(sparse_locate_value): New static function.
	(sparse_compact): New static function.
	(add_block): Use srealloc instead of realloc.  Don't initialize
	start -- the caller is responsible for doing so.
	(delete_block): Use sfree instead of free, and srealloc instead of
	realloc.
	(make_sparse): Don't change the value of start, since there is no
	need to, and make_sparse may now be called on an empty block,
	which would cause start to be set to a garbage value.
	(find_block): Added a const qualifier to the return value and l2g
	argument.  Use key_value to simplify code.
	(find_block_index_key): Added a const qualifier to the l2g
	argument.  Use helper functions to simplify the code.  Use
	sparse_skip_deleted so that the function never returns a deleted
	key.  Never return deleted keys in dense blocks either.
	(join_range): New static function.
	(join_blocks): New static function.
	(l2g_init): Set first_unused to 1.
	(l2g_clear): Use sfree instead of free.  Set first_unused to 1.
	(l2g_copy): Added const qualifier to the src argument.  Simplified
	code by using helper functions and relying on the fact that
	calling l2g_append with a Text_no=0 is a no-op.  Set first_unused
	of the copy.
	(l2g_append): Send a log message and do nothing if an attempt to
	set a local number lower than first_unused is detected.  Set
	first_unused.  Fixed the logic about when to add a new block, when
	to compact the last block, and when to make it sparse.  Simplify
	code by using the helper functions.
	(l2g_delete): Don't increase the zeroes counter if a zero is
	deleted.  Delete the entire block if it became empty.  Attempt to
	join this block to its neighbors.  Compact the block if it was
	sparse and contained too many deleted entries.
	(l2g_lookup): Added const qualifier to the l2g argument.  Don't
	return uninitialized data.  Use helper functions to simplify code
	and make it slightly faster.
	(l2g_next_key): Added const qualifier to the l2g argument.
	(l2g_first_appendable_key): New function.
	(l2g_delete_global_in_sorted): New function.
	(l2g_compact): Removed.
	(l2g_dump): Switch placement of l2g and file arguments to match
	other similar functions in the lyskomd code.  Added const
	qualifier.  Dump first_unused.  Use helper functions to simplify
	code.
	(l2g_read): Switch placement of l2g and file arguments to match
	other similar functions in the lyskomd code.  Read first_unused.
	Return a success indicator.  Detect unexpected EOF conditions.
	(l2g_write): Switch placement of l2g and file arguments to match
	other similar functions in the lyskomd code.  Write first_unused.
	Use helper functions to simplify code.
	(l2gi_searchall): Added const qualifier to the l2g argument.
	Simplify code by calling l2gi_searchsome instead of duplicating
	the code.
	(l2gi_searchsome): Added const qualifier to the l2g argument.
	Complain if the begin argument is less than 1.  Don't forget to
	initialize search_ended.  Set beginval.  Giving end==0 means that
	the iterator should continue to the end of the set.  Use helper
	functions to simplify the code.
	(l2gi_next): Use helper functions to simplify code.  The iterator
	is unlimited if endval==0.
	(l2gi_begin): New function.
	(l2gi_end): New function.
	
	Improve the test suite with new tests of the Local_to_global
	structure.
	* src/server/testsuite/l2g.0/00.exp: The "C" command now takes the
	arguments the other way around.  Adjust the test case.  Comments
	added.  Expect the "u" command to print first_unused.
	* src/server/testsuite/l2g.0/02.exp: New file.
	* src/server/testsuite/l2g.0/03.exp: New file.
	* src/server/testsuite/l2g.0/04.exp: New file.
	* src/server/testsuite/l2g.0/05.exp: New file.
	* src/server/testsuite/l2g.0/06.exp: New file.
	* src/server/testsuite/l2g.0/07.exp: New file.
	* src/server/testsuite/l2g.0/08.exp: New file.
	* src/server/testsuite/l2g.0/09.exp: New file.
	* src/server/testsuite/config/unix.exp (l2g_stop): Added a wait
	statement to avoid creating zombies.
	(simple_expect): Added a missing space in a prompt regexp.
	* src/server/testsuite/test-l2g.c (main): Removed the 'c' command
	since l2g_compact no longer exists.  Added the 'i' command that
	tests iterators.  Adjusted to the new API of l2g_dump, l2g_read
	and l2g_write.  Require an extra trailing newline after the
	representation l2g_read expects when the 'r' command is used, and
	produce a corresponding newline with the 'w' command.  Renamed the
	'p' command to 'w'.

Per Cederqvist's avatar
Per Cederqvist committed
477
478
479
480
481
482
1998-07-19  Per Cederqvist  <ceder@lysator.liu.se>

	Protocol buglets fixed.
	* doc/Protocol-A.texi (Membership-Type, Session-Flags): Fixed
	syntax error in the definition.

483
484
1998-07-12  Per Cederqvist  <ceder@lysator.liu.se>

485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
	Build the program in the test suite.
	* src/server/ramkomd.c (restart_kom): Moved to log.c.
	* src/server/log.c (restart_kom): Moved here from ramkomd.c.
	* src/server/Makefile.am (noinst_LIBRARIES): Added libcheck.a.
	(libcheck_a_SOURCES): New library, used by the test suite.
	* src/server/testsuite/Makefile.am (noinst_PROGRAMS): Added test-l2g.
	(EXTRA_DIST): Removed test-l2g.c.
	(test_l2g_SOURCES): Added test-l2g.c.
	(test_l2g_LDADD): Added ../libcheck.a.
	(../libcheck.a): New target.

	Removed all old makefile template files.
	* Makefile.src: Removed.
	* doc/Makefile.src: Removed.
	* doc/man/Makefile.src: Removed.
	* run-support/Makefile.src: Removed.
	* scripts/Makefile.src: Removed.
	* src/Makefile.src: Removed.
	* src/include/Makefile.src: Removed.
	* src/include/server/Makefile.src: Removed.
	* src/libraries/Makefile.src: Removed.
	* src/libraries/gnumalloc/Makefile.src: Removed.
	* src/libraries/libansi/Makefile.src: Removed.
	* src/libraries/libcommon/Makefile.src: Removed.
	* src/libraries/libisc-new/Makefile.src: Removed.
	* src/libraries/libisc-new/src/Makefile.src: Removed.
	* src/libraries/libmisc/Makefile.src: Removed.
	* src/libraries/regex/Makefile.src: Removed.
	* src/libraries/regex/doc/Makefile.src: Removed.
	* src/libraries/regex/test/Makefile.src: Removed.
	* src/server/Makefile.src: Removed.
	* src/server/testsuite/Makefile.src: Removed.
	
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
	Fixed "make dist".
	* SERVER-RELEASE: Slightly updated.
	* src/server/testsuite/config/Makefile.am: New file.
	* src/server/testsuite/Makefile.am (SUBDIRS): Added config.
	(EXTRA_DIST): Added .cvsignore and test-l2g.c.
	(MOSTLYCLEANFILES): Added .gdbinit and site.exp.
	* src/server/Makefile.am (EXTRA_DIST): Added .cvsignore,
	ChangeLog.1, Magics, To-do, aux-item-def.l, aux-item-def.y,
	call-switch.awk, com-h.awk, fnc-def-init.awk,
	prot-a-parse-arg-c.awk, prot-a-parse-arg-h.awk, fncdef.txt,
	free.gdb, handle-malloc-dump.el, malloc.gdb, realloc.gdb,
	trace-mem.gdb and logII.c.
	(MOSTLYCLEANFILES): Added .gdbinit, call-switch.incl, com.h,
	fnc-def-init.incl, fncdef-no-str-limit.txt, prot-a-parse-arg.h and
	version.incl.
	(MAINTAINERCLEANFILES): Added aux-item-def.tab.h.
	(lyskomd_SOURCES): Added admin.h, async.h, aux-items.h,
	cache-node.h, cache.h, conf-file.h, connections.h,
	end-of-atomic.h, exp.h, internal-connections.h,
	internal-services.h, isc-interface.h, isc-malloc.h, isc-parse.h,
	kom-memory.h, local-to-global.h, log.h, lyskomd.h, manipulate.h,
	minmax.h, mux-parse.h, mux.h, param.h, prot-a-output.h,
	prot-a-parse.h, prot-a-send-async.h, prot-a.h, ram-output.h,
	ram-parse.h, rfc931.h, send-async.h, server-config.h,
	string-malloc.h, text-garb.h, tmp-limits.h and version-info.h.
	(dbck_SOURCES): Added dbck-cache.h and getopt.h.
	* src/libraries/libmisc/Makefile.am (EXTRA_DIST): Added ChangeLog.1.
	* src/libraries/libcommon/Makefile.am (EXTRA_DIST): Added ChangeLog.1.
	* src/include/Makefile.am (EXTRA_DIST): Added ChangeLog.1.
	* run-support/Makefile.am (EXTRA_DIST): Added .cvsignore,
	komrunning.sh and savecore.sh.
	* doc/man/Makefile.am (EXTRA_DIST): Added $(man_MANS).
	* doc/prot-A-english.txt: Added a reference to Protocol-A.texi.
	* doc/Makefile.am (EXTRA_DIST): Added Buggar.fixade, Bugrapporter,
	LOGG, Protocol-A.texi, aux-info.doc, clients.assigned,
	cmsltt12.mf, dbck.latexinfo, disc-cache.spec, local-to-global.doc,
	lyskomd-database-format, mux.proto, prot-A-english.txt and
	security-levels.txt.
	* db-crypt/db/Makefile.am (EXTRA_DIST): Added .cvsignore.
	* db-crypt/Makefile.am (EXTRA_DIST): Added .cvsignore.
	* configure.in: Generate src/server/testsuite/config/Makefile.
	* Makefile.am (EXTRA_DIST): Added ChangeLog.1, README.FSF,
	SERVER-RELEASE, mkmi and versions.

	Removed	obsolete and unused files.
	* src/server/disk-end-of-atomic.c: Don't include disk-cache.h.
	* src/server/sync.c: Removed.
	* src/server/disk-cache.h: Removed.
	* src/server/cache.c: Removed.
	* src/server/cache-database.h: Removed.
	* src/server/cache-database.c: Removed.
	* scripts/mkmi.m4: Removed.
	* scripts/makedist.sh: Removed.
	* doc/libraries: Removed
	* doc/fileformat: Removed.
	* doc/elisp-client.user-manual: Removed.
	* doc/elisp-client.internals: Removed.
	* doc/Introduktion: Removed.

	Don't version-control generated files.
	* src/server/aux-item-def.tab.h: No longer kept under version
	control.

	Removed the last traces of zmalloc.
	* src/libraries/libmisc/Makefile.am (libmisc_a_SOURCES): Removed
	zmalloc.h.

585
586
1998-07-11  Per Cederqvist  <ceder@lysator.liu.se>

587
	Install the sample database (unless it was already installed).
Per Cederqvist's avatar
Per Cederqvist committed
588
	* configure.in: Generate db-crypt/db/Makefile.
589
590
591
	* db-crypt/Makefile.am (SUBDIRS): Added db.
	* db-crypt/db/Makefile.am: New file.

592
593
594
595
	Fix compilation outside the source directory.
	* src/server/Makefile.am (aux-item-def.tab.c): Look for
	aux-item-def.y in srcdir.

596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
1998-07-10  Per Cederqvist  <ceder@lysator.liu.se>

	Fix "make install".
	* run-support/Makefile.am (sysconf_DATA): Added, but empty.
	(EXTRA_DIST): Added config and aux-items.conf.
	(komrunning): The current standard names the variable sysconfdir,
	not etcdir.
	(savecore): Likewise.
	(install-data-local): Likewise.
	
	Fix the configure script so that --enable-isc-printf is no longer
	needed.
	* configure.in: Force enable_isc_printf so that libisc contains
	the proper things.

	Some versions of libnsl and/or libsocket are reportedly bogus, so
	don't link against them unless it is really necessary.
	* configure.in: Improved checking for -lsocket and -lnsl.

615
616
1998-07-09  Per Cederqvist  <ceder@lysator.liu.se>

617
	Don't forget src/server/testsuite.
618
619
	* configure.in: Don't forget src/server/testsuite.
	(USING_GNU_MALLOC): An automake conditional.
620
621
622
623
624
625
	* src/server/testsuite/test-l2g.c (main): Make it a proper
	prototype.  Avoid problems with signed chars.  Fixed typo: use
	l2g_write, not l2g_print.
	* src/server/testsuite/Makefile.am: New file.
	* src/server/Makefile.am (SUBDIRS): New variable; added testsuite.

626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
	Don't try to compile zmalloc which was removed yesterday.
	* src/libraries/libmisc/Makefile.am (libmisc_a_SOURCES): Removed
	zmalloc.c.

	Build komrunning and savecore.
	* run-support/Makefile.am: New file.

	Switch to using automake.
	* mkmi: Run aclocal, automake and autoconf instead of creating
	Makefile.in via a m4 script.
	* configure.in: Move up AC_CONFIG_AUX_DIR so that both automake
	and autoconf detects it early enough.  Remove explicit AC_SUBST of
	several variables that automake handles automatically, or that was
	used for functionality that automake provides in different ways:
	CFLAGS, CPPFLAGS, LDFLAGS, DEPENDFLAGS, INCLUDE_CURRENT,
	EXTRAARFLAGS, SRCTOPDIR, BUILDTOPDIR. Added call to
	AM_C_PROTOTYPES.  Rely on automakes ability to fix dependencies
	automatically and handle ARFLAGS properly.  Use
	CMOD_COMPILER_CC_ACCEPTS to check for a lot of warning flags to
	use.  Use CMOD_C_ATTRIBUTE_UNUSED.  Use AM_PROG_LEX instead of
	AC_PROG_LEX.  Removed check for sys/select.h, which only isc uses.
	Added check for values.h.  Run configure in
	src/libraries/libisc-new instead of creating makefiles in that
649
	directory.  Generate db-crypt/Makefile and run-support/Makefile.
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671

	Don't version-control files that are generated by aclocal,
	automake, autoconf or bison.
	* Makefile.in: No longer kept under version control.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.
	* doc/man/Makefile.in: Likewise.
	* run-support/Makefile.in: Likewise.
	* scripts/Makefile.in: Likewise.
	* scripts/install-sh: Likewise.
	* scripts/mkinstalldirs: Likewise.
	* src/Makefile.in: Likewise.
	* src/include/Makefile.in: Likewise.
	* src/include/server/Makefile.in: Likewise.
	* src/libraries/Makefile.in: Likewise.
	* src/libraries/libansi/Makefile.in: Likewise.
	* src/libraries/libcommon/Makefile.in: Likewise.
	* src/libraries/libmisc/Makefile.in: Likewise.
	* src/server/Makefile.in: Likewise.
	* src/server/aux-item-def.tab.c: Likewise.

672
673
674
675
676
677
1998-07-08  Per Cederqvist  <ceder@lysator.liu.se>

	Use libisc-0.99.
	* src/server/isc-interface.h: Include "isc.h" instead of
	"isc-new.h".
	(ISC_PRINTF_SUPPORT): Define it.
678
679
680
	* src/libraries/libisc-new: Replace the old contents with that of
	isc-0.99.  Se src/libraries/libisc-new/ChangeLog for information
	about any modifications that are made to the library.
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914

	Added files that automake requires.
	* AUTHORS: New file.
	* README-serverrelease: Renamed to README.
	* README: New name for former README-serverrelease.
	* acinclude.m4: New file.  Contents taken from the old
	aclocal.m4, but changed to match the contents of libisc.

	Added new makefile templates for automake.
	* Makefile.am: New file.
	* db-crypt/Makefile.am: New file.
	* doc/Makefile.am: New file.
	* doc/man/Makefile.am: New file.
	* scripts/Makefile.am: New file.
	* src/Makefile.am: New file.
	* src/include/Makefile.am: New file.
	* src/include/server/Makefile.am: New file.
	* src/libraries/Makefile.am: New file.
	* src/libraries/libansi/Makefile.am: New file.
	* src/libraries/libcommon/Makefile.am: New file.
	* src/libraries/libmisc/Makefile.am: New file.
	* src/server/Makefile.am: New file.

	Code cleanup for increased portability.
	* src/libraries/libmisc/pom.c: Use HAVE_VALUES_H instead of
	__svr4__ and __sparc__ to protect inclusion of <values.h>.
	(rcsid): Added a missing const.

	Improved some variable types and fixed problems with signed
	chars.
	* src/server/simple-cache.c (rcsid): Added a missing const.
	(next_free_num): Changed type from int to Conf_no.
	(next_text_num): Changed type from int to Text_no.
	(read_person): Flag unused parameters.
	(read_conference): Likewise.
	(read_text_stat): Likewise.
	(cached_get_text_stat): Adjusted printf format according to
	the next_text_num change.
	(init_cache): Likewise.
	(free_match_table): Renamed a parameter name to avoid
	warnings from gcc.
	(build_matching_info): Renamed a local variable name to avoid
	warnings from gcc.
	(pre_sync): Use tno_iter and cno_iter instead of i to get all
	types correct.
	(post_sync): Likewise.
	(copy_file): Flag unused parameters.
	* src/server/ram-parse.c (rcsid): Added a missing const.
	(fparse_info_0): Now static.
	(fparse_info_2): Likewise.
	(fparse_conference_2): Likewise.
	(fparse_conference_0): Likewise.
	(fparse_person_0): Likewise.
	(fparse_person_2): Likewise.
	(fparse_text_stat_2): Likewise.
	(fparse_text_stat_0): Likewise.
	(fparse_conf_list): Changed type of local variable "i" from int to
	unsigned long.
	(fparse_text_list): Likewise.
	* src/server/ram-output.c (foutput_text_list): Changed
	type of local variable "i" from int to unsigned long.
	(foutput_time): Renamed a parameter name to avoid
	warnings from gcc.
	(rcsid): Added a missing const.
	* src/server/prot-a-output.c (prot_a_output_conf_list): Changed
	type of local variable "i" from int to unsigned long.
	(prot_a_output_text_list): Likewise.
	(prot_a_output_time): Renamed local variable
	names to avoid warnings from gcc.
	(rcsid): Added a missing const.
	* src/server/local-to-global.c (Local_text_no_iter): New
	experimental typedef.
	(l2g_append): Renamed i to ix and changed type to
	Local_text_no_iter.
	* src/server/dbck-cache.c: Include dbck-cache.h.
	(rcsid): Added a missing const.
	(next_text_num): Changed type from int to Text_no.
	(TEXT_RANGE): Adjusted printf format for next_text_num change.
	(VOID_TEXT_RANGE): Likewise.
	(cache_sync): Changed type of local variable i from int to
	unsigned long.  Removed extern declaration of oformat.
	Adjusted printf formats for next_text_num change.
	(init_cache): Removed extern declaration of oformat.
	Adjusted printf formats for next_text_num change.
	* src/server/conference.c (do_create_conf): Now static.
	(do_lookup): Changed type of local variables i and retsize to
	avoid warnings.  Handle overflow a little better and log warning
	messages if overflow ever occurs.
	(rcsid): Added a missing const.
	* src/libraries/libmisc/s-string.c (s_strcmp): Changed type of
	loop variable from "unsigned int" to "String_size".
	(s_usr_strcmp): Likewise.
	(char2digit): Added const qualifier to translate_table.  Use an
	int as argument to isalpha and tolower to avoid problems with
	signed chars.
	(rcsid): Added a missing const.
	* src/server/conf-file.c (assign_text_no):  Don't use isdigit
	unless isascii is true.  Use an int as argument to isalpha and
	isdigit to avoid problems with signed chars.
	(assign_conf_no): Likewise.
	(assign_int): Likewise.
	(rcsid): Added a missing const.

	Many minor tweaks to remove annoying but harmless warnings from
	gcc.
	* src/server/updateLysKOM.c (checkstatus): Now static.
	* src/server/text.c: Include internal-services.h.
	(rcsid): Added a missing const.
	(set_loc_no): Renamed a parameter name to avoid
	warnings from gcc.
	(find_recipient): Now static.  Removed declaration of errno.
	* src/server/session.c (get_time): Renamed a parameter name to avoid
	warnings from gcc.
	(rcsid): Added a missing const.
	* src/server/server-config.c (log_param): Flag unused argument.
	(param_name): Now static.
	(rcsid): Added a missing const.
	* src/server/rfc931.c: Include rfc931.h.
	(get_real_username): Added a const qualifier to the return value.
	* src/server/rfc931.h (get_real_username): Added a const qualifier
	to the return value.
	* src/server/ramkomd.c (rcsid): Added a missing const.
	(init_data_base): Removed unused argument dir_base.  All callers
	updated.
	(sighandler_hup): Flag unused argument.
	(sighandler_quit): Likewise.
	(sighandler_usr1): Likewise.
	(sighandler_usr2): Likewise.
	(go_daemon): Make it a function prototype.
	(initialize): New static.
	* src/server/mux.c: (rcsid): Added a missing const.
	(UCB_printf): Specify the return type in the extern declaration.
	* src/server/membership.c (do_add_member): Renamed local variable
	names to avoid warnings from gcc.
	(do_sub_member): Likewise.
	(locate_member): Likewise.
	(check_membership): Likewise.
	(set_membership_type): Likewise.
	(rcsid): Added a missing const.
	* src/server/log.c (rcsid): Added a missing const.
	(logv): Renamed local variable names to avoid warnings
	from gcc.
	(log): Likewise.
	* src/server/internal-services.h (do_create_conf): Declaration
	removed.  This function is static.
	* src/server/dbck.c (register_jubel): Flag unused arguments.
	(locate_member): Renamed local variable names to avoid warnings
	from gcc.
	(check_misc_infos): Likewise.
	(check_created_texts): Likewise.
	(check_membership): Likewise.
	(check_texts_in_conf): Likewise.
	(confirm): Added const qualifier to argument question.
	(check_member): Likewise.
	(init_data_base): Removed the unused dbase_dir argument.  All
	callers updated.
	* src/server/dbck-cache.h (oformat): Declaration added.
	* src/server/connections.c (login_request): Added a missing const
	to the realuser local variable.
	(rcsid): Added a missing const.
	* src/server/conf-file.h (struct parameter): Added const qualifier
	to the name and default_val tags.
	* src/server/aux-items.c: Include services.h.
	(aux_item_definition_cache_regexp): Now static.
	(initialize_aux_items): Removed declaration of
	parse_aux_item_definitions.
	(aux_item_call_add_triggers): Now static.
	(aux_item_call_delete_triggers): Now static.
	(aux_item_call_undelete_triggers): Now static.
	* src/server/aux-items.h (Aux_item_definition_s): Added const
	qualifier to the name tag.
	(Aux_item_trigger_mapping): Likewise.
	(parse_aux_item_definitions): Declaration added.
	* src/server/aux-item-def.y: 
	(aux_item_def_typename): Added const qualifier to the return value.
	(aux_item_def_check_assign): Added const qualifier to the id argument.
	(aux_item_def_check_trigger): Added const qualifier to the
	check_name argument.
	* src/server/admin.c (shutdown_kom): Flag unused arguments.
	(rcsid): Added a missing const.
	* src/include/services.h: Renamed a few parameter names to avoid
	warnings from gcc.
	* src/server/prot-a-output.h: Likewise.
	* src/server/ram-output.h: Likewise.
	* src/libraries/libcommon/parser.h: Likewise.
	* src/server/manipulate.h: Likewise.
	* src/libraries/libcommon/kom-errno.c (rcsid): Added a missing const.
	* src/libraries/libcommon/misc-parser.c: Likewise.
	* src/libraries/libcommon/parser.c: Likewise.
	* src/libraries/libmisc/s-collat-tabs.c: Likewise.
	* src/server/cache-node.c: Likewise.
	* src/server/disk-end-of-atomic.c: Likewise.
	* src/server/internal-connections.c: Likewise.
	* src/server/isc-malloc.c: Likewise.
	* src/server/isc-parse.c: Likewise.
	* src/server/memory.c: Likewise.
	* src/server/mux-parse.c: Likewise.
	* src/server/person.c: Likewise.
	* src/server/prot-a-parse.c: Likewise.
	* src/server/prot-a-send-async.c: Likewise.
	* src/server/prot-a.c: Likewise.
	* src/server/ram-smalloc.c: Likewise.
	* src/server/regex-match.c: Likewise.
	* src/server/send-async.c: Likewise.
	* src/server/string-malloc.c: Likewise.
	* src/server/text-garb.c: Likewise.
	* src/libraries/libansi/empty.c: Likewise.
	
	Remove some old unused files.
	* src/libraries/libmisc/zmalloc.c: Unused file removed.
	* src/libraries/libmisc/zmalloc.h: Unused file removed.
	* src/server/kom-types.c: Empty file removed.
	* scripts/Summarize-Headers: File removed.
	* scripts/List-Files: File removed.
	* src/libraries/libclient/.cvsignore: File removed.
	* src/libraries/libclient/Makefile.in: File removed.
	* src/libraries/libclient/async.c: File removed.
	* src/libraries/libclient/async.h: File removed.
	* src/libraries/libclient/client-Makefile.in: File removed.
	* src/libraries/libclient/client-malloc.h: File removed.
	* src/libraries/libclient/client.c: File removed.
	* src/libraries/libclient/client.h: File removed.
	* src/libraries/libclient/input.c: File removed.
	* src/libraries/libclient/input.h: File removed.
	* src/libraries/libclient/kom-types.c: File removed.
	* src/libraries/libclient/output.c: File removed.
	* src/libraries/libclient/output.h: File removed.
	* src/libraries/libclient/parse.c: File removed.
	* src/libraries/libclient/parse.h: File removed.
	* src/libraries/libclient/send.c: File removed.
	* src/libraries/libclient/send.h: File removed.
	* src/libraries/libclient/services.c: File removed.
	* src/libraries/libclient/services.h: File removed.

915
916
917
918
919
920
921
922
923
924
1998-07-07  Per Cederqvist  <ceder@gratia>

	Fixed spelling of the config file parameter "Max broadcast length".
	* src/server/server-config.c (parameters): Fixed mis-spelling of
	"Max broadcast length".
	* doc/man/lyskomd.8: Likewise.

	* doc/Protocol-A.texi: Minor errata.
	* doc/security-levels.txt: Converted from swascii to latin1.

925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
1998-06-10  David Byers  <davby@ida.liu.se>

	* src/server/membership.c (sub_member): Return KOM_NOT_MEMBER for
	secret memberships.

1998-06-08  David Byers  <davby@ida.liu.se>

	* src/server/membership.c (set_membership_type): New function.

	* src/server/prot-a-output.c (prot_a_output_membership): Output
	added_at. 
	(prot_a_output_member): Output added_at

	* src/server/membership.c (do_add_member): Set added_at.
	(get_members): Filter out added_at.

	* src/server/memory.c (init_membership): Init added_at.

	* src/server/ram-output.c (foutput_member_2): Added output of
 	added_at.

	* src/server/ram-parse.c (fparse_member_2): Added parsing of added_at.

	* src/include/kom-types.h: Added added_at to Membership och Member.

	* src/server/ram-parse.c (fparse_membership_2): Added parsning of
 	added_at.

	* src/server/ram-output.c (foutput_membership_2): Added output of
 	added_at.

Fri Jan 16 22:51:52 1998  David Byers  <davby@litefix.ida.liu.se>

	* src/include/kom-types.h (Aux_item_flags): Added dont_garb.

	* src/server/text-garb.c (garb_text): Check dont_garb aux-item
 	flag.

David Byers's avatar
David Byers committed
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
Mon Sep 22 19:06:05 1997  David Byers  <davby@litefix.ida.liu.se>

	* src/server/cache-node.h: New flags: snapshot and synced.

Sun Sep 21 21:16:28 1997  David Byers  <davby@litefix.ida.liu.se>

	* src/server/memory.c (copy_text_stat): Call copy_aux_item_list. 
	(copy_aux_item_list): New function.
	(copy_aux_item): New function.
	(copy_conference): Call copy_aux_item_list.
	(clear_conference): Free the aux_item_list
	(init_conference): Init the aux_item_list.
	(clear_text_stat): Free the aux_item_list.
	(init_text_stat): Init the aux_item_list.
	(init_aux_item_list): New function.

979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Sat Sep 13 15:07:32 1997  David Byers  <davby@ida.liu.se>

	* run-support/aux-items.conf: New file. This is the aux-item
 	definition file.

	* src/server/aux-items.h: New file. Include this when using
 	aux-items.

	* src/server/aux-items.c: New file. Implements most of the
 	functionality associated with aux-items.

	* src/server/aux-item-def.l: New file. Implements the scanner for
 	the aux-item definition file parser.

	* src/server/aux-item-def.y: New file. Implements the aux-item
 	definition file parser.

	* src/server/text.c: Added support for aux-items. Set err_stat
 	whenever kom_errno is set.
	(create_text_old): Renamed from create_text. Use do_create_text.
	(create_text): New RPC function.
	(create_anonymous_text): New RPC function.
For faster browsing, not all history is shown. View entire blame