1. 15 Feb, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      remove twa::compute_support_conditions · a3e0c862
      Alexandre Duret-Lutz authored
      Fixes #148.
      * spot/twa/twa.hh, spot/twa/twa.cc, spot/kripke/fairkripke.hh,
      spot/kripke/fairkripke.cc, spot/ta/tgtaexplicit.hh,
      spot/ta/tgtaexplicit.cc, spot/twa/twagraph.hh, spot/twa/twaproduct.hh,
      spot/twa/twaproduct.cc, spot/twaalgos/stutter.cc, spot/twa/taatgba.hh,
      spot/twa/taatgba.cc: Remove the method.
      * spot/taalgos/tgba2ta.cc: Emulate it with a simple loop.
      * NEWS: Mention the removal.
    • Alexandre Duret-Lutz's avatar
      remove twa::transition_annotation · 39b95474
      Alexandre Duret-Lutz authored
      Fixes #149.
      * spot/twa/twa.hh, spot/twa/twa.cc, spot/kripke/fairkripke.hh,
      spot/kripke/kripke.hh, spot/twa/twaproduct.cc, spot/twa/twaproduct.hh:
      Remove this method.
      * spot/twaalgos/emptiness.cc, spot/twaalgos/emptiness.hh,
      tests/ltsmin/finite.test: Adjust.
      * NEWS: Mention the removal.
    • Etienne Renault's avatar
      Provide support for %dve and %require · 091251b5
      Etienne Renault authored
      * NEWS, python/spot/ltsmin.i,
      tests/python/ltsmin.ipynb: Here.
  2. 12 Feb, 2016 8 commits
  3. 10 Feb, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: fix destruction order of global variables · 86646ac3
      Alexandre Duret-Lutz authored
      Fixes #142, reported by Joachim Klein.
      * bin/autfilt.cc, bin/ltlfilt.cc, bin/randaut.cc, bin/randltl.cc: Make
      sure all global variables that have a destructor are destructed in the
      main.  Otherwise they risk being destructed after the library's global
      structures are destructed, causing access to freed memory.
      * NEWS: Mention the bug.
  4. 05 Feb, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: add option C(COLOR) · 77b0b5b3
      Alexandre Duret-Lutz authored
      This fixes the output gliches visible in the previous patches,
      where highlighting a state would remove its fill color.
      * spot/twaalgos/dot.cc, spot/taalgos/dot.cc: Implement option C(COLOR).
      * bin/common_aoutput.cc, doc/org/oaut.org: Document it.
      * doc/org/.dir-locals.el.in, doc/org/init.el.in,
      python/spot/__init__.py: Use it.
      * tests/python/automata-io.ipynb, tests/python/automata.ipynb,
      tests/python/highlighting.ipynb: Test it.
      * tests/core/readsave.test: Adjust.
      * NEWS: Mention recent changes.
  5. 01 Feb, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      dot, hoa: default to "k" for kripke structure · 02b5460b
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc: If a Kripke
      structure is passed, automatically enable the "k" option.
      * tests/core/parse_print_test.cc, tests/ltsmin/modelcheck.cc,
      tests/python/ltsmin.ipynb: Remove the explicit use of "k".
      * NEWS: Mention the change.
    • Alexandre Duret-Lutz's avatar
      dot: add option "k" · a9b4560f
      Alexandre Duret-Lutz authored
      Fixes #134.
      * spot/twaalgos/dot.cc: Implement it.
      * bin/common_aoutput.cc, spot/twaalgos/dot.hh, NEWS: Document it.
      * tests/core/readsave.test, tests/python/ltsmin.ipynb: Test it.
  6. 29 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      dot: add a <N option · b11c07b3
      Alexandre Duret-Lutz authored
      * spot/twaalgos/dot.cc: Implement it.
      * spot/taalgos/dot.cc: Ignore it.
      * spot/twaalgos/copy.cc, spot/twaalgos/copy.hh: Add option
      to limit the number of states.
      * tests/python/ltsmin.ipynb: Improve test case.
      * tests/Makefile.am: Cleanup the files generated by ltsmin.ipynb.
      * python/spot/__init__.py (setup): Add a max_states argument
      that default to 50.
      * bin/common_aoutput.cc: Mention the <INT option.
      * NEWS: Likewise.
  7. 26 Jan, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      ltl2tgba_fm: fix setting of unambiguous property · c968e7b8
      Alexandre Duret-Lutz authored
      Report from Joachim Klein.
      * spot/twaalgos/ltl2tgba_fm.cc: Set the property, do not read it.
      * tests/core/unambig.test: Add a test.
      * NEWS: Mention the bug.
    • Alexandre Duret-Lutz's avatar
      ltsmin: add accessors for variable names and types · db1e842a
      Alexandre Duret-Lutz authored
      * spot/ltsmin/ltsmin.hh, spot/ltsmin/ltsmin.cc: Expose more of the
      ltsmin interface.
      * python/spot/ltsmin.i: Add some helper functions on top of this
      new interface.
      * tests/python/ltsmin.ipynb: Test them.
      * NEWS: Mention it.
    • Alexandre Duret-Lutz's avatar
      ltsmin: implement a two-step loading · 907b72fb
      Alexandre Duret-Lutz authored
      * spot/ltsmin/ltsmin.cc, spot/ltsmin/ltsmin.hh: Split load_ltsmin() into
      ltsmin_model::load() and ltsmin_model::kripke().  Report errors using
      exceptions instead of on std::cerr.
      * python/spot/ltsmin.i: Deal with exceptions.
      * tests/ltsmin/modelcheck.cc, tests/python/ltsmin.ipynb: Adjust.
  8. 23 Jan, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      product: raise an exception if the dict are different · c4e9083f
      Alexandre Duret-Lutz authored
      Fixes #132.
      * python/spot.py (translate): Allow changing the dictionary.
      * tests/python/prodexpt.py: New file.
      * tests/Makefile.am: Add it.
      * spot/twa/twaproduct.cc, spot/twaalgos/product.cc: Add them.
      * NEWS: Mention the change.
    • Alexandre Duret-Lutz's avatar
      org: Add a Concepts page. · 78fd7bea
      Alexandre Duret-Lutz authored
      * doc/org/concepts.org: New file.
      * doc/Makefile.am: Add it.
      * doc/org/oaut.org: Add anchor.
      * doc/org/index.org, doc/org/tut.org: Add links to concepts.org.
      * doc/org/spot.css: Set up boxes for implementation details.
      * NEWS: Mention the new page.
  9. 15 Jan, 2016 3 commits
  10. 14 Jan, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      fix complete · 51483b9b
      Alexandre Duret-Lutz authored
      Alexandre Lewkowicz reported a case where complete() would peek an
      existing state that is accepting, and wrongly use it as a sink.
      * spot/twaalgos/complete.cc: Fix the function.
      * tests/core/complete.test: Add two more tests.
      * NEWS: Mention the bug.
    • Alexandre Duret-Lutz's avatar
      parseaut: add support for negated properties · 6c62362f
      Alexandre Duret-Lutz authored
      * spot/parseaut/parseaut.yy: Here.
      * tests/core/parseaut.test: Test it.
      * NEWS: Mention it.
  11. 13 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      twa: store property bits as trivals · da391492
      Alexandre Duret-Lutz authored
      * spot/twa/twa.hh: Store property bits as trivals.
      * NEWS: Mention the change.
      * spot/parseaut/parseaut.yy, spot/twaalgos/are_isomorphic.cc,
      spot/twaalgos/complete.cc, spot/twaalgos/dot.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/isdet.cc, spot/twaalgos/isunamb.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/postproc.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc,
      spot/twaalgos/stutter.cc, spot/twaalgos/stutter.hh,
      spot/twaalgos/totgba.cc, tests/core/ikwiad.cc,
      tests/python/product.ipynb, tests/python/remfin.py: Adjust.
      * doc/org/hoa.org, doc/org/tut21.org: Update documentation.
  12. 12 Jan, 2016 1 commit
  13. 10 Jan, 2016 1 commit
  14. 08 Jan, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: make HOA the default output · d0b38156
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc: Make HOA the default output.
      * NEWS: Mention this.
      * doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/hoa.org,
      doc/org/ltl2tgba.org, doc/org/ltl2tgta.org, doc/org/ltlcross.org,
      doc/org/ltldo.org, doc/org/oaut.org, doc/org/randaut.org,
      doc/org/satmin.org, doc/org/tut02.org, doc/org/tut03.org,
      doc/org/tut20.org, doc/org/tut21.org, doc/org/tut30.org,
      tests/core/dstar.test, tests/core/ltldo2.test, tests/core/monitor.test,
      tests/python/piperead.ipynb: Adjust.
  15. 06 Jan, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      bin: add support for SPOT_DEFAULT_FORMAT · 9d6727da
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_setup.cc:
      Implement it.
      * NEWS, bin/man/spot-x.x: Document it.
      * tests/core/readsave.test: Test it.
    • Alexandre Duret-Lutz's avatar
      bin: add -d as a shorthand for --dot · cca2022e
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc: Here.
      * NEWS, doc/org/oaut.org: Mention it.
      * tests/core/readsave.test: Use it once.
    • Alexandre Duret-Lutz's avatar
      randaut: rename -d as -e · ea5f52dd
      Alexandre Duret-Lutz authored
      This is so that we can have -d as an alias for --dot everywhere.
      * bin/randaut.cc: Rename -d as -e.
      * NEWS: Mention the change.
      * doc/org/autfilt.org, doc/org/oaut.org, doc/org/randaut.org,
      tests/core/parseaut.test, tests/core/readsave.test: Adjust.
  16. 05 Jan, 2016 1 commit
  17. 25 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Move spot-if/ltsmin/ to spot/ltsmin/ · 6fb4df43
      Alexandre Duret-Lutz authored
      * spot-if/ltsmin/: Rename as...
      * spot/ltsmin/: ... this.
      * spot-if/: Delete.
      * Makefile.am, NEWS, README, configure.ac, debian/libspot-dev.install,
      doc/Doxyfile.in, spot/Makefile.am, spot/sanity/80columns.test,
      spot/sanity/style.test: Adjust.
  18. 24 Dec, 2015 2 commits
    • 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
      * spot/twaalgos/product.cc: Fix computation of properties.
      * doc/org/hoa.org: Name.
      * NEWS: Update.
    • Alexandre Duret-Lutz's avatar
      twa: fix duplicate propositions in ap() · ad37cacb
      Alexandre Duret-Lutz authored
      Calling register_ap() with same atomic proposition several time, for
      instance via copy_ap() in a product, would create duplicate atomic
      propositions.  This fix will be exercised by the next patch.
      * spot/twa/twa.hh: Here.
      * spot/twaalgos/compsusp.cc, spot/twaalgos/ltl2taa.cc: Fix
      to correctly register atomic propositions.
      * NEWS: Mention it.
  19. 18 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc_code: parse from the constructor · df1ef302
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc (parse_acc_code): Rename as...
      (acc_cond::acc_code): ... this, making it a lot easier to build
      acceptance conditions from strings.
      * NEWS: Mention the change.
      * spot/twaalgos/dtwasat.cc, spot/bin/randaut.cc, spot/tests/acc.cc:
      * wrap/python/tests/acc_cond.ipynb, wrap/python/tests/accparse.ipynb,
      wrap/python/tests/accparse2.py: Simplify, but not completely to exercise
      all variants.
      * wrap/python/spot_impl.i: Make acc_code's constructor implicit.
  20. 17 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc_cond: rename is_tt/is_ff as is_t/is_f and add printer · 94cca9de
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh: Here.
      * spot/parseaut/parseaut.yy, spot/twa/acc.hh,
      spot/twaalgos/gtec/gtec.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/neverclaim.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc: Adjust.
      * NEWS: Mention the changes.
      * wrap/python/spot_impl.i: Bind acc_cond the printer.
      * wrap/python/tests/acc_cond.ipynb: Add more examples.
  21. 16 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc: simplify interface using operators · 4993e807
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc: Here.  Also remove
      some redundant functions.
      * spot/parseaut/parseaut.yy, spot/priv/accmap.hh, spot/tests/acc.cc,
      spot/tests/twagraph.cc, spot/twa/taatgba.hh, spot/twa/twaproduct.cc,
      spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/tau03opt.cc, spot/twaalgos/weight.cc,
      spot/twaalgos/weight.hh: Adjust.
      * NEWS: Mention the changes.