changeset 8acbea248bda in /home/hg/repos/gajim-website
details:http://hg.gajim.org/gajim-website?cmd=changeset;node=8acbea248bda
description: subversion -> mercurial
diffstat:
Design.php | 2 +-
dev.php | 2 +-
docs.php | 53 ++++++++++-------------------------------------------
downloads.php | 20 ++++++++++----------
4 files changed, 22 insertions(+), 55 deletions(-)
diffs (181 lines):
diff -r a34225f2e995 -r 8acbea248bda Design.php
--- a/Design.php Sun Jun 07 18:55:51 2009 +0200
+++ b/Design.php Sun Jun 07 19:22:18 2009 +0200
@@ -106,7 +106,7 @@
_("Autopackage") => "downloads.php?lang=$language#autopackage",
_("Windows installer") => "downloads.php?lang=$language#windows",
_("Source") => "downloads.php?lang=$language#tarball",
- _("Subversion") => "downloads.php?lang=$language#subversion",
+ _("Mercurial") => "downloads.php?lang=$language#mercurial",
_("Daily snapshots") => "downloads.php?lang=$language#snaps",
_("Old releases") => "downloads.php?lang=$language#old");
diff -r a34225f2e995 -r 8acbea248bda dev.php
--- a/dev.php Sun Jun 07 18:55:51 2009 +0200
+++ b/dev.php Sun Jun 07 19:22:18 2009 +0200
@@ -24,7 +24,7 @@
print (" <h1>");
print _(" Repository");
print (" </h1>");
-print _("To checkout svn do")." <em>svn co svn://svn.gajim.org/gajim/trunk gajim</em>";
+print _("To checkout hg do")." <em>hg clone http://hg.gajim.org/gajim gajim</em>";
print (" <br/>");
print _(" You can also")." <a href=\"http://trac.gajim.org/browser/\">"._("browse SVN repository")."</a>.";
print (" <br/>");
diff -r a34225f2e995 -r 8acbea248bda docs.php
--- a/docs.php Sun Jun 07 18:55:51 2009 +0200
+++ b/docs.php Sun Jun 07 19:22:18 2009 +0200
@@ -12,73 +12,40 @@
print (" </h1></a>\n");
print ("<a name=\"tarball\"></a>\n");
-print ("<a name=\"subversion\"></a>\n");
+print ("<a name=\"mercurial\"></a>\n");
print (" <h2>\n");
-print _(" Tarball and Subversion\n");
+print _(" Tarball and Mercurial\n");
print (" </h2>\n");
$link = "<a href=\"downloads.php?lang=".$_SESSION['lang']."\">"._("download")."</a>";
printf(_(" To get one of these versions, go to the %s page.\n"), $link);
print (" <h3>\n");
print _(" Under GNU/Linux\n");
print (" </h3>\n");
-print _(" To run this version, you have to install some packages: python2.3 python2.3-gtk2 and python2.3-glade2.\n");
-print _(" (With Debian, just run:")." <i>apt-get install python2.3 python2.3-gtk2 python2.3-glade2</i>).\n";
-print _(" Note that python2.4 can be used instead of python2.3.\n");
-print (" <br/>\n");
-print (" <br/>\n");
-print _(" To use the idle module, the trayicon one and the gtkspell one, you have to compile them. For idle you may need libxss-dev (if you don't have scrnsaver.h) and for the trayicon and gtkspell you can avoid compiling them, if you have gnome-python-extras.");
-print (" <br/>\n");
-print _(" In order to compile them all type")." <i>make</i> "._("in the gajim folder. (python-dev, python-gtk2-dev, libgtkspell-dev and libgtk2.0-dev packages are needed)\n");
-print (" <br/>\n");
-print (" <br/>\n");
-print _(" You can install or run from source. To run from source");
-print (" <i>./launch.sh</i> ")._("in the gajim folder.");
-print (" <br/>\n");
-print _(" To install ")." <i>su -c make install</i> "._("in the gajim folder");
-print _(" and then you just have to run")." <i>gajim</i> "._("in order to use Gajim.\n");
+print _(" To run this version, you have to install some packages. \n");
+$link = "<a href=\"http://trac.gajim.org/browser/README.html\">"._("README file")."</a>";
+printf(_(" See %s.\n"), $link);
print (" <br/>\n");
print (" <h3>\n");
print _(" Under Microsoft Windows\n");
print (" </h3>\n");
-$link1 = "<a href=\"http://www.python.org\">python</a>";
-$link2 = "<a href=\"http://www.gtk.org\">GTK+</a>";
-$link3 = "<a href=\"http://www.pygtk.org\">pygtk</a>";
-$link4 = "<a href=\"http://starship.python.net/crew/mhammond/win32/\">pywin32</a>";
-printf(_(" In a first time, you have to install %s, %s, %s and %s.\n"), $link1, $link2, $link3, $link4);
-print (" <br/>\n");
-print (" <ul>\n");
-print (" <li>\n");
-print _(" To get python, download the latest version")." <a href=\"http://python.org/ftp/python/\">"._("here")." </a>"._("(Gajim works with python-2.4.x)").", "._("and install it.\n");
-print (" </li>\n");
-print (" <li>\n");
-print _(" To get GTK+, download the latest version of the \"Runtime Environment\"")." <a href=\"http://gladewin32.sourceforge.net\">"._("here")."</a>, "._("and install it.\n");
-print (" </li>\n");
-print (" <li>\n");
-print _(" To get pygtk, download latest version ")." <a href=\"http://www.pcpm.ucl.ac.be/~gustin/win32_ports/pygtk.html\">"._("here")."</a> "._(" and install it.\n");
-print (" </li>\n");
-print (" <li>\n");
-print _(" At last, to get pywin32, download latest version ")." <a href=\"http://sourceforge.net/project/showfiles.php?group_id=78018\">"._("here")."</a> "._(" and install it.\n");
-print (" </li>\n");
-print (" </ul>\n");
-print (" <br/>\n");
-$link = "<a href=\"downloads.php?lang=".$_SESSION['lang']."\">"._("download Gajim")."</a>";
-printf(_(" You can now %s and double click on gajim.py in src folder.\n"), $link);
+$link = "<a href=\"http://trac.gajim.org/wiki/Win32Env\">"._("this page")."</a>";
+printf(_("See %s to install development versio under windows."), $link);
print (" <p>\n");
print ("<a name=\"jabber\"></a>");
print (" <h1>\n");
print (" Jabber\n");
print (" </h1>\n");
-print _(" Please read")." <a href=\"http://trac.gajim.org/wiki/WikiStart#help_quickstart_guides\">"._("here")."</a>.\n";
+print _(" Please read")." <a href=\"http://trac.gajim.org/wiki/GajimHelp#help_quickstart_guides\">"._("here")."</a>.\n";
print ("<a name=\"structure\"></a>");
print (" <h1>\n");
print _(" Structure\n");
print (" </h1>\n");
-print _(" You can understand how Gajim works")." <a href=\"http://trac.gajim.org/wiki/DevInfos\">"._("here")."</a>.\n";
+print _(" You can understand how Gajim works")." <a href=\"http://trac.gajim.org/wiki/DevPages#gajim_architecture\">"._("here")."</a>.\n";
print (" <br/>");
$link = "<a href=\"http://xmpppy.sourceforge.net/\">xmpppy</a>";
-printf(_(" Gajim uses the %s library to do the interface with Jabber network.\n"), $link);
+printf(_(" Gajim uses a fork of the %s library to do the interface with Jabber network.\n"), $link);
print (" </p>\n");
PiedDePage();
diff -r a34225f2e995 -r 8acbea248bda downloads.php
--- a/downloads.php Sun Jun 07 18:55:51 2009 +0200
+++ b/downloads.php Sun Jun 07 19:22:18 2009 +0200
@@ -18,7 +18,7 @@
print ("</a>\n");
print _(" If you use Debian unstable do")." <i>apt-get install gajim</i>\n";
print (" <br/>\n");
-print _(" A daily package from svn is also built. To use it, remove gajim")." (<i>apt-get remove gajim</i>), "._("add this line to your")." /etc/apt/source.list:\n";
+print _(" A daily package from mercurial is also built. To use it, remove gajim")." (<i>apt-get remove gajim</i>), "._("add this line to your")." /etc/apt/source.list:\n";
print (" <br/>\n");
print (" <i>deb ftp://ftp.gajim.org/debian unstable main</i>\n");
print (" <br/>\n");
@@ -145,28 +145,28 @@
print ("</a>\n");
print _(" The tarball version of Gajim is ")."<a href=\"downloads/gajim-0.12.1.tar.bz2\">"._("here")."</a>. "._("For information on how to build Gajim,")." <a href=\"http://trac.gajim.org/browser/tags/gajim-0.12.1/README.html?format=raw\">see the <tt>README</tt></a> ("._("in English").").<br />\n";
//print _(" The tarball version of 0.12 beta-release is ")."<a href=\"downloads/gajim-0.12-beta1.tar.gz\">"._("here")."</a>.<br />\n";
-print _("If you want to use the last unstable development version, then you should checkout the subversion repository.\n");
+print _("If you want to use the last unstable development version, then you should checkout the mercurial repository.\n");
print (" <br/>\n");
-print ("<a name=\"subversion\">\n");
+print ("<a name=\"mercurial\">\n");
print (" <h2>\n");
-print _(" Subversion\n");
+print _(" Mercurial\n");
print (" </h2>\n");
print ("</a>\n");
-print _(" The subversion server is available at this address: ")."svn://svn.gajim.org/gajim "._("and viewable")." <a href=\"http://trac.gajim.org/browser/trunk/\">"._("here")."</a>.\n";
+print _(" The mercurial repository is available at this address: ")."http://hg.gajim.org/gajim "._("and viewable")." <a href=\"http://hg.gajim.org/gajim\">"._("here")."</a>.\n";
print (" <br/>\n");
print (" <h3>\n");
print _(" Under GNU/Linux\n");
print (" </h3>\n");
print _(" In order to download Gajim sources, here is what you have to do:\n");
-print _(" You first have to install subversion (<i>apt-get install subversion</i> under Debian)\n");
+print _(" You first have to install mercurial (<i>apt-get install mercurial</i> under Debian)\n");
print (" <br/>\n");
print _(" Then in a console, enter the following commands:\n");
print (" <br/>\n");
print (" <br/>\n");
print (" <i>\n");
-print (" svn co svn://svn.gajim.org/gajim/trunk gajim\n");
+print (" hg clone http://hg.gajim.org/gajim gajim\n");
print (" </i>\n");
print (" <br/>\n");
print (" <br/>\n");
@@ -181,11 +181,11 @@
print (" </i>\n");
print (" <br/>\n");
print (" <br/>\n");
-print _(" Once you have the repository, you can update it periodicaly so it matches the latest version from the server with the following command:\n");
+print _(" Once you have the repository, you can update it periodicaly so it matches the latest version from the main repository with the following command:\n");
print (" <br/>\n");
print (" <br/>\n");
print (" <i>\n");
-print (" svn update\n");
+print (" hg pull && hg upadte\n");
print (" </i>\n");
print (" <br/>\n");
@@ -206,7 +206,7 @@
print _(" Daily Snapshots\n");
print (" </h2>\n");
print ("</a>\n");
-print _(" Everyday on 01:00 (GMT+1 time) gz tarballs are produced from svn. You can use them if svn is broken for you at the moment.")." <a href=\"downloads/snap/?M=D\">"._("Here to get them")."</a>.\n";
+print _(" Everyday on 01:00 (GMT+1 time) gz tarballs are produced from mercurial. You can use them if svn is broken for you at the moment.")." <a href=\"downloads/snap/?M=D\">"._("Here to get them")."</a>.\n";
print (" </p>\n");
print ("<a name=\"old\">\n");
changeset 823f3461f8c3 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=823f3461f8c3
description: add ossplay to the list of tested soundplayer. Fixes #5061
X-Hg-Repo: gajim
Subject: gajim: mark groupchat messages as read when we scroll at the end in groupchat window
From: Yann Leboulanger <asterix(a)lagaule.org>
changeset 16fbbe884fde in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=16fbbe884fde
description: mark groupchat messages as read when we scroll at the end in groupchat window
X-Hg-Repo: gajim
Subject: gajim: really execute ad hoc command when clicking on Execute command in disco window
From: Yann Leboulanger <asterix(a)lagaule.org>
changeset 22b67d3eba1c in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=22b67d3eba1c
description: really execute ad hoc command when clicking on Execute command in disco window
diffstat:
src/adhoc_commands.py | 12 ++++++++----
src/chat_control.py | 6 +++++-
src/disco.py | 5 +++--
src/gajim.py | 2 +-
4 files changed, 17 insertions(+), 8 deletions(-)
diffs (85 lines):
diff -r 18fd2007aade -r 22b67d3eba1c src/adhoc_commands.py
--- a/src/adhoc_commands.py Sat Jun 06 18:01:37 2009 +0200
+++ b/src/adhoc_commands.py Fri Jun 05 21:26:23 2009 +0200
@@ -44,7 +44,7 @@
TODO: gtk 2.10 has a special wizard-widget, consider using it...'''
- def __init__(self, account, jid):
+ def __init__(self, account, jid, commandnode=None):
'''Create new window.'''
# an account object
@@ -55,7 +55,7 @@
self.commandlist=None # a list of (commandname, commanddescription)
# command's data
- self.commandnode = None
+ self.commandnode = commandnode
self.sessionid = None
self.dataform = None
self.allow_stage3_close = False
@@ -78,8 +78,12 @@
self.data_form_widget.show()
self.sending_form_stage_vbox.pack_start(self.data_form_widget)
- # setting initial stage
- self.stage1()
+ if self.commandnode:
+ # Execute command
+ self.stage3()
+ else:
+ # setting initial stage
+ self.stage1()
# displaying the window
self.xml.signal_autoconnect(self)
diff -r 18fd2007aade -r 22b67d3eba1c src/chat_control.py
--- a/src/chat_control.py Sat Jun 06 18:01:37 2009 +0200
+++ b/src/chat_control.py Fri Jun 05 21:26:23 2009 +0200
@@ -922,7 +922,11 @@
self.parent_win.get_active_control() == self and \
self.parent_win.window.is_active():
# we are at the end
- if self.session and self.session.remove_events(types_list):
+ if self.type_id == message_control.TYPE_GC:
+ if not gajim.events.remove_events(self.account, jid,
+ types=types_list):
+ self.redraw_after_event_removed(jid)
+ elif self.session and self.session.remove_events(types_list):
# There were events to remove
self.redraw_after_event_removed(jid)
diff -r 18fd2007aade -r 22b67d3eba1c src/disco.py
--- a/src/disco.py Sat Jun 06 18:01:37 2009 +0200
+++ b/src/disco.py Fri Jun 05 21:26:23 2009 +0200
@@ -1259,14 +1259,15 @@
self._renderer.set_property('cell-background', bgcolor)
self.window.services_treeview.queue_draw()
- def on_execute_button_clicked(self, widget = None):
+ def on_execute_button_clicked(self, widget=None):
'''When we want to execute a command:
open adhoc command window'''
model, iter = self.window.services_treeview.get_selection().get_selected()
if not iter:
return
service = model[iter][0].decode('utf-8')
- adhoc_commands.CommandWindow(self.account, service)
+ node = model[iter][1].decode('utf-8')
+ adhoc_commands.CommandWindow(self.account, service, commandnode=node)
def on_register_button_clicked(self, widget = None):
'''When we want to register an agent:
diff -r 18fd2007aade -r 22b67d3eba1c src/gajim.py
--- a/src/gajim.py Sat Jun 06 18:01:37 2009 +0200
+++ b/src/gajim.py Fri Jun 05 21:26:23 2009 +0200
@@ -3476,7 +3476,7 @@
if gajim.config.get('soundplayer') == '':
# only on first time Gajim starts
- commands = ('aplay', 'play', 'esdplay', 'artsplay')
+ commands = ('aplay', 'play', 'esdplay', 'artsplay', 'ossplay')
for command in commands:
if helpers.is_in_path(command):
if command == 'aplay':
Author: vardo
Date: 2009-06-07 10:42:42 +0200 (Sun, 07 Jun 2009)
New Revision: 11283
Modified:
trunk/src/gajim.py
Log:
Added WarningDialog popup when Gajim starts with info that SVN repo is not used anymore.
Modified: trunk/src/gajim.py
===================================================================
--- trunk/src/gajim.py 2009-05-12 11:37:37 UTC (rev 11282)
+++ trunk/src/gajim.py 2009-06-07 08:42:42 UTC (rev 11283)
@@ -3482,6 +3482,9 @@
except Exception:
pass
gobject.timeout_add_seconds(5, remote_init)
+
+ dialogs.WarningDialog(_('SVN repository is not used anymore'),
+ _('Subversion repository svn://svn.gajim.org is not updated anymore. Gajim project migrated to Mercurial DVCS. More info can be found at wiki page: http://trac.gajim.org/wiki/DevHG'))
if __name__ == '__main__':
def sigint_cb(num, stack):