1 2005-05-17 Mikael Hallendal <micke@imendio.com>
4 * loudmouth/lm-connection.c:
5 * loudmouth/lm-proxy.c:
6 - Fixed some gcc 4.0 warnings.
7 * loudmouth/lm-ssl.[ch]: Made the API more consistent.
8 * examples/test-lm.c: Fixed some gcc 4.0 warnings.
10 2005-05-13 Mikael Hallendal <micke@imendio.com>
12 * loudmouth/lm-ssl.c: (_lm_ssl_read):
13 - Try to fix LM-3 for real this time.
15 2005-05-08 Mikael Hallendal <micke@imendio.com>
23 2005-05-05 Mikael Hallendal <micke@imendio.com>
25 * loudmouth/lm-connection.c:
26 (_lm_connection_succeeded):
27 - Don't unref io_channel here as well, already done in do_close.
28 - Fixes LM-5, reported by Daniel Lavalliere.
29 (connection_do_close):
30 - Set fd to -1 to be sure it's not used again.
32 2005-05-05 Mikael Hallendal <micke@imendio.com>
34 * loudmouth/lm-ssl.c: (_lm_ssl_read):
35 - Don't accidently return a negative bytes_read.
36 - Fixes LM-3, reported by Daniel Lavalliere.
38 2005-05-05 Mikael Hallendal <micke@imendio.com>
40 * loudmouth/lm-connection.c: (connection_free):
41 - Unref LmSSL when freeing connection. Reported by Daniel Lavalliere.
44 2005-04-24 Mikael Hallendal <micke@imendio.com>
46 * loudmouth/lm-connection.c: (connection_free):
47 - Free the incoming message queue, reported by Daniel Lavalliere.
49 2005-04-24 Mikael Hallendal <micke@imendio.com>
51 * loudmouth/lm-connection.c: (_lm_connection_succeeded),
52 (_lm_connection_failed_with_error), (connection_connect_cb),
53 (connection_do_connect), (connection_do_close):
54 - Disconnect from the connect io-watch when connect is done.
55 - Based on a patch from Daniel Lavalliere.
57 2005-04-18 Mikael Hallendal <micke@imendio.com>
59 * loudmouth/lm-connection.c: (connection_free):
60 - Check if connection is opening as well and close it if it is.
61 - Fix suggested by Daniel Lavalliere.
63 2005-03-31 Mikael Hallendal <micke@imendio.com>
67 * loudmouth/lm-connection.c:
70 - Adding CONTRIBUTORS file.
72 2005-03-31 Mikael Hallendal <micke@imendio.com>
76 - Removed the mono directory from the release tarball, never finished
77 and should probably be redone from scratch if to be done now.
79 2005-03-31 Mikael Hallendal <micke@imendio.com>
81 * loudmouth/lm-debug.h: Correct log domain
82 * loudmouth/lm-ssl.c: (ssl_verify_certificate):
83 - Removed GNUTLS_CERT_NOT_TRUSTED which has been removed from GnuTLS.
84 - Patch from foser@gentoo.org
86 2005-02-02 Mikael Hallendal <micke@imendio.com>
88 * examples/lm-change-password.c: (print_usage), (main):
89 - Support sending --host which would be the host part of the jid if
90 the connect server is different.
92 2005-01-27 Martyn Russell <mr@gnome.org>
94 * loudmouth/lm-connection.c (_lm_connection_failed_with_error):
95 - Added fix to call the open callback when all connection attempts
96 fail to the destination server.
98 2005-01-19 Mikael Hallendal <micke@imendio.com>
100 * loudmouth/lm-connection.c: (connection_in_event):
101 * loudmouth/lm-ssl.c: (_lm_ssl_read):
102 - Seems GnuTLS returns a huge size as read bytes when the server is
103 disconnected. Check if returned read size is larger than asked for
104 if so, set the connection to be hung up.
107 2004-11-08 Mikael Hallendal <micke@imendio.com>
109 * examples/lm-change-password.c: Added SSL support
110 * examples/lm-register.c: Added SSL support
112 2004-10-31 Mikael Hallendal <micke@imendio.com>
116 * NEWS: Updated for 0.17.2
117 * configure.in: Bumped version to 0.17.2
119 2004-10-30 Mikael Hallendal <micke@imendio.com>
121 * loudmouth/lm-parser.c: (lm_parser_parse):
122 - Removed that hack to try to convert to utf8, the stream should be
123 utf8 according to the Jabber specs. This hack caused a lot of weird
127 2004-10-22 Mikael Hallendal <micke@imendio.com>
129 reviewed by: <delete if not using a buddy>
131 * loudmouth/lm-connection.h:
132 * loudmouth/lm-error.h:
133 * loudmouth/lm-message-handler.h:
134 * loudmouth/lm-message-node.h:
135 * loudmouth/lm-message.h:
136 * loudmouth/lm-proxy.h:
137 * loudmouth/lm-utils.h:
138 * loudmouth/lm-ssl.h:
139 - G_BEGIN_DECLS and G_END_DECLS
140 * loudmouth/loudmouth.h:
143 2004-10-08 Mikael Hallendal <micke@imendio.com>
145 * loudmouth/lm-connection.c: (connection_new_message_cb):
146 - Fix crash on Solaris when running in verbose mode.
148 2004-10-05 Mikael Hallendal <micke@imendio.com>
152 - s/Imendio HB/Imendio AB/
154 2004-10-05 Mikael Hallendal <micke@imendio.com>
156 * docs/reference/loudmouth-sections.txt:
157 - Added missing function
159 2004-09-24 Tim Robbins <tim@teragen.com.au>
161 * loudmouth/lm-connection.c: (connection_do_close):
162 - Use g_source_destroy instead of g_source_remove since we might not
163 use the default main context.
165 2004-09-20 Tollef Fog Heen <tfheen@raw.no>
167 * loudmouth/lm-connection.c:
168 (connection_in_event): Use gsize and not gint, they have
169 different sizes on 64 bit architectures.
171 * loudmouth/lm-ssl.c, loudmouth/lm-internals.h:
172 Adjust prototype of _lm_ssl_read to match.
174 2004-09-03 Mikael Hallendal <micke@imendio.com>
176 * examples/Makefile.am:
177 * examples/lm-register.c:
178 - Added small tool to register an account
180 2004-09-02 Mikael Hallendal <micke@imendio.com>
182 * loudmouth/lm-connection.c: (lm_connection_set_proxy):
183 - Use NULL to unset the proxy settings
184 * docs/reference/tmp/lm-proxy.sgml: Updated LmProxyType docs
186 2004-08-30 Mikael Hallendal <micke@imendio.com>
190 * NEWS: Updated for 0.17.1
191 * configure.in: Bumped version to 0.17.1
192 * loudmouth/lm-connection.c:
193 (connection_start_keep_alive):
194 - Don't add idle if keep alive rate is 0.
195 - Patch from Marcin Krzyżanowski <krzak@hakore.com>
196 (lm_connection_new): initialize keep alive rate
198 2004-08-27 Mikael Hallendal <micke@imendio.com>
202 * NEWS: Updated for 0.17
203 * configure.in: Don't try to output mono Makefiles
204 * docs/reference/tmpl/lm-connection.sgml: Updated
205 * loudmouth/lm-connection.[ch]:
206 - Changed the LmConnectionState enum to follow the rest of the API
209 2004-08-25 Mikael Hallendal <micke@imendio.com>
211 * loudmouth/lm-connection.[ch]:
212 (connection_send_keep_alive),
213 (connection_start_keep_alive),
214 (connection_stop_keep_alive): Added
215 (lm_connection_set_keep_alive_rate):
216 - Added support to have Loudmouth send keep alive packages, a single
217 space, at regular intervals.
219 2004-08-09 Mikael Hallendal <micke@imendio.com>
221 * examples/test-tunnel.c: Updated.
222 * loudmouth/lm-connection.[ch]:
223 (lm_connection_get_jid), (lm_connection_set_jid):
224 - Replaced the _host functions with these. These makes much more sense.
226 2004-08-08 Mikael Hallendal <micke@imendio.com>
228 * configure.in: Bumped version to 0.17
230 2004-08-08 Mikael Hallendal <micke@imendio.com>
232 * docs/reference/tmpl/lm-proxy.sgml: Updated docs
233 * examples/test-tunnel.c: Use the new API for connecting to other host
234 than the actual server name (host part of jid).
235 * loudmouth/lm-connection.[ch]:
236 (lm_connection_set_host), (lm_connection_get_host): Added
237 - Use lm_connection_get_host internally when connecting.
238 - Make LM_PROXY_TYPE_NONE reset the proxy settings on a connection.
239 * loudmouth/lm-proxy.c: (_lm_proxy_connect_cb): Don't connect when
240 proxy is of type LM_PROXY_TYPE_NONE.
242 2004-08-08 Mikael Hallendal <micke@imendio.com>
244 * docs/reference/tmpl/lm-proxy.sgml: Added LM_PROXY_TYPE_NONE
245 * examples/Makefile.am: Added test-tunnel.c
246 * examples/test-tunnel.c:
247 - Added test that uses LM_PROXY_TYPE_NONE.
248 * loudmouth/lm-internals.h: Cleaning
249 * loudmouth/lm-proxy.c:
250 - Support using LM_PROXY_TYPE_NONE for direct
251 (for example an ssh-tunnel) "proxy".
253 2004-08-03 Mikael Hallendal <micke@imendio.com>
255 * Synced from SVN. Going to continue working on it here.
257 2004-06-15 Mikael Hallendal <micke@imendio.com>
259 * README: Updated GnuTLS dependency.
260 * mono/*: Some work on the mono bindings.
262 2004-05-28 Mikael Hallendal <micke@imendio.com>
265 - Correctly inform whether SSL support was enabled or not.
267 2004-05-28 Mikael Hallendal <micke@imendio.com>
269 * src/lm-sha.c: Fixed lvalue cast that wasn't approved by newer GCC.
271 2004-05-10 Mikael Hallendal <micke@imendio.com>
273 * configure.in: Enable Mono on request
276 - Updated the bindings some.
277 - Removed the autogenerated, it's such a small API that I figured
278 it was easier to wrap it manually.
280 2004-04-30 Mikael Hallendal <micke@imendio.com>
282 * loudmouth/lm-parser.c (parser_end_node_cb): Unref the message node.
284 2004-04-29 Mikael Hallendal <micke@imendio.com>
286 * examples/lm-change-password.c:
287 * examples/Makefile.am:
288 - Added a small tool to change the password on a jabber account.
290 2004-04-27 Mikael Hallendal <micke@imendio.com>
292 * Ignore on autogenerated files.
294 2004-04-20 Mikael Hallendal <micke@imendio.com>
296 * loudmouth/*.[ch]: Updated copyright information
298 2004-04-20 Mikael Hallendal <micke@imendio.com>
300 * configure.in: Now depend on Glib 2.4
301 * loudmouth/lm-queue.[ch]: Removed, use the new GQueue in Glib 2.4
302 * loudmouth/lm-connection.[ch]: Use GQueue instead of LmQueue.
304 2004-04-16 Mikael Hallendal <micke@imendio.com>
306 * configure.in: Added libtasn1 requirement
307 * loudmouth.spec.in: Added requirement on libtasn if built with SSL.
309 2004-04-04 Mikael Hallendal <micke@imendio.com>
311 * loudmouth/lm-sha.c: Commited compile fix from Sjoerd.
313 2004-03-20 Mikael Hallendal <micke@imendio.com>
315 * docs/reference/loudmouth-sections.txt:
316 - Added lm_connection_get_state
317 - Added LmConnectionState
319 2004-03-17 Mikael Hallendal <micke@imendio.com>
325 * configure.in: Bumped to 0.16
326 * NEWS: Updated for 0.16
328 2004-03-17 Mikael Hallendal <micke@imendio.com>
330 * docs/reference/*: Updated documentation.
331 * loudmouth/*: Fixed the documentation in a couple of places.
333 2004-03-17 Mikael Hallendal <micke@imendio.com>
335 * loudmouth/lm-connection.[ch]
336 (lm_connection_new_with_context):
337 - Added to be able to give what context the connection should be
339 - All internal functions are updated to use the context or NULL if
340 lm_connection_new was called.
341 - Should make it possible to use several LmConnections in various
344 2004-03-17 Mikael Hallendal <micke@imendio.com>
346 * loudmouth/lm-connection.c:
347 * loudmouth/lm-internal.h:
348 * loudmouth/lm-proxy.c:
349 - Make the HTTP proxy support asynchronous. Patch from Josh Beam.
350 - Re-enable the HTTP proxy support.
351 * examples/lm-send-sync.c:
352 * examples/lm-send-async.c:
353 * examples/test-http-proxy.c:
354 - Added two of the old examples and a new one to test out the HTTP
357 2004-03-17 Mikael Hallendal <micke@imendio.com>
359 * configure.in: Generate examples/Makefile
360 * loudmouth/test-jid.c: Removed
361 * loudmouth/test-lm.c: Moved to examples/
362 * exmples/*: Moved out from loudmouth/
364 2004-02-05 Mikael Hallendal <micke@imendio.com>
366 * README: Updated information about website and bug reporting
368 2004-01-29 Richard Hult <richard@imendio.com>
370 * loudmouth/lm-message-node.c: (lm_message_node_to_string):
371 * loudmouth/lm-message.c: (lm_message_new):
372 (lm_message_new_with_sub_type), (lm_message_unref):
373 - Plug leaks and fix two small coding style issues.
375 2004-01-23 Mikael Hallendal <micke@imendio.com>
383 2004-01-22 Frederic Crozat <fcrozat@mandrakesoft.com>
386 * loudmouth/lm-ssl.c: (ssl_verify_certificate):
387 Don't use deprecated function of gnutls.
388 Now requires gnutls >= 1.0.0
390 2004-01-21 Mikael Hallendal <micke@imendio.com>
394 2004-01-21 Mikael Hallendal <micke@imendio.com>
398 - Removed the mono bindings for now.
400 2004-01-21 Richard Hult <richard@imendio.com>
403 - The library changed name, update to libloudmouth-1.la.
405 2004-01-21 Mikael Hallendal <micke@imendio.com>
407 * docs/reference/tmpl/lm-ssl.sgml:
408 * loudmouth/lm-ssl.c:
409 - Added API documentation
411 2004-01-21 Mikael Hallendal <micke@imendio.com>
413 * docs/reference/loudmouth-docs.sgml:
414 * docs/reference/loudmouth-sections.txt:
415 * docs/reference/tmpl/lm-connection.sgml:
416 * docs/reference/tmpl/loudmouth-unused.sgml:
417 * docs/reference/tmpl/lm-ssl.sgml:
418 * loudmouth/lm-ssl.h:
419 - Added new file to documentation
421 2004-01-21 Mikael Hallendal <micke@imendio.com>
424 * configure.in: Work on the C# bindings
425 * NEWS: Preparing for 0.15
426 * loudmouth-1.0.pc.in: Versioned the library
427 * loudmouth/Makefile.am: ditto
428 * loudmouth/lm-connection.c:
429 * loudmouth/lm-connection.h: Disabled the proxy support.
432 * mono/loudmouth/Makefile.am:
433 * mono/loudmouth/loudmouth-api.xml:
434 * mono/loudmouth/loudmouth.metadata:
435 * mono/sources/loudmouth-sources.xml:
436 - WIP on the bindings, first cut of generated bindings.
438 2004-01-16 Mikael Hallendal <micke@imendio.com>
440 * loudmouth/lm-connection.c:
441 (connection_failed_with_error),
442 (connection_connect_cb):
443 (connection_do_connect):
444 - Don't fall through after calling connection_failed.
447 2004-01-15 Mikael Hallendal <micke@imendio.com>
449 * loudmouth/Makefile.am:
451 * loudmouth/lm-connection.c:
452 * loudmouth/lm-connection.h:
453 - Splitted out the SSL parts
454 - No longer contains loads of #ifdefs around tls parts
455 - Added lm_connection_[set|get]_ssl instead.
456 * loudmouth/lm-internals.h:
458 * loudmouth/lm-ssl.c:
459 * loudmouth/lm-ssl.h:
460 - New files, the SSL parts from LmConnection.
461 - Declares no-ops for SSL functions if compiled without support for it.
462 * loudmouth/test-lm.c:
463 - Updated for new SSL API.
465 2004-01-15 Mikael Hallendal <micke@imendio.com>
467 * loudmouth/lm-connection.c:
468 - Added Sjoerd Simons to copyright list.
470 2004-01-15 Mikael Hallendal <micke@imendio.com>
472 * loudmouth/Makefile.am:
473 - Added lm-proxy.[ch]
474 * loudmouth/lm-connection.c:
475 * loudmouth/lm-connection.h:
476 - Commited patch from Sjoerd Simons to make async connect work better.
477 - Cleaned out the proxy support to it's own file.
478 - Made sure all public functions user g_return_(val)_if_fail.
479 * loudmouth/lm-internals.h:
480 - cleaned up a bit and added proxy function and base64 encoding
481 * loudmouth/lm-message-handler.c:
483 * loudmouth/lm-proxy.c:
484 * loudmouth/lm-proxy.h:
485 - Added, broken out of LmConnection
486 - Commited patch from Josh Beam
487 * loudmouth/lm-utils.c:
488 (_lm_utils_base64_encode): Added.
490 2004-01-08 Richard Hult <richard@imendio.com>
492 * loudmouth/lm-connection.c (connection_timeout_check_open):
495 * acinclude.m4: Add gmtoff check.
497 * loudmouth/lm-utils.c (lm_utils_get_localtime): Use tm_gmtoff if
500 2004-01-06 Mikael Hallendal <micke@imendio.com>
502 * loudmouth/lm-connection.c:
503 - Now works with sync open again.
504 * loudmouth/lm-utils.c: (_lm_utils_free_callback):
507 2004-01-05 Mikael Hallendal <micke@imendio.com>
509 * loudmouth/lm-connection.c:
510 - Work in progress of making the lm_connection_open really async.
511 - Currently broken for lm_connection_open_block.
513 2003-12-27 Mikael Hallendal <micke@imendio.com>
515 * loudmouth/lm-connection.[ch]:
516 (connection_verify_certificate),
517 (connection_do_open),
518 (connection_do_close),
519 (connection_in_event),
521 (lm_connection_new): Updated to not pass SSL function everywhere.
522 (lm_connection_open): Removed the _ssl function
523 (lm_connection_open_and_block): Removed the _ssl function
524 (lm_connection_set_use_ssl): Added, set LmSSLFunction here instead.
525 (lm_connection_get_use_ssl): Internal update
527 2003-12-27 Mikael Hallendal <micke@imendio.com>
529 * docs/reference/tmpl/lm-error.sgml:
530 * loudmouth/lm-connection.c:
531 * loudmouth/lm-connection.h:
532 (connection_connect_nonblocking),
533 (connection_do_open),
534 (connection_http_proxy_negotiate),
536 (lm_connection_get_proxy_type),
537 (lm_connection_set_proxy_type),
538 (lm_connection_get_proxy_server),
539 (lm_connection_set_proxy_server),
540 (lm_connection_get_proxy_port),
541 (lm_connection_set_proxy_port):
542 - Add support for HTTP proxy
543 - Patch from Josh Beam <josh@3ddrome.com>
544 - Needed changes to Loudmouth to fix bug #117757 in Gossip.
546 2003-12-19 Mikael Hallendal <micke@imendio.com>
548 * loudmouth/lm-connection.c:
549 (connection_free): cleaned up a bit.
550 (connection_connect_nonblocking): added, nonblocking connect
551 (connection_do_open):
552 - Use the nonblocking connect
554 (connection_do_close): cleaned up
555 (connection_auth_reply): set state
556 (lm_connection_cancel_open): added
557 (lm_connection_authenticate): set state
558 (lm_connection_is_open): use state
559 (lm_connection_is_authenticated): use state
560 (lm_connection_get_state): added
561 - Part fixes bug #122326
563 2003-12-15 Mikael Hallendal <micke@imendio.com>
565 * README: Updated information about bug reporting
567 2003-12-15 Mikael Hallendal <micke@imendio.com>
569 * loudmouth/lm-connection.c:
570 - Fixed issue with the SSL parts. Patch from Colin Walters
572 2003-11-20 Ross Burton <ross@burtonini.com>
574 * loudmouth/lm-message-node.h:
575 - Mark the private members how gtk-doc wants it.
577 * loudmouth/lm-message-node.c:
578 - Fix comment typos and document more parameters.
580 * loudmouth/lm-connection.c: Fix comment typos.
582 * docs/reference/loudmouth-sections.txt:
583 - Removed a non-existent function.
585 * docs/reference/tmpl/lm-connection.sgml: Fix some typos.
587 * docs/reference/tmpl/lm-message-node.sgml:
588 - Document raw_node, and remove private fields.
590 * docs/reference/tmpl/lm-message.sgml: gtk-doc did this itself...
592 2003-11-16 Mikael Hallendal <micke@imendio.com>
594 * loudmouth/lm-connection.c:
595 (lm_connection_new): Don't create and attach source here
596 (lm_connection_open): Do it here,
597 (lm_connection_open_and_block): and here. Fixes #126983.
599 2003-11-11 Mikael Hallendal <micke@imendio.com>
601 * loudmouth/lm-connection.c:
602 (connection_do_close): Remove the incoming source. Reported and fix
603 proposed by Christopher G. Abiad
604 (lm_connection_authenticate_and_block):
605 - Set error message on auth failed (should be more explicit). Fixes
606 problem when you try to read the error message on fail.
608 2003-11-11 Mikael Hallendal <micke@imendio.com>
611 - Added README.WIN32 so it will be distributed next release.
613 2003-10-13 Mikael Hallendal <micke@imendio.com>
615 * configure.in: Bumped version to 0.14.1.99
617 * loudmouth/lm-message.c:
618 (lm_message_new): Always set an ID on the message.
620 2003-10-13 Mikael Hallendal <micke@imendio.com>
622 * mono/*: Added first cut at C-sharp bindings that I hacked up a while
623 ago. Can't continue development at the moment since the mono compiler
624 segfaults on my machine at the moment.
626 * python/*: Johan Dahlin added a first cut of python bindings, yay him!
628 2003-10-13 Mikael Hallendal <micke@imendio.com>
630 * NEWS: Updated for 0.14.1
632 * configure.in: Bumped to 0.14.1
634 * loudmouth/lm-connection.c: (connection_in_event): check if bytes_read
635 equals GNUTLS_E_AGAIN, fixes crash. Patch by Marinus Schraal.
637 2003-10-03 Mikael Hallendal <micke@imendio.com>
641 * NEWS: Updated for 0.14
643 * configure.in: Bumped to 0.14
645 2003-10-02 Mikael Hallendal <micke@imendio.com>
647 * loudmouth/lm-connection.c: (connection_free):
648 - Free the message handlers and message handler list when free'ing
651 2003-10-01 Mikael Hallendal <micke@imendio.com>
653 * configure.in: Tweaked the --with-ssl option a bit.
656 - Added a with_ssl to be able to easily turn of GNU Tls support.
659 2003-10-01 Mikael Hallendal <micke@imendio.com>
661 * loudmouth/lm-connection.c: (connection_do_open):
662 - Added a patch for IPv6-support submitted by Sjoerd Simons.
663 - Sjoerd also seems to know this stuff better than me since his
664 connection code looked more sane than mine. Thanks alot!
666 2003-10-01 Mikael Hallendal <micke@imendio.com>
668 * loudmouth/Makefile.am:
669 - added lm-queue.[ch]
671 * loudmouth/lm-queue.[ch]: copied and extended from GQueue.
673 * loudmouth/lm-connection.c:
674 - Use LmQueue instead of GQueue
675 (lm_connection_open_and_block): Better handling of the queue.
677 (lm_connection_send_with_reply_and_block):
678 - Fixed a bug causing replies to be over looked.
680 2003-10-01 Mikael Hallendal <micke@imendio.com>
682 * README.WIN32, win32-config.h:
683 - Added information about how to build on Windows. Fixes LM-12
685 2003-08-24 Martyn Russell <ginxd@btopenworld.com>
687 * loudmouth/lm-connection.c:
688 (connection_in_event): Use an int for bytes_read. Since bytes_read is
689 now also used for gnutls return value (which can be < 0) a gsize
690 (unsigned) is not a good idea...
692 2003-08-15 Mikael Hallendal <micke@imendio.com>
696 * configure.in: Bumped to 0.13.2
697 * NEWS: Updated for 0.13.2
699 * loudmouth/lm-parser.c: (parser_end_node_cb):
700 - Don't crash on </stream:stream>. Fixes bug #117952
702 2003-08-05 Mikael Hallendal <micke@imendio.com>
706 * NEWS: Updated for 0.13.1
707 * configure.in: Bumped to 0.13.1
709 2003-08-05 Mikael Hallendal <micke@imendio.com>
711 * acinclude.m4: Added GnuTLS-macro from GnuTLS-distribution.
713 * configure.in: Added comment if SSL support disabled.
715 * loudmouth.spec.in: Added Build-requirment on gtk-doc.
719 * NEWS: Updated for 0.13
720 * configure.in: Bumped to 0.13
722 2003-08-04 Mikael Hallendal <micke@imendio.com>
725 - Added comment about GnuTLS and --with-included-libtasn1.
726 - Fixes LM-7 and bug #117801
728 2003-08-04 Mikael Hallendal <micke@imendio.com>
730 * loudmouth/lm-connection.c: (connection_in_event):
731 - Disconnect and report that we are disconnected if read doesn't work.
732 This solved the problem when Gossip eats 100% CPU because the server
733 got disconnected. Fixes LM-9.
735 * loudmouth/Makefile.am: Use -DRUNTIME_ENDIAN, fixes LM-8, bug #118502.
737 * loudmouth/lm-connection.c:
738 - Modifed patch from Mikhail Zabaluev, fixes LM-5.
739 * (connection_free): close connection if it's still open.
740 * (connection_do_open): Store away the GSource handlers.
741 * (connection_do_close): Remove the GSources from the IOChannel.
742 * (connection_in_event, connection_error_event, connection_hup_event):
743 - Return FALSE if io_channel = NULL.
746 - Submitted patch for Loudmouth from Mikhail Zabaluev to
747 make configure.in use the aclocal-stuff from gnutls instead of
748 selfmade hack. Fixes LM-6.
750 2003-07-29 Mikael Hallendal <micke@imendio.com>
752 * loudmouth/lm-message.[ch]:
753 - Added LM_MESSAGE_SUB_TYPE_NORMAL to be a sub type that can actually
755 - If type is not set in a <message/>-node it won't be reported to be
756 LM_MESSAGE_SUB_TYPE_NORMAL but rather LM_MESSAGE_SUB_TYPE_NOT_SET.
758 2003-07-17 Mikael Hallendal <micke@imendio.com>
762 * NEWS: Updated for 0.12
763 * configure.in: Bumped to 0.12
765 2003-07-17 Mikael Hallendal <micke@imendio.com>
767 * loudmouth/lm-connection.c:
768 (auth_req_data_free): Added, free's auth data
769 (connection_create_auth_req_msg):
770 - Added, generates an auth request message
771 (connection_create_auth_msg):
772 - Added, generates an auth message
773 (connection_auth_req_reply): Added
774 (connection_check_auth_type): Added
775 (lm_connection_authenticate): Modified
776 (lm_connection_authenticate_and_block): Modified
779 2003-07-17 Mikael Hallendal <micke@imendio.com>
781 * configure.in: Added GNUTLS_REQUIRED
782 * loudmouth.spec.in: Added gnutls dependency in RPM's.
784 2003-07-17 Mikael Hallendal <micke@imendio.com>
786 * docs/reference/loudmouth-sections.txt: Added new functions
787 * docs/reference/tmpl/lm-error.sgml: Documented undocumented references.
788 * docs/reference/tmpl/lm-message-handler.sgml: Same.
789 * docs/reference/tmpl/loudmouth-unused.sgml: Same
790 * loudmouth/lm-debug.c: Same
792 * loudmouth/lm-message-handler.c:
793 * loudmouth/lm-message-handler.h:
794 (_lm_message_handler_handle_message):
795 - Check if handler is valid before trying to handle message.
796 (lm_message_handler_new): Set handler to be valid.
797 (lm_message_handler_invalidate): Added. Fixes cf-bug #677
798 (lm_message_handler_is_valid): Added
800 2003-07-14 Mikael Hallendal <micke@imendio.com>
804 * configure.in: Bumped to 0.11
805 * NEWS: Updated for 0.11
807 2003-07-12 Mikael Hallendal <micke@imendio.com>
810 - Added SSL support, patch from Bartosz Zapalowski. THIS GUY ROCKS!
811 * docs/reference/loudmouth-sections.txt:
812 - added lm_connection_supports_ssl.
813 * loudmouth/lm-connection.c: Added support for SSL.
814 * loudmouth/test-lm.c: (main): Use SSL if it's compiled in.
816 2003-07-07 Mikael Hallendal <micke@imendio.com>
820 * NEWS: Updated for 0.10.1
821 * configure.in: Bumped version to 0.10.1
823 2003-07-07 Mikael Hallendal <micke@imendio.com>
825 * loudmouth/lm-connection.c: moved the includes around a bit so that
826 it builds on FreeBSD without problems.
828 2003-06-26 Mikael Hallendal <micke@imendio.com>
831 * configure.in: Changed version to 0.10
832 * NEWS: Added 0.10 news.
834 2003-06-25 Mikael Hallendal <micke@imendio.com>
836 * configure.in: Bumped to 0.9.1
837 * loudmouth.spec.in: Changed the URL to the project site.
839 2003-06-24 Mikael Hallendal <micke@imendio.com>
841 * loudmouth/lm-connection.c:
842 * loudmouth/lm-sha.c:
843 * loudmouth/test-lm.c:
844 - Submitted patch that makes Loudmouth work and build on Win32.
845 Patch sent by Vince Negri, thanks a lot.
847 2003-06-15 Mikael Hallendal <micke@imendio.com>
849 * loudmouth/lm-message.c:
850 * loudmouth/lm-message.h:
851 (lm_message_get_sub_type): Return LmMessageSubType.
852 Found by Alexander Saltanov
854 2003-06-13 Mikael Hallendal <micke@imendio.com>
856 * AUTHORS: updated contact information
857 * README: updated contact information
858 * loudmouth/*.[ch]: updated email address
859 * loudmouth/lm-message-node.c: don't lower case the XML
860 * loudmouth/lm-message.c:
861 (message_type_from_string): use strcmp rather than strcasecmp
862 * loudmouth/lm-parser.c:
863 (parser_start_node_cb),
864 (parser_end_node_cb),
865 (lm_parser_new): use strcmp instead of strcasecmp
867 2003-06-11 Mikael Hallendal <micke@codefactory.se>
869 * docs/reference/loudmouth-sections.txt: Added new functions
871 * loudmouth/lm-message-node.c:
872 (_lm_message_node_new): Set node->raw_mode = FALSE.
873 (lm_message_node_get_raw_mode): Added
874 (lm_message_node_set_raw_mode): Added
875 (lm_message_node_to_string): Don't escape if raw_mode == TRUE
877 * loudmouth/lm-message-node.h: Added new functions.
879 2003-04-26 Mikael Hallendal <micke@codefactory.se>
881 * loudmouth.spec.in: Enable gtk-doc
885 2003-04-17 Mikael Hallendal <micke@codefactory.se>
887 * docs/reference/Makefile.am: Make --disable-gtk-doc not try to
888 install the documents :) Fixes #633, patch by Kevin Dougherty.
890 * loudmouth/lm-debug.c: Make build work with --disable-debug,
891 fixes #634, patch by Kevin Dougherty.
893 2003-04-11 Mikael Hallendal <micke@codefactory.se>
897 * configure.in: Bumped version to 0.9
899 * loudmouth.spec.in: Fixed
901 * loudmouth/lm-connection.c:
902 (lm_connection_send_with_reply_and_block): Removed debug output.
904 2003-04-10 Mikael Hallendal <micke@codefactory.se>
906 * NEWS: Updated for upcoming 0.9 release.
908 2003-04-07 Mikael Hallendal <micke@codefactory.se>
910 * README: Added information about debug output.
912 * loudmouth/lm-connection.c:
913 (connection_in_event): Use a define for IN_BUFFER_SIZE
915 2003-04-07 Mikael Hallendal <micke@codefactory.se>
918 * loudmouth/lm-connection.c: (connection_in_event):
920 2003-04-07 Mikael Hallendal <micke@codefactory.se>
924 * loudmouth/Makefile.am:
925 - Added lm-debug.[ch]
926 * loudmouth/lm-internals.h: Added debug-stuff
927 * loudmouth/lm-connection.c: Use debug-stuff instead of d()-macro.
928 * loudmouth/lm-message.c: Same
929 * loudmouth/lm-parser.c: Same
931 2003-04-05 Mikael Hallendal <micke@codefactory.se>
933 * Makefile.am: Added .spec and .spec.in to EXTRA_DIST
934 * configure.in: Set GLIB2_REQUIRED, will be used in the spec-file.
935 * loudmouth/lm-message.c:
936 * loudmouth/lm-message.h:
937 - fixed the support for message and presence elements without type
940 2003-04-01 Mikael Hallendal <micke@codefactory.se>
942 * loudmouth/lm-message.c:
943 (lm_message_get_node): added, using for bindings.
945 * loudmouth/lm-message-node.c:
946 (lm_message_node_get_value): added, makes binding easier.
947 (lm_message_node_set_attribute): splitted out to just set one
948 attribute. using just this one to bind for C#.
950 2003-03-24 Mikael Hallendal <micke@codefactory.se>
952 * loudmouth/lm-connection.c:
953 (connection_incoming_dispatch):
954 - don't call handle_message if message is NULL.
955 (connection_do_open):
956 - set error, don't send any messages, just open the socket and
957 send the xml-document starter.
958 (connection_do_block): Removed.
959 (connection_create_source): added
960 (lm_connection_open_and_block): implemented.
961 (lm_connection_authenticate_and_block): implemented.
962 (lm_connection_send_with_reply_and_block): implemented.
964 2003-03-23 Mikael Hallendal <micke@codefactory.se>
966 * loudmouth/lm-connection.c:
967 - Now uses a queue for all incoming messages and a source that
969 (connection_do_close): added, unrefs
970 io_channel and sets connection to be disconnected.
971 (connection_do_open): renamed from connection_connect
973 2003-03-14 Mikael Hallendal <micke@codefactory.se>
975 * loudmouth/lm-connection.c:
976 (lm_connection_get_server): added
977 (lm_connection_set_server): added
978 (lm_connection_get_port): added
979 (lm_connection_set_port): added
980 (lm_connection_get_use_ssl): added
981 (lm_connection_set_use_ssl): added
982 (lm_connection_new): Don't take port and use_ssl arguments. Make
983 server-attribute optional (passing NULL).
985 * configure.in: bumped to 0.8.99
987 2003-03-13 Mikael Hallendal <micke@codefactory.se>
989 * autogen.sh (need_configure_in):
990 - fix to autogen on solaris. Reported by stric.
993 - Added check for -lnsl and -lsocket needed to link on solaris.
997 * configure.in: bumped version to 0.8
999 * README (Introduction): added some information before the 0.8
1002 * loudmouth/lm-connection.c:
1003 (connection_error_event): call disconnect callback.
1004 (connection_hup_event): same.
1005 (lm_connection_set_disconnect_function): added.
1007 2003-03-05 Mikael Hallendal <micke@codefactory.se>
1009 * loudmouth/*.h: prettified headers.
1011 * docs/reference/*: Updating docs. Now at 100%!
1013 2003-03-03 Mikael Hallendal <micke@codefactory.se>
1015 * loudmouth/lm-message-node.h:
1016 - removed LmMessageNodeFunc, wasn't used anywhere.
1018 * docs/reference/*: Updating docs. At 88% now... sooon!
1020 * Changed license (again), this time back to LGPL. And it'll stay
1023 2003-02-27 Mikael Hallendal <micke@codefactory.se>
1025 * Worked alot on documenting.
1027 2003-02-25 Mikael Hallendal <micke@codefactory.se>
1029 * loudmouth/lm-connection.c (connection_in_event):
1032 2003-02-24 Mikael Hallendal <micke@codefactory.se>
1034 * loudmouth/lm-sha.c: don't use stdint.h, instead use the g*
1035 versions of different int lengths. Fixes #536
1037 2003-02-08 Mikael Hallendal <micke@codefactory.se>
1039 * src/*.c: Started to document
1041 * src/lm-result.h: Removed
1043 * src/lm-error.[ch]: Added
1045 * src/lm-connection.[ch]:
1046 - Use GErrors for reporting errors.
1049 * docs/reference/Makefile.am: Don't link against GObject.
1051 2003-02-06 Mikael Hallendal <micke@codefactory.se>
1053 * loudmouth/lm-connection.c (connection_connect): send the opening
1054 xml tag stating that we'll use encoding utf-8.
1056 2003-02-02 Mikael Hallendal <micke@codefactory.se>
1058 * loudmouth/lm-message.c:
1060 (lm_message_new): take to-argument
1061 (lm_message_new_with_sub_type): take to-argument
1063 * loudmouth/test-lm.c (main): don't init GType, not used anymore..
1065 * lm-message-handler.c:
1066 - include files we actually need :)
1068 * loudmouth/lm-connection.c: don't include removed files.
1070 * loudmouth/Makefile.am:
1071 - Removed all the stuff that generated the marshallers.
1074 - removed gobject deps
1075 - removed glib-genmarshal deps
1077 * loudmouth-1.0.pc.in (Requires): removed all deps except glib.
1079 * loudmouth/lm-connection.c:
1080 - Is no more a GObject, this means that loudmouth now only depends
1081 on GLib which makes it minimal and perfect for embedded systems.
1083 * configure.in: Don't require libgtcpsocket
1085 * loudmouth/lm-connection.c: Don't use libgtcpsocket for
1086 communication. Now uses a GIOChannel.
1089 - Use GDestroyNotify instead of LmFreeFunction.
1090 - Added LmCallback which is a struct with callback,
1091 user_data and a notify function.
1092 - Changed LmConnectionOpenFunction and LmAuthenticateFunction to
1093 be LmResultFunction.
1095 2003-02-01 Mikael Hallendal <micke@codefactory.se>
1097 * loudmouth/lm-sha.c (lm_sha_hash): don't print the digest.
1099 2003-01-31 Mikael Hallendal <micke@codefactory.se>
1101 * *: changed the license to the same one used in RoadRunner.
1103 * loudmouth/lm-sha.c:
1104 - switched the SHA implementation for one with BSD license.
1106 * loudmouth/lm-connection.c (lm_connection_authenticate):
1107 - lm_sha_hash now returns a const gchar *
1110 2003-01-30 Mikael Hallendal <micke@codefactory.se>
1112 * docs/*: Added gtk-doc support. Now I just have to write API docs
1115 * loudmouth/lm-helper.[ch]: Removed.
1117 2003-01-30 Mikael Hallendal <micke@codefactory.se>
1119 * loudmouth/lm-message-node.c:
1120 (lm_message_node_to_string): made public since it's really useful
1121 for debugging your client.
1122 (lm_message_node_find_child): readded this function from the old
1123 LmNode. It traverses the tree to see if it can find the child
1124 and returns at the first it finds. lm_message_node_get_child
1125 only looks at the direct children.
1127 2003-01-29 Mikael Hallendal <micke@codefactory.se>
1129 * loudmouth/lm-connection.c:
1130 (lm_connection_send): don't set ID here. we set it in
1131 send_with_reply if it's not set (since it's needed there to find
1132 the correct handler).
1133 (connection_connection_recv_cb):
1134 - not sure if this helps any, return if length <= 0 instead of
1135 feeding it to the parser.
1137 * loudmouth/lm-message.[ch]:
1138 - Added LmMessageSubType that can be used to set and check a
1139 message's sub type <node type="sub type">.
1140 (message_sub_type_from_string): added
1141 (message_sub_type_to_string): added
1142 (lm_message_new_with_sub_type): added
1143 (lm_message_get_sub_type): added
1145 * loudmouth/lm-message-node.c (lm_message_node_get_child):
1146 - remove variable that caused warning.
1148 * configure.in: updated version to 0.2
1150 2003-01-27 Mikael Hallendal <micke@codefactory.se>
1153 - LmClient -> LmConnection
1154 - Use Message Handlers on LmConnection instead of signals
1155 - LmElement, LmPresence and LmIQ removed
1156 - LmMessage used for all kinds of messages now
1157 - LmMessageHandler added as a generic message handler for all
1159 - send_with_reply added to give a callback when waiting for an
1160 answer to a request.
1161 - LmResult added to most calls. Used to get some feedback on what
1162 might have gone wrong.
1164 2003-01-27 Anders Carlsson <andersca@codefactory.se>
1166 * autogen.sh (FILE): Use lm-message.c for testing.
1168 2003-01-26 Mikael Hallendal <micke@codefactory.se>
1170 * loudmouth/*: Added lm-helper which will create elements to send
1173 2003-01-25 Mikael Hallendal <micke@codefactory.se>
1175 * loudmouth/lm-marshal.list (VOID): cleaned up old marshallers.
1177 * loudmouth/lm-element.c (lm_element_get_type_string): added.
1179 * loudmouth/lm-client.c:
1180 - Changed message, presence and iq received back into signals
1181 - Added default handlers to class
1182 - Calling default handlers only if none of the connected callbacks
1185 2003-01-21 Mikael Hallendal <micke@codefactory.se>
1187 * configure.in: don't use libgtcpsocket 1.0, use 0.1.0
1189 2002-12-10 Mikael Hallendal <micke@codefactory.se>
1191 * loudmouth/lm-util.c:
1192 (lm_util_get_localtime): Added
1193 (lm_util_case_strstr): Removed
1195 * loudmouth/lm-x.h: Removed.
1197 * loudmouth/lm-element.c:
1198 - Added support for an iter for iterating over all x elements.
1199 - Needed to resolve #347
1200 (lm_element_get_x_iter): Added
1201 (lm_x_iter_next): Added
1202 (x_iter_next): Added
1203 (lm_x_iter_free): Added
1205 * loudmouth/Makefile.am (libloudmouthinclude_HEADERS):
1208 2002-12-03 Mikael Hallendal <micke@codefactory.se>
1210 * loudmouth/lm-presence.c:
1211 - Fixed show-array indexing, Fixes #341 and #342
1212 (lm_presence_set_show): don't set
1213 <show/> to "normal", just leave it out.
1214 (presence_show_from_string): don't strcmp for "normal".
1215 (presence_string_from_show): don't return "normal".
1217 2002-11-29 Richard Hult <rhult@codefactory.se>
1219 * loudmouth/lm-client.c (lm_client_subscribe_jid): Wrap g_print
1221 (lm_client_unsubscribe_jid): Likewise.
1222 (lm_client_connect): Add debug print.
1223 (client_connect_done_cb): Add debug print.
1225 * loudmouth/lm-element.c (lm_element_new): When creating a stream
1226 element, use "stream:stream" instead of just "stream". This fixes
1227 the "Invalid XML" error we were getting from the server at the end
1230 * loudmouth/lm-client.c (lm_client_authenticate): Don't free the
1231 digest, it's static memory. This fixes a couple of very weird
1233 (lm_client_disconnect): Revert the fix I did here earlier, we
1234 don't want to set is_connected until we really get a disconnect
1235 callback from the connection. The problem is somewhere else.
1236 (lm_client_send): Compare against </stream:stream> instead of just
1239 2002-11-29 Mikael Hallendal <micke@codefactory.se>
1241 * loudmouth/lm-node.c (node_free): don't free directly, use
1243 (lm_node_add_child_node): ref the child node.
1245 * loudmouth/lm-element.c:
1246 (lm_element_unref): implemented
1247 (lm_element_set_tree): ref the tree.
1249 2002-11-29 Mikael Hallendal <micke@codefactory.se>
1251 * loudmouth/lm-client.c: Changed default_foo_handler to
1254 2002-11-27 Richard Hult <rhult@codefactory.se>
1256 * loudmouth/lm-client.c (client_handle_iq): Fix warning by making
1259 2002-11-26 Richard Hult <rhult@codefactory.se>
1261 * loudmouth/lm-client.c (client_connection_closed_cb):
1262 - Set is_connected to FALSE.
1264 2002-11-26 Mikael Hallendal <micke@codefactory.se>
1266 * loudmouth/*: Changed so that LmElement and subclasses are no
1267 longer objects. Just structs. You need to use get/set-functions
1268 instead of properties.
1270 2002-11-25 Mikael Hallendal <micke@codefactory.se>
1272 * loudmouth/lm-element.c (element_get_property): fixed error
1273 causing object_get ("from") trying to get "to" value.
1275 2002-11-24 Richard Hult <rhult@codefactory.se>
1277 * loudmouth/lm-client.c (client_handle_presence):
1278 - Try to implement subscription requests.
1280 * loudmouth/test-lm.c (main): Fix more callback types.
1282 * loudmouth/lm-client.h:
1283 - Remove lm_client_set_subscription_request_handler, unused.
1285 * loudmouth/test-lm.c (main): Don't cast callbacks with (Type*).
1287 * loudmouth/lm-client.c:
1288 - Change function prototypes from *callback to callback.
1290 * loudmouth/lm-client.h: Remove signal entry from object struct
1291 and change function prototypes to match the definitions.
1293 2002-11-23 Richard Hult <rhult@codefactory.se>
1295 * loudmouth/lm-client.h: Add lm_client_get_agents.
1297 * configure.in: Add compiler warnings logic but leave it disabled
1298 since the sha stuff is not very warning free.
1300 * loudmouth/lm-node.c (lm_node_get_string): Escape the body string
1301 so we generate valid xml when sending things like '<', '>', and
1304 2002-11-23 Mikael Hallendal <micke@codefactory.se>
1306 * loudmouth/lm-node.c (lm_node_unlink): added
1308 * loudmouth/lm-presence.c (presence_set_property): don't set
1311 * loudmouth/lm-iq.c:
1312 (lm_iq_get_query_node):
1313 (lm_iq_set_query_node): removed, use lm_element_find_child and
1314 lm_element_add_child_node instead.
1316 * loudmouth/lm-element.c:
1317 (lm_element_add_child): added :)
1318 (lm_element_find_child): added
1320 * loudmouth/lm-client.c (client_connection_closed_cb): call
1321 disconnect callback.
1323 * loudmouth/lm-sha.[ch]: added, found in jabberd2, remember to
1324 check license issues with this.
1326 * loudmouth/lm-client.c:
1327 (lm_client_authenticate): use digest for sending password instead
1330 * loudmouth/lm-client.c:
1331 (client_handle_iq): handle register reply
1332 (lm_client_register): added
1333 (lm_client_authenticate): moved stuff from iq-helper, easy enough
1334 now with the changes earlier today.
1336 * loudmouth/lm-iq-helper.[ch]: removed, not needed anymore.
1338 * loudmouth/lm-element.c (lm_element_add_child_node): added, this
1339 can be used to add any node to any element.
1341 * loudmouth/lm-presence.c (presence_set_property): priority is an
1344 * loudmouth/lm-node.c (lm_node_add_child_node): rethinking, don't
1347 2002-11-22 Mikael Hallendal <micke@codefactory.se>
1349 * loudmouth/lm-node.c:
1350 (lm_node_add_child): changed to take a name
1351 and a value, very handy when adding key/value pair nodes.
1352 (lm_node_add_child_node): added a _node to the old
1353 lm_node_add_child. Also ref's the child so the user should unref
1354 it after he's finished with it.
1356 * loudmouth/lm-iq.c (lm_iq_new): take the type as argument.
1358 * loudmouth/lm-client.c: added a default iq handler attribute and
1359 use it in handle_iq if the incoming IQ isn't handled by the
1360 library. This way a user of the library can now do anything with
1361 it, even use it's own namespaces and such.
1363 * loudmouth/*: Changes LmXMLNode -> LmNode
1366 - Using LmXMLNode internally in all elements
1367 - Use lm_message_new, lm_iq_new, lm_presence new instead of
1370 * loudmouth/lm-presence.c:
1371 (presence_get_xml_string): set to='' if it exists
1373 * loudmouth/lm-xml-node.c:
1374 (lm_xml_node_ref): added
1375 (lm_xml_node_unref): added
1376 (lm_xml_node_free): made private
1378 * loudmouth/lm-parser.c:
1379 (parser_end_element_cb): just unref the node, don't free it.
1381 * loudmouth/lm-client.c:
1382 - added "name", "version" and "os" proprties.
1383 (lm_client_register_default_message_handler):
1384 (lm_client_register_default_presence_handler): removed, unused
1386 * loudmouth/lm-element.[ch]:
1387 (lm_element_get_tree): Added, returns the XML tree for the
1389 (ilm_element_setup_from_xml): ref the node.
1391 2002-11-20 Richard Hult <rhult@codefactory.se>
1393 * loudmouth/lm-parser.c (lm_parser_parse): Try to convert the xml
1394 input to from ISO-8859-1 to UTF-8 if it's not valid UTF-8. Not
1395 the perfect fix but it makes a common case work.
1397 2002-11-16 Mikael Hallendal <micke@codefactory.se>
1399 * loudmouth/lm-client.c (lm_client_disconnect): send end of
1402 2002-11-15 Richard Hult <rhult@codefactory.se>
1404 * loudmouth/lm-roster.c (lm_roster_new_from_query_node): Get the
1405 group from the child of the query node.
1407 2002-11-15 Mikael Hallendal <micke@codefactory.se>
1409 * loudmouth/lm-client.c: no more signals. You now register message
1410 and presence handlers.
1412 * loudmouth/lm-presence.c (presence_get_property): implemented
1414 * loudmouth/lm-client.c:
1415 - removed the disconnected and connected signals. Now callbacks
1416 passed to lm_client_connect.
1418 2002-11-14 Mikael Hallendal <micke@codefactory.se>
1420 * loudmouth/lm-presence.c:
1421 (presence_class_init): type and show to be int's.
1422 (presence_set_property): same.
1424 * configure.in: bumped version to 0.1.1
1426 * loudmouth/lm-presence.c (lm_presence_set_status): added.
1428 * loudmouth/lm-element.c (element_class_init): not sure if we want
1429 this but readded the PROP_ERROR.
1431 * loudmouth/lm-client.c (lm_client_authenticate): silent warnings
1433 * loudmouth/lm-iq.c (iq_set_attribute): chain up.
1435 * loudmouth/lm-element.c (element_get_property): implement.
1437 * loudmouth/lm-client.c:
1438 - use callbacks for auth and roster instead of signals.
1439 (client_handle_iq): handle auth and roster
1440 (client_add_callback): added
1441 (client_find_callback): added
1442 (client_remove_callback): added
1443 (lm_client_send): take an extra id argument. If passed the message
1444 id will be copied to this argument.
1445 (lm_client_authenticate): take callback+userdata as arguments.
1446 (lm_client_request_roster): same
1448 2002-10-21 Richard Hult <rhult@codefactory.se>
1450 * loudmouth/lm-message.c (message_get_xml_string): Escape the
1451 body, fixes server disconnecting on messages containing <>.
1453 2002-10-02 Richard Hult <rhult@codefactory.se>
1455 * loudmouth/lm-xml-node.c (lm_xml_node_set_value): Don't run
1456 strdown on the node value.