[tryton-debian-vcs] tryton-client branch upstream-4.4 updated. upstream/4.4.3-1-ge8c22ac
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 13 10:34:47 UTC 2017
The following commit has been merged in the upstream-4.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=upstream/4.4.3-1-ge8c22ac
commit e8c22acf9e51cc88895c96e7d86339d5182f6690
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Dec 12 19:05:23 2017 +0100
Adding upstream version 4.4.4.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 0b3d39b..f364f7b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.4 - 2017-12-04
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.3 - 2017-11-07
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 891852d..174daca 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: tryton
-Version: 4.4.3
+Version: 4.4.4
Summary: Tryton client
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/bin/tryton b/bin/tryton
index 02f319d..b74168b 100755
--- a/bin/tryton
+++ b/bin/tryton
@@ -23,10 +23,19 @@ if hasattr(sys, 'frozen'):
etc, 'gtk-2.0', 'gdk-pixbuf.loaders')
os.environ['GTK_IM_MODULE_FILE'] = os.path.join(
etc, 'gtk-2.0', 'gtk.immodules')
- os.environ.setdefault('SSL_CERT_FILE',
- os.path.join(etc, 'ssl', 'cert.pem'))
- os.environ.setdefault('SSL_CERT_DIR',
- os.path.join(etc, 'ssl', 'certs'))
+ if sys.platform == 'win32':
+ # cx_freeze >= 5 put python modules under lib directory
+ sys.path.append(os.path.join(prefix, 'lib'))
+ os.environ.setdefault('SSL_CERT_FILE',
+ os.path.join(etc, 'ssl', 'cert.pem'))
+ os.environ.setdefault('SSL_CERT_DIR',
+ os.path.join(etc, 'ssl', 'certs'))
+
+ # On first launch the MacOSX app launcher may append an extra unique
+ # argument starting with -psn_. This must be filtered to not crash the
+ # option parser.
+ if sys.platform == 'darwin':
+ sys.argv = [a for a in sys.argv if not a.startswith('-psn_')]
# Disable dbusmenu to show second menu in tabs
diff --git a/darwin/gtk-2.0/gtk.immodules b/darwin/gtk-2.0/gtk.immodules
index e010446..a37ca90 100644
--- a/darwin/gtk-2.0/gtk.immodules
+++ b/darwin/gtk-2.0/gtk.immodules
@@ -2,7 +2,7 @@
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.24.30
#
-# ModulesPath = /Users/ced/.gtk-2.0/2.10.0/x86_64-apple-darwin15.5.0/immodules:/Users/ced/.gtk-2.0/2.10.0/immodules:/Users/ced/.gtk-2.0/x86_64-apple-darwin15.5.0/immodules:/Users/ced/.gtk-2.0/immodules:@executable_path/lib/gtk-2.0/2.10.0/x86_64-apple-darwin15.5.0/immodules:/Users/ced/gtk/inst/lib/gtk-2.0/2.10.0/immodules:/Users/ced/gtk/inst/lib/gtk-2.0/x86_64-apple-darwin15.5.0/immodules:/Users/ced/gtk/inst/lib/gtk-2.0/immodules
+# ModulesPath = @executable_path/lib/gtk-2.0/immodules
#
"@executable_path/lib/gtk-2.0/2.10.0/immodules/im-am-et.so"
"am_et" "Amharic (EZ+)" "gtk20" "@executable_path/share/locale" "am"
diff --git a/make-darwin-installer.sh b/make-darwin-installer.sh
index 995ac93..46d7653 100644
--- a/make-darwin-installer.sh
+++ b/make-darwin-installer.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-
+set -e
version=`python setup.py --version`
python setup.py compile_catalog
python setup-freeze.py bdist_mac
diff --git a/make-win32-installer.sh b/make-win32-installer.sh
index 3c16d69..ff4fe0b 100644
--- a/make-win32-installer.sh
+++ b/make-win32-installer.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-
+set -e
version=`python setup.py --version`
python setup.py compile_catalog
python setup-freeze.py install_exe -d dist
diff --git a/setup-freeze.py b/setup-freeze.py
index efcbc73..27ba40d 100644
--- a/setup-freeze.py
+++ b/setup-freeze.py
@@ -1,5 +1,6 @@
import os
import sys
+import user
from subprocess import Popen, PIPE
from cx_Freeze import setup, Executable
@@ -52,12 +53,10 @@ setup(name='tryton',
version=version,
options={
'build_exe': {
- 'compressed': False,
+ 'no_compress': True,
'include_files': include_files,
'silent': True,
'packages': ['gtk'],
- 'icon': os.path.join(
- 'tryton', 'data', 'pixmaps', 'tryton', 'tryton.ico'),
'include_msvcr': True,
},
'bdist_mac': {
@@ -68,4 +67,7 @@ setup(name='tryton',
},
executables=[Executable(
'bin/tryton',
- base='Win32GUI' if sys.platform == 'win32' else None)])
+ base='Win32GUI' if sys.platform == 'win32' else None,
+ icon=os.path.join(
+ 'tryton', 'data', 'pixmaps', 'tryton', 'tryton.ico'),
+ )])
diff --git a/tryton.egg-info/PKG-INFO b/tryton.egg-info/PKG-INFO
index 891852d..174daca 100644
--- a/tryton.egg-info/PKG-INFO
+++ b/tryton.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: tryton
-Version: 4.4.3
+Version: 4.4.4
Summary: Tryton client
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/tryton/__init__.py b/tryton/__init__.py
index 8babeb5..9a2d7c9 100644
--- a/tryton/__init__.py
+++ b/tryton/__init__.py
@@ -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.4.3"
+__version__ = "4.4.4"
diff --git a/tryton/config.py b/tryton/config.py
index 1830ac7..c0b5469 100644
--- a/tryton/config.py
+++ b/tryton/config.py
@@ -166,7 +166,7 @@ class ConfigManager(object):
CONFIG = ConfigManager()
CURRENT_DIR = os.path.dirname(__file__)
if hasattr(sys, 'frozen'):
- CURRENT_DIR = sys.executable
+ CURRENT_DIR = os.path.dirname(sys.executable)
if not isinstance(CURRENT_DIR, unicode):
CURRENT_DIR = unicode(CURRENT_DIR, sys.getfilesystemencoding())
diff --git a/tryton/data/locale/bg/LC_MESSAGES/tryton.mo b/tryton/data/locale/bg/LC_MESSAGES/tryton.mo
index 19591f2..95d0991 100644
Binary files a/tryton/data/locale/bg/LC_MESSAGES/tryton.mo and b/tryton/data/locale/bg/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/ca/LC_MESSAGES/tryton.mo b/tryton/data/locale/ca/LC_MESSAGES/tryton.mo
index 4d0542b..2d7092d 100644
Binary files a/tryton/data/locale/ca/LC_MESSAGES/tryton.mo and b/tryton/data/locale/ca/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/cs/LC_MESSAGES/tryton.mo b/tryton/data/locale/cs/LC_MESSAGES/tryton.mo
index e0d5a66..0c650a2 100644
Binary files a/tryton/data/locale/cs/LC_MESSAGES/tryton.mo and b/tryton/data/locale/cs/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/de/LC_MESSAGES/tryton.mo b/tryton/data/locale/de/LC_MESSAGES/tryton.mo
index 49dac31..25da5c9 100644
Binary files a/tryton/data/locale/de/LC_MESSAGES/tryton.mo and b/tryton/data/locale/de/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/es/LC_MESSAGES/tryton.mo b/tryton/data/locale/es/LC_MESSAGES/tryton.mo
index cad0f6d..3566477 100644
Binary files a/tryton/data/locale/es/LC_MESSAGES/tryton.mo and b/tryton/data/locale/es/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo b/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo
index dcb1c5d..3177664 100644
Binary files a/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo and b/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/fr/LC_MESSAGES/tryton.mo b/tryton/data/locale/fr/LC_MESSAGES/tryton.mo
index 9944221..cb4b105 100644
Binary files a/tryton/data/locale/fr/LC_MESSAGES/tryton.mo and b/tryton/data/locale/fr/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo b/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo
index d437bd2..0c0336a 100644
Binary files a/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo and b/tryton/data/locale/hu_HU/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo b/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo
index 0a4ef3b..2e9e2bc 100644
Binary files a/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo and b/tryton/data/locale/it_IT/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo b/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo
index f077030..02f10b0 100644
Binary files a/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo and b/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/lo/LC_MESSAGES/tryton.mo b/tryton/data/locale/lo/LC_MESSAGES/tryton.mo
index e5c2411..22de0a3 100644
Binary files a/tryton/data/locale/lo/LC_MESSAGES/tryton.mo and b/tryton/data/locale/lo/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/lt/LC_MESSAGES/tryton.mo b/tryton/data/locale/lt/LC_MESSAGES/tryton.mo
index 590f0b4..26789eb 100644
Binary files a/tryton/data/locale/lt/LC_MESSAGES/tryton.mo and b/tryton/data/locale/lt/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/nl/LC_MESSAGES/tryton.mo b/tryton/data/locale/nl/LC_MESSAGES/tryton.mo
index f79d435..c8e9a97 100644
Binary files a/tryton/data/locale/nl/LC_MESSAGES/tryton.mo and b/tryton/data/locale/nl/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/pl/LC_MESSAGES/tryton.mo b/tryton/data/locale/pl/LC_MESSAGES/tryton.mo
index 2438220..cc54639 100644
Binary files a/tryton/data/locale/pl/LC_MESSAGES/tryton.mo and b/tryton/data/locale/pl/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo b/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo
index ce3a83c..69c2224 100644
Binary files a/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo and b/tryton/data/locale/pt_BR/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/ru/LC_MESSAGES/tryton.mo b/tryton/data/locale/ru/LC_MESSAGES/tryton.mo
index 6340e20..bb0ad09 100644
Binary files a/tryton/data/locale/ru/LC_MESSAGES/tryton.mo and b/tryton/data/locale/ru/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/sl/LC_MESSAGES/tryton.mo b/tryton/data/locale/sl/LC_MESSAGES/tryton.mo
index 149ec61..affa709 100644
Binary files a/tryton/data/locale/sl/LC_MESSAGES/tryton.mo and b/tryton/data/locale/sl/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo b/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo
index 1e3f22c..16cd758 100644
Binary files a/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo and b/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo differ
diff --git a/tryton/gui/window/view_form/view/form_gtk/widget.py b/tryton/gui/window/view_form/view/form_gtk/widget.py
index 70c479b..d6291e1 100644
--- a/tryton/gui/window/view_form/view/form_gtk/widget.py
+++ b/tryton/gui/window/view_form/view/form_gtk/widget.py
@@ -171,7 +171,7 @@ class TranslateDialog(NoModal):
label.set_mnemonic_widget(widget)
self.widget.translate_widget_set(widget, fuzzy_value)
self.widget.translate_widget_set_readonly(widget, True)
- yopt = None
+ yopt = 0
if self.widget.expand:
yopt = gtk.EXPAND | gtk.FILL
table.attach(widget, 1, 2, i, i + 1, yoptions=yopt)
diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py
index d45841b..3653a4a 100644
--- a/tryton/gui/window/view_form/view/list.py
+++ b/tryton/gui/window/view_form/view/list.py
@@ -830,7 +830,7 @@ class ViewTree(View):
return True
if drop_info:
path, position = drop_info
- check_path = path
+ check_path = tuple(path)
if position in (gtk.TREE_VIEW_DROP_BEFORE,
gtk.TREE_VIEW_DROP_AFTER):
check_path = path[:-1]
diff --git a/win32/gtk-2.0/gdk-pixbuf.loaders b/win32/gtk-2.0/gdk-pixbuf.loaders
index 4d13e1c..15d85d9 100644
--- a/win32/gtk-2.0/gdk-pixbuf.loaders
+++ b/win32/gtk-2.0/gdk-pixbuf.loaders
@@ -2,7 +2,7 @@
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders.exe from gdk-pixbuf-2.35.4
#
-# LoaderDir = C:\msys32\mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders
+# LoaderDir = lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
--
tryton-client
More information about the tryton-debian-vcs
mailing list