Hello community,

here is the log from the commit of package kig for openSUSE:Factory
checked in at Fri Sep 9 12:06:29 CEST 2011.



--------
--- kig/kig.changes     2011-07-22 20:24:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/kig/kig.changes        2011-09-07 
14:47:45.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Sep  1 23:22:00 CEST 2011 - [email protected]
+
+- update to 4.7.1
+  * Bugfixes over KDE 4.7.0
+  *  see http://kde.org/announcements/changelogs/changelog4_7_0to4_7_1.php for 
details
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  kig-4.7.0.tar.bz2

New:
----
  kig-4.7.1.tar.bz2

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

Other differences:
------------------
++++++ kig.spec ++++++
--- /var/tmp/diff_new_pack.8RqSxX/_old  2011-09-09 12:06:24.000000000 +0200
+++ /var/tmp/diff_new_pack.8RqSxX/_new  2011-09-09 12:06:24.000000000 +0200
@@ -47,7 +47,7 @@
 BuildRequires:  ocaml
 BuildRequires:  ocaml-facile
 %endif
-Version:        4.7.0
+Version:        4.7.1
 Release:        1
 License:        GPLv2+
 Summary:        Interactive Geometry

++++++ kig-4.7.0.tar.bz2 -> kig-4.7.1.tar.bz2 ++++++
Files old/kig-4.7.0/doc/index.cache.bz2 and new/kig-4.7.1/doc/index.cache.bz2 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.7.0/kig/kig.desktop 
new/kig-4.7.1/kig/kig.desktop
--- old/kig-4.7.0/kig/kig.desktop       2011-05-20 22:34:00.000000000 +0200
+++ new/kig-4.7.1/kig/kig.desktop       2011-08-22 15:24:26.000000000 +0200
@@ -57,6 +57,7 @@
 Name[ta]=கிக்
 Name[tg]=Kig
 Name[tr]=Kig
+Name[ug]=Kig
 Name[uk]=Kig
 Name[vi]=Kig
 Name[xh]=Kig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.7.0/kig/kig_part.desktop 
new/kig-4.7.1/kig/kig_part.desktop
--- old/kig-4.7.0/kig/kig_part.desktop  2011-05-20 22:34:00.000000000 +0200
+++ new/kig-4.7.1/kig/kig_part.desktop  2011-08-22 15:24:26.000000000 +0200
@@ -48,7 +48,7 @@
 Name[nn]=KigPart
 Name[pl]=KigPart
 Name[pt]=KigPart
-Name[pt_BR]=KigPart
+Name[pt_BR]=Componente do Kig
 Name[ro]=KigPart
 Name[ru]=Компонент Kig
 Name[sk]=KigPart
@@ -57,6 +57,7 @@
 Name[ta]=கிக்பகுதி
 Name[tg]=KigPart
 Name[tr]=KigPart
+Name[ug]=KigPart
 Name[uk]=KigPart
 Name[vi]=KigPart
 Name[xh]=KigPart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.7.0/misc/common.cpp 
new/kig-4.7.1/misc/common.cpp
--- old/kig-4.7.0/misc/common.cpp       2011-05-20 22:34:00.000000000 +0200
+++ new/kig-4.7.1/misc/common.cpp       2011-09-01 22:47:23.000000000 +0200
@@ -26,6 +26,7 @@
 #include "../objects/object_imp.h"
 
 #include <cmath>
+#include <limits>
 
 #include <kdebug.h>
 #include <knumvalidator.h>
@@ -93,10 +94,10 @@
 void calcBorderPoints( double& xa, double& ya, double& xb, double& yb, const 
Rect& r )
 {
   // we calc where the line through a(xa,ya) and b(xb,yb) intersects with r:
-  double left = (r.left()-xa)*(yb-ya)/(xb-xa)+ya;
-  double right = (r.right()-xa)*(yb-ya)/(xb-xa)+ya;
-  double top = (r.top()-ya)*(xb-xa)/(yb-ya)+xa;
-  double bottom = (r.bottom()-ya)*(xb-xa)/(yb-ya)+xa;
+  double left = (xa == xb) ? -std::numeric_limits<double>::infinity() 
:(r.left()-xa)*(yb-ya)/(xb-xa)+ya;
+  double right = (xa == xb) ? std::numeric_limits<double>::infinity() 
:(r.right()-xa)*(yb-ya)/(xb-xa)+ya;
+  double top = (ya == yb) ? std::numeric_limits<double>::infinity() : 
(r.top()-ya)*(xb-xa)/(yb-ya)+xa;
+  double bottom = (ya == yb) ? -std::numeric_limits<double>::infinity() : 
(r.bottom()-ya)*(xb-xa)/(yb-ya)+xa;
 
   // now we go looking for valid points
   int novp = 0; // number of valid points we have already found
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.7.0/objects/conic_types.cc 
new/kig-4.7.1/objects/conic_types.cc
--- old/kig-4.7.0/objects/conic_types.cc        2011-05-20 22:34:00.000000000 
+0200
+++ new/kig-4.7.1/objects/conic_types.cc        2011-09-01 22:47:23.000000000 
+0200
@@ -682,7 +682,7 @@
   int oldzeroindex = static_cast<const IntImp*>( zeroindexo->imp() )->data();
   int newzeroindex = oldzeroindex % 3 + 1;
   zeroindexo->setImp( new IntImp( newzeroindex ) );
-  KigCommand* kc = new KigCommand( d, "Switch Conic Radical Lines" );
+  KigCommand* kc = new KigCommand( d, i18n( "Switch Conic Radical Lines" ) );
   mon.finish( kc );
   d.history()->push( kc );
 }


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



Remember to have fun...

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

Reply via email to