1. 27 Dec, 2015 1 commit
  2. 25 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      rename wrap/python/ to python/ · 34c3c1ce
      Alexandre Duret-Lutz authored
      * wrap/python/: Rename to...
      * python/: ... this.
      * wrap/: Delete.
      * Makefile.am, README, configure.ac, debian/python3-spot.examples,
      debian/rules, doc/org/.dir-locals.el.in, doc/org/init.el.in,
      spot/sanity/ipynb.test: Adjust.
      34c3c1ce
  3. 24 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      show how to implement product in Python · 74ec9c54
      Alexandre Duret-Lutz authored
      * wrap/python/tests/product.ipynb: New file.
      * wrap/python/tests/Makefile.am, doc/org/tut.org: Add it.
      * wrap/python/tests/ipnbdoctest.py: Ignore %timeit results.
      * wrap/python/spot_impl.i: Add bindings for
      set_state_names()/get_state_names().
      * spot/twaalgos/product.cc: Fix computation of properties.
      * doc/org/hoa.org: Name.
      * NEWS: Update.
      74ec9c54
  4. 16 Dec, 2015 1 commit
  5. 15 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: port the tut22.org example to Python · c39d35d0
      Alexandre Duret-Lutz authored
      * wrap/python/spot_impl.i: Extend acc_cond::mark_t to with a constructor
      that takes a vector.
      * doc/org/tut22.org: Add a Python version.
      * doc/org/tut.org: Adjust the list, we don't have any C++-specific
      example.
      * NEWS: Mention it.
      c39d35d0
  6. 14 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      python: allow iterating over the successors of a state · 9313222e
      Alexandre Duret-Lutz authored
      Fixes #118.
      
      * spot/twa/twagraph.hh: Avoid using graph_t::state to help Swig.
      * wrap/python/spot_impl.i: Add a __str__ function for acc_cond::mark_t.
      * doc/org/tut21.org: Add the Python version.
      * doc/org/tut.org: Move tut21.org to the Python/C++ section.
      * NEWS: Update.
      9313222e
  7. 08 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      org: update Spot description on index page · 2d3e7cec
      Alexandre Duret-Lutz authored
      * doc/org/index.org: Here.
      2d3e7cec
    • Alexandre Duret-Lutz's avatar
      introduce is_inherently_weak_automaton() · 1f2260f9
      Alexandre Duret-Lutz authored
      * spot/twaalgos/strength.cc, spot/twaalgos/strength.hh
      (is_inherently_weak_automaton): New function.
      (is_type_automaton): Adjust to implement the above and
      set prop_inherently_weak().
      * spot/twaalgos/isweakscc.cc, spot/twaalgos/isweakscc.hh:
      Rewrite is_inherently_weak_scc() to not enumerate cycles.
      * spot/bin/autfilt.cc: Add a --is-inherently-weak option.
      * spot/tests/readsave.test: More tests.
      * spot/tests/strength.test: Adjust expected output.
      * doc/org/hoa.org: Adjust documentation of --check.
      * NEWS: Mention those changes.
      1f2260f9
  8. 05 Dec, 2015 1 commit
  9. 04 Dec, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      rename src/ as spot/ and use include <spot/...> · f120dd32
      Alexandre Duret-Lutz authored
      * NEWS: Mention the change.
      * src/: Rename as ...
      * spot/: ... this, adjust all headers to include <spot/...> instead of
      "...", and adjust all Makefile.am to search headers from the top-level
      directory.
      * HACKING: Add conventions about #include.
      * spot/sanity/style.test: Add a few more grep to catch cases
      that do not follow these conventions.
      * .gitignore, Makefile.am, README, bench/stutter/Makefile.am,
      bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
      debian/rules, doc/Doxyfile.in, doc/Makefile.am,
      doc/org/.dir-locals.el.in, doc/org/g++wrap.in, doc/org/init.el.in,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org,
      doc/org/tut10.org, doc/org/tut20.org, doc/org/tut21.org,
      doc/org/tut22.org, doc/org/tut30.org, iface/ltsmin/Makefile.am,
      iface/ltsmin/kripke.test, iface/ltsmin/ltsmin.cc,
      iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc,
      wrap/python/Makefile.am, wrap/python/ajax/spotcgi.in,
      wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py,
      wrap/python/tests/randgen.py, wrap/python/tests/run.in: Adjust.
      f120dd32
    • Alexandre Duret-Lutz's avatar
      Release Spot 1.99.6 · af96afac
      Alexandre Duret-Lutz authored
      * NEWS, configure.ac, doc/org/setup.org: Update version and date.
      af96afac
  10. 29 Nov, 2015 1 commit
  11. 28 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      print_hoa: add option "k" · 745fda1a
      Alexandre Duret-Lutz authored
      * src/twaalgos/hoa.cc, src/twaalgos/hoa.hh: Implement it.
      * NEWS, doc/org/hoa.org, src/bin/common_aoutput.cc: Document it.
      * src/tests/readsave.test: Test it.
      745fda1a
  12. 20 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      org: more language tooltips in HTML output · 6237bf4c
      Alexandre Duret-Lutz authored
      * doc/org/spot.css: add tooltips for Python and C++.
      6237bf4c
    • Alexandre Duret-Lutz's avatar
      org: syntax-highlight the HOA outputs · 5aba246f
      Alexandre Duret-Lutz authored
      * elisp/hoa-mode.el, elisp/Makefile.am, elisp/README: New files.
      * debian/copyright, configure.ac, README, Makefile.am: Adjust.
      * doc/org/init.el.in: Adjust to load hoa-mode.el.
      * doc/org/spot.css: Add entries for HOA mode.
      * doc/org/hoa.org, doc/org/ltldo.org, doc/org/oaut.org,
      doc/org/tut20.org, doc/org/tut21.org, doc/org/tut22.org,
      doc/org/tut30.org: Make the HOA outputs as HOA.
      5aba246f
  13. 17 Nov, 2015 1 commit
  14. 08 Nov, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Add a notebook illustrating decompose_strength() · 104a372c
      Alexandre Duret-Lutz authored
      * wrap/python/tests/decompose.ipynb: New file.
      * wrap/python/tests/Makefile.am: Add it.
      * src/twaalgos/strength.cc: Fix corner cases.
      * src/tests/strength.test: Adjust corner case.
      * NEWS, doc/org/tut.org: Mention the notebook.
      104a372c
  15. 07 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      Add support for --check=strength · 3428fb32
      Alexandre Duret-Lutz authored
      * src/twaalgos/strength.cc, src/twaalgos/strength.hh (check_strength):
      New function.
      * src/bin/common_aoutput.cc: Add --check=strength.
      * src/tests/strength.test: New file.
      * src/tests/Makefile.am: Add it.
      * doc/org/hoa.org, NEWS: Document it.
      3428fb32
    • Alexandre Duret-Lutz's avatar
      add support for the "terminal" property · 0c5f87b4
      Alexandre Duret-Lutz authored
      * src/twa/twa.hh: Store the terminal property.
      * src/twaalgos/hoa.cc, src/parseaut/parseaut.yy: Add I/O for "terminal".
      * src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/minimize.cc: Set terminal
      as apropriate.
      * src/twaalgos/safety.cc: Use it.
      * doc/org/tut21.org, doc/org/hoa.org, NEWS: Document it.
      * src/tests/complement.test, src/tests/monitor.test,
      wrap/python/tests/automata-io.ipynb: Adjust.
      0c5f87b4
  16. 06 Nov, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      add support for the weak property · 65488871
      Alexandre Duret-Lutz authored
      This fixes #119.
      
      * doc/org/tut21.org, doc/org/hoa.org, NEWS: Document it.
      * src/twa/twa.hh: Support it in automata.
      * src/twaalgos/hoa.cc, src/parseaut/parseaut.yy: Add I/O support.
      * src/twaalgos/minimize.cc, src/twaalgos/totgba.cc: Set weak
      automata on output.
      * src/tests/complement.test, src/tests/parseaut.test,
      src/tests/readsave.test, src/tests/remfin.test, src/tests/sccsimpl.test,
      src/tests/wdba2.test, wrap/python/tests/automata-io.ipynb: Adjust.
      65488871
    • Alexandre Duret-Lutz's avatar
      org: more examples of accessing properties · eecd2012
      Alexandre Duret-Lutz authored
      For the first part of #118.
      
      * doc/org/tut21.org: Here.
      eecd2012
  17. 05 Nov, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      hoa: output "unambiguous" only for non-deterministic automata by default · 33c234da
      Alexandre Duret-Lutz authored
      * src/twaalgos/hoa.cc: Output do not output "unambiguous" if the
      automaton is deterministic.  Add option "v" to cancel this restriction,
      and also output "no-univ-branch".
      * src/twaalgos/hoa.hh: Document the "v" option.
      * src/tests/readsave.test: Test it.
      * src/tests/unambig.test: Adjust for unambiguous not being output
      if the automaton is deterministic.
      * src/bin/common_aoutput.cc, NEWS: Document it.
      * doc/org/hoa.org: Add a summary table about how properties are handled.
      * src/twa/twa.hh (prop_deterministic): Setting this should also
      set the unambiguous property.
      * src/twaalgos/isunamb.cc: Simplify the property check.
      33c234da
    • Alexandre Duret-Lutz's avatar
      org: update description of support for HOA properties · 30037b99
      Alexandre Duret-Lutz authored
      * doc/org/hoa.org: Here.  Also mention --trust-hoa.
      30037b99
    • Alexandre Duret-Lutz's avatar
      twa: rename the is_* getters as prop_* · cbb2e64e
      Alexandre Duret-Lutz authored
      This fixes #116.
      
      * src/twa/twa.hh: Rename those methods.
      * NEWS: Document the renamings.
      * doc/org/hoa.org, doc/org/tut21.org, src/parseaut/parseaut.yy,
      src/tests/ikwiad.cc, src/twa/twagraph.hh,
      src/twaalgos/are_isomorphic.cc, src/twaalgos/complete.cc,
      src/twaalgos/degen.cc, src/twaalgos/dot.cc, src/twaalgos/dtbasat.cc,
      src/twaalgos/dtgbasat.cc, src/twaalgos/hoa.cc, src/twaalgos/isdet.cc,
      src/twaalgos/isunamb.cc, src/twaalgos/lbtt.cc,
      src/twaalgos/minimize.cc, src/twaalgos/postproc.cc,
      src/twaalgos/product.cc, src/twaalgos/randomgraph.cc,
      src/twaalgos/remfin.cc, src/twaalgos/sbacc.cc,
      src/twaalgos/simulation.cc, src/twaalgos/stutter.cc,
      src/twaalgos/totgba.cc: Adjust.
      cbb2e64e
  18. 03 Nov, 2015 2 commits
  19. 26 Oct, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      bin: factor handling of -B/-C/-D/... output options · 71979840
      Alexandre Duret-Lutz authored
      * src/bin/common_post.cc: Handle the options
      for BA/TGBA/Monitor as well as Complete/SBAcc here,
      and in the same group.  Rename "Translation intent"
      and "Optimization level" to "Simplification goal" and
      "Simplification level" so that it makes sense even
      in autfilt.
      * src/bin/autfilt.cc, src/bin/dstar2tgba.cc,
      src/bin/ltl2tgba.cc: Remove common code.
      * doc/org/autfilt.org, doc/org/dstar2tgba.org,
      doc/org/ltl2tgba.org: Adjust sed invocations.
      71979840
    • Alexandre Duret-Lutz's avatar
      parse_aut: simplify the interface · dee73ee3
      Alexandre Duret-Lutz authored
      * src/parseaut/public.hh, src/parseaut/parseaut.yy,
      src/parseaut/fmterror.cc: Add a raise_errors options.  Remove the
      parse_strict() method.  Store parse errors and filename in the output
      parsed_aut to simplify usage.
      * doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org,
      src/bin/autfilt.cc, src/bin/common_hoaread.cc, src/bin/dstar2tgba.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/complementation.cc,
      src/tests/ikwiad.cc, src/tests/ltlcross3.test, src/tests/ltldo.test,
      wrap/python/spot.py, wrap/python/tests/parsetgba.py: Adjust usage.
      * NEWS: Mention the changes.
      dee73ee3
  20. 23 Oct, 2015 1 commit
  21. 21 Oct, 2015 1 commit
  22. 20 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      org: fix multiple examples · c7d063aa
      Alexandre Duret-Lutz authored
      I have to remember that org-mode does not evaluate something unless it
      is eventually exported.
      
      * doc/org/hoa.org, doc/org/ioltl.org, doc/org/tut21.org,
      doc/org/tut30.org: Adjust exports commands.
      c7d063aa
  23. 19 Oct, 2015 1 commit
  24. 18 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      tl: rename ltl_simplifier to tl_simplifier · 176c9e2e
      Alexandre Duret-Lutz authored
      * doc/org/tut01.org, doc/tl/tl.tex, src/bin/common_r.hh,
      src/bin/ltlfilt.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
      src/tests/randtgba.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
      src/tl/nenoform.cc, src/tl/randomltl.cc, src/tl/randomltl.hh,
      src/tl/simplify.cc, src/tl/simplify.hh, src/twaalgos/ltl2tgba_fm.cc,
      src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/stutter.cc,
      src/twaalgos/translate.cc, src/twaalgos/translate.hh,
      wrap/python/ajax/spotcgi.in, wrap/python/spot.py,
      wrap/python/tests/interdep.py: Rename ltl_simplifier to tl_simplifier.
      * NEWS: Mention it.
      176c9e2e
  25. 03 Oct, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      org: better syntax highlighting · 24a8affb
      Alexandre Duret-Lutz authored
      * doc/org/init.el.in: Activate CSS for code fragments.
      * doc/org/spot.css: Style relevant elements.
      24a8affb
    • Alexandre Duret-Lutz's avatar
      python: implement formula.__format__ · 5bfd0267
      Alexandre Duret-Lutz authored
      Fixes #105.
      
      * src/bin/common_trans.cc (quote_shell_string): Move ...
      * src/misc/escape.cc, src/misc/escape.hh (quote_shell_string):
      ... here.
      * wrap/python/spot_impl.i: Wrap escape.hh.
      * wrap/python/spot.py: Implement formula.__format__.
      * wrap/python/tests/ltlsimple.py: Test it.
      * NEWS, doc/org/tut01.org, wrap/python/tests/formulas.ipynb: Document
      it.
      5bfd0267
  26. 01 Oct, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Spot 1.99.4 · 59685ead
      Alexandre Duret-Lutz authored
      * NEWS, configure.ac, doc/org/setup.org: Bump version.
      * doc/org/index.org: Better wording of a link.
      59685ead
  27. 30 Sep, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      * doc/org/tut03.org: Fix typos. · 7c5f345d
      Alexandre Duret-Lutz authored
      7c5f345d
    • Alexandre Duret-Lutz's avatar
      ltlparse: move in parsetl/, and declare in tl/parse.hh · ae6cd921
      Alexandre Duret-Lutz authored
      * src/ltlparse/public.hh: Rename as...
      * src/tl/parse.hh: ... this.
      * src/ltlparse/: Rename as...
      * src/parsetl/: ... this.
      * NEWS: Mention the change.
      * README, configure.ac, doc/org/tut01.org, doc/org/tut02.org,
      doc/org/tut03.org, doc/org/tut10.org, src/Makefile.am,
      src/bin/common_finput.cc, src/bin/common_finput.hh, src/bin/ltl2tgta.cc,
      src/kripkeparse/kripkeparse.yy, src/parseaut/parseaut.yy,
      src/tests/checkpsl.cc, src/tests/checkta.cc,
      src/tests/complementation.cc, src/tests/consterm.cc,
      src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
      src/tests/kind.cc, src/tests/length.cc, src/tests/ltlprod.cc,
      src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/readltl.cc,
      src/tests/reduc.cc, src/tests/syntimpl.cc, src/tests/tostring.cc,
      src/tl/Makefile.am, src/twaalgos/lbtt.cc, wrap/python/spot_impl.i,
      iface/ltsmin/modelcheck.cc: Adjust.
      ae6cd921
  28. 28 Sep, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      doc: more examples of the formula interface · c67540db
      Alexandre Duret-Lutz authored
      * src/tl/formula.hh, src/tl/formula.cc: Add an operator<< to print
      formulas.
      * doc/org/tut01.org, doc/org/tut02.org: Adjust.
      * doc/org/tut03.org: New file.
      * doc/org/tut.org, doc/Makefile.am: Add it.
      c67540db
    • Alexandre Duret-Lutz's avatar
      kill the ltl namespace · cb392101
      Alexandre Duret-Lutz authored
      * NEWS: Mention it.
      * bench/stutter/stutter_invariance_formulas.cc,
      bench/stutter/stutter_invariance_randomgraph.cc, doc/mainpage.dox,
      doc/org/tut01.org, doc/org/tut02.org, doc/org/tut10.org, doc/tl/tl.tex,
      iface/ltsmin/ltsmin.cc, iface/ltsmin/ltsmin.hh,
      iface/ltsmin/modelcheck.cc, src/bin/autfilt.cc,
      src/bin/common_aoutput.cc, src/bin/common_aoutput.hh,
      src/bin/common_finput.cc, src/bin/common_finput.hh,
      src/bin/common_output.cc, src/bin/common_output.hh, src/bin/common_r.hh,
      src/bin/common_trans.cc, src/bin/common_trans.hh, src/bin/dstar2tgba.cc,
      src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
      src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc,
      src/bin/ltlgrind.cc, src/bin/randaut.cc, src/bin/randltl.cc,
      src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh,
      src/kripkeparse/kripkeparse.yy, src/kripkeparse/public.hh,
      src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy,
      src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh,
      src/ltlparse/public.hh, src/parseaut/parseaut.yy,
      src/parseaut/public.hh, src/tests/checkpsl.cc, src/tests/checkta.cc,
      src/tests/complementation.cc, src/tests/consterm.cc,
      src/tests/emptchk.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
      src/tests/kind.cc, src/tests/length.cc, src/tests/ltlprod.cc,
      src/tests/ltlrel.cc, src/tests/parse.test,
      src/tests/parse_print_test.cc, src/tests/randtgba.cc,
      src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
      src/tests/taatgba.cc, src/tests/tostring.cc, src/tests/tostring.test,
      src/tl/apcollect.cc, src/tl/apcollect.hh, src/tl/contain.cc,
      src/tl/contain.hh, src/tl/declenv.cc, src/tl/declenv.hh,
      src/tl/defaultenv.cc, src/tl/defaultenv.hh, src/tl/dot.cc,
      src/tl/dot.hh, src/tl/environment.hh, src/tl/exclusive.cc,
      src/tl/exclusive.hh, src/tl/formula.cc, src/tl/formula.hh,
      src/tl/length.cc, src/tl/length.hh, src/tl/mark.cc, src/tl/mark.hh,
      src/tl/mutation.cc, src/tl/mutation.hh, src/tl/nenoform.cc,
      src/tl/nenoform.hh, src/tl/print.cc, src/tl/print.hh,
      src/tl/randomltl.cc, src/tl/randomltl.hh, src/tl/relabel.cc,
      src/tl/relabel.hh, src/tl/remove_x.cc, src/tl/remove_x.hh,
      src/tl/simpfg.cc, src/tl/simpfg.hh, src/tl/simplify.cc,
      src/tl/simplify.hh, src/tl/snf.cc, src/tl/snf.hh, src/tl/unabbrev.cc,
      src/tl/unabbrev.hh, src/twa/bdddict.cc, src/twa/bdddict.hh,
      src/twa/bddprint.cc, src/twa/formula2bdd.cc, src/twa/formula2bdd.hh,
      src/twa/taatgba.cc, src/twa/taatgba.hh, src/twa/twa.hh,
      src/twa/twagraph.cc, src/twa/twagraph.hh, src/twaalgos/compsusp.cc,
      src/twaalgos/compsusp.hh, src/twaalgos/ltl2taa.cc,
      src/twaalgos/ltl2taa.hh, src/twaalgos/ltl2tgba_fm.cc,
      src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/minimize.cc,
      src/twaalgos/minimize.hh, src/twaalgos/neverclaim.cc,
      src/twaalgos/postproc.cc, src/twaalgos/postproc.hh,
      src/twaalgos/powerset.cc, src/twaalgos/powerset.hh,
      src/twaalgos/randomgraph.cc, src/twaalgos/randomgraph.hh,
      src/twaalgos/relabel.cc, src/twaalgos/relabel.hh,
      src/twaalgos/remprop.cc, src/twaalgos/remprop.hh, src/twaalgos/stats.cc,
      src/twaalgos/stats.hh, src/twaalgos/stutter.cc, src/twaalgos/stutter.hh,
      src/twaalgos/translate.cc, src/twaalgos/translate.hh,
      wrap/python/spot_impl.i: Remove the ltl namespace.
      cb392101