Hello community,

here is the log from the commit of package kjumpingcube for openSUSE:Factory 
checked in at 2013-06-11 06:10:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kjumpingcube (Old)
 and      /work/SRC/openSUSE:Factory/.kjumpingcube.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kjumpingcube"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kjumpingcube/kjumpingcube.changes        
2013-05-16 16:53:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kjumpingcube.new/kjumpingcube.changes   
2013-06-11 09:32:18.000000000 +0200
@@ -1,0 +2,8 @@
+Sat Jun  1 10:29:36 UTC 2013 - [email protected]
+
+- Update to 4.10.4
+   * Bugfix release
+   * See http://www.kde.org/announcements/announce-4.10.4.php
+   * resolves bnc#8122760
+
+-------------------------------------------------------------------

Old:
----
  kjumpingcube-4.10.3.tar.xz

New:
----
  kjumpingcube-4.10.4.tar.xz

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

Other differences:
------------------
++++++ kjumpingcube.spec ++++++
--- /var/tmp/diff_new_pack.CGDzwb/_old  2013-06-11 09:32:18.000000000 +0200
+++ /var/tmp/diff_new_pack.CGDzwb/_new  2013-06-11 09:32:18.000000000 +0200
@@ -23,7 +23,7 @@
 License:        GPL-2.0+
 Group:          Amusements/Games/Board/Puzzle
 Url:            http://www.kde.org
-Version:        4.10.3
+Version:        4.10.4
 Release:        0
 Source0:        kjumpingcube-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ kjumpingcube-4.10.3.tar.xz -> kjumpingcube-4.10.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjumpingcube-4.10.3/ai_main.cpp 
new/kjumpingcube-4.10.4/ai_main.cpp
--- old/kjumpingcube-4.10.3/ai_main.cpp 2013-05-03 06:39:21.000000000 +0200
+++ new/kjumpingcube-4.10.4/ai_main.cpp 2013-05-28 21:37:20.000000000 +0200
@@ -154,7 +154,7 @@
 */
    delete [] m_owners;
    delete [] m_values;
-   // delete [] m_maxValues;   // IDW test. Needed in dumpStats().
+   delete [] m_maxValues;
 
    saveStats (move);           // IDW test. Statistics collection.
 
@@ -620,14 +620,6 @@
 void AI_Main::dumpStats()
 {
    // IDW test. For debugging.
-   m_owners    = new int [m_nCubes];
-   m_values    = new int [m_nCubes];
-
-   for (int index = 0; index < m_nCubes; index++) {
-      m_owners[index] = Cube::Nobody;
-      m_values[index] = 1;
-   }
-   // boxPrint (m_side, m_owners, m_values);
    foreach (MoveStats * m, m_moveStats) {
       QList<int> l;
       int nMax = m->searchStats->count();
@@ -636,17 +628,10 @@
       }
       // qDebug() << m->player << m->moveNo << "X" << m->x << "Y" << m->y
                // << "value" << m->value << m->n_simulate << m->n_assess << l;
-      bool won = simulateMove ((CubeBox::Player) m->player, m->x, m->y,
-                               m_side, m_owners, m_values, m_maxValues);
-      // boxPrint (m_side, m_owners, m_values);
       qDeleteAll (*(m->searchStats));
       delete m;
    }
    m_moveStats.clear();
-
-   delete [] m_owners;
-   delete [] m_values;
-   delete [] m_maxValues;      // Delete in getMove(), if dumpStats() not used.
 }
 
 void AI_Main::copyCubeBox (CubeBox & box)
Files old/kjumpingcube-4.10.3/doc/index.cache.bz2 and 
new/kjumpingcube-4.10.4/doc/index.cache.bz2 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjumpingcube-4.10.3/kcubeboxwidget.cpp 
new/kjumpingcube-4.10.4/kcubeboxwidget.cpp
--- old/kjumpingcube-4.10.3/kcubeboxwidget.cpp  2013-05-03 06:39:21.000000000 
+0200
+++ new/kjumpingcube-4.10.4/kcubeboxwidget.cpp  2013-05-28 21:37:20.000000000 
+0200
@@ -179,9 +179,12 @@
    return *this;
 }
 
-void KCubeBoxWidget::reset()
+void KCubeBoxWidget::reset()   // Called if a player wins or requests New game.
 {
-   stopActivities();
+   // stopActivities();
+   shutdown();                 // Terminate activity immediately, but do not
+   delayedShutdown = false;    // signal shutdownNow() and quit KJumpingCube.
+   emit stoppedMoving();       // Reset Stop button, Hint button and cursor.
 
    int i,j;
    for(i=0;i<dim();i++)
@@ -1089,7 +1092,7 @@
 
    bool stillMoving = (! saturated.isEmpty());
 
-   if (stillMoving) {
+   if (stillMoving && (! fullSpeed)) {
       index = saturated.last();        // Show next cube to fire.
       startAnimation (index/d, index%d);
    }

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

Reply via email to