ChangeLog 59.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Sun Mar  6 20:53:37 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* Makefile.src (doinstall): Install $(PROGRAMS).
	(PROGRAMS): Added updateLysKOM.
	(updateLysKOM, updateLysKOM.o): New targets.
	* updateLysKOM.c: New file.

	* isc-parse.c: Use HAVE_STRINGS_H and HAVE_STRCHR.
	* conf-file.c: Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STRCHR and
	HAVE_STDLIB_H.
	* cache.c: Use HAVE_STRING_H.
	* cache-database.c: Use HAVE_STRING_H and HAVE_STDLIB_H.

Sat Mar  5 17:55:01 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* session.c (login_old, login): Added missing trailing newline in
	the log message added on Feb 27.
	(login): Don't log when a person logs in as himself.

	* admin.c (shutdown_kom): Log who is shutting down the server.

	* Makefile.src (tags, .gdbinit): User @SRCTOPDIR@, not $(TOPDIR).

	* conf-file.c (assign_defaults): Fixed bug in error message printing.

	* rfc931.c ("param.h"): Include it.

	* Makefile.src (SRCS, *_SRCS): Removed. No longer used.
	Various other fixes.

	* tmp-limits.h (MAX_TEXT): Increased to 750000.  IM explosion
	detected.

	* server-config.c (DEFAULT_PREFIX): Expect that macro to be set
	when the file is compiled.
	* Makefile.src (server-config.o): Define DEFAULT_PREFIX when
	compiling it.

39
40
Sun Feb 27 14:33:19 1994  Per Cederqvist  (ceder@lysator.liu.se)

Per Cederqvist's avatar
Per Cederqvist committed
41
42
43
44
45
46
	* Log logins.
	* param.h (struct kom_par): New field: log_login.
	* server-config.c (parameters): Added "Log login".
	* session.c (login_old, login): Log successful login attempts
	together with username and host.

47
48
49
50
51
52
53
54
55
56
57
58
59
60
	* Make the use of the IDENT protocol a configurable parameter.
	* param.h (struct kom_par): New field: authentication_level.
	* server-config.c (ident_param): New function.
	(parameters): Added Ident-authentcation.
	* rfc931.c (get_real_username): Always fail, without trying to
	contact an IDENT server, if param.authentication_level is 0.
	* connections.c (login_request): Disallow connections if
	param.authentication_level is 2 and the IDENT lookup fails.

	* cache.c: Don't #define SERVER.

	* session.c (login): Don't update the sessions count when logging
	in as the same person which already is logged in.

Per Cederqvist's avatar
Per Cederqvist committed
61
62
Thu Feb 24 11:31:39 1994  Per Cederqvist  (ceder@lysator.liu.se)

63
64
	* prot-a.c: Include "kom-memory.h".

Per Cederqvist's avatar
Per Cederqvist committed
65
66
67
	* Makefile.in (doclean, dodistclean): Removed duplicate empty
	entries of these targets.

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Sun Feb 20 17:14:25 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* cache.c: Integrated into the LysKOM environment. Fixed memory
	handling. Still needs more work.

	* cache.h: Moved the comments before what they comment.

	* simple-cache.c (query_next_text_num): The return value is a
	Text_no, not an int.

	* membership.c, session.c, text.c: Include kom-memory.h.

	* cache-database.c: Include smalloc.h. Adapted to the LysKOM
	environment. Fold some long lines.

Pontus Hagland's avatar
Pontus Hagland committed
83
84
85
86
87
88
Sun Feb 20 15:12:16 1994  Pontus Hagland  (law@kajsa)

	* cache.h: Rewritten. (Contents should be the same)
	* cache.c, cache-database.c, cache-database.h:
          new files (cache/database)

Per Cederqvist's avatar
Per Cederqvist committed
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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
160
161
Sat Feb 19 04:36:10 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* Don't allow anybody to create jubel-texts.
	text.c (struct jubel): New struct.
	(jubel_root): New variable.
	(register_jubel, free_all_jubel, ok_to_create_next_text): New
	functions.
	(create_text, create_anonymous_text): Check ok_to_create_next_text().

	* ramkomd.c (struct parameter, log_param): Moved to
	server-config.c.
	(init_data_base): Removed code to build an empty data base.
	(dump_exit_statistics): Call free_all_jubel().

	* server-config.c (parameters): New file-local variable.
	(CONFIG_FILE): New const.
	(DATAFILE_NAME, BACKUPFILE_NAME, TEXTFILE_NAME, STATISTIC_NAME,
	PID_NAME, MEMUSE_NAME, DEFAULT_CLIENT_SERVICE,
	DEFAULT_MUX_SERVICE, TIMEOUT, GARBTIMEOUT, SYNCTIMEOUT,
	GARB_INTERVAL, SYNC_INTERVAL, SYNC_RETRY_INTERVAL, CONF_NAME_LEN,
	PWD_LEN, WHAT_DO_LEN, USERNAME_LEN, TEXT_LEN, BROADCAST_LEN,
	REGEXP_LEN, MAX_MARKS_PERSON, MAX_MARKS_TEXT, MAX_RECIPIENTS,
	MAX_COMM, MAX_FOOT, MAX_CREA_MISC, CACHE_CONFERENCES,
	CACHE_PERSONS, CACHE_TEXT_STATS, MARK_AS_READ_CHUNK,
	MAX_SUPER_CONF_LOOP, DEFAULT_NICE, MAXQUEUEDSIZE, MAXDEQUEUELEN):
	Obsoleted by parameters. Removed.
	(log_param, jubel, read_configuration): New file-local functions.

	* ram-parse.c, session.c, simple-cache.c, text.c: Use init_foo()
	instead fo EMPTY_FOO.

	* prot-a.c (prot_a_init): Use init_priv_bits() instead of
	DEFAULT_PRIV_BITS.  Use init_conf_type() instead of
	NULL_CONF_TYPE.

	* param.h: Added lots of configuration.

	* membership.c (do_add_member): Use init_membership() instead of
	EMPTY_MEMBERSHIP.

	* manipulate.h (register_jubel, free_all_jubel): New functions.

	* lyskomd.h (num_ip_client_port, num_ip_mux_port): Removed.

	* kom-types.c: Removed crap.  This file is now empty.

	* kom-memory.h, memory.c: Cleanup. Added init_* functions.

	* internal-connections.c (init_connection): New function.
	(alloc_connection): Use it, instead of the (now deleted) const
	EMPTY_CONNECTION.

	* dbck.c (main): Read configuration file, the same way that
	lyskomd does.

	* conf-file.h: (struct parameter): default_val is a char*, not
	void*.

	* conf-file.c (assign_bool, configure_line): Use strcmp, not
	strcasecmp (which is not portable).

	* admin.c, conference.c, dbck.c, disk-end-of-atomic.c, fncdef.txt,
	person.c, prot-a-parse-arg-c.awk, prot-a.c, session.c,
	simple-cache.c, text-garb.c, text.c: Use param."foo" (from
	param.h) instead of "FOO".

	* Makefile.in (DBCK): Added conf-file.o.
	(DBCK_SRCS): Added conf-file.c.

Fri Jan 14 20:06:14 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* server-config.h: New file.

162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
Wed Jan 12 02:26:36 1994  Per Cederqvist  (ceder@lysator.liu.se)

	* server-config.c (CONFIG_FILE): New constant.

	* ramkomd.c: Read configuration from a config file.
	(initialize): New function.
	(param): New variable, holding (almost) all configuration.
	(send_async_messages): Superseeded by param.send_async_messages.
	* send-async.c: Track change
	* ramkomd.c (parameters): New variable.
	(main): Only accept -d and name of config file as arguments.
	(num_ip_client_port, num_ip_mux_port): Superseeded by
	param.num_ip_client_port and param.num_ip_mux_port.
	* connections.c (login_request): Track change.

	* connections.c, dbck-cache.c, person.c, prot-a.c, text-garb.c,
	simple-cache.c : Fixed format strings in BUG/VBUG/TRACE2 macros.

	* param.h, conf-file.h, conf-file.c: New files.

	* Makefile.in (HDRS): Added conf-file.h and param.h.
	(GENOBJS): Added conf-file.o.
	(GEN_SRCS): Added conf-file.c.

Per Cederqvist's avatar
Per Cederqvist committed
186
187
188
189
190
191
192
193
194
195
196
Mon Nov 22 20:03:37 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* tmp-limits.h (MAX_TEXT): Increased to 550000.
	(MAX_CONF): Increased to 3765.

	* ramkomd.c (sighandler_usr1): Re-install the signal handler when
	it catches a signal.

	* prot-a-parse-arg-c.awk: Include <sys/types.h>, <sys/socket.h>
	and <stdarg.h> in the generated file (prot-a-parse-arg.c).

Per Cederqvist's avatar
Per Cederqvist committed
197
198
199
200
201
202
203
204
Thu Oct 14 10:15:27 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* admin.c, conference.c, dbck-cache.c, internal-connections.c,
	membership.c, memory.c, person.c, prot-a-parse.c, ram-output.c,
	ram-parse.c, regex-match.c, send-async.c, session.c,
	simple-cache.c, text-garb.c, text.c: Include <stdarg.h> if
	HAVE_STDARG_H.

Per Cederqvist's avatar
Per Cederqvist committed
205
206
Wed Oct 13 00:03:53 1993  Per Cederqvist  (ceder@lysator.liu.se)

Per Cederqvist's avatar
Per Cederqvist committed
207
208
209
210
	* mux.c (mux_printf): Track the name change in isc, and call
	UCB_printf instead of _printf. (_printf clashed with _printf from
	libc on HPUX machines).

Per Cederqvist's avatar
Per Cederqvist committed
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
	* dbck-cache.c, simple-cache.c (SEEK_SET, SEEK_END): Define them,
	if we cannot find them in <stdio.h>, <fcntl.h> or <unistd.h>.

	* ramkomd.c (main): New option: "-llocale". Default is now to
	never call setlocale().

	* Makefile.in (LIBS): Not all systems support the -L flag to ld,
	so avoid it. Give "$(LIBDIR)/libfoo.a" to ld instead of
	"-L$(LIBDIR) -lfoo".

	* log.{h,c} (log): Test HAVE_VFPRINTF, and use a substitute log
	function if no vfprintf is available. The substitute might even
	work on some architectures!
	* ramkomd.c (restart_kom): Likewize.
	* dbck.c (log, restart_kom): Ditto.

Tue Oct 12 19:36:41 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* getopt.h: Removed, since it was unused.

	* ramkomd.c: Test HAVE_LOCALE_H.

	* dbck-cache.c, dbck.c, person.c, ramkomd.c: Test HAVE_STDLIB_H.

	* connections.c, isc-parse.c, membership.c, memory.h, mux.c,
	person.c, ram-parse.c, ramkomd.c: Test HAVE_STRING_H.

	* text.c (get_last_text): Now takes a (struct tm *) as argument,
	not a time_t. That way we can use localtime() (which is POSIX)
	instead of timelocal() (which appears to exist only on SunOS 4.x).
	* call-switch.awk: Don't call timelocal when creating code for a
	time_date. (The called function should expect a (struct tm *), not
	a time_t as before).

245
246
Sun Oct 10 12:25:47 1993  Per Cederqvist  (ceder@lysator.liu.se)

247
248
249
250
251
252
253
254
255
	* fncdef.txt: sync renamed to sync_kom, to avoid name clashes with
	libc.
	* admin.c (sync_kom): Was formerly named sync.
	* prot-a.c (prot_a_is_legal_fnc): call_fnc_sync is renamed to
	call_fnc_sync_kom.

	* ramkomd.c (sighandler_usr2): Removed buggy declaration of
	fork().

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
	* rfc931.c (get_real_username): Test HAVE_LIBAUTHUSER instead of
	RFC_931.

	* ramkomd.c (restart_kom): Use getcwd() (which is POSIX) to get
	the current working directory. Fall back on getwd() if getcwd() is
	not available.

	* ramkomd.c (main): Use sysconf(_SC_OPEN_MAX) instead of
	getdtablesize(), if available.
	* server-config.c (MAX_NO_OF_CONNECTIONS): Now initialized by
	main() if HAVE_SYSCONF or HAVE_GETDTABLESIZE is defined.

	* kom-memory.h: Renamed memory.h to kom-memory.h, to avoid
	conflicts with <memory.h>.

	* fncdef.txt: shutdown renamed to shutdown_kom, to avoid name
	clashes with libc.
	* admin.c (shutdown_kom): Was formerly named shutdown.
	* prot-a.c (prot_a_is_legal_fnc): call_fnc_shutdown is renamed to
	call_fnc_shutdown_kom.

	* *.h, *.c: Replace u_ with unsigned.

	* *.c: POSIXized include files.

	* connections.h (parse_env): Always declare it, even if _JBLEN is
	undefined. (Not all versions of <setjmp.h> defines _JBLEN).
	* mux-parse.h (mux_arse_env): Likewise.

	* Makefile.in: Hacked to work with --srcdir.

Per Cederqvist's avatar
Per Cederqvist committed
287
288
289
290
Fri Oct  8 18:41:58 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* Makefile.in (LIBS): Added -L$(LIBDIR).

291
292
293
294
295
Thu Oct  7 22:26:52 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* missing-ansi.c, tmp-difftime.h: Removed.  The contents of the
	files can now be found inside libraries/libansi.

296
297
298
299
300
Tue Sep 28 00:59:41 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* rfc931.c: Don't include <authuser.h> unless RFC_931 is defined
	(thanks to Bo Kullmar).

Per Cederqvist's avatar
Per Cederqvist committed
301
302
303
304
305
306
307
308
309
Fri Aug 13 16:17:42 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* version.incl: Version 1.4.1 (not released).

	* simple-cache.c (sync_part): Fixed bug, introduced on 5 Aug
	(causing nothing to be saved automatically).
	* simple-cache.c (sync_state): New state: sync_idle. Documented
	the state machine.

Per Cederqvist's avatar
Per Cederqvist committed
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
Thu Aug  5 01:01:44 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* version.incl: Version 1.4 (not released).

	* tmp-limits.h: Allow 450000 texts.

	* simple-cache.c (init_cache): Don't print false error messages
	when the -L option is not given.

	* simple-cache.c (sync_part): Prevent lyskomd from looping
	endlessly when the server is shut down, by always returning TRUE
	when a save cycle is finished (even if a new cycle should be
	initiated immediately).

	* conference.c (legal_name): Set kom_errno to KOM_LONG_STR or
	KOM_BAD_NAME if it fails. Updated all callers of legal_name to not
	set kom_errno.

	* tmp-difftime.h: New includefile, which should be removed as soon
	as possible (when configuration is improved).
	* missing-ansi.c, connections.c, text-garb.c, simple-cache.c,
	session.c: Include it.

	* fncdef.txt: Added lookup_person and lookup_conf.
	* conference.c (do_lookup, lookup_person, lookup_conf): New functions.

	* fncdef.txt: Added set_client_version, get_client_name and
	get_client_version.
	* session.c (set_client_version, get_client_name,
	get_client_version): New functions.
	* connections.h (struct connection): Added new fields named
	client_name and client_version.
	* internal-connections.c (EMPTY_CONNECTION, new_client,
	kill_client): Initialize/destruct the fields as appropriate.

	* cache.h, simple-cache.c (cached_create_text): The string is a const.
	* text.c (create_text, create_anonymous_text): Likewize.

	* It is now possible to mark texts with mark_type 0.
	* fncdef.txt: Renamed mark_text to mark_text_old.
	* fncdef.txt: Added mark_text and unmark_text.
	* person.c: (do_unmark_text): New function: delete a mark.
	* person.c: (do_mark_mark_text): Never delete a mark. All callers
	changed to use do_unmark_text instead where appropriate.
	* person.c: (mark_text, unmark_text): New functions.
	* person.c: (mark_text_old): Compatibility function that calls
	mark_text or unmark_text depending on mark_type. This will now
	return an error if you unmark at text that you had not marked.

	* prot-a.c (is_legal_fnc): Track the above changes.

361
362
363
364
365
366
Mon Mar 15 02:32:16 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* version.incl: Version 1.3.3 (not released).

	* tmp-limits.h: Allow 399999 texts and 2965 conferences.

Per Cederqvist's avatar
Per Cederqvist committed
367
368
369
370
371
372
373
374
375
376
Sun Feb 21 17:34:30 1993  Per Cederqvist  (ceder@lysator.liu.se)

	* version.incl: Version 1.3.2 (not released).

	* connections.c (add_to_kill_list): Fixed a bug that caused some
	  false warnings in the log file.

	* rfc931.c (get_real_username): A fake version when RFC_931 is
	  undefined.

Per Cederqvist's avatar
Per Cederqvist committed
377
378
379
380
Sun Jan 17 04:38:34 1993  Per Cederqvist  (ceder@konrad)

	* version.incl: Version 1.3.1 (not released).

381
382
383
384
385
386
387
Sat Jan 16 23:25:44 1993  Per Cederqvist  (ceder@konrad)

	* *.c: Use the USE macro.

	* ramkomd.c (dbase_dir): This variable was only used in main, and
	  was thus moved into main().

388
389
Sat Dec 19 01:17:41 1992  Per Cederqvist  (ceder@mauritz)

Per Cederqvist's avatar
Per Cederqvist committed
390
391
392
393
	* version.incl: Version 1.3.

	* rfc931.c (get_real_username): Don't log as much as previously.

394
395
396
397
398
399
400
401
402
	* Implement regexp matching, using GNU regex 0.11.
	* cache.h, simple-cache.c (cached_no_of_existing_conferences,
	cached_get_name): New functions.
	* fncdef.txt (re_lookup_person, re_lookup_conf): New functions.
	* prot-a.c (prot_a_is_legal_fnc): They are legal.
	* regex-match.c: New file.
	* server-config.c (REGEXP_LEN): Allow 1024 bytes of regexps.
	* Makefile (ATOMS, ATOMS_SRCS): Include regex-match.{c,o}.

403
404
405
406
407
408
409
Tue Dec  1 00:17:23 1992  Linus Tolke Y  (linus@mauritz)

	* version.incl: Version 1.2.8.

	* simple-cache.c (cache_delete_text): Simple bug in the logging of
	  deleting texts.

410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
Sun Nov 22 16:06:36 1992  Per Cederqvist  (ceder@mauritz)

	* version.incl: Version 1.2.7.

	* Support for logging of all db accesses:
	* ramkomd.c (main): Added -L option.
	* cache.h (tell_cache_garb_text): New function.
	* simple-cache.c: Do the logging.
	* text-garb.c (garb_text): Inhibit the logging while garbing.

	* cache.h: Removed unused stuff.

Mon Nov  2 19:18:08 1992  Per Cederqvist  (ceder@mauritz)

	* simple-cache.c (LOGFILE): Deleted the changes from Tue Oct 27.

	* cache.h (MAX_CACHED_PERSONS, MAX_CACHED_WHATEVER,
	cached_load_names, cached_add_name): was unused, is deleted.

429
430
431
432
433
434
435
Tue Oct 27 05:27:55 1992  Per Cederqvist  (ceder@ruben)

	* version.incl: Version 1.2.6.

	* simple-cache.c (LOGFILE): If #define'd, log every usage of the
	database to the file whose filename LOGFILE is set to.

Per Cederqvist's avatar
Per Cederqvist committed
436
437
438
439
440
441
Thu Oct  8 08:51:23 1992  Per Cederqvist  (ceder@mauritz)

	* tmp-limits.h: Allow 333333 texts.

	* dbck.c (main): Fixed usage message.

442
443
444
445
446
Wed Oct  7 00:43:03 1992  Per Cederqvist  (ceder@mauritz)

	* text-garb.c: Added a comment that describes a design for a
	better way to implement garbage collection of texts.

Per Cederqvist's avatar
Per Cederqvist committed
447
448
449
450
451
452
453
454
455
Sun Sep  6 20:30:01 1992  Per Cederqvist  (ceder@robert)

	* version.incl: Version 1.2.5.

	* connections.c (toploop): Optimization: don't flush stdout 
	unless buglevel > 0.

	* tmp-limits.h: Allow 33333 texts and 1999 confs.

456
457
Wed Aug 12 01:38:22 1992  Per Cederqvist  (ceder@robin)

Per Cederqvist's avatar
Per Cederqvist committed
458
459
	* version.incl: Version 1.2.4.

460
461
462
463
464
465
466
467
	* rfc931.c (get_real_username): Introduce 20-second timeout. Log
	any ident queries that takes more than 3 seconds. New argument:
	hostname (only used for the log).
	* connections.c (login_request): Send the new argument.

	* log.c (logv): Print the log message on a single line, with the
	time in the first 20 columns. (Facilitate log browsing).

468
469
Wed Aug 12 00:33:55 1992  Inge Wallin  (inge@lysator)

470
	* simple-cache.c (save_one_text): Write texts to file as long as
471
472
	  they are removed. 

473
474
Thu Jun 11 16:28:39 1992  Per Cederqvist  (ceder@lysator)

Per Cederqvist's avatar
Per Cederqvist committed
475
476
	* vercion.incl: Version 1.2.3.

477
478
479
480
	* server-config.c: Timeout set to two minutes. Cache size
	increased to 20 elements.
	* simple-cache.c (dump_cache_stats): Also report the cache sizes.

Per Cederqvist's avatar
Per Cederqvist committed
481
482
	* missing-ansi.c (strerror): Return a const char *,not a char *.

483
484
485
	* connections.c (login_request): Don't dump core when we can't get
	the name of the originating host.

486
487
488
489
490
Wed Jun 10 03:36:30 1992  Per Cederqvist  (ceder@robin)

	* ramkomd.c (main): Log version number and pid when starting a new
	server.

491
492
Sun May 31 03:08:31 1992  Per Cederqvist  (ceder@lysator)

Per Cederqvist's avatar
Per Cederqvist committed
493
494
495
496
	* version.incl: Version 1.2.2 (not released). (Note: a bug in
	isc-0.97 has been fixed since 1.2.1: malloc() was used instead of
	isc_malloc_wrapper to allocate the kom_server_mcb).

497
498
499
 	* lyskomd.h (kom_server_mcb): Removed duplicate declaration (it
	was (and still is) also declared in connections.h).

500
501
	* handle-malloc-dump.el: Added (require 'elib-dll).

502
503
Mon May 25 22:56:38 1992  Per Cederqvist  (ceder@lysator)

504
505
506
	* ram-smalloc.c (tmp_alloc): Don't log the size of the internal
	table anymore.

507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
	* version.incl: Version 1.2.1 (not released).

	* server-config.c (TIMEOUT): Increased from 100 ms to 5 seconds.
	With isc 0.97 that should be no problem!

	* connections.c (toploop): The timeout is initially zero, so that
	the garbing starts right away.

	* connections.c (login_request): Fix so that the server can tell
	the difference between a mux and a client (using num_ip_*_port)
	(The bug was introduced with the isc upgrade).
	* lyskomd.h (listen_client, listen_mux): No longer exported.
	* ramkomd.c (listen_client, listen_mux): Now static.
	* ramkomd.c, lyskomd.h (num_ip_client_port, num_ip_mux_port): New
	variables.
	* ramkomd.c (server_init): Really use the IscConfig struct.
	* ramkomd.c (server_init): Log which ports lyskomd listens to for
	clients and servers, and set num_ip_*_port.

526
527
528
529
530
531
532
Sat May 23 19:57:17 1992  Per Cederqvist  (ceder@robin)

	* text.c (add_comment, add_footnote): Disallow texts to be
	comments/footnotes to themselves, since that would trigger a bug
	(the misc-list that is created would be erronous. A proper
	misc-info-list handling package should be written instead.

533
534
535
536
Tue May 19 01:06:50 1992  Per Cederqvist  (ceder@lysator)

	* Makefile (tags): Search libraries/libisc-new.

537
538
539
540
541
542
543
544
545
546
Mon May 18 23:27:04 1992  Per Cederqvist  (ceder@lysator)

	* connections.h (Connection): Added the boolean field
	username_valid.
	* internal-connections.c (new_client, EMPTY_CONNECTION):
	Initialize it.
	* prot-a.c (prot_a_parse_packet): Use it to test if username is
	set or not (instead of just assuming that an empty username is
	unset).

Per Cederqvist's avatar
Per Cederqvist committed
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
Thu Apr 16 00:46:50 1992  Per Cederqvist  (ceder@lysator)

	* Use isc-0.97:
	* Makefile (LIBS): -lisc-new instead of -lold-isc.
	* Makefile (GENOBJS, GEN_SRCS): Include isc-malloc.[oc].
	* isc-malloc.[hc]: New files. (Compare string-malloc.[hc]).
	* Various namechanges:
		  ISCMCB -> IscMaster
		  ISCECB -> IscEvent
		  ISCSCB -> IscSession
		  
	* Use isc_destroy() instead of isc_close().
	* isc-interfacs.h: Include <isc-new.h> instead of <isc.h>.
	* lyskomd.h (listen_client, listen_mux): Now (IscSession *).
	Updated all references.
	* lyskomd.h (kom_server_mcb): Now declared here.
	* ramkomd.c ("isc-malloc.h"): Include instead of <isc-dump.h>.
	* ramkomd.c (server_init): Use the new configuration scheme.
	(Needs som further investigation).
	* ramkomd.c (dump_exit_statistics): Don't
	dump_isc_message_counts() since it doesn't exist.

Wed Apr 15 19:52:20 1992  Per Cederqvist  (ceder@lysator)

	* connections.c (add_to_kill_list): Check if the connection
	already was on the kill-list. If so, print a diagnostic and
	return.

575
576
Tue Apr 14 17:21:26 1992  Per Cederqvist  (ceder@lysator)

Per Cederqvist's avatar
Per Cederqvist committed
577
578
	* Version 1.1.2 (not released).

579
580
581
582
583
	* session.c (create_oldstyle_username): New function.
	* session.c (pepsi, change_what_am_i_doing, who_is_on,
	get_session_info): Use it. (pepsi and change_what_am_i_doing used
	to got the username wrong in 1.1.1).

584
585
586
587
588
Sat Apr 11 22:00:27 1992  Per Cederqvist  (ceder@robin)

	* connections.c (check_kill_flag): Small optimization: don't call
	sfree when the kill_list is empty.

589
590
591
592
593
594
595
596
597
598
599
600
601
602
Fri Apr 10 13:46:41 1992  Per Cederqvist  (ceder@lysator)

	* Since lyskomd spended 25% of the time in check_kill_flag it was
	rewritten. Instead of having a flag in the Connection that is
	checked once after every atomic call a linked list of connections
	that shall be killed is created.
	* connections.h (Connection): The field kill_me deleted.
	* connections.[hc] (add_to_kill_list): New function.
	* connections.c (kill_list_size): New variables.
	* connections.c (check_kill_flg): Rewritten to use the kill_list.
	* internal-connections.c (EMPTY_CONNECTION, new_client): Don't try
	to initialize kill_me.
	* session.c (disconnect): Use add_to_kill_list() instead of kill_me.

Per Cederqvist's avatar
Per Cederqvist committed
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
Thu Apr  9 00:15:33 1992  Per Cederqvist  (ceder@lysator)

	* Version 1.1.1 (not released).

	* Lyskom used to spend 60% of the time in limit_text_stat. With
	the changes of today it has dropped to 0.1%.

	* disk-end-of-atomic.c (end_of_atomic): Call limit_cache_size only
	every 100 rounds.

	* conference.c (unique_name): Fixed bug. It was previously
	possible to create a conference with the same name as an already
	existing conference.

	* simple-cache.c (throwable_p): New function.
	* simple-cache.c (limit_pers, limit_conf, limit_text_stat): Use
	throwable_p, and get the condition right. 

Per Cederqvist's avatar
Per Cederqvist committed
621
622
623
624
625
626
627
628
Tue Apr  7 16:48:54 1992  Per Cederqvist  (ceder@robin)

	* session.c (login_old, login): Handle visibility flag correctly
	when an implicit logout is performed.

	* prot-a-output.c (prot_a_output_who_info): Removed erroneous
	bugfix.

629
630
631
632
633
634
635
Mon Apr  6 23:11:29 1992  Per Cederqvist  (ceder@ruben)

	* session.c (who_is_on_ident): Fix malloc bug.

	* session.c (who_is_on, who_is_on_ident, who_is_on_old): Don't
	return invisible sessions.

Per Cederqvist's avatar
Per Cederqvist committed
636
637
Sat Apr  4 19:24:27 1992  Per Cederqvist  (ceder@lysator)

638
	* person.c (get_person_stat): It is allowed to get the person
639
640
641
	status before logging in so that it is possible to print a "last
	login from:" message.

Per Cederqvist's avatar
Per Cederqvist committed
642
643
644
645
646
647
648
649
650
651
	* ramkomd.c: Include "getopt.h", not <getopt.h>.

	* person.c (create_person): The newly created person always logs in
	visibly.

	* kom-types.c (EMPTY_SESSION_INFO_IDENT, EMPTY_WHO_INFO_IDENT):
	New constants.

	* Makefile (LIBS): Use LIBRESOLV and LIBIDENT.

652
653
Wed Apr  1 22:02:55 1992  Per Cederqvist  (ceder@lysator)

Per Cederqvist's avatar
Per Cederqvist committed
654
	* Code to allow invisible sessions:
655
656
657
658
659
660
661
662
663
664
	* connections.h (Connection): New field: invisible.
	* session.c, fncdef.txt (login_old): New name for the function
	login().
	* fncdef.txt (login): New function with a parameter for invisible
	use.
	* session.c, fncdef.txt (login): New function with invisibility
	support.
	* session.c (logout, pepsi, change_what_i_am_doing): Don't send
	asynchronous messages if the session is invisible.

Per Cederqvist's avatar
Per Cederqvist committed
665
666
	* Code to allow user identification using the Ident protocol (as
	defined in RFC 931):
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
	* connections.h (Connection): New field: ident_user.
	* connections.h (Res_type): New types: rt_session_info_ident and
	rt_who_info_ident_list.
	* connections.c (login_request): Set ident_user.
	* fncdef.txt (who_is_on_ident, get_session_info_ident): New
	functions that behaves like who_is_on and get_session_info, but
	also returns the ident name.
	* internal_conections.c (EMPTY_CONNECTION, new_client,
	kill_client): Set/free ident_user and invisible.
	* prot_a_output.c (prot_a_output_who_info_ident,
	prot_a_output_who_info_ident_list,
	prot_a_output_session_info_ident): New functions.
	* prot-a.c (reply): rt_who_info_ident_list and
	rt_session_info_ident: New reply types.
	* session.c (login_old): Generate the a proper (but not
	1.1.0-compatible) string in username.
	* session.c (who_is_on, get_session_info): Generate username.
	* session.c (who_is_on_ident, get_session_info_ident): New functions.

	* prot-a.c (prot_a_reply): Free username when returning a
Per Cederqvist's avatar
Per Cederqvist committed
687
	session_info. It is allocated in get_session_info() in session.c.
688
	* prot-a-output.c (prot_a_output_who_info_list): Free username
Per Cederqvist's avatar
Per Cederqvist committed
689
690
	when returning a who_info_list. It is allocated in who_is_on() in
	session.c.
691

692
693
694
695
696
Tue Mar 31 23:48:47 1992  Per Cederqvist  (ceder@robert)

	* rfc931.[hc]: New file.
	* Makefile: (GEN_OBJS, GEN_SRCS): Use it.

697
698
699
700
701
702
Tue Mar 24 18:05:18 1992  Per Cederqvist  (ceder@robert)

	* simple-cache.c (save_one_text): Check that the entire file made
	it to the disk (compare wath ftell() says after fclose() and
	fopen()).

703
704
705
706
707
708
709
710
Mon Mar 23 08:51:13 1992  Per Cederqvist  (ceder@robin)

	* dbck.c (truncated_texts): New variable.
	* dbck.c (main): Increase modifications if truncated_texts is set.
	* dbck-cache.c (init_cache): If the database is truncated or
	severely damaged in the text-status part, just ignore the remaining
	texts (and don't fail miserably).

Per Cederqvist's avatar
Per Cederqvist committed
711
712
713
714
715
Thu Mar 12 04:30:17 1992  Per Cederqvist  (ceder@lysator)

	* membership.c (get_unread_confs): You must be logged in to use
	  this call.

Per Cederqvist's avatar
Per Cederqvist committed
716
717
718
719
Mon Mar  9 16:33:45 1992  Per Cederqvist  (ceder@robin)

	* DATAFILE_NAME (server-config.c): Added a comment.

Per Cederqvist's avatar
Per Cederqvist committed
720
721
Wed Feb 26 19:49:21 1992  Per Cederqvist  (ceder@lysator)

Per Cederqvist's avatar
Per Cederqvist committed
722
	* various: Lint from gcc 2.0 deleted.
Per Cederqvist's avatar
Per Cederqvist committed
723

Per Cederqvist's avatar
Per Cederqvist committed
724
725
Fri Feb 21 01:45:35 1992  Per Cederqvist  (ceder@robin)

Per Cederqvist's avatar
Per Cederqvist committed
726
	* server-config.c (SYNC_TIMEOUT): Decreased from 10 millisec to 0.
Per Cederqvist's avatar
Per Cederqvist committed
727
728
729
	  It takes some 2 hours for the server at Lysator to save the
	  entire data base, and that is a bit too long...

Per Cederqvist's avatar
Per Cederqvist committed
730
	* dbck.c (main): New flag: -s. Prints some extra statistics.
Per Cederqvist's avatar
Per Cederqvist committed
731

Per Cederqvist's avatar
Per Cederqvist committed
732
	* dbck.c (print_statistics): New function that prints statistics
Per Cederqvist's avatar
Per Cederqvist committed
733
734
	  about the lengths of texts.

Per Cederqvist's avatar
Per Cederqvist committed
735
	* prot-a-parse-arg-c.awk: Fixed a syntax error. (gawk could
Per Cederqvist's avatar
Per Cederqvist committed
736
737
	  handle the file, but awk could not).

738
739
Sun Jan 12 02:30:34 1992  Per Cederqvist  (ceder at lysator)

Per Cederqvist's avatar
Per Cederqvist committed
740
	* prot-a-parse.[ch] (prot_a_get_token): Then function is now static.
741

742
743
Sun Jan  5 19:10:20 1992  Per Cederqvist  (ceder at lysator)

Per Cederqvist's avatar
Per Cederqvist committed
744
	* dbck.c (main): Tell the user why no compression was done if he
Per Cederqvist's avatar
Per Cederqvist committed
745
746
	  specifies -g and there is an error in the files.

Per Cederqvist's avatar
Per Cederqvist committed
747
	* dbck.c, ramkomd.c (main): Better usage messages.
Per Cederqvist's avatar
Per Cederqvist committed
748

Per Cederqvist's avatar
Per Cederqvist committed
749
	* simple-cache.c (init_cache): Slightly better log error message
750
751
	  when the text file can not be found.

752
753
Wed Dec 18 00:05:43 1991  Per Cederqvist  (ceder at lysator)

754
755
	* Version 1.0.4 was never used. Version is now 1.1.0.

756
757
758
	* fncdef.txt, prot-a.c, text.c (find_next_text_no,
	  find_previous_text_no): New functions.

759
760
Tue Dec 17 00:52:11 1991  Per Cederqvist  (ceder at lysator)

Per Cederqvist's avatar
Per Cederqvist committed
761
762
763
764
765
766
	* prot-a-parse-arg-c.awk: Fixed bogus parsing of argument to
	  get_last_text.

	* prot-a-parse.h, prot-a-parse.c (prot_a_parse_time_date): New
	  function for get_last_text.

767
768
	* text.c (get_last_text): Rewrote it.

769
770
Mon Dec 16 15:32:57 1991  Per Cederqvist  (ceder at ruben)

771
772
773
774
	* conference.c (is_supervisor): New arguments: viewer and viewer_p.

	* membership.c (access_perm): New parameters: viewer and viewer_p.

775
776
777
778
779
780
	* admin.c (broadcast, send_message): Don't forget to check the
	  length of the message. 

	* text.c (create_text, create_anonymous_text): Fixed error in max
	  length comparison.

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
	* All the changes below fixes one single bug. When a text is
	  created that has both a secret and a public conference as
	  recipient the asynchronous messages that were sent out did not
	  filter away the secret conference. This has how been fixed.

	* membership.c manipulate.h (fast_access_perm): New arguments:
	  viewer and viewer_p.

	* send-async.c, text.c (is_member_in_recpt): Moved from
	  send-async.c to text.c.

	* send-async.h, send-async.c (async_new_text): Sends to a
	  specified connection.

	* text.c (create_text, create_anonymous_text): Use
	  send_async_new_text.

	* text.c (send_async_new_text): New function.

	* text.c (get_text_stat): Use filter_secret_info.

	* text.c (filter_secret_info): New function that given a text-stat
	  and a person number yields a new text-stat that only contains
	  tha recipients that the viewer is allowed to know about.

Per Cederqvist's avatar
Per Cederqvist committed
806
807
808
809
Mon Nov 11 01:08:09 1991  Per Cederqvist  (ceder at ruben)

	* fncdef.txt, prot-a.c, text.c: Added create_anonymous_text.

Linus Tolke's avatar
Linus Tolke committed
810
811
812
813
814
Mon Nov 10 20:00:00 1991  Linus Tolke T  (linus at ruben)

	* fncdef.txt, prot-a.c, text.c, call-switch.awk, cache.h, 
	  connections.h : Added get_last_text.

815
816
817
818
819
Tue Oct 29 15:48:15 1991  Linus Tolke Y  (linus at ruben)

	* prot-a-output.c, prot-a-parse.c, ram-output.c, ram-parse.c
	  (Priv_bits): The flg7 field has change name to extern_gw.

820
821
Tue Oct 29 03:52:34 1991  Per Cederqvist  (ceder at robert)

822
823
824
825
826
	* Makefile (tags): tags does not depend on anything now.

	* Makefile (HDRS): isc.h should be isc-interface.h. See note from
	  Sat Sep 21. 

Per Cederqvist's avatar
Per Cederqvist committed
827
828
	* Version is now 1.0.4.

829
830
831
832
	* internal-connections.c (no_of_connection_attempts): Now a global
	  variable, so that dump_allocated_connections can write it to the
	  log files.

833
834
835
836
837
	* ramkomd.c (dump_exit_statistics): This function, which is only
	  run when the server is brought down nicely, writes some
	  statistics to a log file. The log file is now open in append
	  mode (and not overwrite mode...)

838
839
840
841
842
Mon Oct 21 23:14:22 1991  Per Cederqvist  (ceder at robin)

	* text.c (create_text): Check that the length of the text is no
	  greater than TEXT_LEN.

Per Cederqvist's avatar
Per Cederqvist committed
843
844
Wed Sep 25 11:44:17 1991  Per Cederqvist  (ceder at lysator)

845
846
847
848
849
	* person.c (do_set_passwd, chk_passwd),
	  ram-parse.c (fparse_conference):
	  Use string_free and not sfree to free strings that was
	  created with s_crea_c_string. 

Per Cederqvist's avatar
Per Cederqvist committed
850
851
	* person.c (do_set_passwd): Fixed serious bug in salt generation.

Per Cederqvist's avatar
Per Cederqvist committed
852
853
854
855
Mon Sep 23 19:39:55 1991  Per Cederqvist  (ceder at lysator)

	* text.c (sender): handle a sent_at correctly.

Per Cederqvist's avatar
Per Cederqvist committed
856
857
Sat Sep 21 02:12:24 1991  Per Cederqvist  (ceder at lysator)

858
859
860
861
862
	* "isc.h" is now known as "isc-interface.h" to avoid confusion
	  with <isc.h>.

	* version.incl: Go 1.0.2.

863
864
865
866
867
868
869
870
871
872
	* ram-smalloc.c: Added support for memory leak finding.

	* trace-mem.gdb, handle-malloc-dump.el: Useful for finding memory 
	  leaks in the server. Compile ram-smalloc.c with DEBUG_MALLOC
	  defined.

	* mux.c (mux_close): Fixed memory leak.

	* ramkomd.c (main): Print how many blocks isc allocates.

Per Cederqvist's avatar
Per Cederqvist committed
873
874
	* ramkomd.c: ip_client_port and ip_mux_port are local to ramkomd.c.

Per Cederqvist's avatar
Per Cederqvist committed
875
876
877
878
879
880
Tue Sep 17 23:04:39 1991  Per Cederqvist  (ceder at lysator)

	* .gdbinit: Now created by "make .gdbinit".

	* Removed smalloc.c that is never used.

Per Cederqvist's avatar
Go 1.0!    
Per Cederqvist committed
881
882
883
884
Mon Sep 16 19:27:04 1991  Per Cederqvist  (ceder at lysator)

	* version.incl: Version 1.0!

Per Cederqvist's avatar
Per Cederqvist committed
885
886
887
888
889
Fri Sep 13 22:20:59 1991  Per Cederqvist  (ceder at lysator)

	* server-config.c: Det heter lyskomd-data, inte ramkomd-data
	  (osv). F|rb{ttrade n}gra kommentarer.

Per Cederqvist's avatar
Per Cederqvist committed
890
891
892
893
894
895
896
897
898
Thu Sep 12 01:00:13 1991  Per Cederqvist  (ceder at lysator)

	* ramkomd.c (main): Anropa srand() om ENCRYPT_PASSWORDS {r satt,
	  s} att vi f}r ett slumpm{ssigt fr|.

	* person.c (do_set_passwd, chk_passwd) Kryptera l|senord om
	  ENCRYPT_PASSWORDS {r satt. (Inkompatibelt med gamla
	  databasformatet).

899
900
901
902
903
904
Tue Sep 10 21:58:18 1991  Per Cederqvist  (ceder at robert)

	* conference.c (delete_conf): Om det {r en brevl}da som tas bort
	  s} ska personen som tas bort loggas ut f|rst (inte n|dv{ndigtvis
	  personen som tar bort en person...)

Per Cederqvist's avatar
Per Cederqvist committed
905
906
Thu Sep  5 10:14:40 1991  Per Cederqvist  (ceder at lysator)

907
908
909
910
911
912
913
	* cache.h, simple-cache.c, dbck-cache.c (cached_set_conf_type): 
	  borttagen.

	* conference.c, person.c: alla anrop till cached_set_conf_type
	  borttagna. (Funktionen anropades bara precis efter
	  mark_conference_as_changed.	  

Per Cederqvist's avatar
Per Cederqvist committed
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
	* simple-cache.c: Fixade lite stavfel. La till lite nya defensiva
	  kontroller.

	* simple-cache.c (mark_conference_as_changed): Uppdatera inte bara
	  first_local_no, utan {ven nice och type i small_conf_array varje
	  g}ng som mark_conference_as_changed anropas. Namnet uppdateras
	  dock inte. Det kostar nog mer {n det smakar (man m}ste
	  reallokera en str{ng n{r man {ndrar namnet).

	* simple-cache.c (get_text_node, get_pers_node, get_conf_node):
	  Returnera NULL om det s|kta numret {r st|rre {n next_free_num
	  eller next_text_num. Defensivt ska det vara!

Wed Sep  4 22:03:47 1991  Per Cederqvist  (ceder at lysator)

	* text-garb.c (garb_text): Nollst{ll deleted_texts n{r garbningen
	  {r klar.

932
933
934
935
936
937
Sat Aug 31 22:14:30 1991  Per Cederqvist  (ceder at lysator)

	* ramkomd.c: Inkludera alltid <locale.h> - gcc -M f|rs|ker
	  inkludera den {ven om HAVE_LOCALE inte {r satt. Skicka med en
	  tom locale.h i include/ansi f|r de som inte har locale.

938
939
Fri Aug 30 05:32:13 1991  Per Cederqvist  (ceder at lysator)

Per Cederqvist's avatar
Per Cederqvist committed
940
941
942
	* config.c ramkomd.c (MAX_NO_OF_CONNECTIONS): S{tt fr}n
	  getdtablesize om det anropet finns.

943
944
945
	* limits.h heter numera tmp-limits.h (f|r att inte f|rv{xla den
	  med ANSI-filen <limits.h>.

946
947
Wed Aug 28 03:21:27 1991  Per Cederqvist  (ceder at lysator)

948
949
950
	* dbck.c (post_check_persons): Uppdatera modifications {ven n{r
	  man reparerar antalet skapade m|ten f|r en person.

Per Cederqvist's avatar
Per Cederqvist committed
951
952
953
954
	* La till RCS-Id i alla k{llkodsfiler.

	* prot-a-parse-arc-c.awk: "smalloc.h" heter <server/smalloc.h>.

Per Cederqvist's avatar
Per Cederqvist committed
955
956
	* dbck-cache2.c heter nu dbck-cache.c.

957
958
	* cache.c, end-of-atomic.c, lyskomd.c, ram-cache.c: Borttagna.

959
960
Mon Aug 26 04:13:34 1991  Per Cederqvist  (ceder at lysator)

961
962
	* simple-cache.c: Anv{nde BUFSIZ i st{llet f|r FILENAME_MAX.

963
964
	* #include "smalloc.h" heter nu #include <server/smalloc.h>

Per Cederqvist's avatar
Per Cederqvist committed
965
966
967
968
969
970
971
972
973
974
975
976
977
Sat Aug 24 17:36:43 1991  Per Cederqvist  (ceder at lysator)

	* simple-cache.c: Anv{nde FILENAME_MAX i st{llet f|r 1024.

	* limits.h (MAX_TEXT) |kade till 200003.

Wed Aug 14 02:11:17 1991  Per Cederqvist  (ceder at lysator)

	* Makefile(LIBS): La till -lresolv.

	* config.c(WHITESPACE): La till \r. Det g}r inte att koppla upp en
	  telnet till server version 0.31.6.

Per Cederqvist's avatar
Per Cederqvist committed
978
Sat May 18 04:22:06 1991  Per Cederqvist  (ceder at nanny)
979
 
Per Cederqvist's avatar
Per Cederqvist committed
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
	* Installerade och startade diskomd 0.29.1.

	* Div. bugfixar i diskomd och simple-cache.c.

Fri May 17 06:00:00 1991  Per Cederqvist  (ceder at nanny)

	* Installerade diskomd 0.29 som ramkomd.

Wed May  8 04:43:50 1991  Thomas Bellman  (Bellman@nanny)

	* conference.c (set_super_conf): Fixed bug that made it impossible
	  to set the super-conf to zero.


Mon May  6 09:34:00 1991  Per Cederqvist  (ceder at nanny)

	* Anv{nder funktionerna i memory.h s} l}ng m|jligt i st{llet f|r
	  smalloc/sfree.

	* Nu har servern tv} kopior av namnet p} varje m|te. Dels en som
	  alltid ligger i minnet (name_list i ramkomd, small_conf_arr i
	  diskomd), dels en som bara {r inladdad ibland (i diskomd),
	  conf_arr.

Fri May  3 14:49:19 1991  Per Cederqvist  (ceder at nanny)

	* 0.28 installerad.

	* Anv{nder traverse_connections |verallt d{r man g}r igenom alla
	  uppkopplingar.

	* Ny fil: internal-connections.[hc] (i brist p} b{ttre namn).
	  Inneh}ller new_client(), kill_client(), get_conn_by_number() och
	  traverse_connections(). I forts{ttningen skall man inte anv{nda
	  sig av f{ltet (Connection *)->next, utan i st{llet anv{nda
	  traverse_connections() och get_conn_by_number().

	* Nytt anrop: who_am_i som ger en Session_no.

Thu May  2 17:24:50 1991  Per Cederqvist  (ceder at nanny)

	* St{ngde av TIME_SYNC i ram-cache.c. Nu kanske n}gon orkar l{sa
	  log-filerna igen...

	* Nu kollas flaggan kill_me i Connection i _alla_ uppkopplingar
	  efter varje anrop, s} nu b|r disconnect fungera.

Mon Apr 29 19:02:12 1991  Per Cederqvist  (ceder at nanny)

	* Namnbyte i Who_info och Connection: session resp. client_no
Per Cederqvist's avatar
Per Cederqvist committed
1030
	  heter numera session_no.
Per Cederqvist's avatar
Per Cederqvist committed
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767

	* Ett nytt asynkront meddelande: logout. (Pers_no & Session_no).

	* Tv} nya anrop: get_session_info och disconnect.

Mon Apr 22 14:32:19 1991  Per Cederqvist  (ceder at nanny)

	* version 0.27.2 installerad.

	* Nu skickas sessionsnummer med n{r man g|r 'pepsi' och
	  'change_what_i_am_doing'.

Sat Apr  6 11:47:47 1991  Per Cederqvist  (ceder at nanny)

	* version 0.27.1 installerad.

Sun Mar 24 18:49:56 1991  Per Cederqvist  (ceder at nanny)

	* parser.c: lookup_name(): Nu tas alla '-' bort - |kad
	  QZ-kom-kompatibilitet! F|r tillf{llet g|rs det bara om SERVER {r
	  definierad (f|r att inte riskera att f|rst|ra kod i klienten).

Tue Mar 19 20:27:45 1991  Peter Eriksson  (pen at nanny)

	* connections.c: logout_client() om CONN_MAGIC_FREE, skriver
	  nu i logfilen, och g|r return omeddelbart - snabbfix f|r
	  att servern inte ska krascha s} ofta..

	* version 0.26 installerad

Mon Mar 18 11:28:46 1991  Peter Eriksson  (pen at nanny)

	* config.c: DEFAULT_CLIENT_SERVICE_NAME = lyskom-client
		    IN_CLIENT_PORT = 4896

	* version 0.24 installerad

Mon Mar 18 09:12:59 1991  Peter Eriksson  (pen at nanny)

	* connections.c: mux_handle_packet(): mux->parse.string nollst{lls
          nu efter att den har tilldelats till cp->hostname...

	* version 0.23 installerad

Mon Mar 18 01:56:50 1991  Per Cederqvist  (ceder at nanny)

	* send_message: ny funktion och asynkront meddelande. Ers{tter
	  broadcast. Broadcast finns kvar f|r bak}tkompatibilitet.

Sun Mar 17 23:49:28 1991  Per Cederqvist  (ceder at nanny)

	* mux.c: mux_flush(): om uppkopplingen var av typ MUX_TYPE_CLIENT
	  s} gjordes inte isc_flush. 

Sun Mar 17 03:50:23 1991  Peter Eriksson  (pen at nanny)

	* connections.c: logout_client(), snabb fix f|r ett
	  problem som medf|rde att mux_close() anropas tv}
	  g}nger n}nstans (tror jag), och cp->mux var d}
	  NULL andra g}ngen...

	* Version 0.21 installerad

Sat Mar 16 00:03:29 1991  Per Cederqvist  (ceder at nanny)

	* Simpelt mux-protokoll implementerat.

	* change_name(): Nu kan man byta namn fr}n "foo" till "foo".

	* Version 0.20 installerad

Tue Mar 12 02:16:12 1991  Peter Eriksson  (pen at nanny)

	* server version 0.19 installerad.... BUG fixad i ISCLIB
	  som har medf|rt att en buffert vart |verskriven...

	* server version 0.18 installerad. (magiska nummer inf|rda
	  {ven i Connection och Mux strukturerna)

Mon Mar 11 21:23:02 1991  Peter Eriksson  (pen at nanny)

	* ram-smalloc.c/smalloc.c: Magiskt nummer inf|rt...

Mon Mar 11 19:49:10 1991  Per Cederqvist  (ceder at nanny)

	* dbck anpassat till nya formatet. "dbck -g" garbar i text-filen.

Mon Mar 11 01:48:34 1991  Peter Eriksson  (pen at nanny)

	* 0.17 installerad och ig}ngsatt.

Sun Mar 10 21:23:50 1991  Peter Eriksson  (pen at nanny)

	* connections.c: bugfix i new_client():setup av all_conn...-listan

Sat Mar  9 15:25:09 1991  Peter Eriksson  (pen at nanny)

	* Buffring av meddelanden g|rs nu i Mux-rutinerna.

Sat Mar  9 05:52:34 1991  Per Cederqvist  (ceder at nanny)

	* 0.16 installerad och ig}ngsatt.

Sat Mar  9 03:25:25 1991  Peter Eriksson  (pen at nanny)

	* Allt f{rdigt f|r MUX-hantering. Nu fattas bara ett
	  riktigt protokoll, samt buffring av utdata i Mux_client
	  strukturen. Major rewrite av det mesta som hade med
	  isc_ att g|ra. 

Thu Mar  7 03:16:00 1991  Peter Eriksson  (pen at nanny)

	* Nu g}r servern genom kompilatorn, med allt fixat till
	  ISC. Jag har dock inte provk|rt...

Wed Mar  6 23:08:16 1991  Per Cederqvist  (ceder at nanny)

	* P} grund av Isc-ombyggnaden har jag inte kunnat provk|ra.

	* prot-a.c: prot_a_parse_packet(): Om man skrev n}got som matchade
	  regexpen "A[ \t\n]*\([0-9]+\)[^H].*" n{r man loggade in s} sattes
	  username till "\1H\{\}\1".

	* text.c: get_text(): Nu kan man (troligtvis) h{mta en "tom" text
	  utan att f} felet KOM_INDEX_OUT_OF_RANGE.

Tue Mar  5 19:17:50 1991  Per Cederqvist  (ceder at nanny)

	* ram-smalloc.c: rewrote tmp_alloc and free_tmp. Reason: a spurios
	  "rm ram-smalloc.c"...

Sun Mar  3 22:16:34 1991  Per Cederqvist  (ceder at nanny)

	* isc-serverinfo.[hc]: Uppsnyggad. Anv{nder inte l{ngre n}got som
	  {r lyskom-specifikt. F|ljd{ndringar i connections.c, dit en del
	  saker blev flyttade. Inge hj{lpte mig v{lja vad som skulle bort.

	* N{r n}gon f|rs|ker logga in, men servern {r full, sker nu
	  f|ljande: 

	  * Den som kopplar upp f}r texten "%% No connections left.\n".

	  * Alla andra f}r det asynkrona meddelandet 11
	    (ay_rejected_connection) (inga argument).

Sat Mar  2 18:47:37 1991  Per Cederqvist  (ceder at nanny)

	* i_am_on_obsolete skickas inte l{ngre.

	* broadcast tar nu en str{ng, inte ett textnummer. Skrev broadcast
	  och funktioner f|r det asynkrona meddelandet broadcast.

Sat Mar  2 01:13:29 1991  Lars Willf|r  (willfor at nanny)

	* Fixade en bug i set_permitted_submitters som gjorde att man inte
	  kunde s{tta till}tna inl{ggsskrivare till 0 (vem som helst).

Tue Feb 19 00:52:03 1991  Per Cederqvist  (ceder at nanny)

	* Bytte versionsnummer till 0.13.

	* conference.c: set_etc_motd(): Ett |verfl|digt semikolon gjorde
	  att det inte gick att s{tta etc_motd.

Sun Feb 17 06:44:46 1991  Thomas Bellman  (bellman at nanny)

	* isc-server.c: isc_flush(): Provar att stoppa redan n{r man n}tt
	  upp till maxgr{nsen MAXQUEUEDSIZE, och inte v{nta tills man
	  |verskrider den.

Fri Feb 15 23:39:46 1991  Per Cederqvist  (ceder at nanny)

	* De tv} {ndringarna nedan fungerade inte, s} jag }terst{llde allt.

	* Om /etc/nologin existerar skickar servern str{ngen
	  "%% No logins allowed." vid uppkoppling. Om fildeskriptorerna {r
	  slut skickas str{ngen "%% No connections left."

	* isc_getnextevent(): Nu returneras en ny uppkoppling {ven i
	  fallet ISC_EVENT_REJECT. Anroparen m}ste nu anropa
	  isc_logoutclient p} en s}dan uppkoppling innan isc_getnextevent
	  anropas n{sta g}ng.

Sun Feb 10 10:04:24 1991  Per Cederqvist  (ceder at nanny)

	* convert.c och convert-cache.c konverterade databasen. Filerna
	  f}r vara kvar ett tag till, tills vi ser att allt verkligen
	  fungerar.

	* Inge och jag skrev om ram-cache.c, ram-output.c och ram-parse.c.
	  Nu sparas textmassan i en s{rskild fil. Dessutom sparas
	  klockslag som time_t, inte som struct tm. Dessa tv} }tg{rder
	  ledde till _stora_ hastighetsvinster - ca en faktor 2.

	  [ndringar i cached_delete_text(), cached_get_text(),
	  cached_create_text(), init_cache(), fparse_text_stat(),
	  foutput_text_stat(), foutput_time() och fparse_time().

	* server/ram-output2.c heter numera server/ram-output.c

	* server/services.h heter numera server/internal-services.h
	  (include/services.h {r of|r{ndrad).

Fri Feb  8 20:24:59 1991  Per Cederqvist  (ceder at nanny)

	* cache.h: Ny funktion: cached_conf_exist(Conf_no).

	* cache.h: cached_get_name anv{nds inte! Det {r nu borttaget.

Tue Feb  5 21:17:42 1991  Per Cederqvist  (ceder at nanny)

	* Info om hur l}ng tid de olika delarna av synkningen tog lagras
	  om TIME_SYNC {r definierad i ram-cache.c.

	* Nu kan man l{sa motd_of_lyskom {ven om man inte {r inloggad.

Tue Feb  5 02:58:34 1991  Peter Eriksson  (pen at nanny)

	* isc-server.c/iscserver.h: Max queue size implementerad.
	  Statistik / client lagras i Isc_clientinfo.

Tue Feb  5 00:51:44 1991  Per Cederqvist  (ceder at nanny)

	* db/ramkomd-logg flyttad till etc/ramkomd-logg.

	* etc/pid: process-id skrivs i denna fil.

Fri Feb  1 23:19:04 1991  Per Cederqvist  (ceder at nanny)

	* 0.10 installerad och startad.

	* get_map fungerade inte om man f|rs|kte h{mta en delmap d{r alla
	  texter man ville ha var raderaded. 90-120 == 547689541.
	  (unsigned). R{ttat, men fr}gan {r hur m}nga liknande buggar det
	  finns...

Tue Jan 22 10:14:28 1991  Lars Willf|r  (willfor at nanny)

	* [ndrade lite #include-rader s} att make depend ska fungera.
	  Kommenterade bort '#include "CloseFileDescriptors"' ur logII.c.

Fri Jan 18 10:33:58 1991  Per Cederqvist  (ceder at nanny)

	* Nytt asynkront meddelande: ay_login. S{nds n{r n}gon loggar in.
	  Nu s{nds inte ay_i_am_on n{r man loggar in l{ngre.

Thu Jan 17 14:43:14 1991  Per Cederqvist  (ceder at nanny)

	* 0.09 installerad.

	* ram-cache.c: Om TIME_SYNC {r definierad loggas information om
	  hur l}ng tid varje syncning tar.

	* Inge:s funktioner f|r att spara databasen n{stan dubbelt s}
	  snabbt som vanligt testade och inlagda.

Mon Jan 14 11:45:26 1991  Per Cederqvist  (ceder at nanny)

	* forced_leave_conf(): Ny funktion som anropas n{r n}gon uttr{der
	  ur ett m|te (av n}gon orsak). Den skickar ett asynkront
	  meddelande till alla uppkopplingar d{r personen i fr}ga {r
	  inloggad och ber{ttar att han inte l{ngre {r med i m|tet. Det
	  asynkrona meddelandet heter "ay_leave_conf".
		       
Sun Jan 13 20:26:29 1991  Inge Wallin  (inge at nanny)

	* Stoppat ner filerna ../*.h i det nyskapade directoryt ../include
	  samt fixat samtliga h- och c-filer i serverdirectoryt att
	  inkludera <foo.h> i st{llet f|r "../foo.h". Dessutom lagt till
	  -I../include i Makefile.

Sun Jan 13 11:27:31 1991  Per Cederqvist  (ceder at nanny)

	* membership.c: get_memberhip(): Om n}gon f|rs|ker h{mta en
	  medlemsskapslista f|r en person den {r organisat|r f|r utan att
	  h{mta de l{sta texterna s} s{tts read_texts till NULL. Bug! Fixat.

	* do_delete_text(): L{nken fr}n f|rfattaren till texten
	  (created_texts) s{tts till noll n{r texten tas bort.

Fri Jan 11 13:37:00 1991  Per Cederqvist  (ceder at nanny)

	* create_text(): Nu kan en text inte vara kommentar/fotnot till
	  samma text mer {n en g}ng.

Thu Jan 10 21:42:16 1991  Thomas Bellman  (bellman at nanny)

	* connections.c: call_function(): Variabeln 'status' tilldelades
	  v{rdet FALSE, fast den var av typen Success.

Thu Jan 10 20:40:46 1991  Peter Eriksson  (pen at nanny)

	* Added feature: rwhod support. (rwhod.c / connections.c)

Thu Jan 10 12:40:33 1991  Per Cederqvist  (ceder at nanny)

	* ram-output.c: foutput_membership() och ram-parse.c:
	fparse_membership(): Om no_of_read != 0 och read_texts == NULL s}
	s{tts no_of_read till 0 och ett meddelande loggas.

	* ram-parse.c: fparse_person(): en liten minnesl{cka tillt{ppt.
	  L|senordet lagrades dubbelt i servern. Eftersom fparse_person
	  bara anv{nds vid uppstart s} p}verkas inte storleken s}
	  mycket... 

Wed Jan  9 16:53:56 1991  Per Cederqvist  (ceder at nanny)

	* mark_as_read(): adjust_read anropas alltid. F|rut kunde det
	  h{nda att read_texts blev o{ndlig om en text raderades innan man
	  l{ste den. Nu ska det inte bli s}. (Men det finns fortfarande
	  minst en bugg kvar n}gonstans i mark_as_read).

Mon Jan  7 11:00:37 1991  Per Cederqvist  (ceder at nanny)

	* mark_as_read(): Nu protesterar servern om man f|rs|ker markera
	  en text med lokalt nummer 0.

Mon Jan  7 09:05:24 1991  Peter Eriksson  (pen at nanny)

	* connections.c&isc-server.c: ISC_EVENT_REJECT

Sun Jan  6 16:13:49 1991  Per Cederqvist  (ceder at nanny)

	* text-garb.c: garb_text() loggar nu hur m}nga texter
	  den har tagit bort efter varje runda.

Sun Jan  6 16:20:59 1991  Peter Eriksson  (pen at nanny)

	* missing-ansi.c: skapade 'strerror()'
	  connections.c:  {ndrade i toploop() s} fel skrivs ut som
			  text ist{llet f|r som siffror.
          isc-server.c:   ditto i isc_flush().

Sat Jan  5 16:20:04 1991  Peter Eriksson  (pen at nanny)

	* connections.c: fexists(): nollst{llning av 'errno'.
	                 skriv ut event->msg om den {r satt vid
			 ISC_EVENT_ERROR.
	  isc-server.c:  isc_getnextevent(): s{tt isc_ei->msg till
			 en beskrivande text vid ISC_EVENT_ERROR.

Sat Jan  5 04:13:01 1991  Per Cederqvist  (ceder at nanny)

	* La in en close i isc_logoutclient. Nu ska v{l f|rbindelserna
	  kopplas ner ordentligt, hoppas jag.

Fri Jan  4 21:14:36 1991  Per Cederqvist  (ceder at nanny)

	* Version 0.07 tagen i drift.

Fri Jan  4 20:13:40 1991  Peter Eriksson  (pen at nanny)

	* isc-server.c: non-blocking writes och transmit queue funkar nu.

Fri Jan  4 12:02:03 1991  Per Cederqvist  (ceder at nanny)

	* create_text returnerar numera KOM_ILL_MISC om man f|rs|ker med
	  samma mottagare mer {n en g}ng.

	* add_recipient klarar nu {ven av att addera en cc_recpt.

Fri Jan  4 11:57:48 1991  Peter Eriksson  (pen at nanny)

	* printf.c: Ansifikation...
	  isc-server.c: isc_printf(), isc_putc(), isc_write() & isc_flush()
			anv{nder nu alla en per-klient s{ndbuffer.
			Dock anv{nds blocking-writes fortfarande...
	  prot-a-*.c & ram-*.c: Anv{nder nu isc-rutinerna f|r utmatning
		                ist{llet f|r stdio.
				

Sun Dec 16 21:55:19 1990  Thomas Bellman  (bellman at nanny)

	* services.c: pepsi(), change_what_i_am_doing(): Man b|r nog s{tta
	  alla f{lt till n}got vettigt i infostrukturen som man skickar
	  till async_i_am_on()...  Speciellt str{ngar som anv{ndarnamnet.

Sat Dec 15 11:04:45 1990  Per Cederqvist  (ceder at nanny)

	* prot-a-send-async.c, async.h: i_am_on skall naturligtvis skicka
	  en hel Who_info. Nu g|rs det. F|r att inte elisp-klienten skall
	  sluta fungera har numera i_am_on nummer 6. Gamla i_am_on, nummer
	  2, finns fortfarande kvar, men kommer att tas bort om n}gon
	  m}nad eller s} n{r alla elisp-klienter som anv{nder gamla
	  i_am_on har f|rsvunnit.

Fri Dec 14 22:15:11 1990  Per Cederqvist  (ceder at nanny)

	* send-async.c: Nu t}l servern att det finns klienter som inte har
	  hunnit ber{tta vilket protokoll de anv{nder. Denna bugg har
	  orsakat ett antal omstarter...

Mon Dec 10 05:32:01 1990  Thomas Bellman  (bellman at nanny)

	* ramkomdc: chdir() till /usr/lyskom/etc innan man dumpar core.
	  Kommer antagligen inte att funka...

Mon Dec 10 05:31:33 1990  Peter Eriksson  (pen at nanny)

	* isc-server.c: non-blocking writes. (FNDELAY).

Wed Dec  5 17:44:27 1990  Per Cederqvist  (ceder at nanny)

	* ram-cache.c: {ndrade konstanten MAX_TEXT fr}n 9999 till 15000.
	  R{ttade en bugg i cached_create_text(). F|rut s} kollade den om
	  next_text_num var == MAX_TEXT, och sa i s} fall ifr}n, MEN
	  r{knade upp next_text_num. Text nummer (MAX_TEXT+1) kunde allts}
	  skapas...

Sun Dec  2 18:06:01 1990  Per Cederqvist  (ceder at nanny)

	* ram-output.c: foutput_time()
	  ram-parse.c: fparse_time()
	  Tidpunkter sparas numera i GMT. P} s} s{tt slipper man ta reda
	  p} vilken tidszon man k|r i.

Thu Nov 29 14:43:27 1990  Per Cederqvist  (ceder at nanny)

	* Jag {ndrade i typen Isc_clientinfo och tog bort en hel del som
	  jag i st{llet la i Connection (som jag skapade). Protokoll A
	  isolerat till typen Prot_a. Nu tror jag att allt som {r
	  protokoll-specifikt {r isolerat, s} l}ngt det g}r. Arbetet med
	  att implementera protokoll B b|rjar nu...

Wed Nov 28 07:57:48 1990  Per Cederqvist  (ceder at nanny)

	* [ven f|r de asynkrona meddelandena {r nu protokoll A isolerat.

Tue Nov 27 14:39:12 1990  Peter Eriksson  (pen at nanny)

	* kill -USR2 g|r fork()&abort() s} man kan f} ut en core av en
	  exekverande server utan att d|da den.

	* ramkomd.c - sighandler_quit - exit(1) -> abort().

Mon Nov 26 21:15:13 1990  Per Cederqvist  (ceder at nanny)

	* Isc_clientinfo-structuren har ett nytt f{lt: u_char protocol.

	* F|rberedde f|r protokoll B genom att isolera protokoll A. Nu
	  ligger allt protkoll-A-specifikt i filerna prot-a-output.[hc],
	  prot-a-parse-arg-[hc].awk, prot-a-parse.[hc] och prot-a.[hc].
	  Observera dock att jag inte {r helt klar {n: jag har inte gjort
	  n}got }t asynkrona meddelanden.

Sun Nov 25 14:17:47 1990  Peter Eriksson  (pen at nanny)

	* isc-cache.c&prot-a-output.c: fflush()+write(fileno()) -> fwrite().
	  Borde snabba upp lite. 

Sun Nov 25 03:08:24 1990  Per Cederqvist  (ceder at nanny)

	* services.c: mark_text(): Nu g}r det att markera texter!
	  [ndringar i manipulate.c:text_read_access - man f}r alltid l{sa
	  texter som man har markerat. Dessutom n}gra nya funktioner i
	  manipulate.c f|r att hantera markeringar.

	* services.c: set_conf_type(): Det {r inte till}tet att ha ett
	  m|te/en person som {r secret men inte rd_prot.

Sat Nov 24 14:19:53 1990  Per Cederqvist  (ceder at nanny)

	* kom_get_unread_confs ger vilka m|ten en viss person har ol{sta
	  inl{gg i.

Sat Nov 24 09:33:32 1990  Peter Eriksson  (pen at nanny)

	* MAX_NO_CONNECTIONS satt till 14 om __sequent__. 
	  [14(max_no_clients)+1(portnum)+3(stdio)+1(databas)+1(reject)]

	* Nya kommandoradsoptioner: -D{databas-path}, -p{portnum}.

	* DATAFILE, BACKUPFILE -> datafile, backupfile (variabla pga
	  support av olika databasdir).
	  
Thu Nov 22 08:06:06 1990  Peter Eriksson  (pen at nanny)

	* Hackade in -SIGUSR1/-SIGHUP/-SIGQUIT (sync, sync&die, sync&die-fast)

	* MAX_NO_OF_CONNECTIONS - funktionalitet

	* Check av /etc/nologin f|r utesp{rr av anv{ndare

Wed Nov 21 10:16:28 1990  Per Cederqvist  (ceder at nanny)

	* end-of-atomic: Nu anropas garb-text() om servern {r idle.

	* ram-cache.c: traverse_text och cached_get_garb_nice skrivna.

	* isc-server.c: Nu anv{nds SO_DONTLINGER, SO_REUSEADDR och
	  SO_KEEPALIVE p} socketen.

	* MAX_NO_OF_CONNECTIONS {r 15 om __sequent__ {r definierat, annars
	  32.

	* config.c: USERNAME_LEN {ndard fr}n 32 till 128 f|r att f} plats
	  med ett maskinnamn ocks}.

	* Makefile: /bin/sed fattar inte heller \{n\}, precis som GNU-sed,
	  s} jag skrev om Makefilen utan den.

Sun Nov 11 15:36:51 1990  Per Cederqvist  (ceder at nanny)

	* cached_set_garb_nice och cached_get_garb_nice.

Fri Nov  9 14:58:54 1990  Per Cederqvist  (ceder at nanny)

	* server/cache.c och server/flurp.c (vad {r det?):
	  '#include "../ldb/ldb.h"' bortkommenterat f|r att kunna g|ra
	  make depend.

	* Makefilen: -L bortkommenterad fr}n LIBS.

Fri Nov  2 00:55:32 1990  Peter Eriksson  (pen at lave)

	* isc_server.c: isc_gethostname() - fixade s} att den returnerade
	  IP-nummret (som en String) som de ska enligt specen...

Thu Nov  1 01:38:44 1990  Per Cederqvist  (ceder at lave)

	* manipulate.c: do_sub_comment() och do_sub_foootnote klarade inte
	  av att f} NULL som text-status. Det fick dom fr}n do_delete_text...

	* manipulate.c: do_sub_recpt(): om conf_c var NULL s} gick det }t
	  skogen. Om conf_no inte existerade gick det }t samma h}ll.

Sat Oct 20 14:35:59 1990  Per Cederqvist  (ceder at lave)

	* Efter ett gott r}d fr}n Lars Aronsson s} har jag lagt till
	  funktionerna get_person_stat_old, get_conf_stat_old och
	  who_is_on_old. De har samma nummer som de gamla get_person_stat
	  et c. P} s} s{tt {r den nya servern kompatibel med gamla
	  klienter.

	* Who_info inneh}ller nu tv} nya f{lt: connection, som {r ett
	  l|pnummer som r{knas upp med ett f|r varje ny connection till
	  klienten, och username, som {r userid@host f|r just den h{r
	  uppkopplingen. (Om personen samtidigt {r inloggad fr}n en annan
	  maskin kan man inte se det med Who_info_old).

	* get_person_stat och get_conf_stat skall numera inte ha n}gon
	  mask. De skickar alltid med namnet.

Fri Oct 19 20:42:32 1990  Per Cederqvist  (ceder at lave)

	* L{nkning sker nu med -lresolv, s} att servern fr}gar nameservers
	  om namnet p} maskiner n{r den bara lyckas f} ip-nummret.

Sun Oct 14 05:00:23 1990  Per Cederqvist  (ceder at lave)

	* isc-server.c: isc_readmsg(): Det inl{sta meddelandet avslutades
	  med ett '\0', som aldrig anv{nds i servern. Det {r ju i och f|r
	  sig inte s} farligt, men problemet var att nollan lades utanf|r
	  det allokerade utrymmet om det kom f|r mycket data p} en g}ng...
	  Nu l{ggs aldrig n}gon '\0':a in.

Thu Sep 13 20:38:22 1990  Per Cederqvist  (ceder at laila)

	* isc-output.c: output_conference():
          [ven conf-type |verf|rs nu. Det var aldrig meningen att ta bort
	  den...

Sat Sep  1 01:22:53 1990  Per Cederqvist  (ceder at lave)

	* Nu fungerar {ndringarna, i alla fall delvis.

Tue Aug 28 14:08:33 1990  Per Cederqvist  (ceder at lave)

	* [ndringen av formaten f|r Text_status och tider ska vara klara nu.

Sun Aug 26 16:23:40 1990  Per Cederqvist  (ceder at lage)

	* P}b|rjade {ndring av formatet f|r |verf|ring av Text_status. I
	  forts{ttningen kommer {ven no_of_chars att |verf|ras.

	* P}b|rjade {ndring av formatet f|r en time_t. I forts{ttningen
	  kommer alla klockslag att |verf|ras som en struct tm. Serverns
	  lokala tid kommer att |verf|ras. Just nu {r {ndringen genomf|rd
	  p} n}gra, men inte alla st{llen.

Tue Aug 21 19:46:50 1990  Per Cederqvist  (ceder at lave)

	* get_text() tar nu h{nsyn till first_char och end_char.

	* get_members() testad.

	* Tog bort Template f|r att f|rhindra att n}gon {ndrar i den av
	  misstag. 

Sun Aug 12 17:17:44 1990  Per Cederqvist  (ceder at lave)

	* get_members() tittar ox}, men den {r inte testad. T}get g}r
	  snart, och jag vill hinna {ta middag f|rst... Vi ses om 14 dar!

	* get_created_texts() tittar p} 'first' och 'len'.

	* En hel massa sm}buggar, bl a i mark_as_read(), r{ttade.

	* get_created_texts() och get_members() skrivna. Dom tittar _inte_
	  p} 'first' och 'no_of_*' {n.

	* get_membership() tittar nu p} 'first' och 'no_of_confs'.

Sat Aug 11 02:13:15 1990  Per Cederqvist  (ceder at lave)

	* services.c: create_text(): Det {r nu till}tet att ha ett loc_no
	  som misc_item. Det ignoreras, oberoende av var det tr{ffas p}.

Thu Aug  9 05:13:44 1990  Thomas Bellman  (bellman at laila)

	* Make depend utg}r fr}n Makefile och inte fr}n Template.  Man kan
	  allts} {ndra direkt i Makefile.

	* get_membership() skriven, men gl|mmer titta p} parametrarna
	  'first' och 'no_of_confs'.  Det {r inte testat heller...

Sat Aug  4 01:41:41 1990  Thomas Bellman  (bellman at lave)

	* manipulate.c: text_read_access(): Nu kan man inte l{sa
	  texter utan att vara inloggad.  ]t minstone enligt
	  k{llkoden.  Den server som k|r har fortfarande det gapande
	  s{kerhetsh}let.

Tue Jul 24 04:40:32 1990  Per Cederqvist  (ceder at lave)

	* F|rb{ttrad felhantering n{r f|r l}nga str{ngar kommer till
	  servern. Nu trunkerar isc-parse.c str{ngen till den maximala
	  l{nged +1 och l}ter services.c uppt{cka att str{ngen {r f|r l}ng
	  och protestera. F|rut skrev isc-parse.c '%% LysKOM protocol
	  error.' och det var nog lite v{l h}rt...

Mon Jul 23 23:44:49 1990  Per Cederqvist  (ceder at lave)

	* En b{ttre version av unique_name(), som inte alltid svara TRUE,
	  {r implementerad.

	* Asynkrona meddelanden {r implementerade.

Fri Jul 13 00:11:48 1990  Per Cederqvist  (ceder at lave)

	* services.h kan inte sl{ngas l{ngre. Fast nuf|rtiden s} {r den
	  ganska liten...

Wed Jun 27 07:42:59 1990  Thomas Bellman  (bellman at lave)

	* services.h kan sl{ngas.  Filen har ersatts av
	  kom:/services.h, som numera kan anv{ndas b}de i serverdelen
	  och klientdelen.  Filerna 'services.c' och 'manipulate.c' {r
	  {ndrade till att inkludera "../services.h" i st{llet.
	  Flaggan SERVER definieras i Makefilen.

Wed Jun  6 04:31:02 1990  Per Cederqvist  (ceder at laila)

	* end-of-atomic.[hc]: Funktion som skall anropas efter varje
	  atomiskt anrop.

Wed May 30 18:47:42 1990  Linus Tolke  (linus at lave)

	* cache.c rivet lite (cached_create_person,
	  mark_conferens_as_changed.)

	* cache.[hc] {ndrade i definitionen av cached_lookup_name s} att
	  den skall st{mma med -----------------------------------------\
	  dvs char * -> String 						|
			       						|
Fri May 25 07:32:18 1990  Per Cederqvist  (ceder at lave)		|
									|
	* manipulate.[hc]: Ny fil som inneh}ller hj{lpfunktioner till	|
	  services.c. Skall endast anv{ndas av services.c.		|
									|
	* log.[hc]: Funktioner f|r att skriva till log-fil.		|
									|
Wed May 23 18:30:26 1990  Per Cederqvist  (ceder at lave)		|
									|
	* cache.[hc], services.[hc]: Nu anv{nds String |verallt, och <--/
	  char * inte alls. Det {r nog mycket i cache.[hc] som inte funkar
	  l{ngre...
	  

Tue May 22 22:01:19 1990  Per Cederqvist  (ceder at laila)

	* 2kom/server/services.h skapad. H{r ligger saker som t ex cachen m}ste
	  komma }t, men som klienterna inte ska komma }t. Det som bara
	  klienterna ska komma }t ligger fortfarande i 2kom/services.h

Wed May  9 21:25:13 1990  Linus Tolke  (linus at laila)

	* Rev infinitesimalt i cache.[hc]. mark_person_as changed fungerar
	  kanske.

Tue May  8 23:19:37 1990  Per Cederqvist  (ceder at lage)

	* Slog ihop cache.[ch] och unprot.[ch] till cache.[ch].
	  unprot.[ch] finns kvar ett tag till, men inneh}ller bara skr{p.

Mon May  7 16:23:28 1990  Per Cederqvist  (ceder at lage)

	* server.[hc] heter numera lyskomd.[hc] i god UNIX-anda.

Sat May  5 20:53:21 1990  Per Cederqvist  (ceder at lave)

	* unprot.[hc]: Tog bort en massa funktionsstubbar som aldrig
	  kommer att avn{ndas. S}g till att .h och .c inneh}ller samma
	  funktioner. unprot.c g}r nu igenom kompilatorn!

Thu May  3 18:54:46 1990  Per Cederqvist  (ceder at lage)

	* unprot.c: Jag skriver in en kommentar "/****/" f|re
	  de funktioner som jag verkligen anv{nder.

Tue Apr 24 03:34:14 1990  Per Cederqvist  (ceder at lage)

	* smalloc.[hc]: Ny fkn srealloc.

	* server.h: Nytt f{lt i Connection: Person * person.

Sat Apr 21 13:22:26 1990  Per Cederqvist  (ceder at lave)

	* Ny Makefile, som regenerar sig sj{lv automagiskt. (make depend)

	* server.h: La till f{ltet ena_level i typen Connection.

Wed Apr 18 01:35:49 1990  Per Cederqvist  (ceder at lage)

	* services.c: get_marks har nu ingen parameter. Man kan bara titta
		      p} sina egna markeringar.

	* unprot.c: Tog bort unprot_change_what_i_am_doing

	* Flyttade minneshanteringen till smalloc.c

	* cache.c: La till ett anrop: get_name.

Tue Apr 17 23:54:52 1990  Per Cederqvist  (ceder at lage)

	* services.{ch}: {ndrade anropet av create_text