Hello community, here is the log from the commit of package wammu for openSUSE:Factory checked in at 2015-11-24 22:33:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wammu (Old) and /work/SRC/openSUSE:Factory/.wammu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wammu" Changes: -------- --- /work/SRC/openSUSE:Factory/wammu/wammu.changes 2015-09-30 05:53:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wammu.new/wammu.changes 2015-11-24 22:34:28.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Nov 24 07:46:22 UTC 2015 - [email protected] + +- Update to 0.40 + * Correctly escape XML output. + * Make error message selectable. + * Fixed spurious D-Bus error message. (boo#914904) + +------------------------------------------------------------------- Old: ---- wammu-0.39.tar.bz2 New: ---- wammu-0.40.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wammu.spec ++++++ --- /var/tmp/diff_new_pack.K2r8Q2/_old 2015-11-24 22:34:29.000000000 +0100 +++ /var/tmp/diff_new_pack.K2r8Q2/_new 2015-11-24 22:34:29.000000000 +0100 @@ -17,7 +17,7 @@ Name: wammu -Version: 0.39 +Version: 0.40 Release: 0 Summary: Mobile Phone Manager License: GPL-2.0 ++++++ wammu-0.39.tar.bz2 -> wammu-0.40.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/ChangeLog new/wammu-0.40/ChangeLog --- old/wammu-0.39/ChangeLog 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/ChangeLog 2015-11-23 15:47:59.000000000 +0100 @@ -4,6 +4,13 @@ Major changes for each release are described here. Detailed changes between two versions can be retrieved from Git. +0.40 +==== (2015-11-23) + +* Correctly escape XML output. +* Make error message selectable. +* Fixed spurious D-Bus error message. + 0.39 ==== (2015-07-14) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/PKG-INFO new/wammu-0.40/PKG-INFO --- old/wammu-0.39/PKG-INFO 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/PKG-INFO 2015-11-23 15:47:59.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: wammu -Version: 0.39 +Version: 0.40 Summary: Wammu Mobile Phone Manager Home-page: http://wammu.eu/wammu/ Author: Michal Cihar @@ -33,7 +33,6 @@ Classifier: Natural Language :: German Classifier: Natural Language :: Greek Classifier: Natural Language :: Spanish -Classifier: Natural Language :: Estonian Classifier: Natural Language :: Finnish Classifier: Natural Language :: French Classifier: Natural Language :: Galician diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/ContactsXML.py new/wammu-0.40/Wammu/ContactsXML.py --- old/wammu-0.39/Wammu/ContactsXML.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/ContactsXML.py 2015-11-23 15:47:59.000000000 +0100 @@ -25,6 +25,7 @@ from Wammu.Locales import ugettext as _ import Wammu.Data +from xml.sax.saxutils import escape import wx import os @@ -47,7 +48,7 @@ contactxml = " <contact>\n" contactxml += " <name>" - contactxml += contact['Name'].encode('utf-8') + contactxml += escape(contact['Name'].encode('utf-8')) contactxml += "</name>\n" for i in contact['Entries']: @@ -63,41 +64,41 @@ addr_country = i['Value'] elif i['Type'] == 'Text_Note': contactxml += " <note>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</note>\n" elif i['Type'] == 'Text_URL': contactxml += " <url>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</url>\n" elif i['Type'] == 'Text_Email': if i['Value']: contactxml += " <email>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</email>\n" elif i['Type'] == 'Text_Email2': if i['Value']: contactxml += " <email>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</email>\n" elif i['Type'] == 'Number_Mobile': contactxml += " <mobile>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</mobile>\n" elif i['Type'] == 'Number_Work': contactxml += " <work>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</work>\n" elif i['Type'] == 'Number_Fax': contactxml += " <fax>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</fax>\n" elif i['Type'] == 'Number_Home': contactxml += " <home>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</home>\n" elif i['Type'][:7] == 'Number_': contactxml += " <phone>" - contactxml += i['Value'].encode('utf-8') + contactxml += escape(i['Value'].encode('utf-8')) contactxml += "</phone>\n" addr_full = addr_zip @@ -119,7 +120,7 @@ addr_full += addr_country if addr_full: contactxml += " <address>" - contactxml += addr_full.encode('utf-8') + contactxml += escape(addr_full.encode('utf-8')) contactxml += "</address>\n" if contact['Date'] is not None: @@ -129,7 +130,7 @@ contactxml += "</birthday>\n" contactxml += " <folder>" - contactxml += folder.encode('utf-8') + contactxml += escape(folder.encode('utf-8')) contactxml += "</folder>\n" contactxml += " </contact>\n" @@ -185,7 +186,6 @@ f.write("</contacts>\n") f.close() except IOError: - del parent.progress wx.MessageDialog( parent, _('Creating of file %s failed, bailing out.') % path, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/ErrorMessage.py new/wammu-0.40/Wammu/ErrorMessage.py --- old/wammu-0.39/Wammu/ErrorMessage.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/ErrorMessage.py 2015-11-23 15:47:59.000000000 +0100 @@ -61,8 +61,9 @@ message += ( _('Debug log has been automatically saved to %s, you are strongly encouraged to include it in bugreport.') % autolog) - msg = wx.StaticText(self, -1, message) - msg.Wrap(400) + msg = wx.TextCtrl(self, style=wx.TE_BESTWRAP|wx.TE_MULTILINE|wx.TE_READONLY|wx.BORDER_NONE, size=(500, 400)) + msg.SetValue(message) + msg.SetBackgroundColour(wx.SystemSettings.GetColour(4)) textsizer.Add(msg) buttonsizer = wx.StdDialogButtonSizer() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/SMSExport.py new/wammu-0.40/Wammu/SMSExport.py --- old/wammu-0.39/Wammu/SMSExport.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/SMSExport.py 2015-11-23 15:47:59.000000000 +0100 @@ -68,7 +68,6 @@ f.close() except IOError: - del parent.progress wx.MessageDialog( parent, _('Creating of file %s failed, bailing out.') % path, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/SMSXML.py new/wammu-0.40/Wammu/SMSXML.py --- old/wammu-0.39/Wammu/SMSXML.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/SMSXML.py 2015-11-23 15:47:59.000000000 +0100 @@ -26,6 +26,7 @@ from Wammu.MessageDisplay import SmsTextFormat from Wammu.Locales import ugettext as _ import Wammu.Data +from xml.sax.saxutils import escape import wx import os @@ -55,15 +56,15 @@ smsxml += "</dateenc>\n" smsxml += " <text>" - smsxml += text.encode('utf-8') + smsxml += escape(text.encode('utf-8')) smsxml += "</text>\n" smsxml += " <telephone>" - smsxml += sms['Number'].encode('utf-8') + smsxml += escape(sms['Number'].encode('utf-8')) smsxml += "</telephone>\n" smsxml += " <contact>" - smsxml += contact.encode('utf-8') + smsxml += escape(contact.encode('utf-8')) smsxml += "</contact>\n" smsxml += " <folder>" @@ -120,7 +121,6 @@ f.write("</messages>\n") f.close() except IOError: - del parent.progress wx.MessageDialog( parent, _('Creating of file %s failed, bailing out.') % path, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/Utils.py new/wammu-0.40/Wammu/Utils.py --- old/wammu-0.39/Wammu/Utils.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/Utils.py 2015-11-23 15:47:59.000000000 +0100 @@ -525,14 +525,15 @@ import dbus except ImportError: return False - if try_start_service: + obj = bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus') + dbus_iface = dbus.Interface(obj, 'org.freedesktop.DBus') + avail = dbus_iface.ListNames() + if interface not in avail and try_start_service: try: bus.start_service_by_name(interface) + avail = dbus_iface.ListNames() except dbus.exceptions.DBusException: print 'Failed to start DBus service %s' % interface - obj = bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus') - dbus_iface = dbus.Interface(obj, 'org.freedesktop.DBus') - avail = dbus_iface.ListNames() return interface in avail diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/Wammu/__init__.py new/wammu-0.40/Wammu/__init__.py --- old/wammu-0.39/Wammu/__init__.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/Wammu/__init__.py 2015-11-23 15:47:59.000000000 +0100 @@ -21,7 +21,7 @@ Wammu top level module ''' -__version__ = '0.39' +__version__ = '0.40' gammu_error = None configuration = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/description-pak new/wammu-0.40/description-pak --- old/wammu-0.39/description-pak 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/description-pak 2015-11-23 15:47:59.000000000 +0100 @@ -1,4 +1,4 @@ -Wammu Mobile Phone Manager 0.39 +Wammu Mobile Phone Manager 0.40 It works with any phone that Gammu supports, including many models from Nokia, Siemens, and Alcatel. It has complete support (read, edit, Files old/wammu-0.39/icon/wammu-300x300.png and new/wammu-0.40/icon/wammu-300x300.png differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/icon/wammu.svg new/wammu-0.40/icon/wammu.svg --- old/wammu-0.39/icon/wammu.svg 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/icon/wammu.svg 2015-11-23 15:47:59.000000000 +0100 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://web.resource.org/cc/" + xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" @@ -9,16 +9,15 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" height="200" id="svg1" - inkscape:version="0.45.1" - sodipodi:docbase="/home/mic/private/svn/wammu/icon" + inkscape:version="0.48.5 r10040" sodipodi:docname="wammu.svg" sodipodi:version="0.32" width="200" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.0" - inkscape:export-filename="/home/mic/private/svn/wammu/icon/wammu-192x192.png" - inkscape:export-xdpi="86.400002" - inkscape:export-ydpi="86.400002"> + inkscape:export-filename="wammu-300x300.png" + inkscape:export-xdpi="135" + inkscape:export-ydpi="135"> <metadata id="metadata1397"> <rdf:RDF> @@ -74,18 +73,20 @@ borderopacity="1.0" id="base" inkscape:current-layer="svg1" - inkscape:cx="99.762479" + inkscape:cx="100.26338" inkscape:cy="100.60194" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1024" inkscape:window-width="1590" inkscape:window-x="0" - inkscape:window-y="25" + inkscape:window-y="27" inkscape:zoom="3.9928159" pagecolor="#ffffff" width="200px" - height="200px" /> + height="200px" + showgrid="false" + inkscape:window-maximized="0" /> <defs id="defs2"> <linearGradient diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/locale/de/wammu.po new/wammu-0.40/locale/de/wammu.po --- old/wammu-0.39/locale/de/wammu.po 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/locale/de/wammu.po 2015-11-23 15:47:59.000000000 +0100 @@ -8,15 +8,15 @@ "Project-Id-Version: wammu\n" "Report-Msgid-Bugs-To: [email protected]\n" "POT-Creation-Date: 2014-12-29 11:47+0100\n" -"PO-Revision-Date: 2014-04-16 19:06+0200\n" -"Last-Translator: Purodha Blissenbach <[email protected]>\n" +"PO-Revision-Date: 2015-11-19 09:41+0000\n" +"Last-Translator: armagetron <[email protected]>\n" "Language-Team: German <https://hosted.weblate.org/projects/gammu/wammu/de/>\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 1.9-dev\n" +"X-Generator: Weblate 2.5-dev\n" #: Wammu/About.py:43 msgid "About Wammu" @@ -4155,6 +4155,9 @@ "with any phone that Gammu supports, including many models from Nokia, " "Siemens, and Alcatel." msgstr "" +"Wammu ist ein Mobiltelefon Manager mit Gammu als Backend. Es funktioniert " +"mit jedem Telefon, dass von Gammu unterstützt wird, einschließlich vieler " +"Modelle von Nokia, Siemens und Alcatel." #: wammu_setup/msgfmt.py:58 msgid "" @@ -4165,6 +4168,13 @@ "edited in the SMS composer. It can export messages to an IMAP4 server (or " "other email storage)." msgstr "" +"Es bietet vollständige Unterstützung (lesen, schreiben, löschen, kopieren) " +"für Kontakte, Todo und Kalender. Es kann SMS lesen, speichern und senden. " +"Außerdem enthält es einen SMS Composer für multi-part SMS Nachrichten und es " +"kann SMS Nachrichten anzeigen, die Bilder enthalten. Momentan können nur " +"Text und vordefinierte Bitmaps oder Töne mit dem SMS Composer bearbeitet " +"werden. Nachrichten können auf einen IMAP4 Server (oder anderen Mailserver) " +"exportiert werden." #~ msgid "&Import" #~ msgstr "&Importieren" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/setup.py new/wammu-0.40/setup.py --- old/wammu-0.39/setup.py 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/setup.py 2015-11-23 15:47:59.000000000 +0100 @@ -438,7 +438,6 @@ 'Natural Language :: German', 'Natural Language :: Greek', 'Natural Language :: Spanish', - 'Natural Language :: Estonian', 'Natural Language :: Finnish', 'Natural Language :: French', 'Natural Language :: Galician', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/wammu.iss new/wammu-0.40/wammu.iss --- old/wammu-0.39/wammu.iss 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/wammu.iss 2015-11-23 15:47:59.000000000 +0100 @@ -5,7 +5,7 @@ #define MyAppDosName "wammu" #define MyAppName "Wammu" -#define MyAppVersion "0.39" +#define MyAppVersion "0.40" #define MyAppPublisher "Micha �iha�" #define MyAppURL "http://wammu.eu/" #define MyAppPublisherURL "http://cihar.com/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wammu-0.39/wammu.spec new/wammu-0.40/wammu.spec --- old/wammu-0.39/wammu.spec 2015-07-14 22:39:33.000000000 +0200 +++ new/wammu-0.40/wammu.spec 2015-11-23 15:47:59.000000000 +0100 @@ -1,5 +1,5 @@ Name: wammu -Version: 0.39 +Version: 0.40 Release: 1 %define extension bz2
