Hello community,

here is the log from the commit of package kate for openSUSE:Factory checked in 
at 2013-08-16 13:39:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kate (Old)
 and      /work/SRC/openSUSE:Factory/.kate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kate"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kate/kate.changes        2013-07-30 
15:57:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kate.new/kate.changes   2013-08-16 
13:39:05.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Aug  8 14:58:25 UTC 2013 - [email protected]
+
+- Update to 4.11.0
+   * KDE 4.11 Final release
+   * See http://www.kde.org/announcements/4.11/
+
+-------------------------------------------------------------------

Old:
----
  kate-4.10.97.tar.xz

New:
----
  kate-4.11.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kate.spec ++++++
--- /var/tmp/diff_new_pack.f4yuvu/_old  2013-08-16 13:39:06.000000000 +0200
+++ /var/tmp/diff_new_pack.f4yuvu/_new  2013-08-16 13:39:06.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           kate
-Version:        4.10.97
+Version:        4.11.0
 Release:        0
 Summary:        Advanced Text Editor
 License:        GPL-2.0+

++++++ kate-4.10.97.tar.xz -> kate-4.11.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kate-4.10.97/addons/kate/close-except-like/katecloseexceptplugin.desktop 
new/kate-4.11.0/addons/kate/close-except-like/katecloseexceptplugin.desktop
--- 
old/kate-4.10.97/addons/kate/close-except-like/katecloseexceptplugin.desktop    
    2013-07-23 10:59:01.000000000 +0200
+++ new/kate-4.11.0/addons/kate/close-except-like/katecloseexceptplugin.desktop 
2013-08-06 14:44:10.000000000 +0200
@@ -18,8 +18,9 @@
 Name[fr]=Fermer les exclusions / inclusions
 Name[gl]=Pechar agás/como
 Name[ia]=Claude Excepte/Simile
-Name[it]=Chiudi escludendo/includendo
+Name[it]=Chiudi per gruppo
 Name[kk]=Шарт бойынша жабу
+Name[ko]=다음을 제외한/다음과 같은 것 닫기
 Name[lt]=Uždaryti Išskyrus/Kaip
 Name[nb]=Lukk unntatt/lik
 Name[nl]=Behalve/Like sluiten
@@ -52,6 +53,7 @@
 Comment[ia]=Claude gruppo de documentos basate su un commun percurso o 
extension de file
 Comment[it]=Chiudi gruppo di documenti con percorso o estensione comune
 Comment[kk]=Ортақ жолы не жұрнағы негізінде құжаттар тобын жабу
+Comment[ko]=공통 경로나 확장자를 기준으로 문서 그룹 닫기
 Comment[lt]=Uždaryti dokumentų grupę remianti bendruoju keliu ar failo plėtiniu
 Comment[nb]=Lukk en gruppe dokumenter basert på en felles sti eller etternavn
 Comment[nl]=Groep documenten sluiten gebaseerd op een gemeenschappelijk pad of 
bestandsextensie
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kate-4.10.97/addons/kate/pate/src/plugins/python_console_ipython/python_console_ipython.py
 
new/kate-4.11.0/addons/kate/pate/src/plugins/python_console_ipython/python_console_ipython.py
--- 
old/kate-4.10.97/addons/kate/pate/src/plugins/python_console_ipython/python_console_ipython.py
      2013-07-10 00:49:18.000000000 +0200
+++ 
new/kate-4.11.0/addons/kate/pate/src/plugins/python_console_ipython/python_console_ipython.py
       2013-08-06 14:44:10.000000000 +0200
@@ -11,7 +11,7 @@
 
 from PyQt4.QtCore import QEvent, QObject, Qt
 from PyKDE4.kdecore import i18n as _translate
-from libkatepate.compat import PY2, text_type
+from libkatepate.compat import text_type
 from libkatepate.errors import needs_packages
 
 sys.argv = [__file__]
@@ -20,14 +20,9 @@
     'IPython': 'ipython>=0.13.1',
     'readline': '6.2.4.1',
     'pygments': 'Pygments==1.6',
+    'zmq': 'pyzmq==13.1.0'
 }
 
-
-if PY2:
-    NEED_PACKAGES['zmq'] = 'pyzmq==2.0.10.1'
-else:
-    NEED_PACKAGES['zmq'] = 'pyzmq==13.0.0'
-
 needs_packages(NEED_PACKAGES)
 
 
@@ -68,6 +63,7 @@
 
 consoleToolView = None
 
+
 def init_ipython():
     """
     Encapsulate Kernel creation logic: Only the kernel client, manager and 
shell are exposed
@@ -246,11 +242,11 @@
         self.defaults()
         if _SCROLLBACK_LINES_COUNT_CFG in kate.configuration:
             
self.scrollbackLinesCount.setValue(kate.configuration[_SCROLLBACK_LINES_COUNT_CFG])
-        key_exists = _GUI_COMPLETION_TYPE_CFG in kate.configuration
-        has_valid_type = 
isinstance(kate.configuration[_GUI_COMPLETION_TYPE_CFG], int)
-        has_valid_value = kate.configuration[_GUI_COMPLETION_TYPE_CFG] < 2
-        if key_exists and has_valid_type and has_valid_value:
-            
self.guiCompletionType.setCurrentIndex(kate.configuration[_GUI_COMPLETION_TYPE_CFG])
+        if _GUI_COMPLETION_TYPE_CFG in kate.configuration:
+            has_valid_type = 
isinstance(kate.configuration[_GUI_COMPLETION_TYPE_CFG], int)
+            has_valid_value = kate.configuration[_GUI_COMPLETION_TYPE_CFG] < 2
+            if has_valid_type and has_valid_value:
+                
self.guiCompletionType.setCurrentIndex(kate.configuration[_GUI_COMPLETION_TYPE_CFG])
 
     def defaults(self):
         self.scrollbackLinesCount.setValue(10000)
@@ -286,11 +282,11 @@
     def __init__(self, parent):
         super(ConsoleToolView, self).__init__(parent)
         self.toolView = kate.mainInterfaceWindow().createToolView(
-            'ipython_console'
-          , kate.Kate.MainWindow.Bottom
-          , kate.gui.loadIcon('text-x-python')
-          , 'IPython Console'                               # TODO 
i18nc('@title:tab', ...)
-          )
+            'ipython_console',
+            kate.Kate.MainWindow.Bottom,
+            kate.gui.loadIcon('text-x-python'),
+            'IPython Console'                               # TODO 
i18nc('@title:tab', ...)
+        )
         self.toolView.installEventFilter(self)
         self.console = make_terminal_widget(parent=self.toolView, kate=kate)
 
@@ -315,14 +311,12 @@
         if _SCROLLBACK_LINES_COUNT_CFG in kate.configuration:
             self.console.buffer_size = 
kate.configuration[_SCROLLBACK_LINES_COUNT_CFG]
 
-
     def __del__(self):
         """Plugins that use a toolview need to delete it for reloading to 
work."""
         if self.toolView:
             self.toolView.deleteLater()
             self.toolView = None
 
-
     def eventFilter(self, obj, event):
         """Hide the IPython console tool view on ESCAPE key"""
         # TODO This doesn't work if cursor (focus) inside of ipython prompt :(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kate-4.10.97/addons/kate/pate/src/plugins/python_utils/python_checkers/pyflakes_checker.py
 
new/kate-4.11.0/addons/kate/pate/src/plugins/python_utils/python_checkers/pyflakes_checker.py
--- 
old/kate-4.10.97/addons/kate/pate/src/plugins/python_utils/python_checkers/pyflakes_checker.py
      2013-07-10 00:49:18.000000000 +0200
+++ 
new/kate-4.11.0/addons/kate/pate/src/plugins/python_utils/python_checkers/pyflakes_checker.py
       2013-08-06 14:44:10.000000000 +0200
@@ -26,6 +26,7 @@
 
 from PyKDE4.kdecore import i18n
 
+from pyflakes import __version__ as pyflakesVersion
 from pyflakes.checker import Checker
 from pyflakes.messages import Message
 
@@ -38,6 +39,18 @@
 encoding_line = re.compile("#( )*-\*-( )*(encoding|coding):( 
)*(?P<encoding>[\w-]+)( )*-\*-")
 
 
+def is_old_pyflake_version():
+    version_split = pyflakesVersion.split('.')
+    if len(version_split) == 3:
+        try:
+            version_major = int(version_split[0])
+            version_minor = int(version_split[1])
+            return version_major == 0 and version_minor <= 6
+        except ValueError:
+            pass
+    return False
+
+
 def pyflakes(codeString, filename):
     """
     Check the Python source given by C{codeString} for flakes.
@@ -54,15 +67,17 @@
         tree = compile(codeString, filename, "exec", _ast.PyCF_ONLY_AST)
     except SyntaxError as value:
         msg = value.args[0]
-        lineno = value.lineno
         # If there's an encoding problem with the file, the text is None.
         if value.text is None:
             # Avoid using msg, since for the only known case, it contains a
             # bogus message that claims the encoding the file declared was
             # unknown.
             msg = i18n("Problem decoding source")
-            lineno = 1
-        error = Message(filename, lineno)
+            value.lineno = 1
+        if not is_old_pyflake_version():
+            error = Message(filename, value)
+        else:
+            error = Message(filename, value.lineno)
         error.message = msg + "%s"
         error.message_args = ""
         return [error]
@@ -96,10 +111,13 @@
 
     # Prepare errors found for painting
     for error in errors:
-        errors_to_show.append({
+        error_to_show = {
             "message": error.message % error.message_args,
             "line": error.lineno,
-        })
+        }
+        if getattr(error, 'col', None) is not None:
+            error_to_show['column'] = error.col + 1
+        errors_to_show.append(error_to_show)
 
     showErrors(i18n('Pyflakes Errors:'), errors_to_show,
                mark_key, currentDocument,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kate-4.10.97/addons/kate/pate/src/plugins/python_utils/python_utils.py 
new/kate-4.11.0/addons/kate/pate/src/plugins/python_utils/python_utils.py
--- old/kate-4.10.97/addons/kate/pate/src/plugins/python_utils/python_utils.py  
2013-07-10 00:49:18.000000000 +0200
+++ new/kate-4.11.0/addons/kate/pate/src/plugins/python_utils/python_utils.py   
2013-08-06 14:44:10.000000000 +0200
@@ -52,7 +52,7 @@
     msg_error += text_type(e) + "\n"
 finally:
     try:
-        needs_packages({"pyflakes": "0.6.1"})
+        needs_packages({"pyflakes": "0.7.3"})
         from python_checkers.pyflakes_checker import *
     except ImportError as e:
         msg_error += text_type(e)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-4.10.97/examples/syntax/highlight.tex 
new/kate-4.11.0/examples/syntax/highlight.tex
--- old/kate-4.10.97/examples/syntax/highlight.tex      2013-07-10 
00:49:18.000000000 +0200
+++ new/kate-4.11.0/examples/syntax/highlight.tex       2013-08-06 
14:44:10.000000000 +0200
@@ -70,4 +70,13 @@
 @*&^#@*(^#(*@&
 \end{Verbatim*}
 
-normal
\ No newline at end of file
+normal
+
+% https://bugs.kde.org/show_bug.cgi?id=323048
+% cases should be highlighted the same
+\begin{align}
+ U_{bg}(z) = \begin{cases}
+              U_{max} e^{-(b(z-z_0))^4} &\mbox {if } z \leq z_0,\\
+              U_{max} &\mbox {if } z > z_0,\\
+             \end{cases}
+\end{align}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-4.10.97/part/syntax/data/latex.xml 
new/kate-4.11.0/part/syntax/data/latex.xml
--- old/kate-4.10.97/part/syntax/data/latex.xml 2013-07-10 00:49:18.000000000 
+0200
+++ new/kate-4.11.0/part/syntax/data/latex.xml  2013-08-06 14:44:10.000000000 
+0200
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE language SYSTEM "language.dtd">
-<language name="LaTeX" version="1.52" section="Markup" kateversion="2.3" 
priority="10" 
extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" 
mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout 
([email protected])+Holger Danielsson 
([email protected])+Michel Ludwig 
([email protected])+Thomas Braun ([email protected])" 
license="LGPL" >
+<language name="LaTeX" version="1.53" section="Markup" kateversion="2.3" 
priority="10" 
extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" 
mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout 
([email protected])+Holger Danielsson 
([email protected])+Michel Ludwig 
([email protected])+Thomas Braun ([email protected])" 
license="LGPL" >
   <highlighting>
     <contexts>
       <!-- Normal text -->
@@ -226,7 +226,7 @@
         <RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" 
context="VerbatimEnv"/>
         <RegExpr String="comment" attribute="Environment" 
context="CommentEnv"/>
         <RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" 
context="MathEnvParam"/>
-        <RegExpr 
String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)"
 attribute="Environment" context="MathEnv"/>
+        <RegExpr 
String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix|cases)"
 attribute="Environment" context="MathEnv"/>
         <RegExpr 
String="(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)"
 attribute="Environment" context="TabEnv"/>
         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>
         <RegExpr String="[a-zA-Z]" attribute="Environment" context="LatexEnv"/>
@@ -379,7 +379,7 @@
       <!-- end of math environment -->
       <context name="MathFindEnd" attribute="Normal Text" 
lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
         <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/>
-        <RegExpr 
String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix)\*?"
 attribute="Environment" context="#stay"/>
+        <RegExpr 
String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray|IEEEeqnarraybox|smallmatrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix|cases)\*?"
 attribute="Environment" context="#stay"/>
         <DetectChar char="}" attribute="Normal Text" 
context="#pop#pop#pop#pop#pop"  endRegion="block"/>
       </context>
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to