Update of /cvsroot/gaim/gaim/src/protocols/jabber
In directory usw-pr-cvs1:/tmp/cvs-serv32385/src/protocols/jabber
Modified Files:
jabber.c
Log Message:
Added typing notification and improved support for Jabber resources.
(Thanks, Nathan Walp)
Fixed problem with Gaim crashing on non-ASCII buddy alias (Jabber "name"
attribute) chars. (Thanks, Ho-seok Lee)
Plugged memory leaks and fixed problem with away status not being
propagated to conference rooms for jabberd 1.4.2 and above.
Index: jabber.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- jabber.c 18 May 2002 23:31:33 -0000 1.53
+++ jabber.c 15 Jun 2002 17:24:07 -0000 1.54
@@ -78,6 +78,8 @@
#define USEROPT_PORT 0
+#define JABBER_TYPING_NOTIFY_INT 15 /* Delay (in seconds) between sending typing notifications */
+
/*
* Note: "was_connected" may seem redundant, but it was needed and I
* didn't want to touch the Jabber state stuff not specific to Gaim.
@@ -135,17 +137,61 @@
gjconn gjc;
gboolean did_import;
[...1564 lines suppressed...]
ret->group_buddy = jabber_group_change;
+ ret->send_typing = jabber_send_typing;
+ ret->convo_closed = jabber_convo_closed;
my_protocol = ret;
}
@@ -3279,3 +3798,13 @@
}
#endif
+
+/*
+ * Local variables:
+ * c-indentation-style: k&r
+ * c-basic-offset: 8
+ * indent-tabs-mode: notnil
+ * End:
+ *
+ * vim: shiftwidth=8:
+ */
|