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 7b794f90b9 fix: Always compute cells without clocked expressions using current values (#91)
Prior to this change, when a cell was clocked, it was always computed with prior values of referred-to cells. This had the effect, for example, of making cells defined only with a base expression as a total of a column, for example, to be out-of-date in that they would take on the value of the total of the prior values of the column, not the total of new current values of the column. This behavior was very counterintuitive.

With this change, updates of cells that have no clocked expression are delayed until after clocked expressions have been recomputed based on prior values and their cells' current values have been updated. Then the computations of those base-only cells use all of the new current values, leaving the spreadsheet in a (maximally) self-consistent state.

Resolves #90.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #91
2023-04-30 16:19:12 +00:00
doc fix: Always compute cells without clocked expressions using current values (#91) 2023-04-30 16:19:12 +00:00
examples Add READMEs for new examples, compress large one, update docs 2019-09-09 12:18:00 -04:00
src fix: Always compute cells without clocked expressions using current values (#91) 2023-04-30 16:19:12 +00:00
.gitignore Minor convenience changes to .gitignore 2019-09-15 22:52:51 -04:00
CMakeLists.txt fix: Allow n() function to count (empty) cells off edge of sheet (#84) 2023-04-09 19:28:57 +00:00
config.h.in Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00
COPYING chore: Add COPYING file that got left out of change to main 2023-04-07 19:34:16 -04:00
INSTALL fix: Prevent crash in fteapot when rendering very narrow columns (#76) 2023-04-08 01:34:37 +00:00
LICENSE Initial commit 2019-07-22 20:26:15 +00:00
NEWS fix: Always compute cells without clocked expressions using current values (#91) 2023-04-30 16:19:12 +00:00
README.md Update the README to reflect the current state of affairs. 2019-09-09 11:15:39 -04:00
teapot.1 row_heights (#77) 2023-04-09 05:41:50 +00: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/>.

This current development version 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 ASCII sheet file 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, bool, float, string, error, location of cell, keyword, expression, style, and empty
  • iterative expressions
  • powerful cell addressing
  • three-dimensional sheets
  • new expression evaluator functions can be added very easily
  • cell styles either set manually or computed based on the values in the sheet
  • 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 tirpc, 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.