major refactor; added floating point arithmetic; added transparent (requires composit... 2.6.0
commit316fdfe665cf3cb483e865492266a57aa0248322
authorFrancesco Palumbo <phranz@subfc.net>
Sat, 18 Feb 2023 17:11:30 +0000 (18 18:11 +0100)
committerFrancesco Palumbo <phranz@subfc.net>
Sat, 18 Feb 2023 17:11:30 +0000 (18 18:11 +0100)
treec8b313bddce11cec7d7f03a683dba2088c74bc6f
parente3de2a2c30163565f3f90cb8c189d6cc3535b489
major refactor; added floating point arithmetic; added transparent (requires compositor) label as a new element; now 'wait' command can take millisecs (specified as fractions of seconds, ex.: 0.040); added raw draw operation command '/' with subcommands to draw line, points, polygons and arcs (for each element); added special variable reference operator '&' that works like '@', but gives error if the variable is empty; added more math functions; added rand and hex function; added 'line' attribute in style string to specify line width in pixels; added additional examples; removed join operator; fixed makefile; fixed join function; minor fixes; refactored tests.
39 files changed:
Makefile
README.md
changelog.md
examples/pactions.gsh
examples/screensaver.gsh [copied from tests/functional.sh with 56% similarity, mode: 0755]
man/guish.1
src/dectypes.c
src/dectypes.h
src/evaluator.c
src/exec.c
src/exec.h
src/main.c
src/syntax.c
src/syntax.h
src/tokenizer.c
src/tokenizer.h
src/widget.c
src/widget.h
src/widgets.h
src/widgets/button.c
src/widgets/button.h
src/widgets/checkbox.c
src/widgets/checkbox.h
src/widgets/input.c
src/widgets/input.h
src/widgets/label.c
src/widgets/label.h
src/widgets/page.c
src/widgets/page.h
src/widgets/trans.c [copied from src/widgets/label.c with 64% similarity]
src/widgets/trans.h [copied from src/exec.h with 80% similarity]
tests/evaluator.sh [deleted file]
tests/functional.sh
tests/leaks.sh [copied from tests/functional.sh with 58% similarity]
tests/tokenizer.sh [deleted file]
tests/unit.sh [copied from tests/functional.sh with 57% similarity]
tests/unit/evaluator.sh [new file with mode: 0644]
tests/unit/tokenizer.sh [new file with mode: 0644]
tests/utils.sh [copied from tests/leaks.sh with 53% similarity]