1. 08 Mar, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      typos: dictionnary -> dictionary · 47e1c969
      Alexandre Duret-Lutz authored
      * doc/org/upgrade2.org, tests/python/prodexpt.py,
      tests/python/product.ipynb, NEWS: Fix typos.
      * tests/sanity/style.test: Add a check for this.
      47e1c969
    • Alexandre Duret-Lutz's avatar
      degen: improve test coverage · 0d8a88b2
      Alexandre Duret-Lutz authored
      * spot/twaalgos/degen.cc: Make use_cust_acc_orders as unlikely, as it
      was never true in the whole test suite before this patch.
      * tests/core/ltlcross2.test: Play with degen-order and degen-lcache
      options to test more cases.
      0d8a88b2
    • Alexandre Duret-Lutz's avatar
      python: add bindings for bdd_to_formula() · 4e9303e3
      Alexandre Duret-Lutz authored
      Follow-up to an email from Ayrat Khalimov.
      
      * python/spot/impl.i: Include twa/formula2bdd.hh.
      * python/spot/__init__.py: Make the dictionnary
      optional.
      * spot/twa/formula2bdd.cc: Throw an exception instead of asserting.
      * tests/python/bdditer.py: New file.
      * tests/Makefile.am: Add it.
      * NEWS: Update.
      4e9303e3
  2. 07 Mar, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      twa_graph: more test coverage · 2e763a08
      Alexandre Duret-Lutz authored
      The goal is to improve coverage stats, but I discovered two issues
      while doing so.
      
      * tests/python/twagraph.py: New test case.
      * tests/Makefile.am: Add it.
      * spot/twa/twagraph.hh: Add fix typos in error messages.
      * python/spot/impl.i: Fix broken wrappers for state_from_number and
      state_acc_sets.
      2e763a08
    • Alexandre Duret-Lutz's avatar
      tests: remove ltlprod · be4f1397
      Alexandre Duret-Lutz authored
      This very old test did not do anything useful today.
      
      * tests/core/ltlprod.cc, tests/core/ltlprod.test: Delete.
      * tests/Makefile.am: Adjust.
      be4f1397
    • Alexandre Duret-Lutz's avatar
      twa_graph: fix set_univ_init_state() with initializer_list · 2c9f201c
      Alexandre Duret-Lutz authored
      Reported by Thomas Medioni.
      
      * spot/twa/twagraph.hh (set_univ_init_state): Remove the bogus
      template parameter.
      * tests/core/twagraph.cc, tests/core/tgbagraph.test: Test the method.
      * NEWS: Mention the bug.
      2c9f201c
  3. 03 Mar, 2017 3 commits
    • Alexandre Duret-Lutz's avatar
      monitor: fix -MD/-M difference in property output · a66e7704
      Alexandre Duret-Lutz authored
      Fixes #241.
      
      * spot/twaalgos/postproc.cc: Use the deterministic monitor if it
      has as many states as the non-deterministic one.
      * spot/twaalgos/minimize.cc (minimize_monitor): Quickly check
      for terminal automata.
      * spot/twaalgos/stripacc.cc: Set the weak property.
      * spot/twaalgos/stripacc.hh: Improve documentation.
      * tests/core/monitor.test, tests/core/sbacc.test: Update.
      * NEWS: Mention the issue.
      a66e7704
    • Alexandre Duret-Lutz's avatar
      postproc: fix monitor code · 2b9accdf
      Alexandre Duret-Lutz authored
      Fixes #240.
      
      * spot/twaalgos/postproc.cc: Do not call do_simul on the output of
      minimize_monitor(), and do not skip complete() when PREF_==Any.
      * tests/core/monitor.test: Add a test case.
      * NEWS: Mention the bug.
      * doc/org/ltl2tgba.org: Document complete monitors.
      2b9accdf
    • Alexandre Duret-Lutz's avatar
      sbacc: fix a typo and remove some useless code · 37fc948b
      Alexandre Duret-Lutz authored
      * spot/twaalgos/sbacc.cc: Do not assign to one_in twice, and
      fix the value of init_acc.
      * tests/core/sbacc.test: Add a test case.
      * NEWS: Mention the bug.
      37fc948b
  4. 02 Mar, 2017 1 commit
  5. 01 Mar, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      add options to %x to list atomic propositions · 18283d69
      Alexandre Duret-Lutz authored
      * bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_output.cc,
      bin/common_output.hh: Add options to %x to list atomic propositions
      with various quoting scheme.  Deprecate --format=%a in favor of the
      new --format=%x for consistency with --stats=%x.
      * tests/core/format.test, tests/core/remprop.test: Adjust and add more
      tests.
      * NEWS: Mention these changes.
      18283d69
  6. 28 Feb, 2017 2 commits
  7. 21 Feb, 2017 4 commits
  8. 20 Feb, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      scc_info: add Python bindings · 289b2383
      Alexandre Duret-Lutz authored
      Related to #172, where we discussed that scc_info bindings were
      missing.
      
      * spot/twaalgos/sccinfo.hh (spot::scc_info::scc_node): Move...
      (spot::scc_info_node): ... here to help Swig.
      * python/spot/impl.i: Add bindings for scc_info.
      * tests/python/sccinfo.py: New file.
      * tests/Makefile.am: Add it.
      289b2383
  9. 18 Feb, 2017 1 commit
  10. 16 Feb, 2017 4 commits
  11. 12 Feb, 2017 2 commits
    • Alexandre Duret-Lutz's avatar
      is_alternating() -> !is_existential() · fefb375d
      Alexandre Duret-Lutz authored
      Part of #212.
      
      * spot/misc/common.hh (SPOT_DEPRECATED): Improve support current
      compilers and options flags.
      * spot/twa/twagraph.hh, spot/graph/graph.hh (is_alternating): Mark it
      as deprecated.
      (is_existential): New method.
      * bin/autfilt.cc, bin/ltlcross.cc, spot/parseaut/parseaut.yy,
      spot/twa/twa.cc, spot/twa/twagraph.cc, spot/twaalgos/alternation.cc,
      spot/twaalgos/are_isomorphic.cc, spot/twaalgos/canonicalize.cc,
      spot/twaalgos/couvreurnew.cc, spot/twaalgos/cycles.cc,
      spot/twaalgos/degen.cc, spot/twaalgos/determinize.cc,
      spot/twaalgos/dot.cc, spot/twaalgos/dtbasat.cc,
      spot/twaalgos/dtwasat.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/isunamb.cc, spot/twaalgos/isweakscc.cc,
      spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc,
      spot/twaalgos/postproc.cc, spot/twaalgos/product.cc,
      spot/twaalgos/randomize.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/sbacc.cc, spot/twaalgos/sccfilter.cc,
      spot/twaalgos/sccinfo.cc, spot/twaalgos/simulation.cc,
      spot/twaalgos/strength.cc, tests/core/graph.cc, tests/core/ngraph.cc,
      tests/python/alternating.py: Adjust all uses.
      * NEWS: Mention the renaming.
      fefb375d
    • Alexandre Duret-Lutz's avatar
      alternation: fix detection of non-weak automata · 15c6fd95
      Alexandre Duret-Lutz authored
      Fixes #218.
      
      * spot/twaalgos/alternation.cc: Adjust check.
      * tests/core/alternating.test: Add test case from #218.
      * NEWS: Mention the bug.
      15c6fd95
  12. 04 Feb, 2017 1 commit
  13. 02 Feb, 2017 2 commits
    • Maximilien Colange's avatar
      Rework the 'down_cast' macro, closing #196. · 3f547089
      Maximilien Colange authored
      * spot/misc/casts.hh: New inline functions and compile-time checks.
      * spot/kripke/kripkegraph.hh, spot/ta/taexplicit.cc,
        spot/ta/taproduct.cc, spot/ta/tgtaproduct.cc, spot/taalgos/tgba2ta.cc,
        spot/twa/taatgba.hh, spot/twa/taatgba.cc, spot/twa/twagraph.hh,
        spot/twa/twaproduct.cc, spot/twaalgos/emptiness.cc,
        spot/twaalgos/stutter.cc, spot/ltsmin/ltsmin.cc, tests/core/ikwiad.cc,
        tests/core/ngraph.cc: Remove downcast checks from code.
      3f547089
    • Maximilien Colange's avatar
      Do not warn about static_asserts. · 07a76e4d
      Maximilien Colange authored
      * tests/sanity/style.test: Filter out static_assert.
      07a76e4d
  14. 01 Feb, 2017 1 commit
  15. 27 Jan, 2017 1 commit
  16. 23 Jan, 2017 1 commit
  17. 18 Jan, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      python: render the M&P hierarchy in SVG · ff4c4a72
      Alexandre Duret-Lutz authored
      * python/spot/__init__.py (show_mp_hierarchy, mp_hierarchy_svg): New
      functions.
      * tests/python/formulas.ipynb: Illustrate show_mp_hierarchy.
      * python/ajax/spotcgi.in: Use mp_hierarchy_svg.
      * python/ajax/css/trans.css: Adjust for possible overflows.
      * NEWS: Mention this new feature.
      ff4c4a72
  18. 17 Jan, 2017 2 commits
    • Alexandre Duret-Lutz's avatar
      langmap: Add example in notebook · 5939ca4e
      Alexandre Duret-Lutz authored
      * tests/python/highlighting.ipynb: Add an example of
      highlight_languages().
      5939ca4e
    • Alexandre Duret-Lutz's avatar
      langmap: adjust to only color non-unique languages · 0ad62cb9
      Alexandre Duret-Lutz authored
      Fixes #203.
      
      * spot/twaalgos/langmap.hh (highlight_languages): Simplify the
      interface by only taking the automaton to color.
      * spot/twaalgos/langmap.cc (highlight_languages): Only introduce
      color for states that have a non-unique language.
      * tests/core/highlightstate.test: Update and add more tests.
      * tests/python/langmap.py: Keep the tests simple.
      * bin/autfilt.cc: Adjust usage and help string.
      0ad62cb9
  19. 14 Jan, 2017 3 commits
  20. 13 Jan, 2017 2 commits
  21. 12 Jan, 2017 1 commit
    • Alexandre Duret-Lutz's avatar
      minimize_wdba: fix handling of input with useless SCCs · c9918f64
      Alexandre Duret-Lutz authored
      * spot/twaalgos/minimize.cc (minimize_wdba): Diminish the color of
      terminal SCCs that are incomplete, as if they had a non-accepting
      sink as successor.
      * spot/twaalgos/strength.hh, spot/twaalgos/strength.cc
      (is_terminal_automaton): Add an option to ignore trivial SCC as we did
      before, since it matters for deciding membership to the guarantee
      class.
      (is_safety_mwdba): Rewrite as ...
      (is_safety_automaton): ... generalizating to any acceptance, and
      ignoring trivial SCCs.
      * bin/ltlfilt.cc, python/ajax/spotcgi.in, spot/tl/hierarchy.cc,
      tests/core/ikwiad.cc: Adjust usage of is_terminal_automaton and
      is_safety_automaton().
      * tests/core/hierarchy.test: Add a problematic formula as test-case.
      * NEWS: Mention the bug.
      c9918f64