Commit graph

4990 commits

Author SHA1 Message Date
Alexandre Duret-Lutz
250e121a60 print_dot: add xlabel to colored states if too many colors in use
Based on a report from Andreas Tollkötter.

* spot/twaalgos/dot.cc (highlight_states_show_num_): New option,
turned on implicitly when more than 8 colors are used.
* tests/core/highlightstate.test: Test it.
* NEWS: Mention it.
* THANKS: Add Andreas.
2018-09-25 14:04:11 +02:00
Alexandre Duret-Lutz
9490179e27 * debian/copyright: Fix syntax. 2018-09-01 20:23:11 +02:00
Alexandre Duret-Lutz
2c3852597a remove more references to the old cgi-based translator
* debian/source/lintian-overrides, python/.gitignore: Here
2018-08-28 20:48:44 +02:00
Alexandre Duret-Lutz
32affa88cb debian: add missing build dependency
* debian/control (Build-Depends): Add dh-python.
2018-08-28 13:45:57 +02:00
Alexandre Duret-Lutz
c4015bbcbb debiam: fix the regex from previous patches
* debian/rules: Here.
2018-08-22 11:21:22 +02:00
Alexandre Duret-Lutz
68d89cf77f debian: apply the mathjax regex to org output as well
* debian/rules: Here.
2018-08-19 23:52:23 +02:00
Alexandre Duret-Lutz
a6414013ec * doc/org/setup.org: Typo. 2018-08-17 22:16:17 +02:00
Alexandre Duret-Lutz
87fd4813aa debian: another mathjax regex
* debian/rules: mathjax is also fetched from cdnjs.cloudflare.com.
2018-08-16 22:51:07 +02:00
Alexandre Duret-Lutz
39fb2c44e6 debian: adjust the mathjax regex
* debian/rules: Here.
2018-08-15 23:11:05 +02:00
Alexandre Duret-Lutz
6669bc3608 * debian/control: Typo. 2018-08-15 13:20:56 +02:00
Alexandre Duret-Lutz
f332cb0ae7 * HACKING: R is now required to build from git. 2018-08-11 18:31:17 +02:00
Alexandre Duret-Lutz
55dfbc8206 fix --disable-doxygen and --disable-c++17
Reported by Yuri Victorovich.

* configure.ac (enable_doxygen, enable_c++17): Use $enableval instead
of "yes".
* THANKS: Add Yuri.
2018-08-11 17:33:53 +02:00
Alexandre Duret-Lutz
389ef16b1b gcc-snapshot warnings
* spot/kripke/kripkegraph.hh, spot/priv/bddalloc.hh,
spot/priv/freelist.hh, spot/priv/satcommon.hh, spot/ta/taexplicit.cc
spot/twa/bdddict.cc, spot/twa/twagraph.hh,
spot/twaalgos/alternation.hh, spot/twaalgos/dtwasat.cc,
spot/twaalgos/ltl2taa.cc, spot/twaalgos/stutter.cc,
tests/core/ngraph.cc: Add default constructors, copy constructors, or
remove useless destructors.
2018-08-11 17:33:53 +02:00
Alexandre Duret-Lutz
d147ad2510 Adjust to Automake 1.16
* python/Makefile.am: Adjust for Automake 1.16.
2018-08-11 17:33:53 +02:00
Alexandre Duret-Lutz
03d9b0c2bb get rid of the Python-based CGI translator
We now have a separate project for its replacement at
https://gitlab.lrde.epita.fr/spot/spot-web-app/

* python/ajax/: Remove directory.
* python/Makefile.am, configure.ac, README: Adjust.
* NEWS: Mention this.
2018-08-11 17:33:53 +02:00
Alexandre Duret-Lutz
042591a986 * NEWS: Reorganize entries for next release. 2018-08-11 17:33:53 +02:00
Alexandre Duret-Lutz
ff19c0620f org: show some useful R operations on ltlcross output
* doc/org/ltlcross.org: Here.
* doc/org/init.el.in, doc/org/.dir-locals.el.in: Enable R,
and install ess.
2018-08-11 17:33:47 +02:00
Alexandre Duret-Lutz
640e54a5d9 Merge branch 'master' into next 2018-08-04 08:58:20 +02:00
Alexandre Duret-Lutz
90f529918b * NEWS, configure.ac: Bump version number. 2018-08-04 08:56:38 +02:00
Alexandre Duret-Lutz
d743674729 Release Spot 2.6.1
* NEWS, configure.ac, doc/org/setup.org: Update version number.
2018-08-04 08:54:45 +02:00
Alexandre Duret-Lutz
5c8cf1bc47 fix python bindings for spot::parsed_formula::f getter
* python/spot/impl.i: Add a typemap.
* tests/python/ltlsimple.py: Add a test case for an issue.
* NEWS: Mention the bug.
2018-08-03 08:27:35 +02:00
Alexandre Duret-Lutz
8a26744720 fix python bindings for spot::parsed_formula::f getter
* python/spot/impl.i: Add a typemap.
* tests/python/ltlsimple.py: Add a test case for an issue.
* NEWS: Mention the bug.
2018-08-02 23:05:22 +02:00
Alexandre Duret-Lutz
701a3b1c6a contains: fix the semantics
spot::contains(a, b) should test a⊇b.  It was testing a⊆b instead.

* NEWS: Mention the bug.
* spot/twaalgos/contains.cc, spot/twaalgos/contains.hh: Fix the
code and documentation.
* tests/python/contains.ipynb: Adjust description and expected
results.
* python/spot/__init__.py: Also swap the argument of
language_containment_checker.contains()
* bin/autfilt.cc: Adjust usage.
2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
126d392355 tl: add some implication-based rewritings for "<->", "->", and "xor"
This prevents an exception from being raised if NNF is not performed
on Boolean properties and implication-based checks are used.

* NEWS: Mention the issue.
* spot/tl/simplify.cc, doc/tl/tl.tex: Add some rules.
* tests/python/ltlsimple.py: Test them.
2018-08-02 13:54:17 +02:00
Maximilien Colange
d8419db618 * spot/twa/acc.hh: fix constness 2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
483b05c550 * spot/twaalgos/translate.cc: Typos in comments. 2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
b2e51545f9 scc_info: fix split_on_sets
* spot/twaalgos/sccinfo.cc (split_on_sets): Correctly register APs.
* tests/python/sccsplit.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
2d8292c02e * .gitlab-ci.yml (debpkg-stable): Typo. 2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
79a62ae1c9 ltlfilt: introduce --suspendable
* bin/ltlfilt.cc: Add the option.
* tests/core/ltlfilt.test: Use it.
* NEWS: Mention it.
2018-08-02 13:54:17 +02:00
Alexandre Duret-Lutz
d5ffdb60b5 * spot/twa/twa.cc: Typo. 2018-08-02 13:53:12 +02:00
Etienne Renault
85eff247b2 HACKING: directory has moved
* HACKING: Here.
2018-08-02 13:53:12 +02:00
Etienne Renault
e0b10d847a remove duplicated includes
* spot/graph/graph.hh,
spot/taalgos/tgba2ta.cc,
spot/tl/formula.hh,
spot/twaalgos/dot.cc,
spot/twaalgos/ltl2tgba_fm.cc,
spot/twaalgos/ndfs_result.hxx,
spot/twaalgos/powerset.cc,
spot/twaalgos/stutter.cc: Here.
2018-08-02 13:53:12 +02:00
Etienne Renault
acf254243b remove useless forward declaration
* spot/ta/taexplicit.hh,
spot/twaalgos/compsusp.hh,
spot/twaalgos/isunamb.hh,
spot/twaalgos/word.hh: Here.
2018-08-02 13:53:12 +02:00
Alexandre Duret-Lutz
b33a88d8bb escape_rfc4180: document relation with std::quote
* spot/misc/escape.hh: Here.
2018-08-02 13:53:12 +02:00
Alexandre Duret-Lutz
1edb47ad5b fix two issues related to jupyter notebook execution
* tests/python/ipnbdoctest.py: Invert diffs inputs.
* tests/run.in: Run notebooks with
PYTHONIOENCODING=utf-8:surrogateescape to avoid exceptions when trying
to display utf-8 characters on ascii terminals.
2018-08-02 13:53:12 +02:00
Alexandre Duret-Lutz
b8aae428e5 org: add missing documentation for prop_complete
* doc/org/concepts.org: Here.
2018-08-02 13:53:12 +02:00
8d475780d2 * HACKING: typos 2018-08-02 13:53:12 +02:00
Alexandre Duret-Lutz
8edd064859 * doc/tl/tl.tex: Convert to utf-8. 2018-08-02 13:53:12 +02:00
Alexandre Duret-Lutz
23722c031f contains: fix the semantics
spot::contains(a, b) should test a⊇b.  It was testing a⊆b instead.

* NEWS: Mention the bug.
* spot/twaalgos/contains.cc, spot/twaalgos/contains.hh: Fix the
code and documentation.
* tests/python/contains.ipynb: Adjust description and expected
results.
* python/spot/__init__.py: Also swap the argument of
language_containment_checker.contains()
* bin/autfilt.cc: Adjust usage.
2018-08-01 17:17:25 +02:00
Alexandre Duret-Lutz
4ce0d92896 tl: add some implication-based rewritings for "<->", "->", and "xor"
This prevents an exception from being raised if NNF is not performed
on Boolean properties and implication-based checks are used.

* NEWS: Mention the issue.
* spot/tl/simplify.cc, doc/tl/tl.tex: Add some rules.
* tests/python/ltlsimple.py: Test them.
2018-08-01 17:17:09 +02:00
Maximilien Colange
a0005cd3c9 * spot/twa/acc.hh: fix constness 2018-07-28 16:47:51 +02:00
Maximilien Colange
8d5d453efa ltlsynt: new algorithm, based on LAR
* bin/ltlsynt.cc: here
* tests/core/ltlsynt.test: test it
* NEWS: document it
2018-07-27 15:34:39 +02:00
Maximilien Colange
bd75ab5b39 ltlsynt: rework synthesis algorithms
ltlsynt now offers two algorithms: one where splitting occurs before
determinization (the historical one) and one where determinization
occurs before splitting.

* bin/ltlsynt.cc: here
* tests/core/ltlsynt.test: test it and refactor test file
* NEWS: document it
* spot/misc/game.hh, spot/misc/game.cc: remove Calude's algorithm
2018-07-27 14:22:11 +02:00
Maximilien Colange
516e9536df LAR made smarter with symmetry-based degeneralization
* spot/twaalgos/toparity.cc: here
* spot/twa/acc.hh, spot/twa/acc.cc: compute symmetries of an acceptance
  condition
* tests/python/accparse2.py, tests/python/toparity.py: test it
2018-07-27 00:44:19 +02:00
Alexandre Duret-Lutz
3303b86a89 ltl-split: translate any "safety" with "rest"
* tests/core/ltl2tgba2.test: Add a test-case reported by Maximilien.
* spot/twaalgos/translate.cc: Translate any "safety" formula with
"rest".
* tests/python/highlighting.ipynb: Adjust.
2018-07-26 18:17:13 +02:00
Alexandre Duret-Lutz
a14f96813d * spot/twaalgos/translate.cc: Typos in comments. 2018-07-26 17:02:52 +02:00
Alexandre Duret-Lutz
469d2b4ef4 genem: fix removal of unsatisfied Fin(x) sets
Fixes #360.

* spot/twa/acc.cc, spot/twa/acc.hh (force_inf): New method.
* spot/twaalgos/genem.cc: Fix the emptiness check using force_inf.
* tests/python/genem.py: Add test case and adjust the python
version of the emptiness check.
2018-07-26 16:07:30 +02:00
Alexandre Duret-Lutz
9f81df2cd4 scc_info: fix split_on_sets
* spot/twaalgos/sccinfo.cc (split_on_sets): Correctly register APs.
* tests/python/sccsplit.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
2018-07-26 16:07:22 +02:00
Alexandre Duret-Lutz
b52f4ea711 * .gitlab-ci.yml (debpkg-stable): Typo. 2018-07-25 11:18:26 +02:00
Alexandre Duret-Lutz
4b8910d3f9 ltlfilt: introduce --suspendable
* bin/ltlfilt.cc: Add the option.
* tests/core/ltlfilt.test: Use it.
* NEWS: Mention it.
2018-07-25 11:18:26 +02:00