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
|
Sat Nov 22 16:19:09 1997 Adam P. Jenkins <adampjenkins@yahoo.com>
* TalkdInter.py (TalkdInter.__init__): some variables which were
supposed to be class variables -- lastAnnounce, localId, remoteId
-- had the leading "self." left off. Fixed it.
* Talk.py (Talk.makeEdits): Added code to swap the bindings for
BackSpace and Delete keys in the text widgets if swapBsDel is
true.
(main): Added code to get swapBsDel from the XResource database
and if it's true, set swapBsDel to 1, if it's false, set it to 0,
and if it's not set, just leave swapBsDel set to its default
setting.
(Talk.setupIO): Added support for swapBsDel; it now decides which
character to send as the erase character based on swapBsDel.
Wed May 28 12:56:59 1997 Adam P. Jenkins <ajenkins@wagga.cs.umass.edu>
* Talk.py (Talk.announceAgain): Made it also leave an invitation
again. Otherwise, the talkd eventually times out and quits, so the
original invitation is no longer waiting by the time the remote
user responds.
Thu May 15 14:22:34 1997 Adam P. Jenkins <ajenkins@nscs22p8.remote.umass.edu>
* Talk.py (Talk.connect): Changed self.error to Talk.error, since
error is really a class variable.
(Talk.parseAddress): Same thing, s/self.error/Talk.error/
(Talk.__init__): Moved some variables that were previously class
variables into __init__. I didn't realize that initializing the
variables in class scope made them class variables, ala C++ static
member variables. It didn't cause a problem because I only
declare one Talk object in the application anyway.
Wed May 14 22:11:55 1997 Adam P. Jenkins <ajenkins@nscs21p18.remote.umass.edu>
* Talk.py (Talk.parseAddress): Changed parseAddress to use a
regular expression to parse the string instead of writing the code
by hand. Now the function is shorter *and* more robust.
(Talk.setupIO): Made it ring the bell when a connection is established.
(main): Made it set the X Resource class to "XTalk", so you can
use .Xdefaults now.
Wed Apr 30 09:53:39 1997 Adam P. Jenkins <ajenkins@nscs27p19.remote.umass.edu>
* Talk.py: Added code in several places to catch more exceptions
and clean up after them and print a message in the status line,
such as if you enter an invalid address, if can't connect to the
talk daemon, etc.
* TalkdInter.py: Replaced TalkdInter.errorMsgs with
TalkdInter._errorMsgs, since this variable is only for internal
use.
(TalkdInter.transact): replaced a case where I'd written EINTR with
errno.EINTR. This was causing an uncaught exception if the socket
failed.
(TalkdInter.__init__): Added try/except around socket module
calls, in __init__.
* Talk.py (Talk.connect): Made it so that when you're connected,
the connect button is disabled, and <Return> is unbound in the
address entry. Before, if you clicked on "Connect" while talking
to someone, it would start going through the whole connect
sequence again. Also just to be complete, I disabled "Disconnect"
while not connected, and enable it when connected, though this
didn't cause a problem before.
(Talk.makeControls): Made Disconnect button start in a DISABLED state.
(Talk.cleanup): Added code to complement that in Talk.connect, to
reenable the connect handler and disable the disconnect handler.
Tue Apr 29 15:08:45 1997 Adam P. Jenkins <ajenkins@nscs22p5.remote.umass.edu>
* Talk.py: modified Talk.cleanup and Talk.setupIO, to add bindings
for paste operations in the local text window, so that when the
xtalk user pastes text, it gets sent. Also created a new member,
Talk.handlePaste, to do the actual work. Thanks to suggestion
from Guido van Rossum <guido@cnri.reston.va.us>.
(Talk.makeConnection): Corrected spelling mistake of "party", from
"pary". Thanks to Vladimir Marangozov
<Vladimir.Marangozov@imag.fr> for reporting this one.
(Talk.__init__): When packing Talk.status, changed expand
parameter to FALSE, so that the text windows would expand when
resizing vertically.
Mon Apr 28 16:28:43 1997 Adam P. Jenkins <ajenkins@wagga.cs.umass.edu>
* Talk.py (Talk.handleRemoteInput): Added see(END) after inserting
characters, so the last line is always visible.
|