summaryrefslogtreecommitdiffstats
path: root/ktalkd/ChangeLog
blob: 775b08a1f561a7df244df0b6fd65f9fbd5d32218 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
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
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
477
478
479
480
481
482
483
484
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
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
2002-12-03  David Faure  <[email protected]>

	* *: Merged with netkit-ntalk-0.17-pre20000412/talkd, including:
	- many security improvements (checks for bad things received in the packets etc.)
	- protocol-related checks and fixes
	This also brings the code a bit closer to the initial talkd again,
	for easier maintainance.
	* kotalkd: Got rid of it (the same daemon can handle both).

2000-12-14  Danny Tholen  <[email protected]>

	* announce.cpp: Improvement for error cases. If the announce program
	can't open the display, or doesn't exist, or doesn't behave properly,
	fallback on text announce. For this, the pipe is made non-blocking and
	the exit code of the announce program is checked. It also means we don't
	wait forever on the announce program if it doesn't send the expected '#'.

2000-03-04  David Faure  <[email protected]>

	* talkd.cpp, ktalkdrc: Some fixes for KDE2 (KInstance, kvt->konsole...

2000-03-04  David Smith <[email protected]>

	* kcmktalkd/* : Ported to KDE2 kcontrol architecture

2000-01-26  David Faure  <[email protected]>

	* readcfg++.cpp, announce.cpp : remove HAVE_FUNC_SETENV tests and
	putenv(), since ktalkd can now use tdecore's fake for setenv if setenv
	is not available. Thanks to [email protected].

2000-01-18  David Faure  <[email protected]>

	* unixsock.cpp : Remove unix socket even if ktalk isn't running
	Thanks to Dani�l Mantione <[email protected]> for reporting & testing

1999-05-09  David Faure  <[email protected]> (1.5.2)

	* find_user.cpp : Check for ':' in ut_host, otherwise it's not a display.
	Thanks to Manuel Cepedello Boiso <[email protected]> for reporting & testing

1999-02-27  David Faure  <[email protected]>
	
	* announce.cpp, ktalkdlg.cpp : Use standard output instead of stderr, 
	for ktalkdlg->ktalkd communication.
	Solves problem when Qt/KDE prints a warning before the '#'.
	Thanks to Andrew Standley-Jones for his help (on irc).
	
1999-02-03  David Faure  <[email protected]> (1.5.1)

	* readcfg++.cpp : Fixed answmach message stopping at first empty line

1999-02-02  David Faure  <[email protected]>

	* kotalkd/vsnprintf.c, SNPRINTF_MISSING : new files for systems
	without snprintf (e.g. Solaris). vsnprintf.c is _not_ to be
	compiled on systems with a snprintf implementation.

	* *lsm: Upgraded version number to 1.5.1 (!) in order to be above
	the old talkd-1.4.4 that I released two years ago and that people
	keep sending me bug reports about !

1998-12-02  David Faure  <[email protected]> (0.9.1)

	* ktalkd/readc*.cpp: Fixed strncpy length arg for NEU_forwardmethod

1998-11-15  David Faure  <[email protected]>

	* ktalkd/readc*.cpp, ktalkd/options.*, ktalkd/process.cpp: Added
	NEU forward method, for multi-networked hosts with forwards

	* ktalkd/includ.h: Improved used of <paths.h> and default settings

	* mail.local/mail.local.c: Used HAVE_VSNPRINTF instead of
	hardcoded list of OSes.

1998-11-11  David Faure  <[email protected]> (0.9.0)

	* ktalkd/talkconn.cpp: Moved static init to TalkConnection::init()
	Added reply address detection for multiple networked hosts.
	Thanks to Burkhard Lehner for the method getReplyAddr().

	* acinclude.m4.in (non-KDE version) : Used /usr/local as
	default_prefix for non-KDE systems.

	* ktalkd/readconf.cpp: Fixed read_user_config (bug with ForwardMethod)
	Speeds up configuration file parsing.

1998-11-03  David Faure  <[email protected]>

	* ktalkd/process.cpp: Fixed a bug, when user config file doesn't
	exist. Reported by [email protected].
	
1998-10-02  David Faure  <[email protected]> (0.8.9)

	* mail.local/mail.local.c: Started using config.h

1998-09-29  David Faure  <[email protected]>

	* ktalkd/unixsock.cpp: Support for multiple-display ktalk.

1998-09-13  David Faure  <[email protected]>

	* ktalkd/find_user.cpp: Converted the get_display function to use
	ifstream instead of read() and realloc()...

	* ktalkd/announce.cpp: Do setuid from the beginning of announce().
 	Solves socket permissions for sendToKtalk and speeds up X announce.

	* ktalkd/readcfg++.cpp: Handles two user config files : 
	ktalkdrc & ktalkannouncerc

	* ktalkd/read*: Removed *kdebindir from readconf.h and readconf.cpp.
	Internal to readcfg++.cpp.

	* ktalkd/options.*: Now a structure instead of a class.

1998-09-07  David Faure  <[email protected]>

	* ktalkd/announce.cpp: No text announce on a xterm if X announce was ok

1998-09-03  David Faure  <[email protected]> (0.8.8)

	* ktalkd/unixsock.cpp: Added chmod => ktalk can write to the socket.

1998-09-02  David Faure  <[email protected]>

	* ktalkd/unixsock.cpp, .h: New. Direct communication with ktalk.
	* ktalkd/announce.cpp: Call sendToKtalk.

1998-08-29  David Faure  <[email protected]>

	* ktalkd/options.cpp: Default values moved from .h to .cpp. 
	Makes -ansi happier.

1998-08-23  David Faure  <[email protected]>

	* ktalkd/process.cpp (process_request): print_response enabled again.

	* ktalkd/find_user.cpp: Removed the 'break;' for xdm, and didn't 
	override tty. This way, you can have both announcements (text & X).

1998-08-19  David Faure  <[email protected]> (0.8.7)

	* ktalkd/mail.local: mail.local is back in the distrib. Has been 
	forgotten since 0.7.0 !! I added a README.mail.local to explain
	its purpose.
	
	* ktalkd/announce.cpp: Added text announce in addition to X announce.

	* ktalkd/process.cpp: Removed check for the family field of addr. Oops.

	* doc/en/*, *: Updated my email address from
	  <[email protected]> to <[email protected]>
	
1998-08-15  David Faure  <[email protected]> (0.8.6)

	* ktalkd/machines/talkconn.cpp: Added check for remote protocol.
	This means that it is now possible to forward to an otalk machine ...

	* ktalk/machines/forwmach.cpp: ... and/or from an otalk machine.

	The first one who sends me an email after testing both, wins :)

	* ktalkd/machines/check_protocol.cpp: Removed. Integrated into 
	  talkconn.cpp. Thanks to Burkhard Lehner for the example code.

	* ktalk/machines/answmach.cpp: Added a sleep(1) for not logged/NEU.

	* ktalkd/print.cpp: Used c++ overriding to name "message()" the 
	    former message_s() et message2().

1998-08-12  David Faure  <[email protected]> (0.8.5)

	* ktalkd/find_user.cpp: A nasty bug with unsigned int fixed.
	   Thanks to Rolf Offermanns who found it.
	   Uncommented the use of ut_host for PTYs (ex : xterms).
	   Exit the loop if XDM login found (highest priority).

	* kotalkd/includ.h: Added a simpler version of includ.h.

1998-08-10  David Faure  <[email protected]> (0.8.4)

	* ktalkd/machines/talkconn.cpp: Support for otalk. (not finished).

	* kotalkd/*.c: Just send to ktalkd, which responds itself.

	* ktalkd/process.cpp: Handle otalk packets (with vers=0)

1998-08-09  David Faure  <[email protected]>

	* kotalkd/kotalkd.c: Dies if ktalk protocol detection (-> ntalk detected).

	* ktalkd/machines/forwmach.cpp: Now forwards DELETEs too. (cf. sig_handler).

	* ktalkd/machines/forwmach.cpp: Final cleanup improved. (for forwmachines).

	* ktalkd/options.cpp: Created, to hold systemwide options.

	* ktalkd/*.c: Converted to c++ all c files.

1998-08-07  David Faure  <[email protected]> (0.8.3)

	* ktalkd/doc/en/Makefile.am: index.html -> ktalkd.html

1998-08-07  David Faure  <[email protected]> (0.8.2)

	* ../acincktalk.m4: Bug fix for the bug fix. Linux detection ok.

1998-08-02  David Faure  <[email protected]>

	* doc/en/ktalkd.sgml: Converted all documentation to sgml. Phew.

	* kcmktalkd/forwmachpage.cpp: i18n'ed the explanation for forwards

1998-07-31  David Faure  <[email protected]>

	* ../acincktalk.m4: More output printed out and a bug fix  
	
1998-07-30  David Faure  <[email protected]> (0.8.1)

	* kotalkd/*.c: New way to support otalk protocol : forward everything
	to local ntalk daemon (possibly ktalkd, but any other should work too)

	* ktalkd/machines/talkconn.cpp (listen): Use SOMAXCONN as arg to listen

1998-07-27  David Faure  <[email protected]> (0.8.0)

	* kotalkd/: Created to support otalk protocol. No new source
	files. Everything is links in it, except Makefile.am and all
	generated files.

1998-07-26  David Faure  <[email protected]>

	* ktalkd/threads.c: Created to manage children processes (register, wait, ...)
	No more zombie processes waiting 1mn30s to be acknowledged. :)

	* ktalkd/machines/forwmach.*: FWT. Lots of bug fixed. Fully tested now.

	* ktalkd/machines/talkconn.*: Bug fixing.

1998-07-24  David Faure  <[email protected]>
	
	* ktalkd/machines/forwmach.*: Created the Forwarding machine. FWA. FWR.

	* kcmktalkd/*: Added the 'forward' configuration page.

	* ktalkd/*: Reverted most of the patch from Enrico Scholz.
	  The forwarding machine is now used for NEU if NEUBehaviour=1.

1998-07-18  David Faure  <[email protected]>

	* ktalkd/readcfg++.h: Removed. Now in readconf.h

1998-07-15  David Faure  <[email protected]> (0.7.0)

	* ktalkd/machines/talkconn.cpp (set_edit_chars): At last ! Fixed the 
	   bug in answmach banners, which first appeared 8 months ago, 
	   erasing half of some lines !

	* ktalkd/table.c, ktalkd/print.c: Improved logs.

	* ktalkd/process.c: Bug fixed : insert_table called even for NEU.

	* ktalkd/machines/*: Converted the answering machine to C++.
 	                     Split into 3 classes.
	     TalkConnection : Handles the protocol.
	     TalkMachine : Generic talk machine.
	     AnswMachine : Answering machine. Inherits from TalkMachine.

1998-07-08  David Faure  <[email protected]> (0.6.2)

	* ktalkd/*, ktalkdlg.cpp: Applied patch for NEUBehaviour=1 
	by Enrico Scholz <[email protected]> 

	* answmach/init_disp.c: Handle VWERASE if not defined (for AIX)
	
1998-07-06  David Faure  <[email protected]>

	* ktalkd/announce.c: Small bug fix in text announcement (remotename).

1998-06-15  David Faure  <[email protected]>
	
	* ktalkd/find_user.c: Added blank after display, needed by announce.c
	
	* kcmktalkd/answmachpage.cpp: Override help() to display ktalkd's help.

1998-06-13  David Faure  <[email protected]> (0.6.1)

	* includ.h, talkd.h: took talkd.h from ktalk. ktalkd doesn't use the
	                        system one anymore.

	* answmach/look_up.c: use sockaddr instead of osockaddr

	* acincktalk.m4, configure.in.1: removed the check for osockaddr

	* ktalkd/talkd.c: Use sys/params.h where available, for hostname length

1998-06-11  David Faure  <[email protected]> (0.6.0)

	* ktalkd/: Reorganised the directory structure, to ship ktalkd 
	with ktalkdlg and kcmktalkd in a single package.
	
	* talkd.c: Caller's hostname was limited to 32 ! Now 256.

	* Makefile.am: rewrote some of them, for non-KDE users.

1998-06-09  David Faure  <[email protected]> (0.5.7)

	* kcmktalkd: First release of the configuration dialog
	
1998-05-16  David Faure  <[email protected]> (0.5.6)

	* announce.c: Announces with ktalkdlg on ALL displays where the
           user is found. It works ! 

	* readcfg++.cpp (init_user_config):
	   Added setenv("HOME",...) because the tdelibs rely on that to find 
	   the user config file.

1998-05-15  David Faure  <[email protected]> (0.5.5)

	* doc/: Made HTML documentation. Phew. Done.

	* readcfg++.cpp (init_user_config):
	   Removed the un-necessary looking in pwd file. 
           KDElibs do that for us :)

	* find_user.c:
	   Disabled X processes scanning if uid < 10. (Security hole)
	   Corrected a bug (S_ISCHR() is now "& 020") which didn't let you talk
	   to tty2 if tty1 was "mesg n".

	* announce.c: open user config file before calling announce_proc, so 
	   that it *is* closed now. It wasn't because of 'return'.
	

1998-05-06  David Faure  <[email protected]>

	* announce.c: now the non-KDE sound works with and without option.
	* acinclude.m4.in - the ktalkd one : some more corrections for 
                                             working without X.

1998-04-28  David Faure  <[email protected]> (0.5.4)

	* acinclude.m4.in - the one from ktalkd package, not the kdenonbeta one
	   rewrote X detection, so that it works also without X :)

1998-04-20  David Faure  <[email protected]> (0.5.3)
	
	* Makefile.am: Removed -ltdeui, not needed.
	* io.c: Corrected an awful bug 
                      (NEUBanner displayed instead of OPTinvitelines)
	* readcfg++.cpp: Added missing "/" before 'ktalkdrc'

1998-04-19  David Faure  <[email protected]> (0.5.2)

	* readcfg++.cpp: added check for user config file.
 	        (was created with root permission otherwise)
	* acinclude.m4.in - the ktalkd one: updated

1998-04-15  David Faure  <[email protected]> (0.5.1)

	ktalkd doesn't use anymore tdedir() because it's protected.
	It sets now $TDEBINDIR, for portable ktalkdrc files. TDEBINDIR 
	is determined by a call to the kde_bindir() function.
	Makefile doesn't define TALKD_CONF anymore for compilation :
	ktalkd now opens ktalkdrc from TDEApplication::kde_configdir().

1998-03-26  David Faure  <[email protected]> (0.5.0)
	ktalkdrc: Extprg is now $TDEDIR/bin/ktalkdlg.
	TDEDIR is now set when reading global configuration file.
	Default value for Extprg includes $TDEDIR.

1998-03-25  David Faure  <[email protected]> (0.4.8)
	TDEDIR is now set by ktalkd, not by ktalkdlg.
	ktalkdrc*:removed path in front of sound files. ktalkdlg now finds them
	 in kde_sounddir().
	Added option ExtPrg. Set to ktalkdlg (default) or ktalk.

1998-03-14  David Faure  <[email protected]> (0.4.7)
	Made 2 packages out of ktalkd : ktalkd and ktalkdlg (new name for
	 atdlg), so that Burkhard Lehner <[email protected]>
	can improve it to communicate with ktalk.

1998-03-13  David Faure  <[email protected]> (0.4.6)
	Changed S_MESSG size. (Too little for mail first line, if NEU)
	Used mkstemp instead of popen for the message left to the
	answering machine. Added option EmptyMail, to avoid getting
	empty mails.

1998-03-10  David Faure  <[email protected]> (0.4.5)
	Renamed debug to debug_mode (debug exists in qt)
	Updated configure.in and acinclude.m4 to match CVS ones.
	Same for ltconfig, ltmain.sh, ...
	Added new translations (es, it) and changed po structure.
	Added NEUBanner* options to ktalkdrc.

1998-02-27  D.F. (thanks to Juraj Bednar <[email protected]>) (0.4.4)
        Removed ktalkd-0.4.x/protocols from the distribution. Caused a 
        bug when compiling.

1998-02-15  D.F. (thanks to B. Lehner<[email protected]>) (0.4.3)
	added checks for paths.h and protocols/talkd.h (for Solaris)
	Added default paths (/dev/ and /var/run/utmp) if paths.h not found
	Included talkd.h in the distribution, for Solaris which doesn't have it
        Changed AC_CHECK_OSOCKADDR to use this file if protocols/talkd.h absent

1998-02-04  David Faure  <[email protected]> (0.4.2)
	Added user option Answmach.
	Moved the daemon to $TDEDIR/bin. One must now change inetd.conf 
	(this way, rpms won't conflict with standard ones, and the old
	in.ntalkd will remain available). Should I deviate 'talk' protocol
	too (in addition to 'ntalk') ?
	Made installation NOT overwrite actual sitewide config file.
	Merged and updated READMEs.

1998-02-03  David Faure  <[email protected]> (0.4.1)
	Added -rpath option, as it's necessary for ktalkd if $TDEDIR/lib is
	not set in ld.so.conf (LD_LIBRARY_PATH not read by a daemon)

1998-02-03 David Faure  <[email protected]> (0.4.0)
	Corrected bugs related to new acinclude.m4 : compiling without X
	and without KDE is possible again.
	Added memcpy for structs.
	Made atdlg re-write ktalkdrc for user if necessary.
	
1998-01-29  David Faure  <[email protected]> (0.3.4)
	Removed answinfo var., added return val to announce and process_request.
	Non existent user (NEU) support : either launch answmach or do nothing.
	(set it in systemwide ktalkdrc). Don't sleep() before answering if NEU
	or not logged.

1998-01-26  David Faure  <[email protected]> (0.3.3)
	Deutsch translation added by J. Mertin <[email protected]>
	Enabled atdlg without sound, following option set.
	Removed nasty \r\n, not needed.
	Made banner arrive 16 chars at a time, not the whole at once !

1998-01-25  David Faure  <[email protected]> (0.3.2)
	Changed default configuration : ktalkd.wav will be installed
	in $TDEDIR/share/apps/ktalkd.  ktalkdrc points to it.
	Made package install_root capable (e.g. for building rpms).

1998-01-25  David Faure  <[email protected]> (0.3.1)
	atdlg will now play sound itself, using libmediatool.
	Typos and bugs corrected.

1998-01-24  still me ... :) (0.3.0)
        Added internationalization to atdlg.cpp. Had to change atdlg params.
        User must set language in ktalkdrc.
	Added more user options to ktalkdrc_user: Sound, SoundPlayer, SoundFile.
	Updated configure.in and acinclude.m4 to stick to tdenetwork as much
	as possible.
        
1998-01-14  David Faure <[email protected]> (0.2.5)
	Moved -DHAVE_KDE from config.h (was a bad hack) to Makefile.am
	Added AC_CHECK_GETDOMAINNAME and AC_CHECK_GETHOSTNAME...
	 and some other little changes to get closer to autoconf stuff from
	 tdenetwork, for future integration. Worked on BSD portability.

1998-01-12  David Faure  <[email protected]> (0.2.4)
	Changed acinclude.m4, to remove NULL, and to make check for osockaddr
	work better under bsd... Also removed NULL from anywhere in the code.

1998-01-11  David Faure  <[email protected]> (0.2.3)
	Added a macro in acinclude.m4, to check for sockaddr and osockaddr.

1998-01-11  David Faure  <[email protected]> (0.2.2)
	Wrote a new way of finding users, in addition to reading utmp,
	which reads /proc to find $DISPLAY of processes. (Linux only).

1998-01-08  David Faure  <[email protected]> (0.2.1)
	Removed MSG_EOR as it used in BSD with another meaning.

1997-12-19  David Faure  <[email protected]> (0.2.0)
	Merged patch from Ralph Weichert (check for libbsd, needed under libc5)

1997-12-16  David Faure  <[email protected]> (0.1.9)
	Fixed link command (back to $(LINK), not $(CXXLINK).
	Fixed process.c (config.h not included => NEW_FIND_USER not defined)
	Wrote includ.h to resolve struct definitions problems.
	Started user config file processing (~/.kde/share/config/ktalkdrc)

1997-12-13  David Faure  <[email protected]> (0.1.8)
	Improved configure.in, acinclude.m4, and ktalkd/Makefile.am, to
	* find out where to install the daemon
	* compile even without X, Qt, and KDE
	* remove jpeg/gif dependencies

1997-12-12  David Faure  <[email protected]> (0.1.7)
	Small bugs correction. 	

1997-12-08  David Faure and Ralph Weichert (0.1.6)
	Added autoconf and automake support. Added support for glibc.
	Back to c compiling, except for .cpp files, of course.

1997-12-02  David Faure <[email protected]> (0.1.5)
	Read KDE configuration file, $TDEDIR/share/config/ktalkdrc, both by
	atdlg and ktalkd, in readcfg++.cpp. Made all daemon compile with g++.
	(Is this right ?)

1997-11-23  David Faure <[email protected]> (0.1.4)
	Re-wrote announcement by answering machine. One line at a time, not
	one char at a time.

1997-11-22  David Faure <[email protected]> (0.1.3)
	Re-wrote process_etc_file, to read talkd.conf sequentially.

1997-11-21  David Faure <[email protected]> (0.1.2c)
	Merged patch from <[email protected]> :
         Used KDE libs in atdlg. User configurable talk client.
	Merged patch from Bruce Gingery <[email protected]> :
	 User configurable To: E-Mail address
	
1997-10-25  David Faure <[email protected]> (0.1.2b)
	Made atdlg finish after RING_WAIT seconds, so that the re-announce
	  will display another window (=> compatibility with other clients than
	  ktalk)

1997-10-22  David Faure <[email protected]> (0.1.2)
	Added to ktalkd (see README for description):
	 * sound capability
	 * configuration (/etc/talkd.conf)
	 * answering machine 

1997-05-14  R. (0.1.1)
        Improved (I hope) X11 recognition:
                Local XDM logins (depends on sessreg)
                Read $DISPLAY variable for PTY logins
        atdlg is run as user and can use MIT-magic-cookies
        atdlg will run talk program