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 08b42bf424 Prevent phantom values when clocking, resetting, and clocking again
In the end it turned out that the cause of the phantom values was
  short-cutting in getvalue() when the contents of a cell were empty,
  preventing the update of the internal cache of the value of the cell.

  However, tracking this down (and getting the associated memory management
  correct) necessitated implementing a debugging mode in which I could
  dump the internal states of cells and print various other stuff to standard
  output. It also involved understanding the meaning of various pointers in
  the code, in the process of which I renamed some commonly used macros,
  particularly the former SHEET(s,x,y,z) which was not returning a Sheet at
  all but rather a pointer to a Cell. So this macro is now called CELL_AT. I
  also replaced several very repeatedly used patterns of checking the validity
  of locations and pointers with macros, now defined in sheet.h.

  Therefore, unfortunately the (relatively small in the end) bugfix for this
  major issue is entangled with numerous textual changes to the code made
  in tracking it down.
  Fixes #18.
  Closes #19.
2019-07-24 10:47:39 -07:00
doc Add more clock/reset keys and update docs 2019-07-23 12:42:19 -07: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 Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
context.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07: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 Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
display.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
eval.c Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
eval.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
fteapot.fl Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
func.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07: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 Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
htmlio.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
INSTALL Restore build of fteapot (on OpenSUSE Tumbleweed) 2019-07-22 17:13:24 -07:00
latex.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
latex.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
LICENSE Initial commit 2019-07-22 20:26:15 +00:00
main.c Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
main.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07: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 Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
sc.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
scanner.c Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
scanner.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
sheet.c Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
sheet.h Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07: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 Prevent phantom values when clocking, resetting, and clocking again 2019-07-24 10:47:39 -07:00
wk1.h Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
xdr.c Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07: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.