further development on Teapot, a three-dimensional, function-oriented spreadsheet with iterative updates, written by Michael Haardt and Jörg Walter, from V 2.3.0 posted 2012 Feb 6.
Go to file
Glen Whitney 255bd86bf5 A first stab at refactoring
In general, the goal of these changes is to be more type-specific wherever
  possible, reduce duplicated code, and avoid magic numbers. The biggest
  individual change is to use Location triples of integers wherever possible
  rather than three separate int variables. Another very helpful change for
  understanding what is going on in the code is introducing the MarkState enum
  for tracking the process of marking and unmarking blocks of cell.

  The MarkState change was motivated by the issues with Ctrl-C,
  and this commit, in fact,
  resolves #28.

  Because of the lack of a test harness, it is possible that a change of
  this scope has created some bugs as well, but teapot was running OK for
  me at the time of the commit. However, I don't know how good my coverage of
  the changed code was -- I certainly did not save or load a Lotus 1-2-3 file!
2019-07-27 00:14:26 -04:00
doc Document operations on locations. 2019-07-25 09:56:15 -04:00
examples Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
.gitignore Restore compilation of curses teapot on OpenSUSE Tumbleweed 2019-07-22 15:02:18 -07:00
CMakeLists.txt Restore build of fteapot (on OpenSUSE Tumbleweed) 2019-07-22 17:13:24 -07:00
complete.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
complete.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
config.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
config.h.in Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
context.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
context.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
COPYING Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
csv.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
csv.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
default.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
display.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
display.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
eval.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
eval.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
fteapot.fl A first stab at refactoring 2019-07-27 00:14:26 -04:00
func.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
func.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
graph.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
htmlio.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
htmlio.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
INSTALL Restore build of fteapot (on OpenSUSE Tumbleweed) 2019-07-22 17:13:24 -07:00
latex.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
latex.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
LICENSE Initial commit 2019-07-22 20:26:15 +00:00
main.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
main.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
misc.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
misc.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
NEWS Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
parser.c Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
parser.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
README.md Merge readme files 2019-07-22 13:44:57 -07:00
sc.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
sc.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
scanner.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
scanner.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
sheet.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
sheet.h A first stab at refactoring 2019-07-27 00:14:26 -04:00
teapot.1 Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
utf8.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
utf8.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
wk1.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
wk1.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
xdr.c A first stab at refactoring 2019-07-27 00:14:26 -04:00
xdr.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00

teapot-spreadsheet

This project represents further development on Teapot, a three-dimensional, function-oriented spreadsheet with iterative updates, written by Michael Haardt and Jörg Walter, from V 2.3.0 posted 2012 Feb 6.

This is a development version following release 2.3.0 of teapot (Table Editor And Planner, Or: Teapot), a spread sheet program for UNIX.

Copyright (C) 1995-2006 Michael Haardt
Copyright (C) 2009-2012 Joerg Walter
Copyright (C) 2019 Glen Whitney
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/>.

The current release has the following features:

  • curses based user interface with easy to understand menus
  • FLTK 1.3 based GUI following common user interface conventions
  • Cross-platform compatibility
  • UTF-8 support
  • portable sheet file format uses XDR or ASCII format
  • tbl, LaTeX, HTML, CSV or formatted text files can be generated and simple SC and WK1 sheets can be imported
  • typed expression evaluator with the types int, float, string, error, pointer to cell and empty
  • iterative expressions
  • powerful cell addressing
  • three-dimensional sheets
  • new expression evaluator functions can be added very easy
  • a user guide, available as PDF and HTML
  • It is still a small and simple program!

teapot should work on any system which supports the following:

  • ANSI C
  • An XDR library (included in the GNU C library, otherwise use http://people.redhat.com/~rjones/portablexdr/ )
  • For the text interface: SYSV curses or ncurses library
  • For UTF-8 in the text interface: libncursesw and a UTF-8 locale
  • For the FLTK interface: C++
  • For the FLTK interface: FLTK 1.3

A GNU zipped tar file of the prior release V 2.3.0 is available from:

http://www.syntax-k.de/projekte/teapot/

This development version is hosted at https://code.studioinfinity.org/glen/teapot-spreadsheet.

For more information, read the included manual in HTML or PDF format.