Python 2 compatibility for Eric 5.

Sun, 17 Nov 2013 22:09:59 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 17 Nov 2013 22:09:59 +0100
changeset 13
2edce8c1ad5b
parent 12
f59341511aa1
child 14
60d986091f49

Python 2 compatibility for Eric 5.

ChangeLog file | annotate | diff | comparison | revisions
PluginKivy.e4p file | annotate | diff | comparison | revisions
PluginProjectKivy.py file | annotate | diff | comparison | revisions
PluginProjectKivy.zip file | annotate | diff | comparison | revisions
ProjectKivy/Documentation/source/Plugin_Project_Kivy.ProjectKivy.KivyLexer.html file | annotate | diff | comparison | revisions
ProjectKivy/Documentation/source/index-Plugin_Project_Kivy.ProjectKivy.html file | annotate | diff | comparison | revisions
ProjectKivy/KivyLexer.py file | annotate | diff | comparison | revisions
ProjectKivy/i18n/kivy_de.ts file | annotate | diff | comparison | revisions
ProjectKivy/i18n/kivy_en.ts file | annotate | diff | comparison | revisions
ProjectKivy/i18n/kivy_es.ts file | annotate | diff | comparison | revisions
--- a/ChangeLog	Fri Oct 25 19:42:36 2013 +0200
+++ b/ChangeLog	Sun Nov 17 22:09:59 2013 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 1.1.0
+- Python 2 compatibility for Eric 5
+
 Version 1.0.1
 - fixed code style issues
 
--- a/PluginKivy.e4p	Fri Oct 25 19:42:36 2013 +0200
+++ b/PluginKivy.e4p	Sun Nov 17 22:09:59 2013 +0100
@@ -1,13 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE Project SYSTEM "Project-5.1.dtd">
 <!-- eric5 project file for project PluginKivy -->
+<!-- Saved: 2013-11-17, 22:07:19 -->
+<!-- Copyright (C) 2013 Detlev Offenbach, detlev@die-offenbachs.de -->
 <Project version="5.1">
   <Language>en_US</Language>
   <Hash>edc66a361a68c8b839b94476f35c5809077c7a5d</Hash>
   <ProgLanguage mixed="0">Python3</ProgLanguage>
   <ProjectType>E4Plugin</ProjectType>
   <Description>A plug-in providing the 'Kivy' project type, syntax highlighter for Kivy files and  Kivy APIs.</Description>
-  <Version>1.0.x</Version>
+  <Version>1.1.0</Version>
   <Author>Detlev Offenbach</Author>
   <Email>detlev@die-offenbachs.de</Email>
   <TranslationPattern>ProjectKivy/i18n/kivy_%language%.ts</TranslationPattern>
--- a/PluginProjectKivy.py	Fri Oct 25 19:42:36 2013 +0200
+++ b/PluginProjectKivy.py	Sun Nov 17 22:09:59 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the Kivy project plug-in.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import os
 import glob
 import fnmatch
@@ -24,7 +26,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "1.0.1"
+version = "1.1.0"
 className = "ProjectKivyPlugin"
 packageName = "ProjectKivy"
 shortDescription = "Project support for Kivy projects."
Binary file PluginProjectKivy.zip has changed
--- a/ProjectKivy/Documentation/source/Plugin_Project_Kivy.ProjectKivy.KivyLexer.html	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/Documentation/source/Plugin_Project_Kivy.ProjectKivy.KivyLexer.html	Sun Nov 17 22:09:59 2013 +0100
@@ -21,7 +21,6 @@
 <body><a NAME="top" ID="top"></a>
 <h1>Plugin_Project_Kivy.ProjectKivy.KivyLexer</h1>
 <p>
-""
 Module implementing a Pygments lexer for the Kivy language.
 </p>
 <h3>Global Attributes</h3>
--- a/ProjectKivy/Documentation/source/index-Plugin_Project_Kivy.ProjectKivy.html	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/Documentation/source/index-Plugin_Project_Kivy.ProjectKivy.html	Sun Nov 17 22:09:59 2013 +0100
@@ -29,7 +29,7 @@
 <table>
 <tr>
 <td><a href="Plugin_Project_Kivy.ProjectKivy.KivyLexer.html">KivyLexer</a></td>
-<td>"" Module implementing a Pygments lexer for the Kivy language.</td>
+<td>Module implementing a Pygments lexer for the Kivy language.</td>
 </tr>
 </table>
 </body></html>
\ No newline at end of file
--- a/ProjectKivy/KivyLexer.py	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/KivyLexer.py	Sun Nov 17 22:09:59 2013 +0100
@@ -3,7 +3,7 @@
 # Copyright (c) 2013 Detlev Offenbach <detlev@die-offenbachs.de>
 #
 
-"""""
+"""
 Module implementing a Pygments lexer for the Kivy language.
 """
 
@@ -12,6 +12,8 @@
 # Copyright of the original by the Kivy Team.
 #
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from pygments.lexer import RegexLexer, bygroups, using
 from pygments.lexers.agile import PythonLexer
 from pygments.token import Comment, Text, Name, Punctuation, Operator
--- a/ProjectKivy/i18n/kivy_de.ts	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/i18n/kivy_de.ts	Sun Nov 17 22:09:59 2013 +0100
@@ -3,17 +3,17 @@
 <context>
     <name>ProjectKivyPlugin</name>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy</source>
         <translation>Kivy</translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv)</source>
         <translation>Kivy Dateien (*.kv)</translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv *.kivy)</source>
         <translation>Kivy Dateien (*.kv *.kivy)</translation>
     </message>
--- a/ProjectKivy/i18n/kivy_en.ts	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/i18n/kivy_en.ts	Sun Nov 17 22:09:59 2013 +0100
@@ -3,17 +3,17 @@
 <context>
     <name>ProjectKivyPlugin</name>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv *.kivy)</source>
         <translation type="unfinished"></translation>
     </message>
--- a/ProjectKivy/i18n/kivy_es.ts	Fri Oct 25 19:42:36 2013 +0200
+++ b/ProjectKivy/i18n/kivy_es.ts	Sun Nov 17 22:09:59 2013 +0100
@@ -3,17 +3,17 @@
 <context>
     <name>ProjectKivyPlugin</name>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy</source>
         <translation>Kivy</translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv)</source>
         <translation>Archivos Kivy (*.kv)</translation>
     </message>
     <message>
-        <location filename="../../PluginProjectKivy.py" line="131"/>
+        <location filename="../../PluginProjectKivy.py" line="136"/>
         <source>Kivy Files (*.kv *.kivy)</source>
         <translation>Archivos Kivy (*.kv *.kivy)</translation>
     </message>

eric ide

mercurial