diff --git a/build-with-py36.diff b/build-with-py36.diff index 02c6a77..24c71fe 100644 --- a/build-with-py36.diff +++ b/build-with-py36.diff @@ -16,71 +16,6 @@ index b06a6658..ec8dc3e3 100644 endif() find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Widgets Test) -diff --git a/app_templates/django_project/django_project.kdevtemplate b/app_templates/django_project/django_project.kdevtemplate -index 4b2e1ed3..0a517c5c 100644 ---- a/app_templates/django_project/django_project.kdevtemplate -+++ b/app_templates/django_project/django_project.kdevtemplate -@@ -6,6 +6,7 @@ Name[ca@valencia]=Projecte nou del Django - Name[cs]=Nový projekt Django - Name[en_GB]=New Django project - Name[es]=Nuevo proyecto de Django -+Name[et]=Uus Django projekt - Name[it]=Nuovo progetto Django - Name[nl]=Nieuw Django-project - Name[pl]=Nowy projekt Django -@@ -21,6 +22,7 @@ Comment[ca@valencia]=Genera l'estructura de fitxers per a iniciar un projecte Dj - Comment[cs]=Vygenerovat strukturu souborů pro započetí projektu Django - Comment[en_GB]=Generate filestructure to start a Django project - Comment[es]=Generar la estructura de archivos para empezar un proyecto de Django -+Comment[et]=Failistruktuuri genereerimine Django projekti tarbeks - Comment[it]=Genera una struttura di file per inizializzare un progetto Django - Comment[nl]=Genereer een bestandsstructuur om een Django-project te starten - Comment[pl]=Tworzy strukturę plików do rozpoczęcia projektu Django -diff --git a/app_templates/qtdesigner_app/qtdesigner_app.kdevtemplate b/app_templates/qtdesigner_app/qtdesigner_app.kdevtemplate -index 65367cd1..5befb368 100644 ---- a/app_templates/qtdesigner_app/qtdesigner_app.kdevtemplate -+++ b/app_templates/qtdesigner_app/qtdesigner_app.kdevtemplate -@@ -6,6 +6,7 @@ Name[ca@valencia]=Aplicació senzilla amb IGU Qt que usa el Designer - Name[cs]=Jednoduchá aplikace Qt GUI pomocí Designeru - Name[en_GB]=Simple Qt GUI application using Designer - Name[es]=Sencilla aplicación con interfaz gráfica de usuario que usa Designer -+Name[et]=Lihtne Qt GUI rakendus Designeri abil - Name[it]=Semplice applicazione grafica Qt che usa Designer - Name[nl]=Eenvoudige Qt-GUI-toepassing met gebruik van Designer - Name[pl]=Prosta aplikacja z interfejsem Qt przy użyciu Designera -@@ -20,6 +21,7 @@ Comment[ca]=Un exemple d'aplicació que usa el Designer de Qt. Si editeu el «ma - Comment[ca@valencia]=Un exemple d'aplicació que usa el Designer de Qt. Si editeu el «mainwindow.ui», regenereu el «mainwindow.py» invocant el «pyuic5». - Comment[en_GB]=An example application using Qt Designer. If you edit mainwindow.ui, regenerate mainwindow.py by calling pyuic5. - Comment[es]=Un ejemplo de aplicación que usa Qt Designer. Si edita mainwindow.ui, vuelva a generar mainwindow.py llamando a pyuic5. -+Comment[et]=Näidisrakendus Qt Designeri abil. Kui redigeerid faili mainwindow.ui, regenereeri mainwindow.py, kutsudes välja pyuic5. - Comment[it]=Un'applicazione di esempio che usa Qt Designer. Se modifichi mainwindow.ui, rigenera mainwindow.py eseguendo pyuic5. - Comment[nl]=Een voorbeeld toepassing met gebruik van Qt Designer. Als u mainwindow.ui bewerkt, genereer dan opnieuw mainwindow.py door pyuic5 aan te roepen. - Comment[pl]=Przykładowa aplikacja wykorzystująca Qt Designera. Po zmianie mainwindow.ui, odśwież mainwindow.py ponownie wywołując pyuic5. -diff --git a/app_templates/simple_pythonapp/simple_pythonapp.kdevtemplate b/app_templates/simple_pythonapp/simple_pythonapp.kdevtemplate -index c0a01793..26e0c3b6 100644 ---- a/app_templates/simple_pythonapp/simple_pythonapp.kdevtemplate -+++ b/app_templates/simple_pythonapp/simple_pythonapp.kdevtemplate -@@ -6,10 +6,12 @@ Name[ca@valencia]=Una aplicació Python senzilla - Name[cs]=Jednoduchá aplikace v Pythonu - Name[en_GB]=Simple Python Application - Name[es]=Aplicación sencilla en Python -+Name[et]=Lihtne Pythoni rakendus - Name[it]=Semplice applicazione Python - Name[nl]=Eenvoudige Python-toepassing - Name[pl]=Prosta aplikacja Pythona - Name[pt]=Aplicação Simples de Python -+Name[pt_BR]=Aplicativo Python simples - Name[sk]=Jednoduchá Python aplikácia - Name[sv]=Enkelt Python-program - Name[uk]=Проста програма мовою Python -@@ -21,6 +23,7 @@ Comment[ca@valencia]=Genera l'estructura de fitxers per a iniciar una aplicació - Comment[cs]=Vygenerovat strukturu souborů pro započetí aplikace v Pythonu - Comment[en_GB]=Generate filestructure to start a Python application - Comment[es]=Generar la estructura de archivos para empezar una aplicación en Python -+Comment[et]=Failistruktuuri genereerimine Pythoni rakenduse tarbeks - Comment[it]=Genera una struttura file per avviare un'applicazione in Python - Comment[nl]=Genereer een bestandsstructuur om een Python-toepassing te starten - Comment[pl]=Tworzy strukturę plików do rozpoczęcia projektu Pythona diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake index 37eca7e4..15bfd45e 100644 --- a/cmake/modules/FindPython.cmake @@ -94,31 +29,6 @@ index 37eca7e4..15bfd45e 100644 # allow specifying which Python installation to use if (NOT PYTHON_EXEC) -diff --git a/codecompletion/context.cpp b/codecompletion/context.cpp -index 39db76d6..b5f95d33 100644 ---- a/codecompletion/context.cpp -+++ b/codecompletion/context.cpp -@@ -253,6 +253,9 @@ PythonCodeCompletionContext::ItemList PythonCodeCompletionContext::raiseItems() - DUChainReadLocker lock; - ItemList resultingItems; - ReferencedTopDUContext ctx = Helper::getDocumentationFileContext(); -+ if ( !ctx ) { -+ return {}; -+ } - QList< Declaration* > declarations = ctx->findDeclarations(QualifiedIdentifier("BaseException")); - if ( declarations.isEmpty() || ! declarations.first()->abstractType() ) { - qCDebug(KDEV_PYTHON_CODECOMPLETION) << "No valid exception classes found, aborting"; -diff --git a/debugger/kdevpdb.json b/debugger/kdevpdb.json -index 0fea5579..90e51917 100644 ---- a/debugger/kdevpdb.json -+++ b/debugger/kdevpdb.json -@@ -43,4 +43,4 @@ - "org.kdevelop.IExecuteScriptPlugin" - ], - "X-KDevelop-Mode": "GUI" --} -\ No newline at end of file -+} diff --git a/duchain/declarationbuilder.cpp b/duchain/declarationbuilder.cpp index 43c61cf0..b08f91dc 100644 --- a/duchain/declarationbuilder.cpp @@ -186,54 +96,6 @@ index 12ed85fe..903dc6ed 100644 QTest::newRow("listtype") << "checkme = []" << "list"; QTest::newRow("listtype_func") << "checkme = list()" << "list"; QTest::newRow("listtype_with_contents") << "checkme = [1, 2, 3, 4, 5]" << "list of int"; -diff --git a/kdevpythonsupport.json b/kdevpythonsupport.json -index 935fc65b..5501f4da 100644 ---- a/kdevpythonsupport.json -+++ b/kdevpythonsupport.json -@@ -67,4 +67,4 @@ - "X-KDevelop-SupportedMimeTypes": [ - "text/x-python" - ] --} -\ No newline at end of file -+} -diff --git a/org.kde.kdev-python.appdata.xml b/org.kde.kdev-python.appdata.xml -index 92c99653..c03a3de8 100644 ---- a/org.kde.kdev-python.appdata.xml -+++ b/org.kde.kdev-python.appdata.xml -@@ -5,8 +5,11 @@ - kdev-python - kdev-python - kdev-python -+ kdev-python - kdev-python - kdev-python -+ kdev-python -+ kdev-python - kdev-python - kdev-python - kdev-python -@@ -19,6 +22,8 @@ - Implementació del llenguatge Python al KDevelop - Python language support for KDevelop - Implementación del lenguaje Python para KDevelop -+ KDevelopi Pythoni keele toetus -+ Supporto per il linguaggio Python in KDevelop - Ondersteuning voor de taal Python voor KDevelop - Obsługa języka Python dla KDevelop - Suporte para a linguagem Python no KDevelop -@@ -30,8 +35,11 @@ - Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> -+ Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> -+ Sven Brauch <mail@svenbrauch.de> -+ Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> - Sven Brauch <mail@svenbrauch.de> diff --git a/parser/ast.cpp b/parser/ast.cpp index 4a011df5..41fe56ba 100644 --- a/parser/ast.cpp diff --git a/kdev-python-5.0.3.tar.xz b/kdev-python-5.0.3.tar.xz deleted file mode 100644 index 1413ebb..0000000 --- a/kdev-python-5.0.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f140709928ec65c6ab9f87b67249f80ba162619c0dd3bf434aaea044e39805ea -size 1063448 diff --git a/kdev-python-5.0.4.tar.xz b/kdev-python-5.0.4.tar.xz new file mode 100644 index 0000000..dbbbbaa --- /dev/null +++ b/kdev-python-5.0.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdcb340f40f0e1d203ed79385d10d90d634389e641d8990fcf173b3efc8c01c9 +size 1062948 diff --git a/kdevelop5-plugin-python3.changes b/kdevelop5-plugin-python3.changes index a5ecc08..12a9287 100644 --- a/kdevelop5-plugin-python3.changes +++ b/kdevelop5-plugin-python3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Mar 5 13:49:52 UTC 2017 - wbauer@tmo.at + +- New upstream release 5.0.4 + * Update version number to 5.0.4 + * Fix crash when requesting raise items without the docfile being + parsed (kde#373349) +- Rebase build-with-py36.diff + ------------------------------------------------------------------- Wed Feb 22 15:13:52 UTC 2017 - lbeltrame@kde.org diff --git a/kdevelop5-plugin-python3.spec b/kdevelop5-plugin-python3.spec index a36941b..b3a76a4 100644 --- a/kdevelop5-plugin-python3.spec +++ b/kdevelop5-plugin-python3.spec @@ -19,7 +19,7 @@ %define rname kdev-python %define rversion 5.0 Name: kdevelop5-plugin-python3 -Version: 5.0.3 +Version: 5.0.4 Release: 0 Summary: Python support for KDevelop License: GPL-2.0+