Hello community,
here is the log from the commit of package tryton for openSUSE:Factory checked in at 2019-04-11 12:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tryton (Old)
and /work/SRC/openSUSE:Factory/.tryton.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tryton"
Thu Apr 11 12:15:32 2019 rev:28 rq:692918 version:4.6.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/tryton/tryton.changes 2019-02-24 17:18:07.824421374 +0100
+++ /work/SRC/openSUSE:Factory/.tryton.new.27019/tryton.changes 2019-04-11 12:15:36.952884416 +0200
@@ -1,0 +2,10 @@
+Fri Apr 5 17:01:23 UTC 2019 - Axel Braun
+
+- version 4.6.18 - security release (boo#1131707)
+
+-------------------------------------------------------------------
+Sun Mar 24 19:06:48 UTC 2019 - Axel Braun
+
+- Version 4.6.17 - Bugfix Release
+
+-------------------------------------------------------------------
Old:
----
tryton-4.6.16.tar.gz
New:
----
tryton-4.6.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tryton.spec ++++++
--- /var/tmp/diff_new_pack.SClnu4/_old 2019-04-11 12:15:38.944885422 +0200
+++ /var/tmp/diff_new_pack.SClnu4/_new 2019-04-11 12:15:38.944885422 +0200
@@ -19,7 +19,7 @@
%define majorver 4.6
Name: tryton
-Version: %{majorver}.16
+Version: %{majorver}.18
Release: 0
Summary: The client of the Tryton application platform
License: GPL-3.0-only
@@ -42,7 +42,6 @@
Requires: librsvg
#for the plugins:
Requires: opencv
-Requires: python-GooCalendar
Requires: python-cdecimal
Requires: python-chardet
Requires: python-dateutil
@@ -53,6 +52,7 @@
Requires: python-setuptools
Requires: python-simplejson
Requires: python-xml
+Requires: python2-GooCalendar
BuildArch: noarch
%description
++++++ tryton-4.6.16.tar.gz -> tryton-4.6.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/.hgtags new/tryton-4.6.18/.hgtags
--- old/tryton-4.6.16/.hgtags 2019-02-19 21:41:04.000000000 +0100
+++ new/tryton-4.6.18/.hgtags 2019-04-02 21:38:19.000000000 +0200
@@ -33,3 +33,5 @@
6441a084b01758f52f20d64663b83c3b61eb077b 4.6.14
848270b77dd3c57d559889ee3c3a7b6a477ff4ae 4.6.15
dd6191f8ea5e6d2205d49bae23f5417c7e4dd347 4.6.16
+fa719654625129392702265195210c470f0cc2fc 4.6.17
+dd7b6493809d64fa3fdafba7ea3a250eb0a8f724 4.6.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/CHANGELOG new/tryton-4.6.18/CHANGELOG
--- old/tryton-4.6.16/CHANGELOG 2019-02-19 21:41:04.000000000 +0100
+++ new/tryton-4.6.18/CHANGELOG 2019-04-02 21:38:19.000000000 +0200
@@ -1,3 +1,9 @@
+Version 4.6.18 - 2019-04-02
+* Bug fixes (see mercurial logs for details)
+
+Version 4.6.17 - 2019-03-15
+* Bug fixes (see mercurial logs for details)
+
Version 4.6.16 - 2019-02-19
* Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/PKG-INFO new/tryton-4.6.18/PKG-INFO
--- old/tryton-4.6.16/PKG-INFO 2019-02-19 21:41:05.000000000 +0100
+++ new/tryton-4.6.18/PKG-INFO 2019-04-02 21:38:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tryton
-Version: 4.6.16
+Version: 4.6.18
Summary: Tryton client
Home-page: http://www.tryton.org/
Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/__init__.py new/tryton-4.6.18/tryton/__init__.py
--- old/tryton-4.6.16/tryton/__init__.py 2019-01-22 22:20:23.000000000 +0100
+++ new/tryton-4.6.18/tryton/__init__.py 2019-03-15 19:00:47.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.6.16"
+__version__ = "4.6.18"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/action/main.py new/tryton-4.6.18/tryton/action/main.py
--- old/tryton-4.6.16/tryton/action/main.py 2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.18/tryton/action/main.py 2019-02-28 23:19:32.000000000 +0100
@@ -77,6 +77,8 @@
def _exec_action(action, data=None, context=None):
if context is None:
context = {}
+ else:
+ context = context.copy()
if data is None:
data = {}
else:
@@ -84,6 +86,10 @@
if 'type' not in (action or {}):
return
+ context.pop('active_id', None)
+ context.pop('active_ids', None)
+ context.pop('active_model', None)
+
def add_name_suffix(name):
if not data.get('ids') or not data.get('model'):
return name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/common/common.py new/tryton-4.6.18/tryton/common/common.py
--- old/tryton-4.6.16/tryton/common/common.py 2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.18/tryton/common/common.py 2019-03-16 23:18:52.000000000 +0100
@@ -36,7 +36,6 @@
except ImportError:
ssl = None
from threading import Lock
-import dateutil.tz
from tryton.exceptions import TrytonServerError, TrytonError
from tryton.pyson import PYSONEncoder
@@ -1266,8 +1265,14 @@
def timezoned_date(date, reverse=False):
- lzone = dateutil.tz.tzlocal()
- szone = dateutil.tz.tzutc()
+ try:
+ from dateutil.tz.win import tzwinlocal as tzlocal
+ except ImportError:
+ from dateutil.tz import tzlocal
+ from dateutil.tz import tzutc
+
+ lzone = tzlocal()
+ szone = tzutc()
if reverse:
lzone, szone = szone, lzone
return date.replace(tzinfo=szone).astimezone(lzone).replace(tzinfo=None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/common/selection.py new/tryton-4.6.18/tryton/common/selection.py
--- old/tryton-4.6.16/tryton/common/selection.py 2018-12-30 19:01:29.000000000 +0100
+++ new/tryton-4.6.18/tryton/common/selection.py 2019-03-06 23:59:35.000000000 +0100
@@ -186,7 +186,7 @@
model = entry.get_model()
for i, values in enumerate(model):
if values[1] == value:
- entry.set_active(i)
+ gobject.idle_add(entry.set_active, i)
break
def get_popdown_value(self, entry, index=1):
Binary files old/tryton-4.6.16/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/de/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/es/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
Binary files old/tryton-4.6.16/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and new/tryton-4.6.18/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/gui/window/view_form/model/record.py new/tryton-4.6.18/tryton/gui/window/view_form/model/record.py
--- old/tryton-4.6.16/tryton/gui/window/view_form/model/record.py 2018-10-02 13:01:57.000000000 +0200
+++ new/tryton-4.6.18/tryton/gui/window/view_form/model/record.py 2019-03-24 15:31:37.000000000 +0100
@@ -112,20 +112,20 @@
ctx.update(dict(('%s.%s' % (self.model_name, fname), 'size')
for fname, field in self.group.fields.iteritems()
if field.attrs['type'] == 'binary' and fname in fnames))
- exception = None
+ exception = False
try:
values = RPCExecute('model', self.model_name, 'read',
id2record.keys(), fnames, context=ctx)
- except RPCException, exception:
+ except RPCException:
values = [{'id': x} for x in id2record]
default_values = dict((f, None) for f in fnames)
for value in values:
value.update(default_values)
- self.exception = True
+ self.exception = exception = True
id2value = dict((value['id'], value) for value in values)
for id, record in id2record.iteritems():
if not record.exception:
- record.exception = bool(exception)
+ record.exception = exception
value = id2value.get(id)
if record and not record.destroyed and value:
for key in record.modified_fields:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/many2one.py new/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/many2one.py
--- old/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/many2one.py 2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/many2one.py 2019-03-06 23:59:35.000000000 +0100
@@ -129,7 +129,7 @@
self.field.set_client(self.record,
self.value_from_id(*result[0]), force_change=True)
else:
- self.set_text('')
+ self.wid_text.set_text('')
self.focus_out = True
self.changed = True
@@ -251,7 +251,7 @@
and editable
and event.keyval in (gtk.keysyms.Delete,
gtk.keysyms.BackSpace)):
- self.set_text('')
+ self.wid_text.set_text('')
return False
def sig_changed(self, *args):
@@ -270,7 +270,7 @@
# in such case, the original text should not be restored
if not self.wid_text.get_text():
# Restore text and position after display
- self.set_text(text)
+ self.wid_text.set_text(text)
self.wid_text.set_position(position)
gobject.idle_add(clean)
return False
@@ -281,7 +281,7 @@
def set_value(self, record, field):
if field.get_client(record) != self.wid_text.get_text():
field.set_client(record, self.value_from_id(None, ''))
- self.set_text('')
+ self.wid_text.set_text('')
def set_text(self, value):
if not value:
@@ -297,7 +297,7 @@
self._set_completion()
if not field:
- self.set_text('')
+ self.set_text(None)
self.changed = True
return False
self.set_text(field.get_client(record))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/reference.py new/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/reference.py
--- old/tryton-4.6.16/tryton/gui/window/view_form/view/form_gtk/reference.py 2018-08-20 22:55:19.000000000 +0200
+++ new/tryton-4.6.18/tryton/gui/window/view_form/view/form_gtk/reference.py 2019-03-06 23:59:35.000000000 +0100
@@ -128,7 +128,7 @@
if (model != self.get_model()
or name != self.wid_text.get_text()):
field.set_client(record, None)
- self.set_text('')
+ self.set_text(None)
def set_text(self, value):
if value:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/gui/window/view_form/view/list.py new/tryton-4.6.18/tryton/gui/window/view_form/view/list.py
--- old/tryton-4.6.16/tryton/gui/window/view_form/view/list.py 2019-02-10 23:43:19.000000000 +0100
+++ new/tryton-4.6.18/tryton/gui/window/view_form/view/list.py 2019-03-06 23:59:35.000000000 +0100
@@ -342,7 +342,7 @@
widget = Widget(self, node_attrs)
self.widgets[name].append(widget)
- column = gtk.TreeViewColumn(field.attrs['string'])
+ column = gtk.TreeViewColumn(node_attrs['string'])
column._type = 'field'
column.name = name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton/gui/window/view_form/view/list_gtk/widget.py new/tryton-4.6.18/tryton/gui/window/view_form/view/list_gtk/widget.py
--- old/tryton-4.6.16/tryton/gui/window/view_form/view/list_gtk/widget.py 2018-09-15 18:22:45.000000000 +0200
+++ new/tryton-4.6.18/tryton/gui/window/view_form/view/list_gtk/widget.py 2019-03-16 23:18:52.000000000 +0100
@@ -9,6 +9,8 @@
from functools import wraps, partial
+import gobject
+
from tryton.gui.window.win_search import WinSearch
from tryton.gui.window.win_form import WinForm
from tryton.gui.window.view_form.screen import Screen
@@ -424,9 +426,15 @@
if renderer is None:
renderer = partial(CellRendererBinary, bool(self.filename))
super(Binary, self).__init__(view, attrs, renderer=renderer)
- self.renderer.connect('select', self.select_binary)
- self.renderer.connect('open', self.open_binary)
- self.renderer.connect('save', self.save_binary)
+ self.renderer.connect(
+ 'select',
+ lambda *args: gobject.idle_add(self.select_binary, *args))
+ self.renderer.connect(
+ 'open',
+ lambda *args: gobject.idle_add(self.open_binary, *args))
+ self.renderer.connect(
+ 'save',
+ lambda *args: gobject.idle_add(self.save_binary, *args))
self.renderer.connect('clear', self.clear_binary)
def get_textual_value(self, record):
@@ -902,8 +910,6 @@
def setter(self, column, cell, store, iter):
record = store.get_value(iter, 0)
states = record.expr_eval(self.attrs.get('states', {}))
- if record.group.readonly or record.readonly:
- states['readonly'] = True
invisible = states.get('invisible', False)
cell.set_property('visible', not invisible)
readonly = states.get('readonly', False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tryton-4.6.16/tryton.egg-info/PKG-INFO new/tryton-4.6.18/tryton.egg-info/PKG-INFO
--- old/tryton-4.6.16/tryton.egg-info/PKG-INFO 2019-02-19 21:41:05.000000000 +0100
+++ new/tryton-4.6.18/tryton.egg-info/PKG-INFO 2019-04-02 21:38:20.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tryton
-Version: 4.6.16
+Version: 4.6.18
Summary: Tryton client
Home-page: http://www.tryton.org/
Author: Tryton