Permalink
Browse files

add GPL

  • Loading branch information...
1 parent b63e606 commit c7af53ff5f1d79b75509288600d3755d9c0ea41f Lawrence D'Oliveiro committed Apr 17, 2011
Showing with 867 additions and 10 deletions.
  1. +678 −0 COPYING
  2. +16 −1 src/ButtonGrid.java
  3. +16 −1 src/Display.java
  4. +16 −0 src/GraphicsUseful.java
  5. +16 −1 src/Help.java
  6. +16 −1 src/HelpCard.java
  7. +16 −1 src/Main.java
  8. +16 −0 src/Persistent.java
  9. +13 −0 src/SaveAs.java
  10. +16 −1 src/State.java
  11. +12 −1 util/assemble
  12. +12 −1 util/disassemble
  13. +12 −1 util/mlmake
  14. +12 −1 util/rendercard
View
678 COPYING
Oops, something went wrong.
View
@@ -1,9 +1,24 @@
package nz.gen.geek_central.ti5x;
+/*
+ Display and interaction with calculator buttons
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import android.graphics.RectF;
public class ButtonGrid extends android.view.View
- /* display and interaction with calculator buttons */
{
static final int NrButtonRows = 9;
static final int NrButtonCols = 5;
View
@@ -1,10 +1,25 @@
package nz.gen.geek_central.ti5x;
+/*
+ Calculator display area
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import android.graphics.PointF;
import android.graphics.Path;
public class Display extends android.view.View
- /* calculator display area */
{
/* rendering parameters */
static final float DigitWidth = 0.5f; /* as fraction of size */
View
@@ -1,4 +1,20 @@
package nz.gen.geek_central.ti5x;
+/*
+ Useful graphics routines
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
public class GraphicsUseful
{
View
@@ -1,7 +1,22 @@
package nz.gen.geek_central.ti5x;
+/*
+ Help-page display
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
public class Help extends android.app.Activity
- /* ti5x calculator emulator -- online help */
{
android.webkit.WebView HelpView;
View
@@ -1,9 +1,24 @@
package nz.gen.geek_central.ti5x;
+/*
+ Help-card display area
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import android.graphics.RectF;
public class HelpCard extends android.view.View
- /* help-card display area */
{
final android.content.Context TheContext;
android.graphics.Bitmap CardImage;
View
@@ -1,7 +1,22 @@
package nz.gen.geek_central.ti5x;
+/*
+ ti5x calculator emulator -- mainline
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
public class Main extends android.app.Activity
- /* ti5x calculator emulator -- mainline */
{
Display Disp;
HelpCard Help;
View
@@ -1,4 +1,20 @@
package nz.gen.geek_central.ti5x;
+/*
+ Saving/loading of libraries and calculator state
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
import java.util.zip.ZipEntry;
View
@@ -1,6 +1,19 @@
package nz.gen.geek_central.ti5x;
/*
Let the user enter a name for saving a new program file.
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
public class SaveAs extends android.app.Activity
View
@@ -1,7 +1,22 @@
package nz.gen.geek_central.ti5x;
+/*
+ The calculation state and number entry.
+
+ Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
public class State
- /* the calculation state and number entry */
{
public final static int EntryState = 0;
public final static int DecimalEntryState = 1;
View
@@ -3,7 +3,18 @@
# Very simple symbolic assembler for ti5x programs. Reads a symbolic representation from
# standard input, and writes a sequence of numeric codes to standard output.
#
-# Created by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+# Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#-
import sys
View
@@ -3,7 +3,18 @@
# Very simple symbolic disassembler for ti5x programs. Reads a sequence of numeric codes from
# standard input, and writes a symbolic representation to standard output.
#
-# Created by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+# Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#-
import sys
View
@@ -2,7 +2,18 @@
#+
# This script builds the master library file.
#
-# Created by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+# Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#-
import sys
View
@@ -32,7 +32,18 @@
# Note that the ones that treat a row as a single cell are incompatible
# with the ones that divide it into multiple cells.
#
-# Written by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+# Copyright 2011 Lawrence D'Oliveiro <ldo@geek-central.gen.nz>.
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#-
from __future__ import \

0 comments on commit c7af53f

Please sign in to comment.