Commit graph

67 commits

Author SHA1 Message Date
Alexandre Duret-Lutz
1276abd290 * wrap/python/cgi/ltl2tgba.in: Convert GIFs to PNGs. Restrict
the size of dot's output to 1024x1024.
* src/tgbaalgos/dotty.cc (dotty_bfs::start): Do not preset
the size of the graph.  Set height=0 for the invisible state.
2003-08-07 12:14:01 +00:00
Alexandre Duret-Lutz
c7a269dddc * wrap/python/cgi/ltl2tgba.in: Handle show_formula_dot and
show_formula_gif.
2003-08-06 09:52:04 +00:00
Alexandre Duret-Lutz
a5e04a10e6 * src/misc/version.hh, src/misc/version.cc: New files.
* src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them.
* wrap/python/spot.i: Include misc/version.hh.
* wrap/python/cgi/ltl2tgba.in: Print spot.version().
2003-08-05 14:37:50 +00:00
Alexandre Duret-Lutz
bdfbf9c519 * wrap/python/cgi/Makefile.am, wrap/python/cgi/ltl2tgba.in,
wrap/python/cgi/README: New files.
* wrap/python/Makefile.am (SUBDIRS): Add cgi.
* configure.ac: Output wrap/python/cgi/Makefile.
2003-08-05 14:17:47 +00:00
Alexandre Duret-Lutz
4d819969d0 * wrap/python/spot.i: Add an ostringstream emulation. 2003-08-04 22:32:11 +00:00
Alexandre Duret-Lutz
1bad681a4b * wrap/python/spot.i: Add an ofstream emulation. 2003-08-04 20:52:02 +00:00
Alexandre Duret-Lutz
01cc802c2d * wrap/python/spot.i: Declare spot::tgba::get_init_state,
spot::tgba::succ_iter, and spot::tgba_succ_iterator::current_state
as constructors.
2003-08-04 15:42:21 +00:00
Alexandre Duret-Lutz
31f4f7b79a * wrap/python/Makefile.am (lib_LTLIBRARIES)
(libspotswigpy_la_SOURCES, libspotswigpy_la_CFLAGS)
(libspotswigpy_la_LDFLAGS): New variables.
(_spot_la_LIBADD, _buddy_la_LDFLAGS): Link with libspotswigpy.la
($(srcdir)/spot_wrap.cxx, $(srcdir)/buddy_wrap.cxx): Run
swig with -c.
* wrap/python/tests/libpy.c: New file.
* wrap/python/tests/run.in: Run python if no arguments are given.
* wrap/python/tests/interdep.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add interdep.py.
2003-08-04 15:35:55 +00:00
Alexandre Duret-Lutz
ea9a96237b * wrap/python/spot.i: Declare spot::ltl_to_tgba as a constructor.
* wrap/python/tests/ltl2tgba.py: Do not force `thisown=1' on tgba
objects.
2003-08-04 14:36:04 +00:00
Alexandre Duret-Lutz
1095dd7533 * wrap/python/spot.i: Include headers from tgba/ and tgbaalgos/.
* wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltl2tgba.test:
New files.
* wrap/python/tests/Makefile.am (TESTS): Add ltl2tgba.test.
(EXTRA_DIST): Add ltl2tgba.py.
* wrap/python/tests/run.in: Distinguish *.py and *.test.
2003-08-04 13:50:59 +00:00
Alexandre Duret-Lutz
c160eba524 * wrap/python/tests/ltlparse.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add it.
2003-08-04 09:18:54 +00:00
Alexandre Duret-Lutz
992a9686ca * wrap/python/buddy.i: New file.
* wrap/python/Makefile.am (EXTRA_DIST): Add it.
(python_PYTHON, MAINTAINERCLEANFILES): Add buddy.py.
(pyexec_LTLIBRARIES): Add _buddy.la.
(_buddy_la_SOURCES, _buddy_la_LDFLAGS, $(srcdir)/buddy_wrap.cxx)
($(srcdir)/buddy.py): New.
* wrap/python/tests/bddnqueen.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add it.
2003-08-01 16:17:35 +00:00
Alexandre Duret-Lutz
286405da95 * wrap/python/Makefile.am (python_PYTHON, _spot_la_SOURCES):
Explicitely refer to spot_wrap.cxx and spot.py as
$(srcdir)/spot_wrap.cxx and $(srcdir)/spot.py.
(spot_wrap.cxx, spot.py):
2003-08-01 08:57:33 +00:00
Alexandre Duret-Lutz
a066bd459c * wrap/python/Makefile.am (spot_wrap.cxx, spot.py): Lookup
spot.i in $(srcdir).
2003-08-01 08:45:54 +00:00
Alexandre Duret-Lutz
0c50e20ffd * configure.ac: Output wrap/python/tests/Makefile
and wrap/python/tests/run.
* wrap/python/Makefile.am (SUBDIRS): New variable.
* wrap/python/spot.i: Include all formulae headers from ltlast/,
as well as ltlvisit/destroy.hh.
(spot::ltl::formula::__cmp__, spot::ltl::formula::__str__): New
functions.
* wrap/python/tests/Makefile.am, wrap/python/tests/ltlsimple.py,
wrap/python/tests/run.in: New files.
2003-07-31 20:04:29 +00:00
Alexandre Duret-Lutz
a6bb5eaa5b * wrap/python/ltihooks.py: New file.
* wrap/python/Makefile.am (EXTRA_DIST): Add ltihooks.py.
2003-07-31 16:54:37 +00:00
Alexandre Duret-Lutz
525cc01696 * wrap/Makefile.am, wrap/spot.i: Move ...
* wrap/python/Makefile.am, wrap/python/spot.i: ... here.
* wrap/Makefile.am: New file.
* configure.ac: Output wrap/python/Makefile.
2003-07-31 12:20:49 +00:00