[SCM] GeoGebra: Dynamic mathematics software for education branch, master, updated. upstream/3.2.42.0+dfsg1-60-g9169d99

Giovanni Mascellani gio at alioth.debian.org
Fri Jul 23 19:24:45 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GeoGebra: Dynamic mathematics software for education".

The branch, master has been updated
       via  9169d99e16a7e7c4fa668a795dd4ffbb2f3ab773 (commit)
       via  214a803661329265fb16509dd0e54106193c8ca7 (commit)
       via  4b6e56e070092ed0e8f0af3017454e26e9ba948b (commit)
       via  f51291ef541c45ea4b08d4cfb6d40368589fd1d9 (commit)
       via  732c25345dfc1563f4b9e125bda6c4aeb0db2d4f (commit)
       via  d4d7cd1ca3f0f6ea4c53da39594132b99fe67c95 (commit)
       via  958fa87566fe68171a98d86b7474f489352ee53a (commit)
       via  a4076637ae5e7b3055ea6a8c2806950d983d6a84 (commit)
       via  29f74628b36c8c44d9526f0dfb40e7686b833d5d (commit)
       via  6ec98f1c2bf2d7eb48950e95e2a775d154fbed30 (commit)
       via  ab89acd0e33dd2cf8c500d9195510227e4697ec3 (commit)
       via  cd5a812566bb6160d93176849f609c5e763b7fad (commit)
       via  b3a089872c0b94e35edd06bab86eae9b0195b270 (commit)
       via  fec65535eeac87083e9aa08c4b6165b5a5afa5b0 (commit)
       via  6d6be1c05f816787d4e1f3d5ffd494cd6edde0db (commit)
       via  5ba78c0a46567b13b856917d6cfa4c3b5d2c8351 (commit)
       via  5db07a5b54cc3726e0f4767d27ff1bcd8cf89dc8 (commit)
      from  6dd3466d60b66180dbb1e5586208cc242e96d333 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9169d99e16a7e7c4fa668a795dd4ffbb2f3ab773
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 19:26:39 2010 +0200

    Still other changelogs and TODOs

commit 214a803661329265fb16509dd0e54106193c8ca7
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 19:16:12 2010 +0200

    Added to TODO some problems about exporting a dynamic worksheet

commit 4b6e56e070092ed0e8f0af3017454e26e9ba948b
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 18:28:54 2010 +0200

    Added thumbnailer to TODO

commit f51291ef541c45ea4b08d4cfb6d40368589fd1d9
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 18:28:36 2010 +0200

    Other changelogs

commit 732c25345dfc1563f4b9e125bda6c4aeb0db2d4f
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 17:02:19 2010 +0200

    Relative path fixed

commit d4d7cd1ca3f0f6ea4c53da39594132b99fe67c95
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:56:44 2010 +0200

    Upstream .sharedmimeinfo used

commit 958fa87566fe68171a98d86b7474f489352ee53a
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:56:25 2010 +0200

    Minor

commit a4076637ae5e7b3055ea6a8c2806950d983d6a84
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:48:41 2010 +0200

    Removed files not used anymore

commit 29f74628b36c8c44d9526f0dfb40e7686b833d5d
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:21:10 2010 +0200

    Typo

commit 6ec98f1c2bf2d7eb48950e95e2a775d154fbed30
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:17:27 2010 +0200

    Upstream icon and .desktop used

commit ab89acd0e33dd2cf8c500d9195510227e4697ec3
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 16:11:56 2010 +0200

    Added list of manpages

commit cd5a812566bb6160d93176849f609c5e763b7fad
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 15:17:22 2010 +0200

    Changelog and TODO updated

commit b3a089872c0b94e35edd06bab86eae9b0195b270
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 14:30:36 2010 +0200

    Changelog updated

commit fec65535eeac87083e9aa08c4b6165b5a5afa5b0
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Fri Jul 23 10:03:51 2010 +0200

    New upstream release

-----------------------------------------------------------------------

Summary of changes:
 build.pro                                          |   12 ++--
 build.xml                                          |   70 ++++++++++++++++++-
 debian/TODO                                        |    7 ++
 debian/changelog                                   |   13 ++++
 debian/geogebra.desktop                            |   11 ---
 debian/geogebra.manpages                           |    1 +
 debian/geogebra.sharedmimeinfo                     |   11 ---
 debian/install                                     |    4 +-
 debian/rules                                       |    3 +
 geogebra/GeoGebra.java                             |    5 +-
 geogebra/euclidian/DrawRay.java                    |   43 ++++++++----
 geogebra/euclidian/EuclidianController.java        |    2 +
 geogebra/gui/ContextMenuGeoElement.java            |    6 +-
 geogebra/gui/PropertiesDialogGeoElement.java       |    1 +
 geogebra/gui/TextInputDialog.java                  |    4 +-
 geogebra/gui/menubar/MenubarImpl.java              |   34 +++++-----
 geogebra/kernel/AlgoAppend.java                    |    2 +-
 geogebra/kernel/AlgoBinomial.java                  |    2 +-
 geogebra/kernel/AlgoDefined.java                   |    2 +-
 geogebra/kernel/AlgoDeterminant.java               |    2 +-
 geogebra/kernel/AlgoExpand.java                    |    2 +-
 geogebra/kernel/AlgoFactor.java                    |    2 +-
 geogebra/kernel/AlgoFirst.java                     |    2 +-
 geogebra/kernel/AlgoGCD.java                       |    2 +-
 geogebra/kernel/AlgoInsert.java                    |    2 +-
 geogebra/kernel/AlgoIntersection.java              |    2 +-
 geogebra/kernel/AlgoInvert.java                    |    2 +-
 geogebra/kernel/AlgoIsInteger.java                 |    2 +-
 geogebra/kernel/AlgoJoin.java                      |    2 +-
 geogebra/kernel/AlgoKeepIf.java                    |    2 +-
 geogebra/kernel/AlgoLCM.java                       |    2 +-
 geogebra/kernel/AlgoLast.java                      |    2 +-
 geogebra/kernel/AlgoListGCD.java                   |    2 +-
 geogebra/kernel/AlgoListLCM.java                   |    2 +-
 geogebra/kernel/AlgoPolynomialFromCoordinates.java |    2 +-
 geogebra/kernel/AlgoPolynomialFromFunction.java    |    2 +-
 geogebra/kernel/AlgoRemoveUndefined.java           |    2 +-
 geogebra/kernel/AlgoReverse.java                   |    2 +-
 geogebra/kernel/AlgoSimplify.java                  |    2 +-
 geogebra/kernel/AlgoSort.java                      |    2 +-
 geogebra/kernel/AlgoTake.java                      |    2 +-
 geogebra/kernel/AlgoTranspose.java                 |    2 +-
 geogebra/kernel/AlgoUnion.java                     |    2 +-
 geogebra/kernel/GeoElement.java                    |   20 +++++-
 geogebra/kernel/GeoList.java                       |    5 +-
 geogebra/kernel/GeoPolygon.java                    |    2 +-
 geogebra/kernel/Kernel.java                        |   10 ++--
 geogebra/kernel/parser/Parser.jj                   |    2 +-
 geogebra/kernel/statistics/AlgoFitLineX.java       |    2 +-
 geogebra/kernel/statistics/AlgoFitLineY.java       |    2 +-
 geogebra/kernel/statistics/AlgoInverseNormal.java  |    2 +-
 geogebra/kernel/statistics/AlgoMedian.java         |    2 +-
 geogebra/kernel/statistics/AlgoMode.java           |    2 +-
 geogebra/kernel/statistics/AlgoNormal.java         |    2 +-
 geogebra/kernel/statistics/AlgoQ1.java             |    2 +-
 geogebra/kernel/statistics/AlgoQ3.java             |    2 +-
 geogebra/kernel/statistics/AlgoRandom.java         |    2 +-
 geogebra/kernel/statistics/AlgoRandomBinomial.java |    2 +-
 geogebra/kernel/statistics/AlgoRandomNormal.java   |    2 +-
 geogebra/kernel/statistics/AlgoRandomPoisson.java  |    2 +-
 geogebra/main/Application.java                     |   61 +++++++++++++-----
 unix/debcontrol/postinst                           |   22 ++++++
 unix/debcontrol/postrm                             |   16 +++++
 unix/debrelease/Packages                           |   21 ++++++
 unix/debrelease/Release                            |   10 +++
 unix/usr/bin/geogebra                              |    4 +
 unix/usr/bin/ggthumb                               |   13 ++++
 unix/usr/share/applications/geogebra.desktop       |   24 +++++++
 unix/usr/share/doc/geogebra/README.Debian          |    8 ++
 unix/usr/share/doc/geogebra/changelog.gz           |  Bin 0 -> 152 bytes
 unix/usr/share/doc/geogebra/copyright              |   36 ++++++++++
 unix/usr/share/gconf/defaults/10_geogebra          |    3 +
 .../share/icons/hicolor/48x48/apps/geogebra.png    |  Bin 0 -> 4489 bytes
 .../mimetypes/application-vnd.geogebra.file.png    |  Bin 0 -> 4489 bytes
 .../mimetypes/application-vnd.geogebra.tool.png    |  Bin 0 -> 4489 bytes
 unix/usr/share/man/man1/geogebra.1.gz              |  Bin 0 -> 613 bytes
 unix/usr/share/man/man1/ggthumb.1.gz               |  Bin 0 -> 435 bytes
 unix/usr/share/mime/packages/geogebra.xml          |   25 +++++++
 unix/usr/share/pixmaps/geogebra.png                |  Bin 0 -> 4489 bytes
 79 files changed, 448 insertions(+), 139 deletions(-)

diff --git a/build.pro b/build.pro
index ce90ee5..69469b4 100644
--- a/build.pro
+++ b/build.pro
@@ -3,13 +3,13 @@
 #
 # Oct 23rd 2008
 #
--injars ../build/geogebra.jar
--injars ../build/geogebra_main.jar
--injars ../build/geogebra_gui.jar
--injars ../build/geogebra_export.jar
--injars ../build/geogebra_cas.jar
+-injars ../buildggb32/geogebra.jar
+-injars ../buildggb32/geogebra_main.jar
+-injars ../buildggb32/geogebra_gui.jar
+-injars ../buildggb32/geogebra_export.jar
+-injars ../buildggb32/geogebra_cas.jar
 
--outjars ../build/temp
+-outjars ../buildggb32/temp
 
 -libraryjars ../java142-rt.jar
 -libraryjars netscape_javascript.jar
diff --git a/build.xml b/build.xml
index e67d26f..5b182b1 100644
--- a/build.xml
+++ b/build.xml
@@ -38,9 +38,9 @@ office at geogebra.org
 	
 	<property name="src.dir" location="."/>
 	<property name="propertiessrc.dir" location="./geogebra/properties"/>
-	<property name="propertiestemp.dir" location="../build/tempproperties"/>
-	<property name="build.dir" location="../build"/>
-	<property name="temp.dir" location="../build/temp"/>
+	<property name="propertiestemp.dir" location="../buildggb32/tempproperties"/>
+	<property name="build.dir" location="../buildggb32"/>
+	<property name="temp.dir" location="../buildggb32/temp"/>
 	<property name="workspace.dir" location="../"/>
     			
 	<!-- build signed and unsigned GeoGebra jar files -->
@@ -76,7 +76,7 @@ office at geogebra.org
 		<mkdir dir="${build.dir}/unsigned/unpacked"/>
 		<mkdir dir="${propertiestemp.dir}"/>
 		<delete>
-		    <fileset dir="${build.dir}" includes="**/geogebra*.jar, **/gluegen-rt.jar, **/jogl.jar, **/jlatexmath.jar ,**/*.jar.pack.gz, **/*.html"/>
+		    <fileset dir="${build.dir}" includes="**/geogebra*.jar, **/gluegen-rt.jar, **/jogl.jar, **/jlatexmath.jar, **/jlm_*.jar,**/*.jar.pack.gz, **/*.html"/>
 		</delete>		
 	</target>
 	
@@ -498,4 +498,66 @@ office at geogebra.org
 		</zip>
 		<delete dir="${build.dir}/installer/macosx" />
 	</target>
+	
+	
+	<!--builds Debian package -->
+	<target name="package" depends="readVersion">
+		<taskdef name="deb" classname="com.googlecode.ant_deb_task.Deb" 
+					classpath="ant-deb-0.0.1.jar"/>
+		
+		
+	    <property name="deb.tree" value="${build.dir}/deb"/>
+		<property name="deb.version" value="${fullversion}"/>
+		<property name="deb.packages" value="${build.dir}/packages"/>
+		<property name="deb.package" value="${deb.packages}/geogebra_${deb.version}_all.deb"/>
+		<mkdir dir="${deb.packages}"/>
+		
+	    
+		
+		<deb toDir="${deb.packages}" postinst="unix/debcontrol/postinst"
+			package="geogebra"
+			version="${deb.version}"
+			postrm="unix/debcontrol/postrm"
+			section="math"
+			priority="optional"
+			maintainer="Markus Hohenwarter &lt;markus at geogebra.org>"
+			architecture="all"
+			recommends="sun-java6-jre | sun-java5-jre, imagemagick"
+			depends="sun-java6-jre | sun-java5-jre | default-jre"
+			packageEntry="${deb.packages}/Packages"
+			repoLocation=""
+			>
+			<description synopsis="Dynamic mathematics software for all levels of education">
+ GeoGebra joins arithmetic, geometry, algebra and calculus. It offers multiple
+ representations of objects in its graphics, algebra, and spreadsheet views
+ that are all dynamically linked.
+ This package also contains a thumbnailer for .ggb files which runs only when
+ imagemagick is installed. 
+			</description>
+		 	<tarfileset dir="${src.dir}/unix/usr/share" prefix="./usr/share"/>
+			<tarfileset dir="${src.dir}/unix/usr/bin" prefix="./usr/bin" filemode="755"/>
+		 	<tarfileset dir="${build.dir}/unpacked" prefix="./usr/share/geogebra/lib"/>
+			<tarfileset dir="${build.dir}/unsigned/unpacked" prefix="./usr/share/geogebra/lib/unsigned"/>
+		</deb>
+			
+			
+		</target>
+		
+		<!-- makes necessary Release & Packages files for Debian repo-->
+		<target name="release" depends="package">
+			<gzip src="${deb.packages}/Packages" destfile="${deb.packages}/Packages.gz"/>
+			<length file="${deb.packages}/Packages" property="packplain.size"/>
+			<length file="${deb.packages}/Packages.gz" property="packgz.size"/>
+			<checksum file="${deb.packages}/Packages" algorithm="MD5" property="packplain.md5"/>
+			<checksum file="${deb.packages}/Packages.gz" algorithm="MD5" property="packgz.md5"/>
+			<copy todir="${deb.packages}">
+				<fileset file="unix/debrelease/Release"/>
+				<filterset begintoken="[[" endtoken="]]">
+					<filter token="plain.size" value="${packplain.size}"/>
+					<filter token="gz.size" value="${packgz.size}"/>
+					<filter token="plain.md5" value="${packplain.md5}"/>
+					<filter token="gz.md5" value="${packgz.md5}"/>
+				</filterset>
+			</copy>
+		</target>
 </project>
\ No newline at end of file
diff --git a/debian/TODO b/debian/TODO
index 922a5dc..e3612fa 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,2 +1,9 @@
  * verify exportable JARs
+   + signed vs. unsigned (ability to print....)
+   + if Internet connection is not available?
+   + informing the user when the process is completed
+   + document these issues in README.Debian
+   + why both signed and unsigned?
  * add a menu entry
+ * additional resources in http://groups.google.com/group/geogebra-dev/browse_thread/thread/77c6736ed48688ae
+ * add thumbnailer
diff --git a/debian/changelog b/debian/changelog
index 8e8bd71..e5adcb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+geogebra (3.2.43.0+dfsg1-1) unstable; urgency=low
+
+  * New upstream release (mostly bugfixes).
+    + Patches updated
+  * patch/flanagan_nonfree.diff: search of polynomial roots improved,
+    thanks to Markus Hohenwarter.
+  * Inverse of a singular matrix bug fixed.
+  * Added manpage.
+  * Upstream icons, .desktop and MIME description used.
+  * JAR files for exporting applets are downloaded from upstream website.
+
+ -- Giovanni Mascellani <gio at debian.org>  Fri, 23 Jul 2010 19:24:22 +0200
+
 geogebra (3.2.42.0+dfsg1-1) unstable; urgency=low
 
   * Initial release (Closes: #505704)
diff --git a/debian/geogebra.desktop b/debian/geogebra.desktop
deleted file mode 100644
index 08721fc..0000000
--- a/debian/geogebra.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=GeoGebra
-Comment=Create interactive mathematical constructions and applets 
-Exec=geogebra %f
-Icon=geogebra.png
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Math;Education
-MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;
-
diff --git a/debian/geogebra.manpages b/debian/geogebra.manpages
new file mode 100644
index 0000000..945f70f
--- /dev/null
+++ b/debian/geogebra.manpages
@@ -0,0 +1 @@
+unix/usr/share/man/man1/geogebra.1.gz
diff --git a/debian/geogebra.sharedmimeinfo b/debian/geogebra.sharedmimeinfo
deleted file mode 100644
index 5608011..0000000
--- a/debian/geogebra.sharedmimeinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
-  <mime-type type="application/vnd.geogebra.file">
-         <comment>GeoGebra File</comment>
-         <glob pattern="*.ggb"/>
-  </mime-type>
-  <mime-type type="application/vnd.geogebra.tool">
-         <comment>GeoGebra Tool</comment>
-         <glob pattern="*.ggt"/>
-  </mime-type>
-</mime-info>
diff --git a/debian/install b/debian/install
index 6a1e8de..4665bb4 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,3 @@
 build/geogebra.jar build/geogebra_main.jar build/geogebra_gui.jar build/geogebra_cas.jar build/geogebra_export.jar build/geogebra_properties.jar usr/share/geogebra
-debian/geogebra.desktop usr/share/applications
-debian/geogebra.png usr/share/pixmaps
+unix/usr/share/applications/geogebra.desktop usr/share/applications
+unix/usr/share/pixmaps/geogebra.png usr/share/pixmaps
diff --git a/debian/rules b/debian/rules
index cdd4bbe..3b93409 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,9 @@ DEB_JARS += /usr/share/java/freehep-graphicsio-emf.jar
 install/geogebra::
 	install -m 755 $(CURDIR)/debian/geogebra.sh $(CURDIR)/debian/geogebra/usr/bin/geogebra
 
+	# This link is created so dh_installmime gets the correct file
+	ln -s ../unix/usr/share/mime/packages/geogebra.xml debian/geogebra.sharedmimeinfo
+
 get-orig-source:
 	./debian/get_orig_source.sh
 
diff --git a/geogebra/GeoGebra.java b/geogebra/GeoGebra.java
index 2fc7cce..e042af5 100644
--- a/geogebra/GeoGebra.java
+++ b/geogebra/GeoGebra.java
@@ -19,8 +19,9 @@ import java.net.URL;
 public class GeoGebra extends Object {
 	
 	// GeoGebra version
-	public static final String BUILD_DATE = "June 19, 2010";
-	public static final String VERSION_STRING = "3.2.42.0";
+	public static final String BUILD_DATE = "July 21, 2010";
+	
+	public static final String VERSION_STRING = "3.2.43.0";
 	public static final String SHORT_VERSION_STRING = "3.2"; // used for online archive
 		
 	// File format versions
diff --git a/geogebra/euclidian/DrawRay.java b/geogebra/euclidian/DrawRay.java
index 5e6553d..64d9f71 100644
--- a/geogebra/euclidian/DrawRay.java
+++ b/geogebra/euclidian/DrawRay.java
@@ -18,6 +18,7 @@ the Free Software Foundation.
 
 package geogebra.euclidian;
 
+import geogebra.euclidian.clipping.ClipLine;
 import geogebra.kernel.ConstructionDefaults;
 import geogebra.kernel.GeoElement;
 import geogebra.kernel.GeoLine;
@@ -55,8 +56,7 @@ implements Previewable {
     	this.view = view;
     	this.ray = ray;
     	geo = ray;
-    	    	
-    	
+
         update();
     }
     
@@ -79,18 +79,7 @@ implements Previewable {
         if (isVisible) { 
 			labelVisible = showLabel && geo.isLabelVisible();       
 			updateStrokes(ray);
-			
-			A = ray.getStartPoint();			
-			
-			// calc start point of ray in screen coords
-			a[0] = A.inhomX;
-			a[1] = A.inhomY;
-			view.toScreenCoords(a);
-
-			// calc direction vector of ray in screen coords
-			v[0] = ray.y * view.xscale;
-			v[1] = ray.x * view.yscale;
-			
+						
 			setClippedLine();
 			
 			 // line on screen?		
@@ -135,6 +124,16 @@ implements Previewable {
     }
     
     private void setClippedLine() {
+    	A = ray.getStartPoint();			
+		
+		// calc start point of ray in screen coords
+		A.getInhomCoords(a);
+		boolean onscreenA = view.toScreenCoords(a);
+
+		// calc direction vector of ray in screen coords
+		v[0] = ray.y * view.xscale;
+		v[1] = ray.x * view.yscale;
+		    	    	
 		// calc clip point C = a + lambda * v
 		double lambda;
 		if (Math.abs(v[0]) > Math.abs(v[1])) {
@@ -154,7 +153,21 @@ implements Previewable {
 			return;
 		}
 
-		line.setLine( a[0], a[1],  a[0] + 100*lambda * v[0], a[1] + 100*lambda * v[1]);		  
+		if (onscreenA ) {
+			// A on screen
+			line.setLine(a[0], a[1],  a[0] + lambda * v[0], a[1] + lambda * v[1]);
+		} else {
+			// A off screen
+			// clip ray at screen, that's important for huge coordinates of A
+			Point2D.Double [] clippedPoints = 
+				ClipLine.getClipped(a[0], a[1],  a[0] + lambda * v[0], a[1] + lambda * v[1], -EuclidianView.CLIP_DISTANCE, view.width + EuclidianView.CLIP_DISTANCE, -EuclidianView.CLIP_DISTANCE, view.height + EuclidianView.CLIP_DISTANCE);
+			if (clippedPoints == null) {
+				isVisible = false;	
+			} else {
+				line.setLine(clippedPoints[0].x, clippedPoints[0].y, clippedPoints[1].x, clippedPoints[1].y);
+			}
+		}
+		
     }
     
     final public void draw(Graphics2D g2) {
diff --git a/geogebra/euclidian/EuclidianController.java b/geogebra/euclidian/EuclidianController.java
index b65b0bd..0ad753f 100644
--- a/geogebra/euclidian/EuclidianController.java
+++ b/geogebra/euclidian/EuclidianController.java
@@ -1016,6 +1016,7 @@ MouseMotionListener, MouseWheelListener, ComponentListener {
 			// important for electronic whiteboards
 			if (movedGeoBoolean.isCheckboxFixed()) {
 				movedGeoBoolean.setValue(!movedGeoBoolean.getBoolean());
+				app.removeSelectedGeo(movedGeoBoolean); // make sure it doesn't get selected
 				movedGeoBoolean.updateCascade();
 
 			} 
@@ -1502,6 +1503,7 @@ MouseMotionListener, MouseWheelListener, ComponentListener {
 					GeoBoolean bool = (GeoBoolean)(hits.get(0));
 					if (!bool.isCheckboxFixed()) { // otherwise changed on mouse down
 						bool.setValue(!bool.getBoolean());
+						app.removeSelectedGeo(bool); // make sure doesn't get selected
 						bool.updateCascade();
 					}
 				}
diff --git a/geogebra/gui/ContextMenuGeoElement.java b/geogebra/gui/ContextMenuGeoElement.java
index 8e98e11..630565c 100644
--- a/geogebra/gui/ContextMenuGeoElement.java
+++ b/geogebra/gui/ContextMenuGeoElement.java
@@ -364,7 +364,7 @@ public class ContextMenuGeoElement extends JPopupMenu {
     		final GeoText geoText = (GeoText) geo;
     		 // show object
         	JCheckBoxMenuItem cbItem = new JCheckBoxMenuItem(app.getPlain("AbsoluteScreenLocation"));
-        	cbItem.setIcon(app.getEmptyIcon());
+        	app.setEmptyIcon(cbItem);
             cbItem.setSelected(geoText.isAbsoluteScreenLocActive());
             cbItem.addActionListener(new ActionListener() {
         		public void actionPerformed(ActionEvent e) {
@@ -457,7 +457,7 @@ public class ContextMenuGeoElement extends JPopupMenu {
             //  animation
             if (geo.isAnimatable()) {            	
                 cbItem = new JCheckBoxMenuItem( app.getPlain("Animating"));
-                cbItem.setIcon(app.getEmptyIcon());
+                app.setEmptyIcon(cbItem);
                 cbItem.setSelected(((GeoNumeric) geo).isAnimating() && app.getKernel().getAnimatonManager().isRunning());
                 cbItem.addActionListener(new ActionListener() {
                 	public void actionPerformed(ActionEvent e) {
@@ -498,7 +498,7 @@ public class ContextMenuGeoElement extends JPopupMenu {
             if (geo.isFixable() && (geo.isGeoText() || geo.isGeoImage())) {   
             	
             	cbItem = new JCheckBoxMenuItem( app.getPlain("FixObject"));
-                cbItem.setIcon(app.getEmptyIcon());
+                app.setEmptyIcon(cbItem);
                 cbItem.setSelected(geo.isFixed());
                 cbItem.addActionListener(new ActionListener() {
                 	public void actionPerformed(ActionEvent e) {
diff --git a/geogebra/gui/PropertiesDialogGeoElement.java b/geogebra/gui/PropertiesDialogGeoElement.java
index 9ed7cb0..9d57076 100644
--- a/geogebra/gui/PropertiesDialogGeoElement.java
+++ b/geogebra/gui/PropertiesDialogGeoElement.java
@@ -5248,6 +5248,7 @@ class ColorFunctionPanel
 				for (int i=0; i < geos.length; i++) {
 					GeoElement geo = (GeoElement) geos[i];	
 					geo.removeColorFunction();
+					geo.setObjColor(geo.getObjectColor());
 					geo.updateRepaint();
 				}
 				tfRed.setText("");
diff --git a/geogebra/gui/TextInputDialog.java b/geogebra/gui/TextInputDialog.java
index cd8aff7..c8f50e4 100644
--- a/geogebra/gui/TextInputDialog.java
+++ b/geogebra/gui/TextInputDialog.java
@@ -153,11 +153,11 @@ public class TextInputDialog extends InputDialog {
 						break;
 						
 					case 8: // 2x2 matrix
-						insertString("\\left(\\begin{array} a & b \\\\ c & d \\\\ \\end{array}\\right)");						
+						insertString("\\left(\\begin{array}{} a & b \\\\ c & d \\\\ \\end{array}\\right)");						
 						break;
 						
 					case 9: // 3x3 matrix
-						insertString("\\left(\\begin{array} a & b & c \\\\ d & e & f \\\\ g & h & i \\\\ \\end{array}\\right)");						
+						insertString("\\left(\\begin{array}{} a & b & c \\\\ d & e & f \\\\ g & h & i \\\\ \\end{array}\\right)");						
 						break;
 						
 					default:
diff --git a/geogebra/gui/menubar/MenubarImpl.java b/geogebra/gui/menubar/MenubarImpl.java
index 3658f3c..7a24880 100644
--- a/geogebra/gui/menubar/MenubarImpl.java
+++ b/geogebra/gui/menubar/MenubarImpl.java
@@ -331,45 +331,50 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 		menu.addSeparator();
 
 		cbShowAlgebraView = new JCheckBoxMenuItem(showAlgebraViewAction);		
-		cbShowAlgebraView.setIcon(app.getEmptyIcon());
+		app.setEmptyIcon(cbShowAlgebraView);
 		cbShowAlgebraView.setSelected(app.showAlgebraView());
 		setMenuShortCutShiftAccelerator(cbShowAlgebraView, 'A');
 		menu.add(cbShowAlgebraView);
 
 	    // Michael Borcherds 2008-01-14
 		cbShowSpreadsheet = new JCheckBoxMenuItem(showSpreadsheetAction);		
-		cbShowSpreadsheet.setIcon(app.getEmptyIcon());
+		app.setEmptyIcon(cbShowSpreadsheet);
 		cbShowSpreadsheet.setSelected(app.showSpreadsheetView());	
 		setMenuShortCutShiftAccelerator(cbShowSpreadsheet, 'S');
 		menu.add(cbShowSpreadsheet);		
 		
 		cbShowAuxiliaryObjects = new JCheckBoxMenuItem(
 				showAuxiliaryObjectsAction);
-		cbShowAuxiliaryObjects.setIcon(app.getEmptyIcon());
+		app.setEmptyIcon(cbShowAuxiliaryObjects);
 		cbShowAuxiliaryObjects.setSelected(app.showAuxiliaryObjects());
 		menu.add(cbShowAuxiliaryObjects);
 
 		cbHorizontalSplit = new JCheckBoxMenuItem(horizontalSplitAction);				
-		cbHorizontalSplit.setIcon(app.getEmptyIcon());
+		app.setEmptyIcon(cbHorizontalSplit);
 		menu.add(cbHorizontalSplit);
 
 		menu.addSeparator();
 
 		// show/hide cmdlist, algebra input
-		cbShowAlgebraInput = new JCheckBoxMenuItem(showAlgebraInputAction);		
+		cbShowAlgebraInput = new JCheckBoxMenuItem(showAlgebraInputAction);	
+		app.setEmptyIcon(cbShowAlgebraInput);
 		menu.add(cbShowAlgebraInput);
 
-		cbShowCmdList = new JCheckBoxMenuItem(showCmdListAction);		
+		cbShowCmdList = new JCheckBoxMenuItem(showCmdListAction);	
+		app.setEmptyIcon(cbShowCmdList);
 		menu.add(cbShowCmdList);
 		menu.addSeparator();
 
 		// Construction Protocol
 		cbShowConsProtNavigation = new JCheckBoxMenuItem(
 				showConsProtNavigationAction);
+		app.setEmptyIcon(cbShowConsProtNavigation);
 		cbShowConsProtNavigationPlay = new JCheckBoxMenuItem(
 				showConsProtNavigationPlayAction);
+		app.setEmptyIcon(cbShowConsProtNavigationPlay);
 		cbShowConsProtNavigationOpenProt = new JCheckBoxMenuItem(
 				showConsProtNavigationOpenProtAction);	
+		app.setEmptyIcon(cbShowConsProtNavigationOpenProt);
 		menu.add(constProtocolAction);
 		menu.add(cbShowConsProtNavigation);
 		menu.add(cbShowConsProtNavigationPlay);
@@ -690,8 +695,7 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 			}
 		};
 
-		showAlgebraInputAction = new AbstractAction(app.getMenu("InputField"),
-				app.getEmptyIcon()) {
+		showAlgebraInputAction = new AbstractAction(app.getMenu("InputField")) {
 			private static final long serialVersionUID = 1L;
 
 			public void actionPerformed(ActionEvent e) {
@@ -702,8 +706,7 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 			}
 		};
 
-		showCmdListAction = new AbstractAction(app.getMenu("CmdList"),
-				app.getEmptyIcon()) {
+		showCmdListAction = new AbstractAction(app.getMenu("CmdList")) {
 			private static final long serialVersionUID = 1L;
 
 			public void actionPerformed(ActionEvent e) {
@@ -739,8 +742,7 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 		};
 
 		showConsProtNavigationAction = new AbstractAction(
-				app.getPlain("ConstructionProtocolNavigation"),
-				app.getEmptyIcon()) {
+				app.getPlain("ConstructionProtocolNavigation")) {
 			private static final long serialVersionUID = 1L;
 
 			public void actionPerformed(ActionEvent e) {
@@ -753,8 +755,7 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 		};
 
 		showConsProtNavigationPlayAction = new AbstractAction(
-				app.getPlain("PlayButton"),
-				app.getEmptyIcon()) {
+				app.getPlain("PlayButton")) {
 			private static final long serialVersionUID = 1L;
 
 			public void actionPerformed(ActionEvent e) {
@@ -770,8 +771,7 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
 		};
 
 		showConsProtNavigationOpenProtAction = new AbstractAction(
-				app.getPlain("ConstructionProtocolButton"),
-				app.getEmptyIcon()) {
+				app.getPlain("ConstructionProtocolButton")) {
 			private static final long serialVersionUID = 1L;
 
 			public void actionPerformed(ActionEvent e) {
@@ -1755,6 +1755,6 @@ public abstract class MenubarImpl extends JMenuBar implements Menubar {
         }
     }
     
-    
+
   
 }
diff --git a/geogebra/kernel/AlgoAppend.java b/geogebra/kernel/AlgoAppend.java
index ddc7508..4a42cd0 100644
--- a/geogebra/kernel/AlgoAppend.java
+++ b/geogebra/kernel/AlgoAppend.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoBinomial.java b/geogebra/kernel/AlgoBinomial.java
index 2416f74..8bdab5e 100644
--- a/geogebra/kernel/AlgoBinomial.java
+++ b/geogebra/kernel/AlgoBinomial.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoDefined.java b/geogebra/kernel/AlgoDefined.java
index 3b4fddf..13c5388 100644
--- a/geogebra/kernel/AlgoDefined.java
+++ b/geogebra/kernel/AlgoDefined.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoDeterminant.java b/geogebra/kernel/AlgoDeterminant.java
index 93a3106..af4c8e7 100644
--- a/geogebra/kernel/AlgoDeterminant.java
+++ b/geogebra/kernel/AlgoDeterminant.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoExpand.java b/geogebra/kernel/AlgoExpand.java
index e04a8ff..4046af8 100644
--- a/geogebra/kernel/AlgoExpand.java
+++ b/geogebra/kernel/AlgoExpand.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoFactor.java b/geogebra/kernel/AlgoFactor.java
index 2e84177..5ac9aa3 100644
--- a/geogebra/kernel/AlgoFactor.java
+++ b/geogebra/kernel/AlgoFactor.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoFirst.java b/geogebra/kernel/AlgoFirst.java
index 1c5faf7..c8c61ec 100644
--- a/geogebra/kernel/AlgoFirst.java
+++ b/geogebra/kernel/AlgoFirst.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoGCD.java b/geogebra/kernel/AlgoGCD.java
index 1088cf6..0f368a8 100644
--- a/geogebra/kernel/AlgoGCD.java
+++ b/geogebra/kernel/AlgoGCD.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoInsert.java b/geogebra/kernel/AlgoInsert.java
index 8cc255d..c3e62b6 100644
--- a/geogebra/kernel/AlgoInsert.java
+++ b/geogebra/kernel/AlgoInsert.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoIntersection.java b/geogebra/kernel/AlgoIntersection.java
index bc64162..8e5107b 100644
--- a/geogebra/kernel/AlgoIntersection.java
+++ b/geogebra/kernel/AlgoIntersection.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoInvert.java b/geogebra/kernel/AlgoInvert.java
index 0934f2f..b7493eb 100644
--- a/geogebra/kernel/AlgoInvert.java
+++ b/geogebra/kernel/AlgoInvert.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoIsInteger.java b/geogebra/kernel/AlgoIsInteger.java
index 1a502fc..f577369 100644
--- a/geogebra/kernel/AlgoIsInteger.java
+++ b/geogebra/kernel/AlgoIsInteger.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoJoin.java b/geogebra/kernel/AlgoJoin.java
index e40a242..0dd7921 100644
--- a/geogebra/kernel/AlgoJoin.java
+++ b/geogebra/kernel/AlgoJoin.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
  */
diff --git a/geogebra/kernel/AlgoKeepIf.java b/geogebra/kernel/AlgoKeepIf.java
index fb68ed7..4bfe9f0 100644
--- a/geogebra/kernel/AlgoKeepIf.java
+++ b/geogebra/kernel/AlgoKeepIf.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoLCM.java b/geogebra/kernel/AlgoLCM.java
index 4b5ae1c..96c36bd 100644
--- a/geogebra/kernel/AlgoLCM.java
+++ b/geogebra/kernel/AlgoLCM.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoLast.java b/geogebra/kernel/AlgoLast.java
index df84d65..22ec5aa 100644
--- a/geogebra/kernel/AlgoLast.java
+++ b/geogebra/kernel/AlgoLast.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoListGCD.java b/geogebra/kernel/AlgoListGCD.java
index 6ff6c29..fdd8575 100644
--- a/geogebra/kernel/AlgoListGCD.java
+++ b/geogebra/kernel/AlgoListGCD.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoListLCM.java b/geogebra/kernel/AlgoListLCM.java
index d61845c..34081dc 100644
--- a/geogebra/kernel/AlgoListLCM.java
+++ b/geogebra/kernel/AlgoListLCM.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoPolynomialFromCoordinates.java b/geogebra/kernel/AlgoPolynomialFromCoordinates.java
index 5d2c7e8..78caa0b 100644
--- a/geogebra/kernel/AlgoPolynomialFromCoordinates.java
+++ b/geogebra/kernel/AlgoPolynomialFromCoordinates.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoPolynomialFromFunction.java b/geogebra/kernel/AlgoPolynomialFromFunction.java
index afdcc9c..9522ab7 100644
--- a/geogebra/kernel/AlgoPolynomialFromFunction.java
+++ b/geogebra/kernel/AlgoPolynomialFromFunction.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoRemoveUndefined.java b/geogebra/kernel/AlgoRemoveUndefined.java
index c551d59..2aa4c66 100644
--- a/geogebra/kernel/AlgoRemoveUndefined.java
+++ b/geogebra/kernel/AlgoRemoveUndefined.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoReverse.java b/geogebra/kernel/AlgoReverse.java
index be0a5bb..9ce27bd 100644
--- a/geogebra/kernel/AlgoReverse.java
+++ b/geogebra/kernel/AlgoReverse.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoSimplify.java b/geogebra/kernel/AlgoSimplify.java
index 6f754c2..bd8f21e 100644
--- a/geogebra/kernel/AlgoSimplify.java
+++ b/geogebra/kernel/AlgoSimplify.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoSort.java b/geogebra/kernel/AlgoSort.java
index 87e38bf..b228dc2 100644
--- a/geogebra/kernel/AlgoSort.java
+++ b/geogebra/kernel/AlgoSort.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoTake.java b/geogebra/kernel/AlgoTake.java
index 04b83c7..7fa3bc6 100644
--- a/geogebra/kernel/AlgoTake.java
+++ b/geogebra/kernel/AlgoTake.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoTranspose.java b/geogebra/kernel/AlgoTranspose.java
index 282466c..4147a4f 100644
--- a/geogebra/kernel/AlgoTranspose.java
+++ b/geogebra/kernel/AlgoTranspose.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/AlgoUnion.java b/geogebra/kernel/AlgoUnion.java
index 1234c5d..299b685 100644
--- a/geogebra/kernel/AlgoUnion.java
+++ b/geogebra/kernel/AlgoUnion.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/GeoElement.java b/geogebra/kernel/GeoElement.java
index e4f43e0..bb5ccd9 100644
--- a/geogebra/kernel/GeoElement.java
+++ b/geogebra/kernel/GeoElement.java
@@ -2051,10 +2051,24 @@ public abstract class GeoElement
 		// remove this object from List
 		if (isIndependent()) 
 			cons.removeFromConstructionList(this);
+		
+		// remove Listeners
+		AlgoElement algo = getParentAlgorithm();
+		if (algo instanceof EuclidianViewAlgo) {
+			cons.unregisterEuclidianViewAlgo((EuclidianViewAlgo)algo);
+		}
+
+		if (condShowObject != null) {
+			condShowObject.unregisterConditionListener(this);
+		}
+				
+		if (colFunction != null) {
+			colFunction.unregisterColorFunctionListener(this);
+		}
+
 
 		// remove all dependent algorithms		
 		if (algorithmList != null) {
-			AlgoElement algo;
 			Object[] algos = algorithmList.toArray();
 			for (int i = 0; i < algos.length; i++) {
 				algo = (AlgoElement) algos[i];
@@ -2068,8 +2082,8 @@ public abstract class GeoElement
 		}
 
 		// remove from selection
-		app.removeSelectedGeo(this, false);					
-				
+		app.removeSelectedGeo(this, false);		
+		
 		// notify views before we change labelSet
 		notifyRemove();
 		
diff --git a/geogebra/kernel/GeoList.java b/geogebra/kernel/GeoList.java
index c2bfc75..b3cf03d 100644
--- a/geogebra/kernel/GeoList.java
+++ b/geogebra/kernel/GeoList.java
@@ -163,6 +163,8 @@ public class GeoList extends GeoElement implements ListValue, LineProperties, Po
 			// copy color function
 			if (this.colFunction != null) {
 				geo.setColorFunction(this.colFunction);
+			} else {
+				geo.removeColorFunction();
 			}
 			
 			geo.setLineThickness(this.getLineThickness());
@@ -204,8 +206,9 @@ public class GeoList extends GeoElement implements ListValue, LineProperties, Po
     	int size = geoList.size();	        
         for (int i=0; i < size; i++) {
 			GeoElement geo = (GeoElement)geoList.get(i);
-			if (!geo.isLabelSet())
+			if (!geo.isLabelSet()) {
         		geo.removeColorFunction();
+			}
         }
 	}
 	
diff --git a/geogebra/kernel/GeoPolygon.java b/geogebra/kernel/GeoPolygon.java
index d83bf7c..554a423 100644
--- a/geogebra/kernel/GeoPolygon.java
+++ b/geogebra/kernel/GeoPolygon.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/Kernel.java b/geogebra/kernel/Kernel.java
index 0e4d7fe..d0256ab 100644
--- a/geogebra/kernel/Kernel.java
+++ b/geogebra/kernel/Kernel.java
@@ -4939,17 +4939,17 @@ public class Kernel {
 	}
 
 	/**
-	 * Returns whether x is greater than y
+	 * Returns whether x is greater than y	 	 
 	 */
 	final public boolean isGreater(double x, double y) {
-		return x > y;
+		return x > y + EPSILON;
 	}
-
+	
 	/**
-	 * Returns whether x is greater than or equal to y
+	 * Returns whether x is greater than or equal to y	 	 
 	 */
 	final public boolean isGreaterEqual(double x, double y) {
-		return x > y || isEqual(x, y);
+		return x + EPSILON > y;
 	}
 
 	// compares double arrays:
diff --git a/geogebra/kernel/parser/Parser.jj b/geogebra/kernel/parser/Parser.jj
index 7d88d89..21d1002 100644
--- a/geogebra/kernel/parser/Parser.jj
+++ b/geogebra/kernel/parser/Parser.jj
@@ -173,7 +173,7 @@ TOKEN : {
         | "." <INTEGER> 
         | <INTEGER> "."
         >
- |     < EFLOAT: <FLOAT> "E"  (<MINUS>)? <INTEGER> >
+ |     < EFLOAT: <FLOAT> "E"  (<PLUS>|<MINUS>)? <INTEGER> >
   |     < #INTEGER: ( <DIGIT> )+ >
   |     < #DIGIT:                                     // unicode digits
        [
diff --git a/geogebra/kernel/statistics/AlgoFitLineX.java b/geogebra/kernel/statistics/AlgoFitLineX.java
index 44ce8f7..ca6692c 100644
--- a/geogebra/kernel/statistics/AlgoFitLineX.java
+++ b/geogebra/kernel/statistics/AlgoFitLineX.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoFitLineY.java b/geogebra/kernel/statistics/AlgoFitLineY.java
index 6f6984b..4cb53ee 100644
--- a/geogebra/kernel/statistics/AlgoFitLineY.java
+++ b/geogebra/kernel/statistics/AlgoFitLineY.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoInverseNormal.java b/geogebra/kernel/statistics/AlgoInverseNormal.java
index 9fc9dac..a2a4f81 100644
--- a/geogebra/kernel/statistics/AlgoInverseNormal.java
+++ b/geogebra/kernel/statistics/AlgoInverseNormal.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoMedian.java b/geogebra/kernel/statistics/AlgoMedian.java
index 922d66a..8114511 100644
--- a/geogebra/kernel/statistics/AlgoMedian.java
+++ b/geogebra/kernel/statistics/AlgoMedian.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoMode.java b/geogebra/kernel/statistics/AlgoMode.java
index cfd9c35..03b7d3b 100644
--- a/geogebra/kernel/statistics/AlgoMode.java
+++ b/geogebra/kernel/statistics/AlgoMode.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoNormal.java b/geogebra/kernel/statistics/AlgoNormal.java
index 45ba9a0..92f30ec 100644
--- a/geogebra/kernel/statistics/AlgoNormal.java
+++ b/geogebra/kernel/statistics/AlgoNormal.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoQ1.java b/geogebra/kernel/statistics/AlgoQ1.java
index dee4c14..f461d67 100644
--- a/geogebra/kernel/statistics/AlgoQ1.java
+++ b/geogebra/kernel/statistics/AlgoQ1.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoQ3.java b/geogebra/kernel/statistics/AlgoQ3.java
index 96decf2..5cf4659 100644
--- a/geogebra/kernel/statistics/AlgoQ3.java
+++ b/geogebra/kernel/statistics/AlgoQ3.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
 */
diff --git a/geogebra/kernel/statistics/AlgoRandom.java b/geogebra/kernel/statistics/AlgoRandom.java
index 0f59fcf..71759f3 100644
--- a/geogebra/kernel/statistics/AlgoRandom.java
+++ b/geogebra/kernel/statistics/AlgoRandom.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
  */
diff --git a/geogebra/kernel/statistics/AlgoRandomBinomial.java b/geogebra/kernel/statistics/AlgoRandomBinomial.java
index 7bc18ee..c7cc926 100644
--- a/geogebra/kernel/statistics/AlgoRandomBinomial.java
+++ b/geogebra/kernel/statistics/AlgoRandomBinomial.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
  */
diff --git a/geogebra/kernel/statistics/AlgoRandomNormal.java b/geogebra/kernel/statistics/AlgoRandomNormal.java
index 21f2257..e173696 100644
--- a/geogebra/kernel/statistics/AlgoRandomNormal.java
+++ b/geogebra/kernel/statistics/AlgoRandomNormal.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
  */
diff --git a/geogebra/kernel/statistics/AlgoRandomPoisson.java b/geogebra/kernel/statistics/AlgoRandomPoisson.java
index 883513c..6de8a9b 100644
--- a/geogebra/kernel/statistics/AlgoRandomPoisson.java
+++ b/geogebra/kernel/statistics/AlgoRandomPoisson.java
@@ -5,7 +5,7 @@ http://www.geogebra.org
 This file is part of GeoGebra.
 
 This program is free software; you can redistribute it and/or modify it 
-under the terms of the GNU General Public License v2 as published by 
+under the terms of the GNU General Public License as published by 
 the Free Software Foundation.
 
  */
diff --git a/geogebra/main/Application.java b/geogebra/main/Application.java
index 6da86a4..d613cfa 100644
--- a/geogebra/main/Application.java
+++ b/geogebra/main/Application.java
@@ -88,6 +88,7 @@ import javax.imageio.ImageIO;
 import javax.swing.BorderFactory;
 import javax.swing.ImageIcon;
 import javax.swing.JApplet;
+import javax.swing.JCheckBoxMenuItem;
 import javax.swing.JComponent;
 import javax.swing.JDialog;
 import javax.swing.JFrame;
@@ -119,9 +120,7 @@ public abstract class Application implements KeyEventDispatcher {
 	// supported GUI languages (from properties files)
 	public static ArrayList supportedLocales = new ArrayList();
 	static {
-		// TODO: remove IS_PRE_RELEASE
-		if (GeoGebra.IS_PRE_RELEASE)
-			supportedLocales.add(new Locale("sq")); // Albanian
+		supportedLocales.add(new Locale("sq")); // Albanian
 		
 		supportedLocales.add(new Locale("ar")); // Arabic
 		supportedLocales.add(new Locale("eu")); // Basque
@@ -168,23 +167,17 @@ public abstract class Application implements KeyEventDispatcher {
 		supportedLocales.add(new Locale("ro")); // Romanian
 		supportedLocales.add(new Locale("ru")); // Russian
 		supportedLocales.add(new Locale("sr")); // Serbian
-		// TODO: remove IS_PRE_RELEASE
-		if (GeoGebra.IS_PRE_RELEASE)
-			supportedLocales.add(new Locale("si")); // Sinhala (Sri Lanka)
+		supportedLocales.add(new Locale("si")); // Sinhala (Sri Lanka)
 		
 		supportedLocales.add(new Locale("sk")); // Slovakian
 		supportedLocales.add(new Locale("sl")); // Slovenian
 		supportedLocales.add(new Locale("es")); // Spanish
 		supportedLocales.add(new Locale("sv")); // Swedish
 		// supportedLocales.add(new Locale("ty")); // Tahitian
-		// TODO: remove IS_PRE_RELEASE
-		if (GeoGebra.IS_PRE_RELEASE)
-			supportedLocales.add(new Locale("ta")); // Tamil
+		supportedLocales.add(new Locale("ta")); // Tamil
 		
 		// supportedLocales.add(new Locale("te")); // Telugu
-		// TODO: remove IS_PRE_RELEASE
-		if (GeoGebra.IS_PRE_RELEASE)
-			supportedLocales.add(new Locale("th")); // Thai
+		supportedLocales.add(new Locale("th")); // Thai
 
 		supportedLocales.add(new Locale("tr")); // Turkish
 		// supportedLocales.add(new Locale("uk")); // Ukrainian
@@ -3065,12 +3058,48 @@ public abstract class Application implements KeyEventDispatcher {
 	}
 
 	// check if we are on a mac
-	public static boolean MAC_OS = System.getProperty("os.name").toLowerCase(
-			Locale.US).startsWith("mac");
-	public static boolean WINDOWS = System.getProperty("os.name").toLowerCase(
-			Locale.US).startsWith("windows"); // Michael Borcherds 2008-03-21
+	public static String OS = System.getProperty("os.name").toLowerCase(Locale.US);
+	public static boolean MAC_OS = OS.startsWith("mac");
+	public static boolean WINDOWS = OS.startsWith("windows"); // Michael Borcherds 2008-03-21
+	
+			/* current possible values http://mindprod.com/jgloss/properties.html
+			 * AIX
+		Digital Unix
+		FreeBSD
+		HP UX
+		Irix
+		Linux
+		Mac OS
+		Mac OS X
+		MPE/iX
+		Netware 4.11
+		OS/2
+		Solaris
+		Windows 2000
+		Windows 7
+		Windows 95
+		Windows 98
+		Windows NT
+		Windows Vista
+		Windows XP */
+	
+	// make sure still works in the future on eg Windows 9 
+	public static boolean WINDOWS_VISTA_OR_LATER = WINDOWS && !OS.startsWith("windows 2000")
+														   && !OS.startsWith("windows 95")
+														   && !OS.startsWith("windows 98")
+														   && !OS.startsWith("windows nt")
+														   && !OS.startsWith("windows xp");
 
 	/*
+	 * needed for padding in Windows XP or earlier
+	 * without check, checkbox isn't shown in Vista, Win 7
+	 */
+    public void setEmptyIcon(JCheckBoxMenuItem cb) {
+        if (!WINDOWS_VISTA_OR_LATER)
+                cb.setIcon(getEmptyIcon());
+    }
+
+    /*
 	 * check for alt pressed (but not ctrl) (or ctrl but not alt on MacOS)
 	 */
 	public static boolean isAltDown(InputEvent e) {
diff --git a/unix/debcontrol/postinst b/unix/debcontrol/postinst
new file mode 100755
index 0000000..195b1b0
--- /dev/null
+++ b/unix/debcontrol/postinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ] ; then
+  # update desktop database
+  if [ -x /usr/bin/update-desktop-database ]; then
+    update-desktop-database -q /usr/share/applications
+  fi
+fi
+ # Automatically added by dh_installmime
+if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
+	update-mime-database /usr/share/mime
+fi
+# End automatically added section
+# Automatically added by dh_gconf
+if [ "$1" = "configure" ] && which update-gconf-defaults >/dev/null 2>&1; then
+	update-gconf-defaults 
+fi
+# End automatically added section
+
+
diff --git a/unix/debcontrol/postrm b/unix/debcontrol/postrm
new file mode 100755
index 0000000..7737dbe
--- /dev/null
+++ b/unix/debcontrol/postrm
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+ # Automatically added by dh_gconf
+if which update-gconf-defaults >/dev/null 2>&1; then
+	update-gconf-defaults 
+fi
+# End automatically added section
+# Automatically added by dh_installmime
+if [ -x "`which update-mime-database 2>/dev/null`" ]; then
+	update-mime-database /usr/share/mime
+fi
+# End automatically added section
+
+
diff --git a/unix/debrelease/Packages b/unix/debrelease/Packages
new file mode 100644
index 0000000..9e37258
--- /dev/null
+++ b/unix/debrelease/Packages
@@ -0,0 +1,21 @@
+*Package: geogebra
+*Version: [[version]]
+*Architecture: all
+*Maintainer: Markus Hohenwarter <markus at geogebra.org>
+*Installed-Size: [[installed.kb]]
+*Depends: sun-java6-jre | sun-java5-jre | default-jre
+*Recommends: sun-java6-jre | sun-java5-jre, imagemagick
+Filename: ./geogebra_[[version]]_all.deb
+Size: [[size]]
+MD5sum: [[md5]]
+SHA1: [[sha1]]
+SHA256: [[sha256]]
+*Section: math
+*Priority: optional
+*Description: Dynamic mathematics software for all levels of education
+ GeoGebra joins arithmetic, geometry, algebra and calculus. It offers multiple
+ representations of objects in its graphics, algebra, and spreadsheet views
+ that are all dynamically linked.
+ This package also contains a thumbnailer for .ggb files which runs only when
+ imagemagick is installed.
+
diff --git a/unix/debrelease/Release b/unix/debrelease/Release
new file mode 100644
index 0000000..d04a7cd
--- /dev/null
+++ b/unix/debrelease/Release
@@ -0,0 +1,10 @@
+Origin: GeoGebra unofficial repo
+Label: GeoGebra
+Codename: lucid
+Date: Sun, 04 Apr 2010 09:08:27 +0000
+Architectures: i386
+Components: main
+Description: GeoGebra -- Dynamic mathematics for everyone
+MD5Sum:
+ [[plain.md5]] [[plain.size]] main/binary-i386/Packages
+ [[gz.md5]] [[gz.size]] main/binary-i386/Packages.gz
diff --git a/unix/usr/bin/geogebra b/unix/usr/bin/geogebra
new file mode 100755
index 0000000..eee626a
--- /dev/null
+++ b/unix/usr/bin/geogebra
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+java -jar /usr/share/geogebra/lib/geogebra.jar "$@"
+
diff --git a/unix/usr/bin/ggthumb b/unix/usr/bin/ggthumb
new file mode 100755
index 0000000..67c9de8
--- /dev/null
+++ b/unix/usr/bin/ggthumb
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+urldecode(){
+  echo -e "$(sed 'y/+/ /; s/%/\\x/g')"
+}
+
+mkdir /tmp/ggthumb
+f=`echo -n $3| sed 's/file:\/\///'|urldecode`
+cp "$f" /tmp/ggthumb/ggt.zip
+unzip -qq /tmp/ggthumb/ggt.zip -d /tmp/ggthumb
+convert -resize $2 /tmp/ggthumb/geogebra_thumbnail.png $4 2>/dev/null
+echo "$3 $f $?">>/tmp/glog
+rm -rf /tmp/ggthumb
diff --git a/unix/usr/share/applications/geogebra.desktop b/unix/usr/share/applications/geogebra.desktop
new file mode 100644
index 0000000..1631774
--- /dev/null
+++ b/unix/usr/share/applications/geogebra.desktop
@@ -0,0 +1,24 @@
+[Desktop Entry]
+Name=GeoGebra
+GenericName=Dynamic mathematics software
+GenericName[cs]=Dynamický matematický software
+GenericName[de]=Dynamische Mathematiksoftware
+GenericName[es]=Programa de matemáticas dinámico
+GenericName[fr]=Logiciel de Mathématiques dynamiques
+GenericName[hi]=सक्रिय गणितीय सॉफ्टवेर 
+GenericName[it]=Software di matematica dinamica
+GenericName[pt_BR]=Programa de Matemática Dinâmica
+Comment=Create interactive mathematical constructions and applets. 
+Comment[cs]=Vytvořte interaktivní konstrukce a aplety.
+Comment[de]=Erstelle interaktive Konstruktionen und Applets.
+Comment[fr]=Créer des constructions mathématiques et des appliquettes.
+Comment[hi]=संवादात्मक गणितीय निर्माण और एप्लेट बनाएँ
+Comment[it]=Creazione di costruzioni matematiche e applet interattive.
+Comment[pt_BR]=Crie construções matemáticas interativas e applets.
+Exec=geogebra
+Icon=geogebra.png
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Science;Math;Education
+MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;
diff --git a/unix/usr/share/doc/geogebra/README.Debian b/unix/usr/share/doc/geogebra/README.Debian
new file mode 100644
index 0000000..1f791c9
--- /dev/null
+++ b/unix/usr/share/doc/geogebra/README.Debian
@@ -0,0 +1,8 @@
+geogebra for Debian
+-------------------
+
+For GeoGebra to work properly, you may have to replace the openjdk by
+sun-java6. For more details see 
+http://www.geogebra.org/en/wiki/index.php/GeoGebra_in_Linux
+
+ -- Zbynek Konecny (Kondr) <kondr at lesnimoudrost.cz>  Mon, 29 Mar 2010 00:12:03 +0200
diff --git a/unix/usr/share/doc/geogebra/changelog.gz b/unix/usr/share/doc/geogebra/changelog.gz
new file mode 100644
index 0000000..6a23cff
Binary files /dev/null and b/unix/usr/share/doc/geogebra/changelog.gz differ
diff --git a/unix/usr/share/doc/geogebra/copyright b/unix/usr/share/doc/geogebra/copyright
new file mode 100644
index 0000000..a0bb4b7
--- /dev/null
+++ b/unix/usr/share/doc/geogebra/copyright
@@ -0,0 +1,36 @@
+This package was debianized by George Sturr <george at geogebra.org> 
+Sat, 03 Apr 2010 21:39:06 +0100.
+
+It was downloaded from http://www.geogebra.org/
+
+Upstream Authors:
+
+    Markus Hohenwarter <markus at geogebra.org>
+    Michael Borcherds  <michael at geogebra.org>
+    Mathieu Blosier <mathieu at geogebra.org>
+    Judith Hohenwarter <judith at geogebra.org> 
+    Zoltan Kovacs <zoltan at geogebra.org>
+    Yves Kreis <yves at geogebra.org>
+    Florian Sonner <florian at geogebra.org>
+    George Sturr <george at geogebra.org>
+    
+Copyright:
+
+    Copyright (C) 2010 International GeoGebra Institute
+
+License:
+
+    GPL v2 and Creative Commons Attribution-Share Alike 3.0
+
+The Debian packaging is:
+
+    Copyright (C) 2010 George Sturr <george at geogebra.org>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
+
+All GeoGebra language and documentation files are subject to 
+   the following Creative Commons Attribution-Share Alike License; 
+   either version 3.0 of the License, or (at your option) any later 
+   version (see http://creativecommons.org/licenses/by-sa/3.0/):
+
diff --git a/unix/usr/share/gconf/defaults/10_geogebra b/unix/usr/share/gconf/defaults/10_geogebra
new file mode 100644
index 0000000..e7b1a74
--- /dev/null
+++ b/unix/usr/share/gconf/defaults/10_geogebra
@@ -0,0 +1,3 @@
+/desktop/gnome/thumbnailers/application at geogebra.vnd.file/command /usr/bin/ggthumb -s %s %u %o
+/desktop/gnome/thumbnailers/application at geogebra.vnd.file/enable true
+
diff --git a/unix/usr/share/icons/hicolor/48x48/apps/geogebra.png b/unix/usr/share/icons/hicolor/48x48/apps/geogebra.png
new file mode 100644
index 0000000..fbd66e6
Binary files /dev/null and b/unix/usr/share/icons/hicolor/48x48/apps/geogebra.png differ
diff --git a/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.file.png b/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.file.png
new file mode 100644
index 0000000..fbd66e6
Binary files /dev/null and b/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.file.png differ
diff --git a/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.tool.png b/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.tool.png
new file mode 100644
index 0000000..fbd66e6
Binary files /dev/null and b/unix/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.geogebra.tool.png differ
diff --git a/unix/usr/share/man/man1/geogebra.1.gz b/unix/usr/share/man/man1/geogebra.1.gz
new file mode 100644
index 0000000..4b76848
Binary files /dev/null and b/unix/usr/share/man/man1/geogebra.1.gz differ
diff --git a/unix/usr/share/man/man1/ggthumb.1.gz b/unix/usr/share/man/man1/ggthumb.1.gz
new file mode 100644
index 0000000..74aeb28
Binary files /dev/null and b/unix/usr/share/man/man1/ggthumb.1.gz differ
diff --git a/unix/usr/share/mime/packages/geogebra.xml b/unix/usr/share/mime/packages/geogebra.xml
new file mode 100644
index 0000000..e908dab
--- /dev/null
+++ b/unix/usr/share/mime/packages/geogebra.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <mime-type type="application/vnd.geogebra.file">
+         <comment>GeoGebra worksheet</comment>
+         <comment xml:lang="cs">Pracovní list GeoGebry</comment>
+         <comment xml:lang="de">GeoGebra Arbeitsblatt</comment>
+         <comment xml:lang="es">Archivo GeoGebra</comment>
+         <comment xml:lang="fr">Feuille de travail GeoGebra </comment>
+         <comment xml:lang="hi">जीओ-जेब्रा कार्य-पत्र</comment>
+         <comment xml:lang="it">Foglio di lavoro GeoGebra </comment>
+         <comment xml:lang="pt-BR">Planilha GeoGebra</comment>
+         <glob pattern="*.ggb"/>
+  </mime-type>
+  <mime-type type="application/vnd.geogebra.tool">
+         <comment>GeoGebra tool</comment>
+         <comment xml:lang="cs">Nástroj GeoGebry</comment>
+         <comment xml:lang="de">GeoGebra Werkzeug</comment>
+         <comment xml:lang="es">Herramienta GeoGebra</comment>
+         <comment xml:lang="fr">Outil GeoGebra</comment>
+         <comment xml:lang="hi">जीओ-जेब्रा साधन</comment>
+         <comment xml:lang="it">Strumento GeoGebra</comment>
+         <comment xml:lang="pt-BR">Ferramenta GeoGebra</comment>
+         <glob pattern="*.ggt"/>
+  </mime-type>
+</mime-info>
diff --git a/unix/usr/share/pixmaps/geogebra.png b/unix/usr/share/pixmaps/geogebra.png
new file mode 100644
index 0000000..fbd66e6
Binary files /dev/null and b/unix/usr/share/pixmaps/geogebra.png differ


hooks/post-receive
-- 
GeoGebra: Dynamic mathematics software for education



More information about the pkg-java-commits mailing list