Hello community, here is the log from the commit of package tryton for openSUSE:Factory checked in at 2018-03-11 15:24:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tryton (Old) and /work/SRC/openSUSE:Factory/.tryton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton" Sun Mar 11 15:24:31 2018 rev:15 rq:584725 version:4.2.10 Changes: -------- --- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2018-01-30 15:44:17.338926191 +0100 +++ /work/SRC/openSUSE:Factory/.tryton.new/tryton.changes 2018-03-11 15:24:32.796732068 +0100 @@ -1,0 +2,5 @@ +Fri Mar 2 09:11:42 UTC 2018 - axel.br...@gmx.de + +- Version 4.2.10 - Bugfix Release + +------------------------------------------------------------------- Old: ---- tryton-4.2.9.tar.gz New: ---- tryton-4.2.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton.spec ++++++ --- /var/tmp/diff_new_pack.tF7dC9/_old 2018-03-11 15:24:33.624702366 +0100 +++ /var/tmp/diff_new_pack.tF7dC9/_new 2018-03-11 15:24:33.628702222 +0100 @@ -19,10 +19,10 @@ %define majorver 4.2 Name: tryton -Version: %{majorver}.9 +Version: %{majorver}.10 Release: 0 Summary: The client of the Tryton application platform -License: GPL-3.0 +License: GPL-3.0-only Group: Productivity/Office/Management Url: http://www.tryton.org/ Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz ++++++ tryton-4.2.9.tar.gz -> tryton-4.2.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/.hgtags new/tryton-4.2.10/.hgtags --- old/tryton-4.2.9/.hgtags 2017-12-05 00:04:10.000000000 +0100 +++ new/tryton-4.2.10/.hgtags 2018-03-01 22:56:44.000000000 +0100 @@ -23,3 +23,4 @@ 4b2685c0531fd4002c88c43c5232007780c5d3a7 4.2.7 b4469b6b237a1422f00b4f7c5edf944ecdc88df2 4.2.8 8c6b627e6b5b0ff4a41d22103146f6b12187823c 4.2.9 +f87f133c82332bdf6c95212cfc2154e9f619d912 4.2.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/CHANGELOG new/tryton-4.2.10/CHANGELOG --- old/tryton-4.2.9/CHANGELOG 2017-12-05 00:04:10.000000000 +0100 +++ new/tryton-4.2.10/CHANGELOG 2018-03-01 22:56:44.000000000 +0100 @@ -1,3 +1,6 @@ +Version 4.2.10 - 2018-03-01 +* Bug fixes (see mercurial logs for details) + Version 4.2.9 - 2017-12-04 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/COPYRIGHT new/tryton-4.2.10/COPYRIGHT --- old/tryton-4.2.9/COPYRIGHT 2017-12-05 00:04:09.000000000 +0100 +++ new/tryton-4.2.10/COPYRIGHT 2018-03-01 22:56:44.000000000 +0100 @@ -1,8 +1,8 @@ Copyright (C) 2012-2013 Antoine Smolders. -Copyright (C) 2010-2017 Nicolas Évrard. -Copyright (C) 2007-2017 Cédric Krier. +Copyright (C) 2010-2018 Nicolas Évrard. +Copyright (C) 2007-2018 Cédric Krier. Copyright (C) 2007-2013 Bertrand Chenal. -Copyright (C) 2008-2017 B2CK SPRL. +Copyright (C) 2008-2018 B2CK SPRL. Copyright (C) 2008-2011 Udo Spallek. Copyright (C) 2008-2011 virtual things - Preisler & Spallek GbR. Copyright (C) 2011-2012 Rodrigo Hübner. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/PKG-INFO new/tryton-4.2.10/PKG-INFO --- old/tryton-4.2.9/PKG-INFO 2017-12-05 00:04:11.000000000 +0100 +++ new/tryton-4.2.10/PKG-INFO 2018-03-01 22:56:45.000000000 +0100 @@ -1,12 +1,13 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.9 +Version: 4.2.10 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton Author-email: issue_trac...@tryton.org License: GPL-3 Download-URL: http://downloads.tryton.org/4.2/ +Description-Content-Type: UNKNOWN Description: tryton ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/__init__.py new/tryton-4.2.10/tryton/__init__.py --- old/tryton-4.2.9/tryton/__init__.py 2017-11-07 18:43:45.000000000 +0100 +++ new/tryton-4.2.10/tryton/__init__.py 2017-12-05 00:04:26.000000000 +0100 @@ -1,3 +1,3 @@ # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. -__version__ = "4.2.9" +__version__ = "4.2.10" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/common/common.py new/tryton-4.2.10/tryton/common/common.py --- old/tryton-4.2.9/tryton/common/common.py 2017-10-03 21:26:32.000000000 +0200 +++ new/tryton-4.2.10/tryton/common/common.py 2018-03-01 22:56:42.000000000 +0100 @@ -294,13 +294,11 @@ def get_toplevel_window(): - windows = [x for x in gtk.window_list_toplevels() - if x.get_window() and x.props.visible - and x.props.type == gtk.WINDOW_TOPLEVEL] - trans2windows = dict((x.get_transient_for(), x) for x in windows) - for window in set(windows) - set(trans2windows.iterkeys()): - return window - return trans2windows[None] + for window in gtk.window_list_toplevels(): + if window.is_active() and window.props.type == gtk.WINDOW_TOPLEVEL: + return window + from tryton.gui.main import Main + return Main.get_main().window def get_sensible_widget(window): Binary files old/tryton-4.2.9/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/de/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/es/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ Binary files old/tryton-4.2.9/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and new/tryton-4.2.10/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/about.py new/tryton-4.2.10/tryton/gui/window/about.py --- old/tryton-4.2.9/tryton/gui/window/about.py 2017-05-03 18:53:28.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/about.py 2018-03-01 22:56:44.000000000 +0100 @@ -9,10 +9,10 @@ from tryton import __version__ COPYRIGHT = '''\ -Copyright (C) 2010-2011 Nicolas Évrard. -Copyright (C) 2007-2011 Cédric Krier. +Copyright (C) 2010-2018 Nicolas Évrard. +Copyright (C) 2007-2018 Cédric Krier. Copyright (C) 2007-2011 Bertrand Chenal. -Copyright (C) 2008-2011 B2CK SPRL. +Copyright (C) 2008-2018 B2CK SPRL. Copyright (C) 2008-2011 Udo Spallek. Copyright (C) 2008-2011 virtual things - Preisler & Spallek GbR. Copyright (C) 2007-2009 Lorenzo Gil Sanchez. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/char.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/char.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/char.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/char.py 2018-03-01 22:56:42.000000000 +0100 @@ -28,6 +28,10 @@ focus_entry = self.entry.get_child() self.set_popdown([], self.entry) self.entry.connect('changed', self.changed) + self.entry.connect('move-active', self._move_active) + self.entry.connect( + 'scroll-event', + lambda c, e: c.emit_stop_by_name('scroll-event')) else: self.entry = gtk.Entry() focus_entry = self.entry @@ -136,6 +140,10 @@ reset_position(child) self.entry.handler_unblock_by_func(self.changed) + def _move_active(self, combobox, scroll_type): + if not combobox.get_child().get_editable(): + combobox.emit_stop_by_name('move-active') + def _readonly_set(self, value): sensitivity = {True: gtk.SENSITIVITY_OFF, False: gtk.SENSITIVITY_AUTO} super(Char, self)._readonly_set(value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/dictionary.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/dictionary.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/dictionary.py 2017-10-03 21:26:32.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/dictionary.py 2018-03-01 22:56:42.000000000 +0100 @@ -93,6 +93,8 @@ lambda w: self.parent_widget._focus_out()) widget.connect('notify::active', lambda w, e: self.parent_widget._focus_out()) + widget.connect( + 'scroll-event', lambda c, e: c.emit_stop_by_name('scroll-event')) selection_shortcuts(widget) # setting completion and selection @@ -451,6 +453,7 @@ for widget in self.fields.values(): widget.set_readonly(readonly) self.wid_text.set_sensitive(not readonly) + self.wid_text.set_editable(not readonly) def _set_button_sensitive(self): self.but_add.set_sensitive(bool( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/many2many.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/many2many.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/many2many.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/many2many.py 2018-03-01 22:56:42.000000000 +0100 @@ -220,6 +220,7 @@ self._readonly = value self._set_button_sensitive() self.wid_text.set_sensitive(not value) + self.wid_text.set_editable(not value) self._set_label_state() def _required_set(self, value): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/one2many.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/one2many.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/one2many.py 2017-05-03 18:59:45.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/one2many.py 2018-03-01 22:56:42.000000000 +0100 @@ -301,6 +301,7 @@ and access['write'] and access['read'])) self.wid_text.set_sensitive(self.but_add.get_sensitive()) + self.wid_text.set_editable(self.but_add.get_sensitive()) # New button must be added to focus chain to allow keyboard only # creation when there is no existing record on form view. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/pyson.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/pyson.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/pyson.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/pyson.py 2018-03-01 22:56:42.000000000 +0100 @@ -19,7 +19,7 @@ return value try: return self.encoder.encode(eval(value, CONTEXT)) - except (ValueError, TypeError, NameError, SyntaxError): + except Exception: return None def set_value(self, record, field): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/reference.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/reference.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/reference.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/reference.py 2018-03-01 22:56:42.000000000 +0100 @@ -23,6 +23,9 @@ child.connect('focus-out-event', lambda *a: self._focus_out()) child.get_accessible().set_name(attrs.get('string', '')) self.widget_combo.connect('changed', self.sig_changed_combo) + self.widget_combo.connect('move-active', self._move_active) + self.widget_combo.connect( + 'scroll-event', lambda c, e: c.emit_stop_by_name('scroll-event')) selection_shortcuts(self.widget_combo) self.widget_combo.set_focus_chain([child]) @@ -48,6 +51,10 @@ return model, name return '', '' + def _move_active(self, combobox, scroll_type): + if not combobox.get_child().get_editable(): + combobox.emit_stop_by_name('move-active') + def _set_button_sensitive(self): super(Reference, self)._set_button_sensitive() self.widget_combo.get_child().set_editable(not self._readonly) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/selection.py new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/selection.py --- old/tryton-4.2.9/tryton/gui/window/view_form/view/form_gtk/selection.py 2017-05-03 18:53:29.000000000 +0200 +++ new/tryton-4.2.10/tryton/gui/window/view_form/view/form_gtk/selection.py 2018-03-01 22:56:42.000000000 +0100 @@ -27,7 +27,8 @@ child.connect('focus-out-event', lambda *a: self._focus_out()) self.entry.connect('changed', self.changed) self.entry.connect('move-active', self._move_active) - self.entry.connect('scroll-event', self._scroll_event) + self.entry.connect( + 'scroll-event', lambda c, e: c.emit_stop_by_name('scroll-event')) self.widget.pack_start(self.entry) self.widget.set_focus_chain([child]) @@ -47,10 +48,6 @@ if not combobox.get_child().get_editable(): combobox.emit_stop_by_name('move-active') - def _scroll_event(self, combobox, event): - if not combobox.get_child().get_editable(): - combobox.emit_stop_by_name('scroll-event') - def _readonly_set(self, value): super(Selection, self)._readonly_set(value) self.entry.get_child().set_editable(not value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.2.9/tryton.egg-info/PKG-INFO new/tryton-4.2.10/tryton.egg-info/PKG-INFO --- old/tryton-4.2.9/tryton.egg-info/PKG-INFO 2017-12-05 00:04:11.000000000 +0100 +++ new/tryton-4.2.10/tryton.egg-info/PKG-INFO 2018-03-01 22:56:45.000000000 +0100 @@ -1,12 +1,13 @@ Metadata-Version: 1.1 Name: tryton -Version: 4.2.9 +Version: 4.2.10 Summary: Tryton client Home-page: http://www.tryton.org/ Author: Tryton Author-email: issue_trac...@tryton.org License: GPL-3 Download-URL: http://downloads.tryton.org/4.2/ +Description-Content-Type: UNKNOWN Description: tryton ======