1. 14 Jun, 2016 2 commits
  2. 01 May, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      print_hoa: output all registered APs · a1b3b065
      Alexandre Duret-Lutz authored
      Also introduce twa::unregister_ap() and twa_graph::remove_unused_ap()
      so that the methods where this behavior is expected can be fixed.
      
      And fix ltsmin::kripke() which did not register APs.
      
      Part of #170.
      
      * spot/twaalgos/hoa.cc: Use apvars() to print all registerd APs.
      Throw an exception when printing automata using unregistered APs.
      * spot/ltsmin/ltsmin.cc: Call register_ap().
      * spot/twa/twa.cc, spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twa/twagraph.hh (twa::unregister_ap, twa_graph::remove_unused_ap):
      New methods.
      * spot/tl/exclusive.cc, spot/twaalgos/postproc.cc,
      spot/twaalgos/remprop.cc, spot/twaalgos/relabel.cc: Use them.
      * tests/core/maskacc.test, tests/core/maskkeep.test,
      tests/core/strength.test: Adjust expected results.
      * NEWS: Mention those changes.
      a1b3b065
    • Alexandre Duret-Lutz's avatar
      honor ap() when counting transitions · dad17b36
      Alexandre Duret-Lutz authored
      Fixing this bug alone revealed another bug: parsing never claim or LBTT
      automata did not register APs.  So this fixes both bugs.
      
      This is the first part of #170.
      
      * spot/twa/twa.hh (register_aps_from_dict): New method.
      * spot/parseaut/parseaut.yy: Call it for never claim and LBTT files.
      * spot/twaalgos/stats.cc: Simplify using ap_vars().
      * tests/core/ltl2tgba.test: Add a test case.
      * NEWS: Mention the bugs.
      dad17b36
    • Alexandre Duret-Lutz's avatar
      autfilt: fix simpification of exclusive AP · 4f913c7f
      Alexandre Duret-Lutz authored
      * bin/autfilt.cc: Here.
      * tests/core/exclusive-tgba.test: Test it.
      * NEWS: Mention the fix.
      4f913c7f
  3. 22 Apr, 2016 2 commits
  4. 20 Apr, 2016 1 commit
  5. 09 Apr, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlfilt: implement --reject-word and --accept-word · 59e1f6a3
      Alexandre Duret-Lutz authored
      * bin/common_range.hh: Store the common definition of words.
      * bin/autfilt.cc: Use it.
      * bin/ltlfilt.cc: Likewise, and implement those two options.
      * tests/core/acc_word.test: Test them.
      * doc/org/autfilt.org: Augment the last example to point out
      that it can now be done with ltlfilt.
      * NEWS: Mention the new options.
      59e1f6a3
  6. 08 Apr, 2016 3 commits
  7. 17 Mar, 2016 1 commit
  8. 13 Mar, 2016 1 commit
  9. 10 Mar, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      ensure the no-tab rule · 73e4fcd0
      Alexandre Duret-Lutz authored
      * HACKING: Mention the no-tab rule.
      * tests/sanity/style.test: Only test for it at the beginning of line.
      73e4fcd0
    • Laurent XU's avatar
      sanity: Replace tabulars by spaces in *.cc *.hh *.hxx · f7e7b4f1
      Laurent XU authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh,
      bin/common_finput.cc, bin/common_finput.hh, bin/common_hoaread.cc,
      bin/common_output.cc, bin/common_output.hh, bin/common_post.cc,
      bin/common_post.hh, bin/common_r.hh, bin/common_range.cc,
      bin/common_range.hh, bin/common_setup.cc, bin/common_trans.cc,
      bin/common_trans.hh, bin/dstar2tgba.cc, bin/genltl.cc,
      bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randaut.cc, bin/randltl.cc,
      bin/spot-x.cc, spot/graph/graph.hh, spot/graph/ngraph.hh,
      spot/kripke/kripkegraph.hh, spot/ltsmin/ltsmin.cc,
      spot/ltsmin/ltsmin.hh, spot/misc/bareword.cc, spot/misc/bitvect.cc,
      spot/misc/bitvect.hh, spot/misc/common.hh, spot/misc/escape.cc,
      spot/misc/fixpool.hh, spot/misc/formater.cc, spot/misc/hash.hh,
      spot/misc/intvcmp2.cc, spot/misc/intvcmp2.hh, spot/misc/intvcomp.cc,
      spot/misc/intvcomp.hh, spot/misc/location.hh, spot/misc/minato.cc,
      spot/misc/minato.hh, spo...
      f7e7b4f1
  10. 08 Mar, 2016 5 commits
  11. 07 Mar, 2016 2 commits
    • Amaury Fauchille's avatar
      autfilt: add new option --accept-word · 1c824443
      Amaury Fauchille authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      Suggested by Matthias Heizmann. Fixes #109.
      
      * NEWS: notify the new option
      * THANKS: add Matthias Heizmann
      * bin/autfilt.cc: add new option --accept-word=WORD which filters
      automata that accept WORD
      * doc/org/autfilt.org: add an example of the new option
      * tests/Makefile.am: add core/acc_word.test to the list of test files
      * tests/core/acc_word.test: test some uses of the new option
      1c824443
    • Amaury Fauchille's avatar
      word: implement twa word parsing · 1fd76ee9
      Amaury Fauchille authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * spot/twaalgos/word.hh: add parse_word method and a new constructor
      * spot/twaalgos/word.cc: implement word parsing
      * python/spot/__init__.py: add parse_word method binding
      * tests/python/word.ipynb: add word parsing tests
      1fd76ee9
  12. 03 Mar, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      rename two confusing methods of emptiness_check_instantiator · ad08a585
      Alexandre Duret-Lutz authored
      * spot/twaalgos/emptiness.hh (emptiness_check_instantiator): rename
      min_acceptance_conditions and max_acceptance_conditions to
      min_sets and max_sets.
      * spot/twaalgos/emptiness.cc, python/ajax/spotcgi.in,
      tests/core/ikwiad.cc, tests/core/emptchk.cc, tests/core/randtgba.cc:
      Adjust.
      * doc/org/upgrade2.org, NEWS: Mention the change.
      ad08a585
  13. 17 Feb, 2016 4 commits
    • Alexandre Duret-Lutz's avatar
      parsetl: change the interface to return a parsed_formula · 22f442f7
      Alexandre Duret-Lutz authored
      This gets the interface of all the functions parsing formula in line
      with the interface of the automaton parser: both return a "parsed_*"
      object (parsed_formula or parsed_automaton) that contains the said
      object and its list of errors.  Doing so avoid having to declare the
      parse_error_list in advance.
      
      * spot/tl/parse.hh, spot/parsetl/parsetl.yy: Do the change.
      * spot/parsetl/fmterror.cc: Adjust the error printer.
      * NEWS: Document it.
      * bin/common_finput.cc, bin/common_finput.hh, bin/ltlcross.cc,
      bin/ltldo.cc, bin/ltlfilt.cc, doc/org/tut01.org, doc/org/tut02.org,
      doc/org/tut10.org, doc/org/tut20.org, python/ajax/spotcgi.in,
      python/spot/impl.i, spot/parseaut/parseaut.yy, tests/core/checkpsl.cc,
      tests/core/checkta.cc, tests/core/consterm.cc, tests/core/emptchk.cc,
      tests/core/equalsf.cc, tests/core/ikwiad.cc, tests/core/kind.cc,
      tests/core/length.cc, tests/core/ltlprod.cc, tests/core/ltlrel.cc,
      tests/core/randtgba.cc, tests/core/readltl.cc, tests/core/reduc.cc,
      tests/core/safra.cc, tests/core/syntimpl.cc, tests/core/tostring.cc,
      tests/ltsmin/modelcheck.cc, tests/python/alarm.py,
      tests/python/interdep.py, tests/python/ltl2tgba.py,
      tests/python/ltlparse.py: Adjust all uses.
      22f442f7
    • Etienne Renault's avatar
      Update paths to please Darwin · cf4f58c3
      Etienne Renault authored
      Fixes #144.
      
      * doc/org/.dir-locals.el.in,
      doc/org/init.el.in,
      python/ajax/spotcgi.in,
      tests/run.in: Here.
      cf4f58c3
    • Alexandre Duret-Lutz's avatar
    • Alexandre Duret-Lutz's avatar
      debian: do not distribute _*.ipynb files · b56aec24
      Alexandre Duret-Lutz authored
      * tests/Makefile.am (nb-html): Only work on the subset of the notebooks
      we want to show.
      * debian/python3-spot.examples: Ignore _*.ipynb files.
      b56aec24
  14. 16 Feb, 2016 4 commits
    • Alexandre Duret-Lutz's avatar
      cleanup ltsmin bindings · 9692d734
      Alexandre Duret-Lutz authored
      * python/spot/aux.py (rm_f): new function.
      * python/spot/ltsmin.i: Replace the %require magic by a simple function.
      Rewrite the %%dve magic.
      * tests/python/otfcrash.py: Simplify using spot.ltsmin.require()
      * tests/python/ltsmin.ipynb: Likewise, also add more text for the
      documentation.
      * NEWS: Adjust.
      9692d734
    • Alexandre Duret-Lutz's avatar
      sanity: fix race conditions in the test suite · 9b5a7635
      Alexandre Duret-Lutz authored
      * tests/sanity/80columns.test, tests/sanity/includes.test,
      tests/sanity/private.test, tests/sanity/style.test: Have each test
      record failure in a separate file.
      9b5a7635
    • Alexandre Duret-Lutz's avatar
      otf_product: fix deletion of iter_cache_ · 3a3913cf
      Alexandre Duret-Lutz authored
      Fixes #152, reported by Valentin Iovene.
      
      * spot/twa/twaproduct.cc (~twa_product): Delete iter_cache_.
      * tests/python/otfcrash.py: New file.
      * tests/Makefile.am: Add it.
      * NEWS: Mention the bug.
      3a3913cf
    • Alexandre Duret-Lutz's avatar
      python: report dot errors · 22af7aef
      Alexandre Duret-Lutz authored
      * python/spot/aux.py: Catch errors from dot and signal them.
      * tests/python/_aux.ipynb: New file.
      * tests/Makefile.am: Add it.
      * tests/sanity/ipynb.pl: Support the convention that tests starting with
      '_' should not be published on the web site.
      22af7aef
  15. 15 Feb, 2016 8 commits