Hello community,

here is the log from the commit of package kalgebra for openSUSE:Factory 
checked in at 2016-08-31 00:06:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kalgebra (Old)
 and      /work/SRC/openSUSE:Factory/.kalgebra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kalgebra"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kalgebra/kalgebra.changes        2016-07-24 
19:44:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kalgebra.new/kalgebra.changes   2016-08-31 
00:06:39.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Aug 12 10:08:20 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.08.0
+   * KDE Applications 16.08.0
+   * https://www.kde.org/announcements/announce-applications-16.08.0.php
+
+
+-------------------------------------------------------------------
+Mon Aug  8 14:45:10 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.07.90
+   * KDE Applications 16.07.90 (16.08-RC)
+   * https://www.kde.org/announcements/announce-applications-16.07.90.php
+
+
+-------------------------------------------------------------------

Old:
----
  kalgebra-16.04.3.tar.xz

New:
----
  kalgebra-16.08.0.tar.xz

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

Other differences:
------------------
++++++ kalgebra.spec ++++++
--- /var/tmp/diff_new_pack.hTj3fG/_old  2016-08-31 00:06:40.000000000 +0200
+++ /var/tmp/diff_new_pack.hTj3fG/_new  2016-08-31 00:06:40.000000000 +0200
@@ -21,7 +21,7 @@
 License:        GPL-2.0+
 Group:          Productivity/Scientific/Math
 Url:            http://edu.kde.org
-Version:        16.04.3
+Version:        16.08.0
 Release:        0
 Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  analitza-devel

++++++ kalgebra-16.04.3.tar.xz -> kalgebra-16.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalgebra-16.04.3/CMakeLists.txt 
new/kalgebra-16.08.0/CMakeLists.txt
--- old/kalgebra-16.04.3/CMakeLists.txt 2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/CMakeLists.txt 2016-06-25 17:17:42.000000000 +0200
@@ -37,6 +37,7 @@
 
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-kalgebra.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/config-kalgebra.h)
 add_definitions (-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
+add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
 
 if(${MOBILE_BACKEND} STREQUAL "kde")
     find_package(KF5I18n ${KF5_VERSION} REQUIRED)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalgebra-16.04.3/doc/commands.docbook 
new/kalgebra-16.08.0/doc/commands.docbook
--- old/kalgebra-16.04.3/doc/commands.docbook   2016-04-06 19:57:19.000000000 
+0200
+++ new/kalgebra-16.08.0/doc/commands.docbook   2016-06-25 17:17:42.000000000 
+0200
@@ -330,6 +330,30 @@
                <listitem><para>Parameters: log(par1)</para></listitem>
                <listitem><para>Example: x-&gt;log(x)</para></listitem>
        </itemizedlist></sect1>
+       <sect1 id='conjugate'><title>conjugate</title><itemizedlist>
+               <listitem><para>Name: conjugate</para></listitem>
+               <listitem><para>Description: Conjugate</para></listitem>
+               <listitem><para>Parameters: conjugate(par1)</para></listitem>
+               <listitem><para>Example: x-&gt;conjugate(x*i)</para></listitem>
+       </itemizedlist></sect1>
+       <sect1 id='arg'><title>arg</title><itemizedlist>
+               <listitem><para>Name: arg</para></listitem>
+               <listitem><para>Description: Arg</para></listitem>
+               <listitem><para>Parameters: arg(par1)</para></listitem>
+               <listitem><para>Example: x-&gt;arg(x*i)</para></listitem>
+       </itemizedlist></sect1>
+       <sect1 id='real'><title>real</title><itemizedlist>
+               <listitem><para>Name: real</para></listitem>
+               <listitem><para>Description: Real</para></listitem>
+               <listitem><para>Parameters: real(par1)</para></listitem>
+               <listitem><para>Example: x-&gt;real(x*i)</para></listitem>
+       </itemizedlist></sect1>
+       <sect1 id='imaginary'><title>imaginary</title><itemizedlist>
+               <listitem><para>Name: imaginary</para></listitem>
+               <listitem><para>Description: Imaginary</para></listitem>
+               <listitem><para>Parameters: imaginary(par1)</para></listitem>
+               <listitem><para>Example: x-&gt;imaginary(x*i)</para></listitem>
+       </itemizedlist></sect1>
        <sect1 id='sum'><title>sum</title><itemizedlist>
                <listitem><para>Name: sum</para></listitem>
                <listitem><para>Description: Summatory</para></listitem>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalgebra-16.04.3/doc/index.docbook 
new/kalgebra-16.08.0/doc/index.docbook
--- old/kalgebra-16.04.3/doc/index.docbook      2016-04-06 19:57:19.000000000 
+0200
+++ new/kalgebra-16.08.0/doc/index.docbook      2016-06-25 17:17:42.000000000 
+0200
@@ -1,8 +1,6 @@
 <?xml version="1.0" ?>
 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" 
"dtd/kdedbx45.dtd" [
   <!ENTITY kappname "&kalgebra;">
-  <!ENTITY package "kdeedu">
-
   <!ENTITY commands SYSTEM "commands.docbook">
 
   <!ENTITY % addindex "IGNORE">
@@ -33,8 +31,8 @@
 <legalnotice>&FDLNotice;</legalnotice>
 
 
-<date>2013-06-27</date>
-<releaseinfo>0.11 (&kde; 4.11)</releaseinfo>
+<date>2016-04-19</date>
+<releaseinfo>0.10 (Applications 16.04)</releaseinfo>
 
 <abstract>
 <para>
@@ -496,25 +494,6 @@
 
 </chapter>
 
-
-<appendix id="installation">
-<title>Installation</title>
-
-<sect1 id="getting-kapptemplate">
-<title>How to obtain &kalgebra;</title>
-
-&install.intro.documentation;
-
-</sect1>
-
-<sect1 id="compilation">
-<title>Compilation and installation</title>
-
-&install.compile.documentation;
-
-</sect1>
-
-</appendix>
 &documentation.index;
 </book>
 
Files old/kalgebra-16.04.3/doc/kalgebra-2dgraph-window.png and 
new/kalgebra-16.08.0/doc/kalgebra-2dgraph-window.png differ
Files old/kalgebra-16.04.3/doc/kalgebra-3dgraph-window.png and 
new/kalgebra-16.08.0/doc/kalgebra-3dgraph-window.png differ
Files old/kalgebra-16.04.3/doc/kalgebra-console-window.png and 
new/kalgebra-16.08.0/doc/kalgebra-console-window.png differ
Files old/kalgebra-16.04.3/doc/kalgebra-dictionary-window.png and 
new/kalgebra-16.08.0/doc/kalgebra-dictionary-window.png differ
Files old/kalgebra-16.04.3/doc/kalgebra-main-window.png and 
new/kalgebra-16.08.0/doc/kalgebra-main-window.png differ
Files old/kalgebra-16.04.3/doc/view-fullscreen.png and 
new/kalgebra-16.08.0/doc/view-fullscreen.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalgebra-16.04.3/mobile/plugins/Tables.qml 
new/kalgebra-16.08.0/mobile/plugins/Tables.qml
--- old/kalgebra-16.04.3/mobile/plugins/Tables.qml      2016-04-06 
19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/Tables.qml      2016-06-25 
17:17:42.000000000 +0200
@@ -5,7 +5,6 @@
 
 KAlgebraPage
 {
-    ListModel { id: resultsModel }
     Analitza {
         id: a
         variables: app.variables
@@ -86,7 +85,7 @@
         currentIndex: -1
         clip: true
         
-        model: resultsModel
+        model: ListModel { id: resultsModel }
         role: "element"
         title: "Results:"
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/Button.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/Button.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/Button.qml  2016-04-06 
19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/Button.qml  1970-01-01 
01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-import org.kde.plasma.components 2.0
-
-Button {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/CMakeLists.txt 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/CMakeLists.txt
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/CMakeLists.txt      
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/CMakeLists.txt      
2016-06-25 17:17:42.000000000 +0200
@@ -1,7 +1,13 @@
 install( FILES
-    Label.qml Button.qml CalcButton.qml ExpressionInput.qml
-    Keyboard.qml RealInput.qml SimpleListView.qml
+    Keyboard.qml SimpleListView.qml
     
-    KAlgebraPage.qml  KAlgebraMobile.qml
+    KAlgebraPage.qml KAlgebraMobile.qml
+    DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/widgets/
+)
+
+install(FILES
+    ../qtcontrols/AddButton.qml ../qtcontrols/ComboBox.qml 
../qtcontrols/Dialog.qml ../qtcontrols/Label.qml
+    ../qtcontrols/Button.qml ../qtcontrols/CalcButton.qml 
../qtcontrols/RealInput.qml ../qtcontrols/ExpressionInput.qml
+
     DESTINATION ${KDE_INSTALL_DATADIR}/kalgebramobile/plugins/widgets/
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/CalcButton.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/CalcButton.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/CalcButton.qml      
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/CalcButton.qml      
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-import QtQuick 2.0
-
-Button
-{
-    onClicked: doOp(text)
-}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/ExpressionInput.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/ExpressionInput.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/ExpressionInput.qml 
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/ExpressionInput.qml 
1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-import org.kde.plasma.components 2.0
-
-TextField
-{
-    id: input
-    
-    placeholderText: "Enter the expression to calculate..."
-    
-//     Keys.onPressed: {
-//         console.log("bum :: "+text);
-//         hints.text=text;
-//     }
-//     
-//     ToolTip {
-//         id: hints
-//     }
-//     height: input.font.pixelSize+5
-}
-
-// Rectangle
-// {
-//     color: "green"
-// }
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/KAlgebraMobile.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/KAlgebraMobile.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/KAlgebraMobile.qml  
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/KAlgebraMobile.qml  
2016-06-25 17:17:42.000000000 +0200
@@ -1,122 +1,65 @@
-import QtQuick 2.0
-import QtQuick.Window 2.1
-import org.kde.plasma.components 2.0
-import org.kde.kquickcontrolsaddons 2.0
+import QtQuick 2.2
+import QtQuick.Layouts 1.2
+import org.kde.kirigami 1.0
 import org.kde.analitza 1.0
 import org.kde.kalgebra.mobile 1.0
-import org.kde.plasma.core 2.0
 
-Window {
-    height: 400
-    width: 300
+ApplicationWindow
+{
+    id: rootItem
+    height: 600
+    width: 600
     visible: true
-    
-    Rectangle {
-        anchors.fill: parent
-        color: "black"
-        opacity: .2
-    }
-    
-    function goToPage(path, deco) {
-//         var toOpen = plugins.pluginPath(idx)
-        
-        try {
-            var component = Qt.createComponent(path)
-            if (component.status == Component.Ready)
-                pageStack.push(component);
-            else
-                console.log("Error loading component:", 
component.errorString());
-        } catch (e) {
-            console.log("error: "+e)
-        }
-    }
-    
-    Page {
-        id: init
-        anchors.margins: 10
-        
-        ListView {
-            anchors.fill: parent
-            spacing: 5
-            
-            move: Transition {
-                NumberAnimation {
-                    properties: "x,y"
-                    easing.type: Easing.InOutQuad
-                }
-            }
-            
-            delegate: ListItem {
-                    height: 100
-                    enabled: true
-                    Column {
-                        anchors.fill: parent
-                        spacing: 10
-
-                        QIconItem {
-                            id: icon
-                            width: 50
-                            height: 50
-                            anchors.horizontalCenter: parent.horizontalCenter
-                            icon: decoration
-                        }
-
-                        Text {
-                            id: description
-                            anchors.left: parent.left
-                            anchors.right: parent.right
-                            horizontalAlignment: Text.AlignHCenter
-                            text: i18n("%1<br/>\n<em>%2</em>", title, subtitle)
-                        }
+
+    globalDrawer: GlobalDrawer {
+        id: drawer
+
+        title: "KAlgebra"
+        titleIcon: "kalgebra"
+
+        Instantiator {
+            delegate: Action {
+                text: title
+                iconName: decoration
+                onTriggered: {
+                    var component = Qt.createComponent(model.path);
+                    if (component.status == Component.Error) {
+                        console.log("error", component.errorString());
+                        return;
                     }
 
-                    onClicked: goToPage(model.path, decoration)
+                    try {
+                        rootItem.pageStack.clear();
+                        var obj = component.createObject(component);
+                        rootItem.pageStack.push(obj)
+                    } catch(e) {
+                        console.log("error", e)
+                    }
                 }
-
-            model: PluginsModel { id: plugins }
-        }
-        
-        tools: ToolBarLayout {}
-    }
-    
-    ToolBar {
-        id: toolBar
-        z: 10
-        width: parent.width
-        height: 40
-        anchors.top: parent.top
-        
-        
-        Image {
-            anchors {
-                left: parent.left
-                verticalCenter: parent.verticalCenter
-                leftMargin: 5
             }
-            
-            source: "qrc:/kde-edu-logo.png"
-            height: parent.height
-            fillMode: Image.PreserveAspectFit
-            smooth: true
-            
-            MouseArea {
-                anchors.fill: parent
-                onClicked: Qt.openUrlExternally("http://edu.kde.org";)
+            model: PluginsModel {}
+            onObjectAdded: {
+                var acts = [];
+                for(var v in drawer.actions) {
+                    acts.push(drawer.actions[v]);
+                }
+                acts.splice(index, 0, object)
+                drawer.actions = acts;
+            }
+            onObjectRemoved: {
+                var acts = [];
+                for(var v in drawer.actions) {
+                    acts.push(drawer.actions[v]);
+                }
+                drawer.actions.splice(drawer.actions.indexOf(object), 1)
+                drawer.actions = acts;
             }
         }
+
+        actions: []
     }
-    
-    PageStack
-    {
-        id: pageStack
-        width: parent.width
-        anchors {
-            top: toolBar.bottom
-            bottom: parent.bottom
-        }
-        
-        initialPage: init
-            
-        toolBar: toolBar
+
+    Component.onCompleted: {
+        drawer.actions[0].trigger()
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/KAlgebraPage.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/KAlgebraPage.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/KAlgebraPage.qml    
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/KAlgebraPage.qml    
2016-06-25 17:17:42.000000000 +0200
@@ -1,18 +1,14 @@
-import org.kde.plasma.components 2.0
+import org.kde.kirigami 1.0
+import QtQuick 2.1
 
-Page {
-    id: page
-    height: 100
-    width: 100
-    
-    anchors.margins: 10
-    
-    tools: ToolBarLayout {
-        ToolButton {
-            iconSource: "go-previous"
-            text: i18n("Back")
-            
-            onClicked: page.pageStack.pop()
-        }
+Page
+{
+    readonly property real dp: Units.devicePixelRatio
+    title: "KAlgebra"
+    default property alias contents: item.data
+
+    Item {
+        id: item
+        anchors.fill: parent
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/Label.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/Label.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/Label.qml   2016-04-06 
19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/Label.qml   1970-01-01 
01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-import org.kde.plasma.components 2.0
-import QtQuick 2.0
-
-Label {
-    onLinkActivated: Qt.openUrlExternally(link)
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/RealInput.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/RealInput.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/RealInput.qml       
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/RealInput.qml       
1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-import QtQuick 2.0
-import org.kde.plasma.components 2.0
-
-TextField
-{
-    property double value: parseFloat(text)
-    property alias minimumValue: realvalidator.bottom
-    property alias maximumValue: realvalidator.top
-    inputMethodHints: Qt.ImhDigitsOnly | Qt.ImhNoPredictiveText
-    
-    text: value.toString()
-    
-    validator: DoubleValidator { id: realvalidator }
-    
-    onTextChanged: value=parseFloat(text)
-    
-    Component.onCompleted: text=value
-}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kalgebra-16.04.3/mobile/plugins/widgets/kde/SimpleListView.qml 
new/kalgebra-16.08.0/mobile/plugins/widgets/kde/SimpleListView.qml
--- old/kalgebra-16.04.3/mobile/plugins/widgets/kde/SimpleListView.qml  
2016-04-06 19:57:19.000000000 +0200
+++ new/kalgebra-16.08.0/mobile/plugins/widgets/kde/SimpleListView.qml  
2016-06-25 17:17:42.000000000 +0200
@@ -1,4 +1,5 @@
-import org.kde.plasma.components 2.0
+import org.kde.kirigami 1.0
+import QtQuick.Controls 1.1
 import QtQuick 2.0
 
 ListView
@@ -6,21 +7,8 @@
     id: scrollList
     property string role: ""
     property string title: ""
-    delegate: Label { text: model[role] }
+    delegate: BasicListItem { label: model[role] }
     header: Label { visible: ListView.view.title!=""; text: 
ListView.view.title }
     clip: true
-    
-    ScrollBar {
-        id: scrollBar
-        orientation: Qt.Vertical
-        flickableItem: scrollList
-        stepSize: 40
-        scrollButtonInterval: 50
-        anchors {
-            top: scrollList.top
-            right: scrollList.right
-            bottom: scrollList.bottom
-        }
-    }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalgebra-16.04.3/src/kalgebra.cpp 
new/kalgebra-16.08.0/src/kalgebra.cpp
--- old/kalgebra-16.04.3/src/kalgebra.cpp       2016-04-06 19:57:19.000000000 
+0200
+++ new/kalgebra-16.08.0/src/kalgebra.cpp       2016-06-25 17:17:42.000000000 
+0200
@@ -167,7 +167,7 @@
     connect(c_results, SIGNAL(paste(QString)), c_exp, 
SLOT(insertText(QString)));
     connect(c_variables, &QAbstractItemView::clicked, this, 
&KAlgebra::edit_var);
     ////////menu
-    c_menu = menuBar()->addMenu(i18n("C&onsole"));
+    c_menu = menuBar()->addMenu(i18n("C&alculator"));
     
     c_menu->addAction(QIcon::fromTheme(QStringLiteral("document-open")), 
i18nc("@item:inmenu", "&Load Script..."),
                         this, SLOT(loadScript()), Qt::CTRL+Qt::Key_L);


Reply via email to