Commit Graph

7 Commits

Author SHA1 Message Date
34e8b99585 fix: Allow n() function to count (empty) cells off edge of sheet (#84)
Resolves #83.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #84
2023-04-09 19:28:57 +00:00
d5fbc0ef07 Alleviate compile warnings on Linux and finalize programmable styles
This change gets teapot to compile without warnings on OpenSUSE Tumbleweed
  with the extended warnings flags that were recently added. It also represents
  a more thoroughly (but not exhaustively) tested and debugged version of the
  expression-controlled style settings from an earlier commit. The facility
  should be ready for use.

  It also adds a better pretty-printer for Token values in gdb and extensive
  edits to the documentation. It fixes a bug in max/min introduced by the
  addition of the Bool type and the switchover to comparisons returning Bool.
  It modifies the display of values too long to fit in their cells to show an
  initial segment of their contents with a continuation mark rather than
  obscuring the contents completely.

  Closes #54.
  Closes #55.
  Closes #44.
  Closes #22.
  Closes #13.
2019-09-09 10:33:41 -04:00
Glen Whitney
8074130224 First partial pass at getting teapot working on Mac OS X 2019-09-05 03:24:24 -04:00
Glen Whitney
ea230efc23 Move source code into subdirectory
Also removed a stray copy of the automatically generated config.h which
  had somehow gotten into the distribution. Closes #36.
2019-07-27 01:35:44 -04:00
Glen Whitney
eefc54818c Restore build of fteapot (on OpenSUSE Tumbleweed)
Changes to CMakeLists.txt to allow the system fltk to be found. These may
  have interfered with static linking, as now the command lines for static
  and dynamic linking look identical.

  A small change to fteapot.fl so that the resulting code will compile.

  Some additions to the INSTALL file to help point to prerequisites.

  Fixes #1.
2019-07-22 17:13:24 -07:00
Glen Whitney
06fab6dba1 Restore compilation of curses teapot on OpenSUSE Tumbleweed
The XDR library is no longer in the Gnu standard library, but it can be
  supplied in Tumbleweed via the tirpc library, so look for that as an
  option.
  Also renamed README to README.md in the packaging, to reflect prior change.
2019-07-22 15:02:18 -07:00
Glen Whitney
f8a60447d6 Import exactly the files of the teapot-2.3.0 distribution 2019-07-22 13:32:33 -07:00