ADG Lua 

ADG Lua Git Change Log

Age Message
6 years 5 months rockspec: using md5 from uploaded tarball
6 years 5 months rockspec: first implementation
6 years 5 months doc: added doc for adg-demo included in stock ADG
6 years 5 months doc: added adg-lua.tex for adg-demo.lua overview
6 years 5 months doc: improved style consistency of adg-web.tex
6 years 5 months doc: refactored adg-web TeX
6 years 5 months doc: added overview image
6 years 5 months build: do not fail on missing adg-demo.ui

If adg-demo.ui is not found it could be ADG has been compiled without
GTK+ support, a perfectly valid situation. Do not fail in this case but
emit only a warning message.
6 years 5 months doc: updated NEWS
6 years 5 months build: bumped version to 0.1.2
6 years 5 months adg-web: allow custom size

Adjust the zoom factor (the global map xx and yy components) to get the
(optional) requested size and maintaining the 4/3 ration (800x600).
6 years 5 months piston: the view size is subject to global map
6 years 5 months adg-web: load piston.lua from $(dirname adg-web.lua)
6 years 5 months doc: updated README
6 years 5 months adg-web: allow custom canvas size
6 years 5 months adg-web: first implementation

This script is yet able to generate a png file with all the data
overridable from the command line.

A typical example could look like this:

lua adg-web.lua A=70 B=15 C=30 > result.png
6 years 5 months s/adg-demo:regenerate/piston:refresh/

Moved code that refreshes the part after data changes from adg-demo to
piston.lua and renamed to refresh. It will be shared in other
piston-based applications.
6 years 5 months adg-demo: refactored UI handling

Refactored main level code and put regeneration after data changes in
only one place.
6 years 5 months adg-demo: improved UI initialization

There is no need (and in some case it is plain wrong) to initialize the
interface in the "clicked" callback: it will be called multiple times.
6 years 5 months piston: improved suffix handling

Avoid to pick the greedest suffix (such as "pdf.png" in a.pdf.png) but
take the shortest ending one ("png").
6 years 5 months piston: allow exporting with custom suffix
6 years 5 months adg-demo: corrected custom error handler
6 years 5 months build: bumped version to 0.1.1
6 years 5 months build: raised adg dependency on 0.7.2

adg-lua is actually developed together with adg: no need to keep old
stuff around.
6 years 5 months build: removed adg-demo.lua from dist

The Lua script is generated by configure from adg-demo.lua.in, yet in
dist: no need to include a duplicate of it.

Branches

Tags