You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(13) |
Jun
(3) |
Jul
(4) |
Aug
(30) |
Sep
(17) |
Oct
(2) |
Nov
(6) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(9) |
Feb
(30) |
Mar
(22) |
Apr
(23) |
May
(25) |
Jun
(25) |
Jul
(4) |
Aug
(21) |
Sep
(16) |
Oct
(44) |
Nov
(15) |
Dec
(3) |
2009 |
Jan
(9) |
Feb
(6) |
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
(3) |
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
(3) |
Mar
|
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
2013 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(3) |
Sep
(1) |
Oct
(1) |
Nov
(10) |
Dec
|
2014 |
Jan
(6) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(8) |
Jun
(5) |
Jul
(2) |
Aug
(6) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
(2) |
2015 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
(6) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Magnus H. <leg...@us...> - 2009-04-30 09:59:38
|
Update of /cvsroot/emacs-jabber/www In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14389 Modified Files: index.html index.org Log Message: * index.org: Remove CVS. * index.html: Regenerate. Index: index.html =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.html 10 Apr 2009 21:27:48 -0000 1.3 +++ index.html 30 Apr 2009 09:59:18 -0000 1.4 @@ -6,80 +6,120 @@ <title>jabber.el</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="generator" content="Org-mode"/> -<meta name="generated" content="2009/04/10 11:24:24 PM"/> -<meta name="author" content=""/> +<meta name="generated" content="2009-04-30 10:57:52 BST"/> +<meta name="author" content="Magnus Henoch"/> +<meta name="description" content=""/> +<meta name="keywords" content=""/> <style type="text/css"> - html { - font-family: Times, serif; - font-size: 12pt; - } - .title { text-align: center; } - .todo { color: red; } - .done { color: green; } - .timestamp { color: grey } - .timestamp-kwd { color: CadetBlue } - .tag { background-color:lightblue; font-weight:normal } - .target { background-color: lavender; } + <!--/*--><![CDATA[/*><!--*/ + html { font-family: Times, serif; font-size: 12pt; } + .title { text-align: center; } + .todo { color: red; } + .done { color: green; } + .tag { background-color: #add8e6; font-weight:normal } + .target { } + .timestamp { color: #bebebe; } + .timestamp-kwd { color: #5f9ea0; } + p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; + font-size: 90%; + overflow:auto; } table { border-collapse: collapse; } - td, th { - vertical-align: top; - <!--border: 1pt solid #ADB9CC;--> - } + td, th { vertical-align: top; } + dt { font-weight: bold; } + div.figure { padding: 0.5em; } + div.figure p { text-align: center; } + .linenr { font-size:smaller } + .code-highlighted {background-color:#ffff00;} + .org-info-js_info-navigation { border-style:none; } + #org-info-js_console-label { font-size:10px; font-weight:bold; + white-space:nowrap; } + .org-info-js_search-highlight {background-color:#ffff00; color:#000000; + font-weight:bold; } + /*]]>*///--> </style> -</head><body> +<script type="text/javascript"> +<!--/*--><![CDATA[/*><!--*/ + function CodeHighlightOn(elem, id) + { + var target = document.getElementById(id); + if(null != target) { + elem.cacheClassElem = elem.className; + elem.cacheClassTarget = target.className; + target.className = "code-highlighted"; + elem.className = "code-highlighted"; + } + } + function CodeHighlightOff(elem, id) + { + var target = document.getElementById(id); + if(elem.cacheClassElem) + elem.className = elem.cacheClassElem; + if(elem.cacheClassTarget) + target.className = elem.cacheClassTarget; + } +/*]]>*///--> +</script> +</head> +<body> +<div id="content"> <h1 class="title">jabber.el</h1> + + <a href="http://sourceforge.net"> <img border="0" src="http://sourceforge.net/sflogo.php?group_id=88346&type=2" width="125" height="37" alt="SourceForge.net Logo" style="position: absolute; top: 0em; right: 0em;"></a> +<p> jabber.el is a Jabber client for Emacs. - +</p> <div id="table-of-contents"> <h2>Table of Contents</h2> +<div id="text-table-of-contents"> <ul> -<li><a href="#sec-1">What is Jabber?</a></li> -<li><a href="#sec-2">What is jabber.el?</a></li> -<li><a href="#sec-3">Downloading and installing</a> +<li><a href="#sec-1">What is Jabber? </a></li> +<li><a href="#sec-2">What is jabber.el? </a></li> +<li><a href="#sec-3">Downloading and installing </a> <ul> -<li><a href="#sec-4">Prepackaged</a></li> -<li><a href="#sec-5">Dependencies</a></li> -<li><a href="#sec-6">Downloading</a></li> -<li><a href="#sec-7">Using</a></li> +<li><a href="#sec-3.1">Prepackaged </a></li> +<li><a href="#sec-3.2">Dependencies </a></li> +<li><a href="#sec-3.3">Downloading </a></li> +<li><a href="#sec-3.4">Using </a></li> </ul> </li> -<li><a href="#sec-8">Reporting bugs</a></li> -<li><a href="#sec-9">Latest source</a> +<li><a href="#sec-4">Reporting bugs </a></li> +<li><a href="#sec-5">Latest source </a> <ul> -<li><a href="#sec-10">CVS</a></li> -<li><a href="#sec-11">GNU Arch</a></li> -<li><a href="#sec-12">git</a></li> +<li><a href="#sec-5.1">GNU Arch </a></li> +<li><a href="#sec-5.2">git </a></li> </ul> </li> -<li><a href="#sec-13">List of releases</a></li> +<li><a href="#sec-6">List of releases </a></li> </ul> </div> +</div> <p> -<a name="impatient"> </a> +<a name="impatient" id="impatient"></a> For the impatient: </p> <ul> <li> -Latest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">0.7.1</a> (31-Jan-2007) +Latest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">0.7.1</a> (31-Jan-2007) </li> <li> -Latest pretest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=662240">0.7.93</a> (19-Feb-2009) +Latest pretest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=662240">0.7.93</a> (19-Feb-2009) </li> <li> Full <a href="#list-of-releases">list of releases</a>, including lists of features and changes </li> </ul> + <p>External resources: </p> <ul> @@ -88,15 +128,16 @@ <ul> <li> trackers for -<a href="http://sourceforge.net/tracker/?atid=586350&group_id=88346&func=browse">bugs</a>, -<a href="http://sourceforge.net/tracker/?atid=586353&group_id=88346&func=browse">feature requests</a>, -<a href="http://sourceforge.net/tracker/?atid=586352&group_id=88346&func=browse">patches</a> and -<a href="http://sourceforge.net/tracker/?atid=586351&group_id=88346&func=browse">support requests</a>, open for anonymous posters +<a href="http://sourceforge.net/tracker/?atid=586350&group_id=88346&func=browse">bugs</a>, +<a href="http://sourceforge.net/tracker/?atid=586353&group_id=88346&func=browse">feature requests</a>, +<a href="http://sourceforge.net/tracker/?atid=586352&group_id=88346&func=browse">patches</a> and +<a href="http://sourceforge.net/tracker/?atid=586351&group_id=88346&func=browse">support requests</a>, open for anonymous posters </li> <li> <a href="http://sourceforge.net/forum/?group_id=88346">forums</a>, open for anonymous posters </li> -</ul></li> +</ul> +</li> <li> <a href="http://www.emacswiki.org/cgi-bin/wiki/JabberEl">the JabberEl page of EmacsWiki</a> </li> @@ -112,7 +153,8 @@ <li> <a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-bugs">emacs-jabber-bugs</a>, read-only mailing list of bug tracker activity (also <a href="http://dir.gmane.org/gmane.emacs.jabber.bugs">gmane.emacs.jabber.bugs</a>) </li> -</ul></li> +</ul> +</li> <li> the Jabber chat room <a href="xmpp:jab...@co...?join">jab...@co...</a> @@ -122,8 +164,10 @@ </li> </ul> -<div class="outline-2"> -<h2 id="sec-1">What is Jabber?</h2> + +<div id="outline-container-1" class="outline-2"> +<h2 id="sec-1">What is Jabber? </h2> +<div class="outline-text-2" id="text-1"> <p> @@ -154,8 +198,11 @@ </p> </div> -<div class="outline-2"> -<h2 id="sec-2">What is jabber.el?</h2> +</div> + +<div id="outline-container-2" class="outline-2"> +<h2 id="sec-2">What is jabber.el? </h2> +<div class="outline-text-2" id="text-2"> <p> @@ -165,13 +212,19 @@ </p> </div> -<div class="outline-2"> -<h2 id="sec-3">Downloading and installing</h2> +</div> +<div id="outline-container-3" class="outline-2"> +<h2 id="sec-3">Downloading and installing </h2> +<div class="outline-text-2" id="text-3"> -<div class="outline-3"> -<h3 id="sec-4">Prepackaged</h3> + +</div> + +<div id="outline-container-3.1" class="outline-3"> +<h3 id="sec-3.1">Prepackaged </h3> +<div class="outline-text-3" id="text-3.1"> <p> @@ -180,8 +233,11 @@ </p> </div> -<div class="outline-3"> -<h3 id="sec-5">Dependencies</h3> +</div> + +<div id="outline-container-3.2" class="outline-3"> +<h3 id="sec-3.2">Dependencies </h3> +<div class="outline-text-3" id="text-3.2"> <p> @@ -200,31 +256,42 @@ </p> </div> -<div class="outline-3"> -<h3 id="sec-6">Downloading</h3> +</div> + +<div id="outline-container-3.3" class="outline-3"> +<h3 id="sec-3.3">Downloading </h3> +<div class="outline-text-3" id="text-3.3"> <p> Download the <a href="#impatient">latest release</a> and unpack it in a suitable location. Add something like the following to your <code>.emacs</code> file: </p> -<p> -<pre> - ;; adjust this path: - (add-to-list 'load-path "/path/to/emacs-jabber") - ;; For 0.7.1 and below: - (require 'jabber) - ;; For 0.7.90 and above: - (require 'jabber-autoloads) + + + +<pre class="example"> +;; adjust this path: +(add-to-list 'load-path "/path/to/emacs-jabber") +;; For 0.7.1 and below: +(require 'jabber) +;; For 0.7.90 and above: +(require 'jabber-autoloads) </pre> -</p> + + + + <p> Either evaluate those lines, or restart Emacs. </p> </div> -<div class="outline-3"> -<h3 id="sec-7">Using</h3> +</div> + +<div id="outline-container-3.4" class="outline-3"> +<h3 id="sec-3.4">Using </h3> +<div class="outline-text-3" id="text-3.4"> <p> @@ -235,19 +302,25 @@ </div> </div> -<div class="outline-2"> -<h2 id="sec-8">Reporting bugs</h2> +</div> + +<div id="outline-container-4" class="outline-2"> +<h2 id="sec-4">Reporting bugs </h2> +<div class="outline-text-2" id="text-4"> <p> Bug reports can be sent either to the mailing list -<a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general">emacs-jabber-general</a> or to the <a href="http://sourceforge.net/tracker/?group_id=88346&atid=586350">bug tracker</a>. +<a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general">emacs-jabber-general</a> or to the <a href="http://sourceforge.net/tracker/?group_id=88346&atid=586350">bug tracker</a>. </p> </div> -<div class="outline-2"> -<h2 id="sec-9">Latest source</h2> +</div> + +<div id="outline-container-5" class="outline-2"> +<h2 id="sec-5">Latest source </h2> +<div class="outline-text-2" id="text-5"> <p> @@ -256,22 +329,11 @@ using various version control systems. </p> -<div class="outline-3"> -<h3 id="sec-10">CVS</h3> - - -<p> -See <a href="http://sourceforge.net/cvs/?group_id=88346">the Sourceforge CVS page</a>. In short, run the following command: -</p> -<p> -<pre> - cvs -z3 -d:pserver:ano...@em...:/cvsroot/emacs-jabber co -P emacs-jabber -</pre> -</p> </div> -<div class="outline-3"> -<h3 id="sec-11">GNU Arch</h3> +<div id="outline-container-5.1" class="outline-3"> +<h3 id="sec-5.1">GNU Arch </h3> +<div class="outline-text-3" id="text-5.1"> <p> @@ -279,27 +341,43 @@ </p> </div> -<div class="outline-3"> -<h3 id="sec-12">git</h3> +</div> +<div id="outline-container-5.2" class="outline-3"> +<h3 id="sec-5.2">git </h3> +<div class="outline-text-3" id="text-5.2"> -<p> -<pre> - git clone git://catap.ru/emacs-jabber/emacs-jabber.git + + + + +<pre class="example"> +git clone git://catap.ru/emacs-jabber/emacs-jabber.git </pre> -</p> + + + + </div> </div> -<div class="outline-2"> -<h2 id="sec-13">List of releases</h2> +</div> + +<div id="outline-container-6" class="outline-2"> +<h2 id="sec-6">List of releases </h2> +<div class="outline-text-2" id="text-6"> <p> The list of releases has been moved to a <a href="list-of-releases.html">separate page</a>. </p> </div> -<div id="postamble"><p class="date"> Date: 2009/04/10 11:24:24 PM</p> -</div></body> +</div> +<div id="postamble"> +<p class="date"> Date: 2009-04-30 10:57:52 BST</p> +<p class="creator">HTML generated by org-mode 6.26trans in emacs 23</p> +</div> +</div> +</body> </html> Index: index.org =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.org,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.org 10 Apr 2009 21:27:48 -0000 1.3 +++ index.org 30 Apr 2009 09:59:18 -0000 1.4 @@ -120,14 +120,6 @@ be in an ideal world. You can get the latest development version using various version control systems. -** CVS - -See [[http://sourceforge.net/cvs/?group_id=88346][the Sourceforge CVS page]]. In short, run the following command: - -#+BEGIN_EXAMPLE -cvs -z3 -d:pserver:ano...@em...:/cvsroot/emacs-jabber co -P emacs-jabber -#+END_EXAMPLE - ** GNU Arch The GNU Arch mirror is no longer being updated. |
From: Magnus H. <leg...@us...> - 2009-04-10 21:28:04
|
Update of /cvsroot/emacs-jabber/www In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6421 Modified Files: index.html index.org Log Message: Fix Git URL Index: index.html =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.html 19 Feb 2009 00:32:41 -0000 1.2 +++ index.html 10 Apr 2009 21:27:48 -0000 1.3 @@ -6,7 +6,7 @@ <title>jabber.el</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="generator" content="Org-mode"/> -<meta name="generated" content="2009/02/19 1:31:21 AM"/> +<meta name="generated" content="2009/04/10 11:24:24 PM"/> <meta name="author" content=""/> <style type="text/css"> html { @@ -285,7 +285,7 @@ <p> <pre> - git-clone git://git.catap.ru/emacs-jabber.git + git clone git://catap.ru/emacs-jabber/emacs-jabber.git </pre> </p> @@ -300,6 +300,6 @@ The list of releases has been moved to a <a href="list-of-releases.html">separate page</a>. </p> </div> -<div id="postamble"><p class="date"> Date: 2009/02/19 1:31:21 AM</p> +<div id="postamble"><p class="date"> Date: 2009/04/10 11:24:24 PM</p> </div></body> </html> Index: index.org =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.org,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.org 19 Feb 2009 00:32:41 -0000 1.2 +++ index.org 10 Apr 2009 21:27:48 -0000 1.3 @@ -135,7 +135,7 @@ ** git #+BEGIN_EXAMPLE -git-clone git://git.catap.ru/emacs-jabber.git +git clone git://catap.ru/emacs-jabber/emacs-jabber.git #+END_EXAMPLE |
From: Evgenii T. <evg...@us...> - 2009-03-08 13:53:41
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28171 Modified Files: jabber.el Log Message: highlight-presence patch part2 Index: jabber.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.el,v retrieving revision 1.93 retrieving revision 1.94 diff -u -d -r1.93 -r1.94 --- jabber.el 21 Sep 2008 19:30:35 -0000 1.93 +++ jabber.el 8 Mar 2009 13:53:27 -0000 1.94 @@ -219,14 +219,14 @@ ;;;###autoload (defconst jabber-presence-strings - '(("" . "Online") - ("away" . "Away") - ("xa" . "Extended Away") - ("dnd" . "Do not Disturb") - ("chat" . "Chatty") - ("error" . "Error") - (nil . "Offline")) - "Mapping from presence types to readable strings") + `(("" . ,(jabber-propertize "Online" 'face 'jabber-roster-user-online)) + ("away" . ,(jabber-propertize "Away" 'face 'jabber-roster-user-away)) + ("xa" . ,(jabber-propertize "Extended Away" 'face 'jabber-roster-user-xa)) + ("dnd" . ,(jabber-propertize "Do not Disturb" 'face 'jabber-roster-user-dnd)) + ("chat" . ,(jabber-propertize "Chatty" 'face 'jabber-roster-user-chatty)) + ("error" . ,(jabber-propertize "Error" 'face 'jabber-roster-user-error)) + (nil . ,(jabber-propertize "Offline" 'face 'jabber-roster-user-offline))) + "Mapping from presence types to readable, colorized strings") ;;;###autoload (defun jabber-customize () |
From: Evgenii T. <evg...@us...> - 2009-03-08 13:53:00
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28135 Modified Files: jabber-modeline.el Log Message: highlight-presence patch part1 Index: jabber-modeline.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-modeline.el,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- jabber-modeline.el 13 Mar 2007 20:08:54 -0000 1.7 +++ jabber-modeline.el 8 Mar 2009 13:52:53 -0000 1.8 @@ -83,6 +83,8 @@ 'jabber-mode-line-presence " " 'jabber-mode-line-contacts)) + (put 'jabber-mode-line-string 'risky-local-variable t) + (put 'jabber-mode-line-presence 'risky-local-variable t) (jabber-mode-line-presence-update) (jabber-mode-line-count-contacts) (ad-activate 'jabber-send-presence) |
From: Magnus H. <leg...@us...> - 2009-02-24 23:56:19
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28687 Modified Files: jabber-util.el Log Message: New function jabber-find-connection. Rewrite jabber-find-active-connection to use it. Idea by Pavel Vyazovoi, http://blog.vyazovoi.info/2009/02/jabber-read-account.html . Index: jabber-util.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-util.el,v retrieving revision 2.61 retrieving revision 2.62 diff -u -d -r2.61 -r2.62 --- jabber-util.el 15 Feb 2009 14:33:53 -0000 2.61 +++ jabber-util.el 24 Feb 2009 23:55:59 -0000 2.62 @@ -128,13 +128,18 @@ (concat (plist-get sd :username) "@" (plist-get sd :server)))) +(defun jabber-find-connection (bare-jid) + "Find the connection to the account named by BARE-JID. +Return nil if none found." + (dolist (jc jabber-connections) + (when (string= bare-jid (jabber-connection-bare-jid jc)) + (return jc)))) + (defun jabber-find-active-connection (dead-jc) "Given a dead connection, find an active connection to the same account. Return nil if none found." (let ((jid (jabber-connection-bare-jid dead-jc))) - (dolist (jc jabber-connections) - (when (string= jid (jabber-connection-bare-jid jc)) - (return jc))))) + (jabber-find-connection jid))) (defun jabber-jid-username (string) "return the username portion of a JID, or nil if no username" |
From: Magnus H. <leg...@us...> - 2009-02-19 00:33:01
|
Update of /cvsroot/emacs-jabber/www In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15313 Modified Files: index.html index.org Log Message: New release: 0.7.93 Index: index.html =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- index.html 31 Jan 2009 02:30:47 -0000 1.1 +++ index.html 19 Feb 2009 00:32:41 -0000 1.2 @@ -6,7 +6,7 @@ <title>jabber.el</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="generator" content="Org-mode"/> -<meta name="generated" content="2009/01/31 3:18:09 AM"/> +<meta name="generated" content="2009/02/19 1:31:21 AM"/> <meta name="author" content=""/> <style type="text/css"> html { @@ -73,7 +73,7 @@ Latest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">0.7.1</a> (31-Jan-2007) </li> <li> -Latest pretest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=630770">0.7.92</a> (05-Oct-2008) +Latest pretest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=662240">0.7.93</a> (19-Feb-2009) </li> <li> Full <a href="#list-of-releases">list of releases</a>, including lists of features and changes @@ -300,6 +300,6 @@ The list of releases has been moved to a <a href="list-of-releases.html">separate page</a>. </p> </div> -<div id="postamble"><p class="date"> Date: 2009/01/31 3:18:09 AM</p> +<div id="postamble"><p class="date"> Date: 2009/02/19 1:31:21 AM</p> </div></body> </html> Index: index.org =================================================================== RCS file: /cvsroot/emacs-jabber/www/index.org,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- index.org 31 Jan 2009 02:30:47 -0000 1.1 +++ index.org 19 Feb 2009 00:32:41 -0000 1.2 @@ -14,7 +14,7 @@ For the impatient: - Latest release: [[http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983][0.7.1]] (31-Jan-2007) - - Latest pretest release: [[http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=630770][0.7.92]] (05-Oct-2008) + - Latest pretest release: [[http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=662240][0.7.93]] (19-Feb-2009) - Full [[list-of-releases][list of releases]], including lists of features and changes External resources: |
From: Magnus H. <leg...@us...> - 2009-02-19 00:15:19
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14683 Modified Files: srv.el Log Message: query-dns was renamed to dns-query; check for both. Index: srv.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/srv.el,v retrieving revision 2.2 retrieving revision 2.3 diff -u -d -r2.2 -r2.3 --- srv.el 1 May 2007 16:37:16 -0000 2.2 +++ srv.el 19 Feb 2009 00:15:14 -0000 2.3 @@ -46,7 +46,10 @@ (error "No dns.el available")) (unless (assq 'SRV dns-query-types) (error "dns.el doesn't support SRV lookups")) - (let* ((result (query-dns target 'SRV t)) + ;; `dns-query' used to be `query-dns'. Try both names for now. + (let* ((result (if (fboundp 'query-dns) + (query-dns target 'SRV t) + (dns-query target 'SRV t))) (answers (mapcar #'(lambda (a) (cadr (assq 'data a))) (cadr (assq 'answers result)))) |
From: Kirill A. K. <ca...@us...> - 2009-02-16 16:29:28
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25784 Modified Files: jabber-roster.el jabber.texi Log Message: Implement jabber-roster-show-title + update docs Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.142 retrieving revision 1.143 diff -u -d -r1.142 -r1.143 --- jabber.texi 4 Feb 2009 00:02:18 -0000 1.142 +++ jabber.texi 16 Feb 2009 16:29:18 -0000 1.143 @@ -1718,6 +1718,11 @@ Status string specified by contact @end table +@code{jabber-roster-show-title} controls whether to show a "Jabber +roster" string at the top of the roster buffer. You need to run +@kbd{M-x jabber-display-roster} after changing this variable to update +the display. + @code{%u} is replaced by one of the strings given by `jabber-roster-subscription-display'. Index: jabber-roster.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-roster.el,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -r1.58 -r1.59 --- jabber-roster.el 6 Oct 2008 11:14:29 -0000 1.58 +++ jabber-roster.el 16 Feb 2009 16:29:18 -0000 1.59 @@ -139,6 +139,11 @@ :type 'boolean :group 'jabber-roster) +(defcustom jabber-roster-show-title t + "Show title in roster buffer?" + :type 'boolean + :group 'jabber-roster) + (defcustom jabber-roster-mode-hook nil "Hook run when entering Roster mode." :group 'jabber-roster @@ -336,7 +341,8 @@ (current-column (current-column))) (erase-buffer) (setq jabber-roster-ewoc nil) - (insert (jabber-propertize "Jabber roster" 'face 'jabber-title-large) "\n") + (when jabber-roster-show-title + (insert (jabber-propertize "Jabber roster" 'face 'jabber-title-large) "\n")) (when jabber-roster-show-bindings (insert "RET Open chat buffer C-k Delete roster item e Edit item s Send subscription request |
From: Magnus H. <leg...@us...> - 2009-02-15 14:33:59
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17961 Modified Files: jabber-core.el jabber-muc.el jabber-presence.el jabber-util.el Log Message: Dedicated history lists for minibuffer prompts. Patch from Julian Scheid in 2019522. Index: jabber-core.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-core.el,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- jabber-core.el 4 Feb 2009 00:02:18 -0000 1.100 +++ jabber-core.el 15 Feb 2009 14:33:53 -0000 1.101 @@ -133,6 +133,12 @@ "Return non-nil if SASL functions are available." (featurep 'sasl)) +(defvar jabber-account-history () + "Keeps track of previously used jabber accounts") + +(defvar jabber-connection-type-history () + "Keeps track of previously used connection types") + ;; jabber-connect and jabber-connect-all should load jabber.el, not ;; just jabber-core.el, when autoloaded. @@ -185,7 +191,7 @@ With prefix argument, register a new account. With double prefix argument, specify more connection details." (interactive - (let* ((jid (completing-read "Enter your JID: " jabber-account-list)) + (let* ((jid (completing-read "Enter your JID: " jabber-account-list nil nil nil 'jabber-account-history)) (entry (assoc jid jabber-account-list)) (alist (cdr entry)) password network-server port connection-type registerp) @@ -222,7 +228,7 @@ (mapcar (lambda (type) (cons (symbol-name (car type)) nil)) jabber-connect-methods) - nil t nil nil default))))) + nil t nil 'jabber-connection-type-history default))))) (setq registerp (yes-or-no-p "Register new account? "))) (when (equal current-prefix-arg '(4)) (setq registerp t)) Index: jabber-presence.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-presence.el,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- jabber-presence.el 21 Nov 2008 12:51:50 -0000 1.52 +++ jabber-presence.el 15 Feb 2009 14:33:53 -0000 1.53 @@ -35,6 +35,9 @@ possibly empty list of extra child element of the <presence/> stanza.") +(defvar jabber-presence-history () + "Keeps track of previously used presence status types") + (add-to-list 'jabber-iq-set-xmlns-alist (cons "jabber:iq:roster" (function (lambda (jc x) (jabber-process-roster jc x nil))))) (defun jabber-process-roster (jc xml-data closure-data) @@ -295,7 +298,7 @@ ("xa" . nil) ("dnd" . nil) ("chat" . nil)) - nil t) + nil t nil 'jabber-presence-history) (jabber-read-with-input-method "status message: " *jabber-current-status* '*jabber-status-history*) (read-string "priority: " (progn (unless *jabber-current-priority* @@ -372,7 +375,7 @@ ("unsubscribe") ("subscribed") ("unsubscribed")) - nil t nil nil "online"))) + nil t nil 'jabber-presence-history "online"))) (cond ((member type '("probe" "unavailable" "subscribe" "unsubscribe" Index: jabber-muc.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-muc.el,v retrieving revision 1.82 retrieving revision 1.83 diff -u -d -r1.82 -r1.83 --- jabber-muc.el 21 Sep 2008 14:42:01 -0000 1.82 +++ jabber-muc.el 15 Feb 2009 14:33:53 -0000 1.83 @@ -49,6 +49,15 @@ (defvar jabber-muc-topic "" "The topic of the current MUC room.") +(defvar jabber-role-history () + "Keeps track of previously used roles") + +(defvar jabber-affiliation-history () + "Keeps track of previously used affiliations") + +(defvar jabber-muc-nickname-history () + "Keeps track of previously referred-to nicknames") + ;;;###autoload (defcustom jabber-muc-default-nicknames nil "Default nickname for specific MUC rooms." @@ -349,7 +358,7 @@ (let ((nicknames (cdr (assoc group jabber-muc-participants)))) (unless nicknames (error "Unknown group: %s" group)) - (completing-read prompt nicknames nil t))) + (completing-read prompt nicknames nil t nil 'jabber-muc-nickname-history))) (add-to-list 'jabber-jid-muc-menu (cons "Configure groupchat" 'jabber-groupchat-get-config)) @@ -564,7 +573,7 @@ (jabber-muc-argument-list (let ((nickname (jabber-muc-read-nickname jabber-group "Nickname: "))) (list nickname - (completing-read "New role: " '(("none") ("visitor") ("participant") ("moderator")) nil t) + (completing-read "New role: " '(("none") ("visitor") ("participant") ("moderator")) nil t nil 'jabber-role-history) (read-string "Reason: "))))) (unless (or (zerop (length nickname)) (zerop (length role))) (jabber-send-iq jc group "set" @@ -592,7 +601,7 @@ (jabber-read-jid-completing "User: ")) nickname-p (completing-read "New affiliation: " - '(("none") ("outcast") ("member") ("admin") ("owner")) nil t) + '(("none") ("outcast") ("member") ("admin") ("owner")) nil t nil 'jabber-affiliation-history) (read-string "Reason: "))))) (let ((jid (if nickname-p Index: jabber-util.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-util.el,v retrieving revision 2.60 retrieving revision 2.61 diff -u -d -r2.60 -r2.61 --- jabber-util.el 7 Dec 2008 22:10:52 -0000 2.60 +++ jabber-util.el 15 Feb 2009 14:33:53 -0000 2.61 @@ -282,7 +282,7 @@ "Uncache cached password for BARE-JID. Useful if the password proved to be wrong." (interactive (list (jabber-jid-user - (completing-read "Forget password of account: " jabber-account-list)))) + (completing-read "Forget password of account: " jabber-account-list nil nil nil 'jabber-account-history)))) (when (fboundp 'password-cache-remove) (password-cache-remove (jabber-password-key bare-jid)))) @@ -322,7 +322,7 @@ (concat "Select Jabber account (default " default "): ") - completions nil t nil nil + completions nil t nil 'jabber-account-history default))) (cdr (assoc input completions)))))))) |
From: Magnus H. <leg...@us...> - 2009-02-04 00:02:32
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28318 Modified Files: jabber-core.el jabber.texi Log Message: jabber-roster-buffer finally defaults do "*-jabber-roster-*". Fixes #2019551. Index: jabber-core.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-core.el,v retrieving revision 1.99 retrieving revision 1.100 diff -u -d -r1.99 -r1.100 --- jabber-core.el 1 Nov 2008 11:58:05 -0000 1.99 +++ jabber-core.el 4 Feb 2009 00:02:18 -0000 1.100 @@ -111,7 +111,7 @@ :type 'integer :group 'jabber-core) -(defcustom jabber-roster-buffer "*-jabber-*" +(defcustom jabber-roster-buffer "*-jabber-roster-*" "The name of the roster buffer" :type 'string :group 'jabber-core) Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.141 retrieving revision 1.142 diff -u -d -r1.141 -r1.142 --- jabber.texi 28 Jan 2009 02:11:51 -0000 1.141 +++ jabber.texi 4 Feb 2009 00:02:18 -0000 1.142 @@ -185,7 +185,7 @@ Now, type @kbd{C-x C-j C-c} and enter your JID and password. If you successfully connect, jabber.el will download your roster and display it -in a buffer called @code{*-jabber-*}. +in a buffer called @code{*-jabber-roster-*}. By default, you will appear as ``online'' to your contacts. To change this to e.g. ``away'', type @kbd{M-x jabber-send-presence} or @kbd{C-x @@ -387,9 +387,9 @@ @cindex Menus @cindex Key bindings -The roster buffer is called @code{*-jabber-*}. It simply contains a -list of the contacts on your roster. If you have several accounts -connected, contacts will be grouped by account. +The roster buffer is called @code{*-jabber-roster-*}. It simply +contains a list of the contacts on your roster. If you have several +accounts connected, contacts will be grouped by account. In the roster buffer, any command which requires a JID will default to the JID under point when called. These commands can be called through |
From: Magnus H. <leg...@us...> - 2009-01-31 02:31:09
|
Update of /cvsroot/emacs-jabber/www/html In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23064/html Removed Files: index.html list-of-releases.html Log Message: Move from Muse to Org. Move HTML files to root. --- index.html DELETED --- --- list-of-releases.html DELETED --- |
From: Magnus H. <leg...@us...> - 2009-01-31 02:31:03
|
Update of /cvsroot/emacs-jabber/www In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23064 Modified Files: upload.sh Added Files: index.html index.org list-of-releases.html list-of-releases.org Removed Files: index.muse list-of-releases.muse setup.el Log Message: Move from Muse to Org. Move HTML files to root. --- setup.el DELETED --- --- index.muse DELETED --- --- NEW FILE: index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>jabber.el</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="generator" content="Org-mode"/> <meta name="generated" content="2009/01/31 3:18:09 AM"/> <meta name="author" content=""/> <style type="text/css"> html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .timestamp { color: grey } .timestamp-kwd { color: CadetBlue } .tag { background-color:lightblue; font-weight:normal } .target { background-color: lavender; } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; } table { border-collapse: collapse; } td, th { vertical-align: top; <!--border: 1pt solid #ADB9CC;--> } </style> </head><body> <h1 class="title">jabber.el</h1> <a href="http://sourceforge.net"> <img border="0" src="http://sourceforge.net/sflogo.php?group_id=88346&type=2" width="125" height="37" alt="SourceForge.net Logo" style="position: absolute; top: 0em; right: 0em;"></a> jabber.el is a Jabber client for Emacs. <div id="table-of-contents"> <h2>Table of Contents</h2> <ul> <li><a href="#sec-1">What is Jabber?</a></li> <li><a href="#sec-2">What is jabber.el?</a></li> <li><a href="#sec-3">Downloading and installing</a> <ul> <li><a href="#sec-4">Prepackaged</a></li> <li><a href="#sec-5">Dependencies</a></li> <li><a href="#sec-6">Downloading</a></li> <li><a href="#sec-7">Using</a></li> </ul> </li> <li><a href="#sec-8">Reporting bugs</a></li> <li><a href="#sec-9">Latest source</a> <ul> <li><a href="#sec-10">CVS</a></li> <li><a href="#sec-11">GNU Arch</a></li> <li><a href="#sec-12">git</a></li> </ul> </li> <li><a href="#sec-13">List of releases</a></li> </ul> </div> <p> <a name="impatient"> </a> For the impatient: </p> <ul> <li> Latest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">0.7.1</a> (31-Jan-2007) </li> <li> Latest pretest release: <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=630770">0.7.92</a> (05-Oct-2008) </li> <li> Full <a href="#list-of-releases">list of releases</a>, including lists of features and changes </li> </ul> <p>External resources: </p> <ul> <li> <a href="http://sourceforge.net/projects/emacs-jabber/">Sourceforge project page</a>, containing: <ul> <li> trackers for <a href="http://sourceforge.net/tracker/?atid=586350&group_id=88346&func=browse">bugs</a>, <a href="http://sourceforge.net/tracker/?atid=586353&group_id=88346&func=browse">feature requests</a>, <a href="http://sourceforge.net/tracker/?atid=586352&group_id=88346&func=browse">patches</a> and <a href="http://sourceforge.net/tracker/?atid=586351&group_id=88346&func=browse">support requests</a>, open for anonymous posters </li> <li> <a href="http://sourceforge.net/forum/?group_id=88346">forums</a>, open for anonymous posters </li> </ul></li> <li> <a href="http://www.emacswiki.org/cgi-bin/wiki/JabberEl">the JabberEl page of EmacsWiki</a> </li> <li> Mailing lists (also available at <a href="http://gmane.net">Gmane</a>): <ul> <li> <a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general">emacs-jabber-general</a>, for posts by humans (also <a href="http://dir.gmane.org/gmane.emacs.jabber.general">gmane.emacs.jabber.general</a>) </li> <li> <a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-commit">emacs-jabber-commit</a>, read-only mailing list of CVS commits (also <a href="http://dir.gmane.org/gmane.emacs.jabber.scm">gmane.emacs.jabber.scm</a>) </li> <li> <a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-bugs">emacs-jabber-bugs</a>, read-only mailing list of bug tracker activity (also <a href="http://dir.gmane.org/gmane.emacs.jabber.bugs">gmane.emacs.jabber.bugs</a>) </li> </ul></li> <li> the Jabber chat room <a href="xmpp:jab...@co...?join">jab...@co...</a> </li> <li> the <a href="manual-0.7.1/">manual for jabber.el 0.7.1</a> (also included in the release files) </li> </ul> <div class="outline-2"> <h2 id="sec-1">What is Jabber?</h2> <p> Jabber is an open instant messaging (IM) system, also known as XMPP. It is described in <a href="http://www.xmpp.org/rfcs/">RFCs 3920-3923</a> and a series of <a href="http://www.xmpp.org/extensions/">XEPs</a> (XMPP Extension Proposals). That is, unlike legacy IM systems (such as ICQ or MSN Messenger), the protocol is published in the open, free for anyone to implement. Therefore you shouldn't be surprised that there is a Jabber client for Emacs, too. (If you are not of the Emacs persuasion, see this <a href="http://www.jabber.org/software/clients.shtml">list of Jabber clients</a>.) </p> <p> Jabber is, like e-mail, a decentralised system. A Jabber identifier (JID) is of the form <code>username@server</code>, just like an e-mail address, and every Jabber user whose server is open to Internet connections can communicate with any other user. This is in stark contrast to the legacy "walled-garden" IM systems, where you need a separate account for each system to be able to communicate with its users. Note that the <a href="http://talk.google.com">Google Talk</a> service is an XMPP service, so if you have a GMail account, you already have a JID ending with <code>@gmail.com</code>. </p> <p> In Jabber, you have a "roster", a list of contacts. You can see which of them are online at the moment, and chat with them. (You can also send messages to an offline contact, and the message will be stored on the server for later delivery.) Jabber also supports IRC-style chat rooms. </p> </div> <div class="outline-2"> <h2 id="sec-2">What is jabber.el?</h2> <p> jabber.el is a Jabber client for Emacs. It may seem strange to have a chat client in an editor, but consider that chatting is, after all, just a special case of text editing. </p> </div> <div class="outline-2"> <h2 id="sec-3">Downloading and installing</h2> <div class="outline-3"> <h3 id="sec-4">Prepackaged</h3> <p> Note that jabber.el is available as <a href="http://packages.debian.org/emacs-jabber">emacs-jabber in Debian</a>, and in <a href="http://packages.ubuntu.com/emacs-jabber">Ubuntu's "universe" section</a>. </p> </div> <div class="outline-3"> <h3 id="sec-5">Dependencies</h3> <p> jabber.el requires either GNU Emacs 22, or GNU Emacs 21 combined with Gnus 5.10. You should get these from your distribution, or from the <a href="http://www.gnu.org/software/emacs/">Emacs</a> and <a href="http://gnus.org">Gnus</a> web sites. </p> <p> However, if you want to connect to servers that use SRV records (e.g. Google Talk), it is recommended to use either No Gnus or Gnus 5.13. </p> <p> If you want encrypted connections (some servers, e.g. Google Talk, require it), you need <a href="http://www.gnu.org/software/gnutls/">GnuTLS</a> installed. </p> </div> <div class="outline-3"> <h3 id="sec-6">Downloading</h3> <p> Download the <a href="#impatient">latest release</a> and unpack it in a suitable location. Add something like the following to your <code>.emacs</code> file: </p> <p> <pre> ;; adjust this path: (add-to-list 'load-path "/path/to/emacs-jabber") ;; For 0.7.1 and below: (require 'jabber) ;; For 0.7.90 and above: (require 'jabber-autoloads) </pre> </p> <p> Either evaluate those lines, or restart Emacs. </p> </div> <div class="outline-3"> <h3 id="sec-7">Using</h3> <p> See the <a href="manual-0.7.1/Basic-operation.html">Basic Operation</a> in the manual. </p> </div> </div> <div class="outline-2"> <h2 id="sec-8">Reporting bugs</h2> <p> Bug reports can be sent either to the mailing list <a href="http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general">emacs-jabber-general</a> or to the <a href="http://sourceforge.net/tracker/?group_id=88346&atid=586350">bug tracker</a>. </p> </div> <div class="outline-2"> <h2 id="sec-9">Latest source</h2> <p> jabber.el releases are, unfortunately, less frequent than they would be in an ideal world. You can get the latest development version using various version control systems. </p> <div class="outline-3"> <h3 id="sec-10">CVS</h3> <p> See <a href="http://sourceforge.net/cvs/?group_id=88346">the Sourceforge CVS page</a>. In short, run the following command: </p> <p> <pre> cvs -z3 -d:pserver:ano...@em...:/cvsroot/emacs-jabber co -P emacs-jabber </pre> </p> </div> <div class="outline-3"> <h3 id="sec-11">GNU Arch</h3> <p> The GNU Arch mirror is no longer being updated. </p> </div> <div class="outline-3"> <h3 id="sec-12">git</h3> <p> <pre> git-clone git://git.catap.ru/emacs-jabber.git </pre> </p> </div> </div> <div class="outline-2"> <h2 id="sec-13">List of releases</h2> <p> The list of releases has been moved to a <a href="list-of-releases.html">separate page</a>. </p> </div> <div id="postamble"><p class="date"> Date: 2009/01/31 3:18:09 AM</p> </div></body> </html> --- NEW FILE: list-of-releases.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>List of releases - jabber.el</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="generator" content="Org-mode"/> <meta name="generated" content="2009/01/31 3:00:13 AM"/> <meta name="author" content=""/> <style type="text/css"> html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .timestamp { color: grey } .timestamp-kwd { color: CadetBlue } .tag { background-color:lightblue; font-weight:normal } .target { background-color: lavender; } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; } table { border-collapse: collapse; } td, th { vertical-align: top; <!--border: 1pt solid #ADB9CC;--> } </style> </head><body> <h1 class="title">List of releases - jabber.el</h1> <a href="index.html">Back to main page</a> <h3>version 0.7.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">31-Jan-2007</a></h3> <ul> <li>STARTTLS</li> <li>SRV records (requires No Gnus)</li> <li>Message composition buffer</li> <li>XMPP URIs are handled (see <a href="manual-0.7.1/XMPP-URIs.html">manual</a> for setup)</li> <li>Autoaway</li> <li>MUC improvements <ul> <li>Don't display alerts for your own messages</li> <li>Presence changes are sent to MUC rooms too</li> <li>Check room features before joining</li> </ul> <li>Avatars</li> <li>File transfer</li> <li>Sound files per contact for alerts</li> <li>New function: jabber-send-directed-presence</li> <li>Entity time supported (XEP-0090)</li> <li>Last activity supported (XEP-0012)</li> </ul> <p>Read the <a href="manual-0.7.1/">manual</a>.</p> <h3>version 0.7 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=381160">27-Dec-2005</a></h3> <ul> <li>SSL connections possible</li> <li>Chat buffers rewritten</li> <li>MUC improved</li> <li>Global key bindings under C-x C-j</li> <li>Vcard viewer and editor</li> <li>Roster export</li> <li>Message events (JEP-0022)</li> <li>Easy way to define external notifiers</li> <li>Activity mode improved</li> <li>Roster display optimized</li> <li>Optionally use per-contact history files</li> <li>Jabber menu in menubar not enabled by default</li> <li>Flyspell in chat buffers</li> <li>Different time formats for instant and delayed messages</li> <li>Chat buffers in inactive windows are scrolled</li> <li>Roster is sorted by name also</li> <li>Countless bugfixes</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.7/">manual</a>.</p> <h3>version 0.6.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=292750">27-Dec-2004</a></h3> <ul> <li>Now works with ejabberd</li> <li>Message history (Mathias Dahl)</li> <li>Backlogs</li> <li>Activity tracking on the mode line (Carl Henrik Lunde)</li> <li>Receive an alert when a specific person goes online (Mathias Dahl)</li> <li>Support for /me in chats (Nolan Eakins)</li> <li>Message alerts for current buffer can be disabled</li> <li>Basic moderation support in MUC</li> <li>MUC alerts are separated from ordinary message alerts</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.6.1/">manual</a>, in which there is now a section on <a href="http://emacs-jabber.sourceforge.net/manual-0.6.1/Protocol-support.html">protocol support</a>.</p> <h3>version 0.6 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=275815">17-Oct-2004</a></h3> <ul> <li>Chat buffers no longer use the minibuffer, making it easier to use ordinary editor commands and to pause writing halfway</li> <li>The roster display and the chat buffer prompts are now customizable</li> <li>The online status of the contact is displayed in the chat buffer (Emacs only)</li> <li>The connect function automatically sends presence after connecting</li> <li>The names of the roster buffer and chat buffers are customizable</li> <li>RET and C-k do what you would expect in the roster buffer</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.6/">manual</a>.</p> <h3>version 0.5.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=236857">08-May-2004</a></h3> <ul> <li>Nicknames are accepted whenever a JID is asked for.</li> <li>Roster entry spacing is customizable (default is none)</li> <li>Bug fix regarding mixed-case JIDs</li> <li>Experimental code for receiving files - see the README</li> <li>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.5.1/">manual</a></li> </ul> <h3>version 0.5 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=228471">03-April-2004</a></h3> <ul> <li>Modular design; plugins easier to write</li> <li>Support for Ad-Hoc Commands and setting presence remotely</li> <li><a href="manual-0.5/">Browse documentation here</a></li> </ul> <h3>version 0.4.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=217577">16-February-2004</a></h3> <ul> <li> XEmacs support - basically works, needs testing and care.</li> <li> "Set status" menu fixed</li> </ul> <h3>version 0.4 - 05-February-2004</h3> <ul> <li> SHA-1 password hashing</li> <li> customisation hooks</li> <li> browsing improved</li> <li> added service discovery</li> <li> added in-band registration</li> <li> added searching</li> <li> <a href="/emacs-jabber/jabber.html">new manual</a></li> </ul> <h3>version 0.3 - 21-April-2002</h3> <ul> <li> improved groupchat support (thanks to nimrod for tip)</li> <li> improved roster (buddy-list) display</li> <li> infoquery rewritten - great improvement</li> <li> improved minimal browsing support !</li> <li> added customizable faces</li> <li> added more customizable variables</li> <li> more (helpful) comments in code</li> <li> added explicit licensing (GPL, like emacs itself)</li> </ul><br> <h3>version 0.2 - 05-April-2002</h3> <ul> <li> added groupchat support !</li> <li> added minimal browsing support !</li> <li> fixed bug in chat mode</li> <li> abolished message mode (i only use chat mode anyway)</li> <li> fixed some problems with incoming xml</li> <li> added a pull-down menu</li> <li> added customizable variables</li> </ul><br> <br> <h3>features currently missing (TODO)</h3> <ul> <li> global keymaps</li> <li> logging (history)</li> <li> overall exception handling</li> <li> sanity checks (for incoming xml, and for myself :)</li> <li> clickable URLs in messages</li> <li> support for versions other than gnu-emacs-21 (older emacs, xemacs, jemacs)</li> <li> and more...</li> </ul><br> <div id="postamble"><p class="date"> Date: 2009/01/31 3:00:13 AM</p> </div></body> </html> --- NEW FILE: list-of-releases.org --- #+TITLE: List of releases - jabber.el #+OPTIONS: author:nil skip:nil [[file:index.org][Back to main page]] #+BEGIN_HTML <h3>version 0.7.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983">31-Jan-2007</a></h3> <ul> <li>STARTTLS</li> <li>SRV records (requires No Gnus)</li> <li>Message composition buffer</li> <li>XMPP URIs are handled (see <a href="manual-0.7.1/XMPP-URIs.html">manual</a> for setup)</li> <li>Autoaway</li> <li>MUC improvements <ul> <li>Don't display alerts for your own messages</li> <li>Presence changes are sent to MUC rooms too</li> <li>Check room features before joining</li> </ul> <li>Avatars</li> <li>File transfer</li> <li>Sound files per contact for alerts</li> <li>New function: jabber-send-directed-presence</li> <li>Entity time supported (XEP-0090)</li> <li>Last activity supported (XEP-0012)</li> </ul> <p>Read the <a href="manual-0.7.1/">manual</a>.</p> <h3>version 0.7 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=381160">27-Dec-2005</a></h3> <ul> <li>SSL connections possible</li> <li>Chat buffers rewritten</li> <li>MUC improved</li> <li>Global key bindings under C-x C-j</li> <li>Vcard viewer and editor</li> <li>Roster export</li> <li>Message events (JEP-0022)</li> <li>Easy way to define external notifiers</li> <li>Activity mode improved</li> <li>Roster display optimized</li> <li>Optionally use per-contact history files</li> <li>Jabber menu in menubar not enabled by default</li> <li>Flyspell in chat buffers</li> <li>Different time formats for instant and delayed messages</li> <li>Chat buffers in inactive windows are scrolled</li> <li>Roster is sorted by name also</li> <li>Countless bugfixes</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.7/">manual</a>.</p> <h3>version 0.6.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=292750">27-Dec-2004</a></h3> <ul> <li>Now works with ejabberd</li> <li>Message history (Mathias Dahl)</li> <li>Backlogs</li> <li>Activity tracking on the mode line (Carl Henrik Lunde)</li> <li>Receive an alert when a specific person goes online (Mathias Dahl)</li> <li>Support for /me in chats (Nolan Eakins)</li> <li>Message alerts for current buffer can be disabled</li> <li>Basic moderation support in MUC</li> <li>MUC alerts are separated from ordinary message alerts</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.6.1/">manual</a>, in which there is now a section on <a href="http://emacs-jabber.sourceforge.net/manual-0.6.1/Protocol-support.html">protocol support</a>.</p> <h3>version 0.6 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=275815">17-Oct-2004</a></h3> <ul> <li>Chat buffers no longer use the minibuffer, making it easier to use ordinary editor commands and to pause writing halfway</li> <li>The roster display and the chat buffer prompts are now customizable</li> <li>The online status of the contact is displayed in the chat buffer (Emacs only)</li> <li>The connect function automatically sends presence after connecting</li> <li>The names of the roster buffer and chat buffers are customizable</li> <li>RET and C-k do what you would expect in the roster buffer</li> </ul> <p>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.6/">manual</a>.</p> <h3>version 0.5.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=236857">08-May-2004</a></h3> <ul> <li>Nicknames are accepted whenever a JID is asked for.</li> <li>Roster entry spacing is customizable (default is none)</li> <li>Bug fix regarding mixed-case JIDs</li> <li>Experimental code for receiving files - see the README</li> <li>Read the <a href="http://emacs-jabber.sourceforge.net/manual-0.5.1/">manual</a></li> </ul> <h3>version 0.5 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=228471">03-April-2004</a></h3> <ul> <li>Modular design; plugins easier to write</li> <li>Support for Ad-Hoc Commands and setting presence remotely</li> <li><a href="manual-0.5/">Browse documentation here</a></li> </ul> <h3>version 0.4.1 - <a href="http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=217577">16-February-2004</a></h3> <ul> <li> XEmacs support - basically works, needs testing and care.</li> <li> "Set status" menu fixed</li> </ul> <h3>version 0.4 - 05-February-2004</h3> <ul> <li> SHA-1 password hashing</li> <li> customisation hooks</li> <li> browsing improved</li> <li> added service discovery</li> <li> added in-band registration</li> <li> added searching</li> <li> <a href="/emacs-jabber/jabber.html">new manual</a></li> </ul> <h3>version 0.3 - 21-April-2002</h3> <ul> <li> improved groupchat support (thanks to nimrod for tip)</li> <li> improved roster (buddy-list) display</li> <li> infoquery rewritten - great improvement</li> <li> improved minimal browsing support !</li> <li> added customizable faces</li> <li> added more customizable variables</li> <li> more (helpful) comments in code</li> <li> added explicit licensing (GPL, like emacs itself)</li> </ul><br> <h3>version 0.2 - 05-April-2002</h3> <ul> <li> added groupchat support !</li> <li> added minimal browsing support !</li> <li> fixed bug in chat mode</li> <li> abolished message mode (i only use chat mode anyway)</li> <li> fixed some problems with incoming xml</li> <li> added a pull-down menu</li> <li> added customizable variables</li> </ul><br> <br> <h3>features currently missing (TODO)</h3> <ul> <li> global keymaps</li> <li> logging (history)</li> <li> overall exception handling</li> <li> sanity checks (for incoming xml, and for myself :)</li> <li> clickable URLs in messages</li> <li> support for versions other than gnu-emacs-21 (older emacs, xemacs, jemacs)</li> <li> and more...</li> </ul><br> #+END_HTML # Local variables: # mode: org # End: --- NEW FILE: index.org --- #+TITLE: jabber.el #+OPTIONS: num:nil author:nil skip:nil #+BEGIN_HTML <a href="http://sourceforge.net"> <img border="0" src="http://sourceforge.net/sflogo.php?group_id=88346&type=2" width="125" height="37" alt="SourceForge.net Logo" style="position: absolute; top: 0em; right: 0em;"></a> #+END_HTML jabber.el is a Jabber client for Emacs. [TABLE-OF-CONTENTS] # <<impatient>> For the impatient: - Latest release: [[http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=92339&release_id=482983][0.7.1]] (31-Jan-2007) - Latest pretest release: [[http://sourceforge.net/project/showfiles.php?group_id=88346&package_id=278300&release_id=630770][0.7.92]] (05-Oct-2008) - Full [[list-of-releases][list of releases]], including lists of features and changes External resources: - [[http://sourceforge.net/projects/emacs-jabber/][Sourceforge project page]], containing: - trackers for [[http://sourceforge.net/tracker/?atid=586350&group_id=88346&func=browse][bugs]], [[http://sourceforge.net/tracker/?atid=586353&group_id=88346&func=browse][feature requests]], [[http://sourceforge.net/tracker/?atid=586352&group_id=88346&func=browse][patches]] and [[http://sourceforge.net/tracker/?atid=586351&group_id=88346&func=browse][support requests]], open for anonymous posters - [[http://sourceforge.net/forum/?group_id=88346][forums]], open for anonymous posters - [[http://www.emacswiki.org/cgi-bin/wiki/JabberEl][the JabberEl page of EmacsWiki]] - Mailing lists (also available at [[http://gmane.net][Gmane]]): - [[http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general][emacs-jabber-general]], for posts by humans (also [[http://dir.gmane.org/gmane.emacs.jabber.general][gmane.emacs.jabber.general]]) - [[http://lists.sourceforge.net/lists/listinfo/emacs-jabber-commit][emacs-jabber-commit]], read-only mailing list of CVS commits (also [[http://dir.gmane.org/gmane.emacs.jabber.scm][gmane.emacs.jabber.scm]]) - [[http://lists.sourceforge.net/lists/listinfo/emacs-jabber-bugs][emacs-jabber-bugs]], read-only mailing list of bug tracker activity (also [[http://dir.gmane.org/gmane.emacs.jabber.bugs][gmane.emacs.jabber.bugs]]) - the Jabber chat room #+HTML: <a href="xmpp:jab...@co...?join">jab...@co...</a> - the [[file:manual-0.7.1/][manual for jabber.el 0.7.1]] (also included in the release files) * What is Jabber? Jabber is an open instant messaging (IM) system, also known as XMPP. It is described in [[http://www.xmpp.org/rfcs/][RFCs 3920-3923]] and a series of [[http://www.xmpp.org/extensions/][XEPs]] (XMPP Extension Proposals). That is, unlike legacy IM systems (such as ICQ or MSN Messenger), the protocol is published in the open, free for anyone to implement. Therefore you shouldn't be surprised that there is a Jabber client for Emacs, too. (If you are not of the Emacs persuasion, see this [[http://www.jabber.org/software/clients.shtml][list of Jabber clients]].) Jabber is, like e-mail, a decentralised system. A Jabber identifier (JID) is of the form =username@server=, just like an e-mail address, and every Jabber user whose server is open to Internet connections can communicate with any other user. This is in stark contrast to the legacy "walled-garden" IM systems, where you need a separate account for each system to be able to communicate with its users. Note that the [[http://talk.google.com][Google Talk]] service is an XMPP service, so if you have a GMail account, you already have a JID ending with =@gmail.com=. In Jabber, you have a "roster", a list of contacts. You can see which of them are online at the moment, and chat with them. (You can also send messages to an offline contact, and the message will be stored on the server for later delivery.) Jabber also supports IRC-style chat rooms. * What is jabber.el? jabber.el is a Jabber client for Emacs. It may seem strange to have a chat client in an editor, but consider that chatting is, after all, just a special case of text editing. * Downloading and installing ** Prepackaged Note that jabber.el is available as [[http://packages.debian.org/emacs-jabber][emacs-jabber in Debian]], and in [[http://packages.ubuntu.com/emacs-jabber][Ubuntu's "universe" section]]. ** Dependencies jabber.el requires either GNU Emacs 22, or GNU Emacs 21 combined with Gnus 5.10. You should get these from your distribution, or from the [[http://www.gnu.org/software/emacs/][Emacs]] and [[http://gnus.org][Gnus]] web sites. However, if you want to connect to servers that use SRV records (e.g. Google Talk), it is recommended to use either No Gnus or Gnus 5.13. If you want encrypted connections (some servers, e.g. Google Talk, require it), you need [[http://www.gnu.org/software/gnutls/][GnuTLS]] installed. ** Downloading Download the [[impatient][latest release]] and unpack it in a suitable location. Add something like the following to your =.emacs= file: #+BEGIN_EXAMPLE ;; adjust this path: (add-to-list 'load-path "/path/to/emacs-jabber") ;; For 0.7.1 and below: (require 'jabber) ;; For 0.7.90 and above: (require 'jabber-autoloads) #+END_EXAMPLE Either evaluate those lines, or restart Emacs. ** Using See the [[file:manual-0.7.1/Basic-operation.html][Basic Operation]] in the manual. * Reporting bugs Bug reports can be sent either to the mailing list [[http://lists.sourceforge.net/lists/listinfo/emacs-jabber-general][emacs-jabber-general]] or to the [[http://sourceforge.net/tracker/?group_id=88346&atid=586350][bug tracker]]. * Latest source jabber.el releases are, unfortunately, less frequent than they would be in an ideal world. You can get the latest development version using various version control systems. ** CVS See [[http://sourceforge.net/cvs/?group_id=88346][the Sourceforge CVS page]]. In short, run the following command: #+BEGIN_EXAMPLE cvs -z3 -d:pserver:ano...@em...:/cvsroot/emacs-jabber co -P emacs-jabber #+END_EXAMPLE ** GNU Arch The GNU Arch mirror is no longer being updated. ** git #+BEGIN_EXAMPLE git-clone git://git.catap.ru/emacs-jabber.git #+END_EXAMPLE * List of releases The list of releases has been moved to a [[file:list-of-releases.org][separate page]]. # Local variables: # mode: org # eval: (progn (add-to-list 'org-link-types "xmpp") (org-make-link-regexps)) # End: --- list-of-releases.muse DELETED --- Index: upload.sh =================================================================== RCS file: /cvsroot/emacs-jabber/www/upload.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- upload.sh 5 Oct 2008 00:09:45 -0000 1.2 +++ upload.sh 31 Jan 2009 02:30:46 -0000 1.3 @@ -6,9 +6,9 @@ # HostName web.sourceforge.net # User SFUSERNAME,emacs-jabber -if [ ! -f index.muse ]; then +if [ ! -f index.org ]; then echo "Error: must be run in www checkout root" 1>&2 exit 1 fi -rsync -v html/*.html emacs-jabber-www:htdocs/ +rsync -v *.html emacs-jabber-www:htdocs/ |
From: Magnus H. <leg...@us...> - 2009-01-28 03:18:47
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1610 Modified Files: jabber.texi Log Message: Manual: chat printers Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.139 retrieving revision 1.140 diff -u -d -r1.139 -r1.140 --- jabber.texi 28 Jan 2009 02:03:01 -0000 1.139 +++ jabber.texi 28 Jan 2009 02:10:01 -0000 1.140 @@ -2531,8 +2531,12 @@ (@code{jabber-chat-print-body}, and @code{jabber:x:oob}-style URLs (@code{jabber-chat-print-url}). The functions in @code{jabber-chat-printers} are called in order, with the entire -@code{<message/>} stanza as argument, and are expected to call -@code{insert} if they have anything to add. +@code{<message/>} stanza as argument. As described in the docstring +of @code{jabber-chat-printers}, these functions are run in one of two +modes: @code{printp}, in which they are supposed to return true if +they would print anything, and @code{insert}, in which they are +supposed to actually print something, if appropriate, using the +function @code{insert}. For MUC, the functions in @code{jabber-muc-printers} are prepended to those in @code{jabber-chat-printers}. |
From: Magnus H. <leg...@us...> - 2009-01-28 03:17:46
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1293 Modified Files: jabber.texi Log Message: Manual: Service discovery Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.138 retrieving revision 1.139 diff -u -d -r1.138 -r1.139 --- jabber.texi 7 Dec 2008 22:11:04 -0000 1.138 +++ jabber.texi 28 Jan 2009 02:03:01 -0000 1.139 @@ -2414,17 +2414,29 @@ @node Extending service discovery, Chat printers, Sending new requests, Hacking and extending @section Service discovery -@vindex jabber-advertised-features -@vindex jabber-disco-items-nodes -@vindex jabber-disco-info-nodes -@findex jabber-my-jid-p +Service discovery (XEP-0030) is a Jabber protocol for communicating +features supported by a certain entity, and items affiliated with an +entity. jabber.el has APIs for both providing and requesting such +information. -Your new handlers will likely want to advertise their existence -through service discovery. +@menu +* Providing info:: +* Requesting info:: +@end menu + +@node Providing info, Requesting info, Extending service discovery, Extending service discovery +@subsection Providing info + +Your new IQ request handlers will likely want to advertise their +existence through service discovery. + +@vindex jabber-advertised-features To have an additional feature reported in response to disco info requests, add a string to @code{jabber-advertised-features}. +@vindex jabber-disco-items-nodes +@vindex jabber-disco-info-nodes By default, the service discovery functions reject all requests containing a node identifier with an ``Item not found'' error. To make them respond, add the appropriate entries to @@ -2437,13 +2449,72 @@ list; in either case this list contains the XML nodes to include in the @code{<query/>} node in the response. +@findex jabber-my-jid-p The second item is the access control function. An access control -function receives the JID as its only argument, and returns non-nil if -access is to be granted. If nil is specified instead of a function, -access is always granted. One such function is provided, -@code{jabber-my-jid-p}, which grants access for JIDs where the -username and server (not necessarily resource) are equal to those of -the user, or one of the user's configured accounts. +function receives the connection object and a JID as arguments, and +returns non-nil if access is to be granted. If nil is specified +instead of a function, access is always granted. One such function is +provided, @code{jabber-my-jid-p}, which grants access for JIDs where +the username and server (not necessarily resource) are equal to those +of the user, or one of the user's configured accounts. + +@node Requesting info, , Providing info, Extending service discovery +@subsection Requesting info + +jabber.el has a facility for requesting disco items and info. All +positive responses are cached. + +To request disco items or info from an entity, user one of these +functions: + +@defun jabber-disco-get-info jc jid node callback closure-data &optional force +Get disco information for @var{jid} and @var{node}. A request is sent +asynchronously on the connection @var{jc}. When the response arrives, +@var{callback} is called with three arguments: @var{jc}, +@var{closure-data}, and the result. The result may be retrieved from +the cache, unless @var{force} is non-nil. + +If the request was successful, or retrieved from cache, it looks like +@code{(@var{identities} @var{features})}, where @var{identities} and +@var{features} are lists. Each identity is @code{["@var{name}" +"@var{category}" "@var{type}"]}, and each feature is a string denoting +the namespace of the feature. + +If the request failed, the result is an @code{<error/>} node. +@end defun + +@defun jabber-disco-get-items jc jid node callback closure-data &optional force +Get disco information for @var{jid} and @var{node}. A request is sent +asynchronously on the connection @var{jc}. When the response arrives, +@var{callback} is called with three arguments: @var{jc}, +@var{closure-data}, and the result. The result may be retrieved from +the cache, unless @var{force} is non-nil. + +If the request was successful, or retrieved from cache, the result is +a list of items, where each item is @code{["@var{name}" "@var{jid}" +"@var{node}"]}. The values are either strings or nil. + +If the request failed, the result is an @code{<error/>} node. +@end defun + +If you only want to see what is in the cache, use one of the following +functions. They don't use a callback, but return the result directly. + +@defun jabber-disco-get-info-immediately jid node +Return cached disco information for @var{jid} and @var{node}, or nil +if the cache doesn't contain this information. The result is the same +as for @code{jabber-disco-get-info}. +@end defun + +@defun jabber-disco-get-items-immediately jid node +Return cached disco items for @var{jid} and @var{node}, or nil +if the cache doesn't contain this information. The result is the same +as for @code{jabber-disco-get-items}. +@end defun + +In the future, this facility will be expanded to provide information +acquired through XEP-0115, Entity capabilities, which is a protocol +for sending disco information in @code{<presence/>} stanzas. @node Chat printers, Stanza chains, Extending service discovery, Hacking and extending @section Chat printers |
From: Magnus H. <leg...@us...> - 2009-01-28 03:05:10
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1798 Modified Files: jabber.texi Log Message: Manual: stanza chains Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.140 retrieving revision 1.141 diff -u -d -r1.140 -r1.141 --- jabber.texi 28 Jan 2009 02:10:01 -0000 1.140 +++ jabber.texi 28 Jan 2009 02:11:51 -0000 1.141 @@ -2559,11 +2559,12 @@ If you really need to get under the skin of jabber.el, you can add functions to the lists @code{jabber-message-chain}, -@code{jabber-iq-chain} and @code{jabber-presence-chain}. The functions -in these lists will be called in order when an XML stanza of the -corresponding type arrives, with the entire XML stanza passed as the -only argument. Earlier functions can modify the stanza to change the -behaviour of downstream functions. +@code{jabber-iq-chain} and @code{jabber-presence-chain}. The +functions in these lists will be called in order when an XML stanza of +the corresponding type arrives, with the connection object and the +entire XML stanza passed as arguments. Earlier functions can modify +the stanza to change the behaviour of downstream functions, but +remember: with great power comes great responsibility. @node Protocol support, Concept index, Hacking and extending, Top @appendix Protocol support |
From: Magnus H. <leg...@us...> - 2009-01-11 01:07:06
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17961 Modified Files: jabber-tox.el Log Message: Partly fix handling of transport-info messages Index: jabber-tox.el =================================================================== RCS file: /cvsroot/emacs-jabber/tox/jabber-tox.el,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- jabber-tox.el 11 Jan 2009 00:29:30 -0000 1.31 +++ jabber-tox.el 11 Jan 2009 01:06:52 -0000 1.32 @@ -352,20 +352,24 @@ (list :pending state-data))) (:iq-set + (fsm-debug-output "iq-set event is %S" event) (let* ((jc (plist-get state-data :jc)) (iq (cdr event))) - (jabber-xml-let-attributes (action) iq + (jabber-xml-let-attributes (action) (jabber-iq-query iq) + (fsm-debug-output "action is %S" action) (cond ((string= action "transport-info") + (fsm-debug-output "transport-info is %S" iq) (let ((tox-session (plist-get state-data :tox-session)) (candidates (jabber-xml-get-children (jabber-xml-path iq - `(jingle (transport . ,jingle-ice-udp-ns))) + `(jingle content (,jingle-ice-udp-ns . "transport"))) 'candidate))) ;; XXX: send iq error for no candidates (when candidates + (fsm-debug-output "Adding remote candidate...") (dbus-call-method :session tox-name tox-session tox-session-interface "AddRemoteCandidate" (mapcar |
From: Magnus H. <leg...@us...> - 2009-01-11 00:29:36
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16838 Modified Files: jabber-tox.el Log Message: Fix and clarify jingle-send-native-candidate Index: jabber-tox.el =================================================================== RCS file: /cvsroot/emacs-jabber/tox/jabber-tox.el,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- jabber-tox.el 10 Jan 2009 00:40:56 -0000 1.30 +++ jabber-tox.el 11 Jan 2009 00:29:30 -0000 1.31 @@ -428,10 +428,12 @@ ;; network? (port . ,(number-to-string (nth 3 c))) (protocol . ,(nth 4 c)) + ;; (nth 5 c) is always "RTP" + ;; (nth 6 c) is always "AVP" (priority . ,(nth 7 c)) - ;; how to translate type? - (username . ,(nth 8 c)) - (password . ,(nth 9 c)) + ;; (nth 8 c) is type. how to translate it? + (username . ,(nth 9 c)) + (password . ,(nth 10 c)) ))) candidate)))))) |
From: Magnus H. <leg...@us...> - 2009-01-10 00:41:12
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23135 Modified Files: jabber-tox.el tox-session.xml Log Message: Communicate candidates both ways Index: jabber-tox.el =================================================================== RCS file: /cvsroot/emacs-jabber/tox/jabber-tox.el,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- jabber-tox.el 1 Jan 2009 16:21:40 -0000 1.29 +++ jabber-tox.el 10 Jan 2009 00:40:56 -0000 1.30 @@ -349,7 +349,34 @@ (:new-native-candidate (let ((components (cdr event))) (jingle-send-native-candidate state-data components) - (list :pending state-data))))) + (list :pending state-data))) + + (:iq-set + (let* ((jc (plist-get state-data :jc)) + (iq (cdr event))) + (jabber-xml-let-attributes (action) iq + (cond + ((string= action "transport-info") + (let ((tox-session (plist-get state-data :tox-session)) + (candidates + (jabber-xml-get-children + (jabber-xml-path + iq + `(jingle (transport . ,jingle-ice-udp-ns))) + 'candidate))) + ;; XXX: send iq error for no candidates + (when candidates + (dbus-call-method :session tox-name tox-session tox-session-interface + "AddRemoteCandidate" + (mapcar + 'jingle-parse-candidate + candidates)) + ;; XXX: iq result + (list :pending state-data) + ))) + (t + ;; XXX: send "bad-request" or something + ))))))) (defun jingle-send-iq (state-data action payload) "Send a Jingle IQ stanza from within a Jingle FSM. @@ -383,6 +410,7 @@ "Send a native candidate for ICE-UDP. The CANDIDATE is a list of components, as provided by the NewNativeCandidate signal of Tox." + ;; XXX: check against XEP-0176 (jingle-send-iq state-data "transport-info" `((content ((creator . "initiator") @@ -392,7 +420,8 @@ ,@(mapcar (lambda (c) `(candidate - ((component . ,(number-to-string (nth 1 c))) + ((id . ,(nth 0 c)) + (component . ,(number-to-string (nth 1 c))) ;; foundation? ;; generation? (ip . ,(nth 2 c)) @@ -401,9 +430,30 @@ (protocol . ,(nth 4 c)) (priority . ,(nth 7 c)) ;; how to translate type? + (username . ,(nth 8 c)) + (password . ,(nth 9 c)) ))) candidate)))))) +(defun jingle-parse-candidate (candidate) + "Parse an XEP-0176 <candidate/> element into DBus format. +Specifically, the signature is \"(susqsssyyss)\"." + ;; XXX: check against XEP-0176 again + (jabber-xml-let-attributes + (id component foundation generation + ip port protocol priority type + username password) + candidate + (list :string id + :uint32 (string-to-number component) + :string ip + :uint16 (string-to-number port) + "udp" "RTP" "AVP" + :byte (string-to-number priority) ;XXX: priority is preference? + :byte 0 ;XXX: fix type + :string (or username "") + :string (or password "")))) + (add-to-list 'jabber-iq-set-xmlns-alist (cons jingle-ns 'jabber-jingle-incoming-iq)) (defun jabber-jingle-incoming-iq (jc iq) Index: tox-session.xml =================================================================== RCS file: /cvsroot/emacs-jabber/tox/tox-session.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- tox-session.xml 3 Nov 2008 23:53:52 -0000 1.4 +++ tox-session.xml 10 Jan 2009 00:40:56 -0000 1.5 @@ -74,6 +74,7 @@ --> <arg name='newstate' type='y'/> <!-- direction is one of: + 0: nothing 1: send only. 2: receive only. 3: send and receive. |
From: Magnus H. <leg...@us...> - 2009-01-01 16:14:46
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6421 Modified Files: jabber-tox.el Log Message: Note some todo items. "Handle" libjingle giving up. Index: jabber-tox.el =================================================================== RCS file: /cvsroot/emacs-jabber/tox/jabber-tox.el,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- jabber-tox.el 29 Nov 2008 22:54:04 -0000 1.27 +++ jabber-tox.el 1 Jan 2009 16:14:38 -0000 1.28 @@ -143,6 +143,7 @@ (define-enter-state jingle nil (fsm state-data) + ;; XXX: send termination stanza, if appropriate ;; clean up (let ((tox-session (plist-get state-data :tox-session))) (when tox-session @@ -319,6 +320,10 @@ '((reason () (media-error)))) (list nil state-data)))))))))) +;; Thu Jan 1 16:49:23 2009: Warning: event (:new-native-candidate ("L1" 1 "127.0.0.1" 33582 "udp" "RTP" "AVP" 100 0 "Pmc4YPYhJyGPWKIv" "GKQ5/XFIE0pp8+6y")) ignored in state jingle/:pending +;; Thu Jan 1 16:49:23 2009: Warning: event (:iq-set iq ((from . "leg...@ja.../2868723341230824321901526") (to . "mag...@ja.../2635526438123082419775630") (type . "set") (id . "emacs-iq-18780.58883.21969")) (jingle ((xmlns . "urn:xmpp:jingle:0") (action . "transport-info") (initiator . "leg...@ja.../2868723341230824321901526") (sid . "emacs-sid-18780.58881.712027")) (content ((creator . "initiator") (name . "foo")) (transport ((xmlns . "urn:xmpp:jingle:transports:ice-udp:0")) (candidate ((component . "1") (ip . "127.0.0.1") (port . "44319") (protocol . "udp") (priority . "100"))))))) ignored in state jingle/:pending +;; Thu Jan 1 16:50:07 2009: Warning: event (:state-changed 0 0) ignored in state jingle/:pending + (define-state jingle :pending (fsm state-data event callback) @@ -329,11 +334,17 @@ (1 . :connecting) (2 . :connected))))) (direction (car (assq (third event) - '((1 . :send-only) + '((0 . nil) + (1 . :send-only) (2 . :receive-only) (3 . :send-and-receive)))))) (fsm-debug-output "Got :state-changed; new state %s, new direction %s" state direction) + + (case state + (0 + ;; Do we have enough information to send the termination stanza? + (list nil state-data))) ;; Still, not sure what we should do here... )))) |
From: Magnus H. <leg...@us...> - 2008-12-07 22:16:58
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26632 Modified Files: jabber-menu.el Log Message: Revision: ma...@fr...--2005/emacs-jabber--cvs-head--0--patch-616 Creator: Magnus Henoch <ma...@fr...> Make Jabber menu autoloadable Index: jabber-menu.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-menu.el,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- jabber-menu.el 23 Oct 2008 01:23:29 -0000 1.8 +++ jabber-menu.el 7 Dec 2008 21:45:13 -0000 1.9 @@ -21,9 +21,64 @@ (require 'jabber-util) (require 'jabber-autoloads) +(eval-when-compile (require 'cl)) -(defvar jabber-menu (make-sparse-keymap "jabber-menu")) +;;;###autoload +(defvar jabber-menu + (let ((map (make-sparse-keymap "jabber-menu"))) + (define-key map + [jabber-menu-connect] + '("Connect" . jabber-connect-all)) + + (define-key map + [jabber-menu-disconnect] + '("Disconnect" . jabber-disconnect)) + + (define-key map + [jabber-menu-roster] + '("Switch to roster" . jabber-switch-to-roster-buffer)) + + (define-key map + [jabber-menu-customize] + '("Customize" . jabber-customize)) + + (define-key map + [jabber-menu-info] + '("Help" . jabber-info)) + + (define-key map + [jabber-menu-status] + (cons "Set Status" (make-sparse-keymap "set-status"))) + + (define-key map + [jabber-menu-status jabber-menu-status-chat] + '("Chatty" . + (lambda () + (interactive) + (jabber-send-presence "chat" + (jabber-read-with-input-method "status message: " *jabber-current-status* '*jabber-status-history*) + *jabber-current-priority*)))) + (define-key map + [jabber-menu-status jabber-menu-status-dnd] + '("Do not Disturb" . + (lambda () + (interactive) + (jabber-send-presence "dnd" + (jabber-read-with-input-method "status message: " *jabber-current-status* '*jabber-status-history*) + *jabber-current-priority*)))) + (define-key map + [jabber-menu-status jabber-menu-status-xa] + '("Extended Away" . jabber-send-xa-presence)) + (define-key map + [jabber-menu-status jabber-menu-status-away] + '("Away" . jabber-send-away-presence)) + (define-key map + [jabber-menu-status jabber-menu-status-online] + '("Online" . jabber-send-default-presence)) + + map)) +;;;###autoload (defcustom jabber-display-menu 'maybe "Decide whether the \"Jabber\" menu is displayed in the menu bar. If t, always display. @@ -43,6 +98,7 @@ (force-mode-line-update)) (make-obsolete 'jabber-menu "set the variable `jabber-display-menu' instead.") +;;;###autoload (define-key-after global-map [menu-bar jabber-menu] (list 'menu-item "Jabber" jabber-menu @@ -51,59 +107,6 @@ (or jabber-account-list (bound-and-true-p jabber-connections)))))) -(define-key jabber-menu - [jabber-menu-connect] - '("Connect" . jabber-connect-all)) - -(define-key jabber-menu - [jabber-menu-disconnect] - '("Disconnect" . jabber-disconnect)) - -(define-key jabber-menu - [jabber-menu-roster] - '("Switch to roster" . jabber-switch-to-roster-buffer)) - -(define-key jabber-menu - [jabber-menu-customize] - '("Customize" . jabber-customize)) - -(define-key jabber-menu - [jabber-menu-info] - '("Help" . jabber-info)) - -(define-key jabber-menu - [jabber-menu-status] - (cons "Set Status" (make-sparse-keymap "set-status"))) - -(defmacro jabber-define-status-key (title show) - (list 'let (list ( list 'func (list 'make-symbol (list 'concat "jabber-send-presence-" show))) - (list 'menu-item (list 'make-symbol (list 'concat "jabber-menu-status-" show)))) - (list 'fset 'func `(lambda () (interactive) - (jabber-send-presence ,show - (jabber-read-with-input-method "status message: " *jabber-current-status* '*jabber-status-history*) - (format "%d" *jabber-current-priority*)))) - (list 'define-key 'jabber-menu - (list 'vector ''jabber-menu-status 'menu-item) - (list 'cons title 'func)))) - -;;;(dolist (presence jabber-presence-strings) -;;; (jabber-define-status-key (cdr presence) (car presence))) -;;(jabber-define-status-key "Online" "") - -(jabber-define-status-key "Chatty" "chat") -;;(jabber-define-status-key "Away" "away") -;;(jabber-define-status-key "Extended Away" "xa") -(jabber-define-status-key "Do not Disturb" "dnd") -(define-key jabber-menu - [jabber-menu-status jabber-menu-status-xa] - '("Extended Away" . jabber-send-xa-presence)) -(define-key jabber-menu - [jabber-menu-status jabber-menu-status-away] - '("Away" . jabber-send-away-presence)) -(define-key jabber-menu - [jabber-menu-status jabber-menu-status-online] - '("Online" . jabber-send-default-presence)) - (defvar jabber-jid-chat-menu nil "Menu items for chat menu") |
From: Magnus H. <leg...@us...> - 2008-12-07 22:11:09
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27750 Modified Files: jabber.texi Log Message: Revision: ma...@fr...--2005/emacs-jabber--cvs-head--0--patch-618 Creator: Magnus Henoch <ma...@fr...> Manual: service discovery Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- jabber.texi 22 Oct 2008 23:12:46 -0000 1.137 +++ jabber.texi 7 Dec 2008 22:11:04 -0000 1.138 @@ -2432,9 +2432,10 @@ Both variables work in the same way. They are alists, where the keys are the node names, and the values are lists of two items. -The first item is the data to return --- either a list or a function -taking the entire IQ stanza and returning a list, this list containing -the XML nodes to include in the @code{<query/>} node in the response. +The first item is the data to return --- either a list, or a function +taking the connection object and the entire IQ stanza and returning a +list; in either case this list contains the XML nodes to include in the +@code{<query/>} node in the response. The second item is the access control function. An access control function receives the JID as its only argument, and returns non-nil if @@ -2442,7 +2443,7 @@ access is always granted. One such function is provided, @code{jabber-my-jid-p}, which grants access for JIDs where the username and server (not necessarily resource) are equal to those of -the user. +the user, or one of the user's configured accounts. @node Chat printers, Stanza chains, Extending service discovery, Hacking and extending @section Chat printers |
From: Magnus H. <leg...@us...> - 2008-12-07 22:11:03
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27735 Modified Files: jabber-disco.el jabber-util.el Log Message: Revision: ma...@fr...--2005/emacs-jabber--cvs-head--0--patch-617 Creator: Magnus Henoch <ma...@fr...> Fix jabber-my-jid-p to work with disco, as advertised Make jabber-my-jid-p check against the provided connection object, too. Make jabber-return-disco-info pass the connection object to the access control function. Index: jabber-util.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-util.el,v retrieving revision 2.59 retrieving revision 2.60 diff -u -d -r2.59 -r2.60 --- jabber-util.el 19 Sep 2008 21:07:19 -0000 2.59 +++ jabber-util.el 7 Dec 2008 22:10:52 -0000 2.60 @@ -180,8 +180,12 @@ (intern (downcase (jabber-jid-user string)) jabber-jid-obarray))) (defun jabber-my-jid-p (jc jid) - "Return non-nil if the specified JID is in jabber-account-list (modulo resource). JC arg placed for compatibility and may be removed in future." - (member (jabber-jid-user jid) (mapcar (lambda (x) (jabber-jid-user (car x))) jabber-account-list))) + "Return non-nil if the specified JID is in jabber-account-list (modulo resource). +Also return non-nil if JID matches JC, modulo resource." + (or + (equal (jabber-jid-user jid) + (jabber-connection-bare-jid jc)) + (member (jabber-jid-user jid) (mapcar (lambda (x) (jabber-jid-user (car x))) jabber-account-list)))) (defun jabber-read-jid-completing (prompt &optional subset require-match default resource) "read a jid out of the current roster from the minibuffer. Index: jabber-disco.el =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber-disco.el,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- jabber-disco.el 15 Apr 2007 23:53:00 -0000 1.14 +++ jabber-disco.el 7 Dec 2008 22:10:52 -0000 1.15 @@ -1,6 +1,6 @@ ;; jabber-disco.el - service discovery functions -;; Copyright (C) 2003, 2004, 2007 - Magnus Henoch - ma...@fr... +;; Copyright (C) 2003, 2004, 2007, 2008 - Magnus Henoch - ma...@fr... ;; Copyright (C) 2002, 2003, 2004 - tom berger - ob...@in... ;; This file is a part of jabber.el. @@ -144,7 +144,7 @@ (access-control (nth 1 return-list))) (if return-list (if (and (functionp access-control) - (not (funcall access-control to))) + (not (funcall access-control jc to))) (jabber-signal-error "cancel" 'not-allowed) ;; Access control passed (let ((result (if (functionp func) |
From: Magnus H. <leg...@us...> - 2008-11-29 22:54:18
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6024 Modified Files: jabber-tox.el Log Message: Debug output for action attribute Index: jabber-tox.el =================================================================== RCS file: /cvsroot/emacs-jabber/tox/jabber-tox.el,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- jabber-tox.el 17 Nov 2008 23:56:43 -0000 1.26 +++ jabber-tox.el 29 Nov 2008 22:54:04 -0000 1.27 @@ -229,6 +229,7 @@ (from (jabber-xml-get-attribute iq 'from)) (id (jabber-xml-get-attribute iq 'id)) (jingle (jabber-iq-query iq)) + (action (jabber-xml-get-attribute jingle 'action)) ;; XXX: could be more than one... (content (car (jabber-xml-get-children jingle 'content))) ;; XXX: is it really audio? @@ -243,6 +244,9 @@ (jabber-send-iq jc from "result" () nil nil nil nil id) + (unless (string= action "session-initiate") + (fsm-debug-output "Action is %S. Why is it not \"session-initiate\"?" action)) + (cond ;; Make sure audio is in the list of contents. We can ;; negotiate away other content types later. |
From: Magnus H. <leg...@us...> - 2008-11-29 22:39:02
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4076 Modified Files: tox-session.c Log Message: Fix GValue magic in tox_session_get_codec_intersection Index: tox-session.c =================================================================== RCS file: /cvsroot/emacs-jabber/tox/tox-session.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- tox-session.c 4 Nov 2008 00:02:59 -0000 1.7 +++ tox-session.c 29 Nov 2008 22:38:52 -0000 1.8 @@ -550,34 +550,34 @@ codec = (FarsightCodec*)codec_list->data; codec_struct = g_value_array_new(6); - value = g_new(GValue, 1); + value = g_new0(GValue, 1); g_value_init(value, G_TYPE_INT); g_value_set_int(value, codec->id); g_value_array_append(codec_struct, value); - value = g_new(GValue, 1); + value = g_new0(GValue, 1); g_value_init(value, G_TYPE_STRING); g_value_set_string(value, codec->encoding_name); g_value_array_append(codec_struct, value); - value = g_new(GValue, 1); + value = g_new0(GValue, 1); g_value_init(value, G_TYPE_UCHAR); g_value_set_uchar(value, codec->media_type); g_value_array_append(codec_struct, value); - value = g_new(GValue, 1); + value = g_new0(GValue, 1); g_value_init(value, G_TYPE_UINT); g_value_set_uint(value, codec->clock_rate); g_value_array_append(codec_struct, value); - value = g_new(GValue, 1); + value = g_new0(GValue, 1); g_value_init(value, G_TYPE_UINT); g_value_set_uint(value, codec->channels); g_value_array_append(codec_struct, value); /* XXX: do something about optional parameters */ - value = g_new(GValue, 1); - g_value_init(value, G_TYPE_HASH_TABLE); + value = g_new0(GValue, 1); + g_value_init(value, DBUS_TYPE_G_STRING_STRING_HASHTABLE); g_value_set_boxed(value, g_hash_table_new(g_str_hash, g_str_equal)); g_value_array_append(codec_struct, value); |
From: Magnus H. <leg...@us...> - 2008-11-29 14:47:55
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10850 Removed Files: Makefile Log Message: Remove Makefile --- Makefile DELETED --- |