Hello community, here is the log from the commit of package kturtle for openSUSE:Factory checked in at 2013-03-14 14:12:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kturtle (Old) and /work/SRC/openSUSE:Factory/.kturtle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kturtle", Maintainer is "adr...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/kturtle/kturtle.changes 2013-02-04 20:49:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kturtle.new/kturtle.changes 2013-03-14 14:12:53.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Mar 2 15:41:10 UTC 2013 - tittiatc...@gmail.com + +- Update to 4.10.1 + * Contains bug fixes. See http://www.kde.org/announcements/ + for more information + +------------------------------------------------------------------- Old: ---- kturtle-4.10.0.tar.xz New: ---- kturtle-4.10.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kturtle.spec ++++++ --- /var/tmp/diff_new_pack.6FlvCy/_old 2013-03-14 14:14:03.000000000 +0100 +++ /var/tmp/diff_new_pack.6FlvCy/_new 2013-03-14 14:14:03.000000000 +0100 @@ -21,7 +21,7 @@ License: GPL-2.0+ Group: Amusements/Teaching/Mathematics Url: http://edu.kde.org -Version: 4.10.0 +Version: 4.10.1 Release: 0 Source0: %{name}-%{version}.tar.xz BuildRequires: libkde4-devel ++++++ kturtle-4.10.0.tar.xz -> kturtle-4.10.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kturtle-4.10.0/doc/glossary.docbook new/kturtle-4.10.1/doc/glossary.docbook --- old/kturtle-4.10.0/doc/glossary.docbook 2013-01-23 22:53:48.000000000 +0100 +++ new/kturtle-4.10.1/doc/glossary.docbook 2013-03-01 07:46:32.000000000 +0100 @@ -124,7 +124,7 @@ <glossterm>pixels</glossterm> <glossdef><para>A pixel is a dot on the screen. If you look very close you will see that the screen of your monitor uses pixels. All images on the screen are built with these pixels. A pixel is the smallest thing that can be drawn on the screen.</para> <para>A lot of commands need a number of pixels as input. These commands are: <userinput>forward</userinput>, <userinput>backward</userinput>, <userinput>go</userinput>, <userinput>gox</userinput>, <userinput>goy</userinput>, <userinput>canvassize</userinput> and <userinput>penwidth</userinput>.</para> -<para>In early versions of &kturtle; the canvas was essentially a raster image, yet for recent versions the canvas is a vector drawing. This means that the canvas can be zoomed in and out, therefore a pixel does not necessarily has to translate to one dot on the screen.</para> +<para>In early versions of &kturtle; the canvas was essentially a raster image, yet for recent versions the canvas is a vector drawing. This means that the canvas can be zoomed in and out, therefore a pixel does not necessarily have to translate to one dot on the screen.</para> </glossdef> </glossentry> Files old/kturtle-4.10.0/doc/index.cache.bz2 and new/kturtle-4.10.1/doc/index.cache.bz2 differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kturtle-4.10.0/doc/index.docbook new/kturtle-4.10.1/doc/index.docbook --- old/kturtle-4.10.0/doc/index.docbook 2013-01-23 22:53:47.000000000 +0100 +++ new/kturtle-4.10.1/doc/index.docbook 2013-03-01 07:46:32.000000000 +0100 @@ -62,8 +62,8 @@ <legalnotice>&FDLNotice;</legalnotice> -<date>2011-11-15</date> -<releaseinfo>0.8.1 beta (&kde; 4.8)</releaseinfo> +<date>2013-02-08</date> +<releaseinfo>0.8.1 beta (&kde; 4.10)</releaseinfo> <abstract> <para>&kturtle; is an educational programming environment that aims to make learning how to program as easy as possible. To achieve this &kturtle; makes all programming tools available from the user interface. The programming language used is &turtlescript; which allows its commands to be translated.</para> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kturtle-4.10.0/doc/programming-reference.docbook new/kturtle-4.10.1/doc/programming-reference.docbook --- old/kturtle-4.10.0/doc/programming-reference.docbook 2013-01-23 22:53:47.000000000 +0100 +++ new/kturtle-4.10.1/doc/programming-reference.docbook 2013-03-01 07:46:32.000000000 +0100 @@ -292,17 +292,17 @@ <variablelist> <anchor id="gox" /> <varlistentry> - <term>gox<indexterm><primary>gox</primary></indexterm></term> + <term>gox<indexterm><primary>gox (gx)</primary></indexterm></term> <listitem><para><screen>gox X</screen> - <userinput>gox</userinput> using this command the turtle will move to X <glossterm linkend="pixels">pixels</glossterm> from the left of the canvas whilst staying at the same height.</para></listitem> + <userinput>gox</userinput> using this command the turtle will move to X <glossterm linkend="pixels">pixels</glossterm> from the left of the canvas whilst staying at the same height. <userinput>gox</userinput> can be abbreviated to <userinput>gx</userinput>.</para></listitem> </varlistentry> </variablelist> <variablelist> <anchor id="goy" /> <varlistentry> - <term>goy<indexterm><primary>goy</primary></indexterm></term> + <term>goy<indexterm><primary>goy (gy)</primary></indexterm></term> <listitem><para><screen>goy Y</screen> - <userinput>goy</userinput> using this command the turtle will move to Y <glossterm linkend="pixels">pixels</glossterm> from the top of the canvas whilst staying at the same distance from the left border of the canvas.</para></listitem> + <userinput>goy</userinput> using this command the turtle will move to Y <glossterm linkend="pixels">pixels</glossterm> from the top of the canvas whilst staying at the same distance from the left border of the canvas. <userinput>goy</userinput> can be abbreviated to <userinput>gy</userinput>.</para></listitem> </varlistentry> </variablelist> <note><para>Using the commands <userinput>go</userinput>, <userinput>gox</userinput>, <userinput>goy</userinput> and <userinput>center</userinput> the turtle will not draw a line, no matter if the pen is up or down.</para> @@ -560,7 +560,7 @@ </sect2> <sect2 id="dialogs"> -<title>Input and feedback though dialogs</title> +<title>Input and feedback through dialogs</title> <para>A dialog is a small pop-up window that provides some feedback or asks for some input. &kturtle; has two commands for dialogs, namely: <userinput>message</userinput> and <userinput>ask</userinput></para> <variablelist> <anchor id="message" /> @@ -784,6 +784,22 @@ </varlistentry> </variablelist> </sect2> + +<sect2 id="assert"> +<title>Checking assertions at runtime</title> + <variablelist> + <varlistentry> + <term>assert<indexterm><primary>assert</primary></indexterm></term> + <listitem><para><screen>assert <link linkend="boolean-value">boolean</link></screen> + Can be used to reason about program or input correctness. + <screen> +$in = ask "What is your year of birth?" +# the year must be positive +assert $in > 0 +</screen></para></listitem> + </varlistentry> + </variablelist> +</sect2> </sect1> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kturtle-4.10.0/src/colorpicker.cpp new/kturtle-4.10.1/src/colorpicker.cpp --- old/kturtle-4.10.0/src/colorpicker.cpp 2013-01-23 22:53:48.000000000 +0100 +++ new/kturtle-4.10.1/src/colorpicker.cpp 2013-03-01 07:46:32.000000000 +0100 @@ -29,6 +29,7 @@ #include <kapplication.h> #include <klocale.h> #include <kpushbutton.h> +#include <kstandardguiitem.h> ColorPicker::ColorPicker(QWidget* parent) @@ -38,7 +39,7 @@ setModal(false); setButtons(User1); setDefaultButton(User1); - setButtonGuiItem(User1, KGuiItem(i18n("&Quit"), "dialog-close")); + setButtonGuiItem(User1, KStandardGuiItem::close()); connect(this, SIGNAL(user1Clicked()), this, SLOT(hide())); showButtonSeparator(false); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kturtle-4.10.0/src/directiondialog.cpp new/kturtle-4.10.1/src/directiondialog.cpp --- old/kturtle-4.10.0/src/directiondialog.cpp 2013-01-23 22:53:48.000000000 +0100 +++ new/kturtle-4.10.1/src/directiondialog.cpp 2013-03-01 07:46:32.000000000 +0100 @@ -31,6 +31,7 @@ #include <kglobalsettings.h> #include <klocale.h> #include <KNumInput> +#include <kstandardguiitem.h> #include <QClipboard> #include <QHBoxLayout> @@ -213,7 +214,7 @@ setModal(false); setButtons(User1); setDefaultButton(User1); - setButtonGuiItem(User1, KGuiItem(i18n("&Quit"), "dialog-close")); + setButtonGuiItem(User1, KStandardGuiItem::close()); connect(this, SIGNAL(user1Clicked()), this, SLOT(delayedDestruct())); showButtonSeparator(false); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org