Commit Graph

6 Commits

Author SHA1 Message Date
Magnus Henoch
ec3b2ee6be Don't require jabber-console in defcustom of jabber-debug-log-xml
That makes it impossible to run Emacs if jabber-debug-log-xml has been
customized, but jabber-console.el is not in the load path for some
reason.  Instead add an autoload cookie for jabber-process-console to
ensure that it gets loaded when needed.  Also remove duplicate
definition of jabber-buffer-connection.
2013-02-03 11:36:43 +00:00
Evgenii Terechkov
6290178c56 Typo in jabber-tree-map fixed (recursion now works). Sanityze only listp stanzas in xml console. 2010-04-15 20:35:53 +08:00
Evgenii Terechkov
516e4a7abf Sanitize xml-data before trying to push in in console's ewoc.
The goal is to fix "Couldn't write XML log: Wrong type argument:
sequencep" message when xml-data contain number. So, (format "%s"
number) isnt needed anymore here and there.
2010-04-13 00:11:14 +08:00
Evgenii Terechkov
14f46063ec If jabber-debug-log-xml is path to file (string), dump XML i/o in that file additional to console.
Also, insert timestamps in XML dumps.
Additionly, some typos in docstrings fixed.
2010-03-26 22:28:42 +07:00
Demyan Rogozhin
b7fed23d87 Remove :risky keyword from `jabber-console-truncate-lines': wrong assignment keyword name. 2010-01-28 00:42:25 +03:00
Demyan Rogozhin
3855ca686e Add Jabber XML console.
Print all XMPP stanzas in buffer *-jabber-console-JID-*.
Arbitrary code can be manually sent to XML stream from this buffer.

Features:
* Use legacy `jabber-debug-log-xml' custom var to trigger console
* Print XML with indention and syntax highlight (sgml-mode required)
* Comments indicates sending/receiving/raw into console buffer
* Console buffer name is customizable, see `jabber-console-name-format'
* Console buffer truncated, see `jabber-console-truncate-lines'

Thanks to Evgenii Terechkov for features and tests.
2010-01-23 00:38:48 +03:00