1. 23 Nov, 2016 3 commits
    • Maximilien Colange's avatar
      Add support to load GAL models. · c9aabcdd
      Maximilien Colange authored
      * spot/ltsmin/ltsmin.cc: Handle GAL models.
      * tests/Makefile.am: Test the new feature.
      * tests/ltsmin/check.test: Also check GAL.
      * tests/ltsmin/beem-peterson.4.gal: A new GAL model for tests.
      * tests/ltsmin/finite.gal: A new GAL model for tests.
      * tests/ltsmin/finite3.test: A new test for GAL.
    • Etienne Renault's avatar
      bitvec: remove useless methods · ec83e60b
      Etienne Renault authored
      * spot/misc/bitvect.hh, tests/core/bitvect.cc,
      tests/core/bitvect.test: here.
    • Etienne Renault's avatar
      Prefer emplace_back to push_back · 43ec36cd
      Etienne Renault authored
      * spot/graph/ngraph.hh, spot/ltsmin/ltsmin.cc,
      spot/misc/bitvect.hh, spot/misc/intvcomp.cc,
      spot/misc/satsolver.cc, spot/priv/weight.cc,
      spot/ta/taexplicit.cc, spot/taalgos/minimize.cc,
      spot/taalgos/reachiter.cc, spot/tl/exclusive.cc,
      spot/tl/formula.cc, spot/tl/formula.hh,
      spot/tl/mark.cc, spot/tl/mutation.cc,
      spot/tl/relabel.cc, spot/tl/remove_x.cc,
      spot/tl/simplify.cc, spot/twa/acc.cc,
      spot/twa/acc.hh, spot/twa/formula2bdd.cc,
      spot/twa/taatgba.cc, spot/twa/taatgba.hh,
      spot/twa/twa.hh, spot/twa/twagraph.cc,
      spot/twaalgos/bfssteps.cc, spot/twaalgos/canonicalize.cc,
      spot/twaalgos/compsusp.cc, spot/twaalgos/copy.cc,
      spot/twaalgos/cycles.cc, spot/twaalgos/degen.cc,
      spot/twaalgos/determinize.cc, spot/twaalgos/dtwasat.cc,
      spot/twaalgos/emptiness.cc, spot/twaalgos/gv04.cc,
      spot/twaalgos/hoa.cc, spot/twaalgos/ltl2taa.cc,
      spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/magic.cc,
      spot/twaalgos/mask.hh, spot/twaalgos/minimize.cc,
      spot/twaalgos/powerset.cc, spot/twaalgos/product.cc,
      spot/twaalgos/randomgraph.cc, spot/twaalgos/reachiter.cc,
      spot/twaalgos/relabel.cc, spot/twaalgos/remfin.cc,
      spot/twaalgos/sccfilter.cc, spot/twaalgos/se05.cc,
      spot/twaalgos/simulation.cc, spot/twaalgos/stutter.cc,
      spot/twaalgos/tau03opt.cc, spot/twaalgos/totgba.cc,
      spot/twaalgos/word.cc, tests/core/bitvect.cc: here.
  2. 19 Nov, 2016 1 commit
  3. 13 Nov, 2016 1 commit
  4. 11 Nov, 2016 4 commits
  5. 10 Nov, 2016 1 commit
  6. 09 Nov, 2016 1 commit
  7. 08 Nov, 2016 1 commit
  8. 05 Nov, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      tests: update to work with Jupyter 4.2 · 939e713e
      Alexandre Duret-Lutz authored
      Jupyter 4.2 just landed in Debian unstable, so we have a few failures
      because of all the renamings.
      * tests/python/ipnbdoctest.py: Adjust imports for Jupyter 4.2.
    • Alexandre Duret-Lutz's avatar
      from_ltlf: new LTL transformation. · 2e69e045
      Alexandre Duret-Lutz authored
      Fixes #187.
      * spot/tl/ltlf.cc, spot/tl/ltlf.hh: New files.
      * spot/tl/Makefile.am: Add them.
      * bin/ltlfilt.cc: Add a new option.
      * bin/man/ltlfilt.x: Add bibliographic reference.
      * tests/core/ltlfilt.test: Add more tests.
      * tests/python/ltlf.py: New file.
      * tests/Makefile.am: Add it.
      * python/spot/impl.i: Python bindings.
      * NEWS: Mention it.
  9. 01 Nov, 2016 1 commit
  10. 29 Oct, 2016 1 commit
  11. 19 Oct, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      remove_fin: improve behavior on unclean acceptance · 56f768f5
      Alexandre Duret-Lutz authored
      Related to #188.  This is a third fix that independently
      makes `'utfilt --is-unambiguous -q smaller.hoa' instantaneous.
      * spot/twaalgos/remfin.cc: Clean the received automaton if
      * bin/autfilt.cc: No need to call cleanup_acceptance_here() before
      remove_fin() anymore.
      * tests/core/remfin.test: Add an additional test.
      * NEWS: Mention the change.
    • Alexandre Duret-Lutz's avatar
      is_unambiguous: rewrite more efficiently · 5384a3b8
      Alexandre Duret-Lutz authored
      Avoid calling scc_info::determine_unknown_acceptance on the product, as
      suggested in #188.
      * spot/twaalgos/isunamb.cc (is_unambiguous): Rewrite.
      * tests/core/unambig.test: Add the automaton from #188.
      * NEWS: Mention the improved function.
      * spot/twaalgos/mask.cc,
      spot/twaalgos/mask.hh (mask_keep_accessible_states): New function.
  12. 13 Oct, 2016 2 commits
  13. 03 Oct, 2016 1 commit
  14. 22 Sep, 2016 1 commit
  15. 17 Aug, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      bin: add options for --stats=%c · 571f0112
      Alexandre Duret-Lutz authored
      * spot/twaalgos/stats.cc: Implement options.
      * bin/common_aoutput.cc, NEWS: Document them.
      * tests/core/format.test: Add some quick tests.
    • Alexandre Duret-Lutz's avatar
      stats: preparatory change of the implementation of %c · 4f0a630d
      Alexandre Duret-Lutz authored
      This now holds the scc_info while processing the %c sequence, so that
      using options we will soon be able to specify which SCC to count.
      * spot/twaalgos/stats.hh, spot/twaalgos/stats.cc (printable_scc_info):
      New class.
      (state_printer): Use it for %c.
      * spot/misc/formater.hh: Add move assignment.
      * bin/common_aoutput.hh, bin/common_aoutput.cc: Use printable_scc_info
      for %C.
      * tests/core/format.test: Add a quick test case to make sure nothing
  16. 16 Aug, 2016 1 commit
  17. 15 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: %a,%b,%s format specs for LTL output · 926ffbf9
      Alexandre Duret-Lutz authored
      * NEWS: Mention those.
      * bin/common_output.cc, bin/common_output.hh: Implement them.
      * bin/genltl.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randltl.cc: Update
      * tests/core/format.test: New file.
      * tests/Makefile.am: Add it.
      * doc/org/ioltl.org, doc/org/ltlfilt.org: Update documentation.
  18. 14 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: diagnose more write errors · e97ea5fa
      Alexandre Duret-Lutz authored
      * tests/core/full.test: New file.
      * tests/Makefile.am: Add it.
      * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh,
      bin/common_file.cc, bin/common_file.hh, bin/genltl.cc, bin/ltlcross.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randltl.cc: Add diagnostics.
      * NEWS: Mention the fix.
  19. 08 Aug, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      autfilt, dstar2tgba: add CSV input · ca0d81b5
      Alexandre Duret-Lutz authored
      Fixes #91.
      * bin/autfilt.cc, bin/dstar2tgba.cc: Implement reading CSV files.
      * bin/common_finput.cc: Fix comments.
      * bin/common_aoutput.cc: Show %<, %> in help text.
      * NEWS, doc/org/csv.org: Document it.
      * tests/core/readsave.test: Add a short test case.
    • Alexandre Duret-Lutz's avatar
      bin: --stats=%H --stats=%h · f423c424
      Alexandre Duret-Lutz authored
      Part of #91.
      * bin/common_aoutput.cc, bin/common_aoutput.hh: implement %H and %h.
      * tests/core/readsave.test: Test them.
      * NEWS: Mention it.
    • Alexandre Duret-Lutz's avatar
      formater: add support for double-quoted fields · 0d753048
      Alexandre Duret-Lutz authored
      Part of #91.
      * spot/misc/formater.cc, spot/misc/formater.hh: Here.
      * bin/common_output.cc: Adjust automatic output format.
      * doc/org/csv.org: Adjust.
      * tests/core/lbt.test, tests/core/ltlfilt.test: More tests.
      * NEWS: Mention the changes.
  20. 04 Aug, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      implement conversion to GRA and GSA · 14bee1ae
      Alexandre Duret-Lutz authored
      Fixes #174.
      * spot/twaalgos/totgba.hh, spot/twaalgos/totgba.cc
      (to_generalized_streett, to_generalized_rabin): New functions.
      * spot/twa/acc.hh: Declare more methods as static.
      * bin/autfilt.cc: Implement --generalized-rabin and
      --generalized-streett options.
      * NEWS: Mention these.
      * tests/core/gragsa.test: New file.
      * tests/Makefile.am: Add it.
  21. 31 Jul, 2016 1 commit
  22. 29 Jul, 2016 3 commits
    • Alexandre Duret-Lutz's avatar
      python: make it possible to modify edges during iteration · d271dfd5
      Alexandre Duret-Lutz authored
      Reported by Laurent Xu.
      * python/spot/impl.i: Fix the iterator to return pointers instead of
      references.  Because references are ultimately copied.
      * tests/python/automata.ipynb: Add test cases.
      * NEWS: Mention it.
    • Alexandre Duret-Lutz's avatar
      ltlcross: show cross-comparison checks counterexamples · 59efe470
      Alexandre Duret-Lutz authored
      Part of #38.
      * bin/ltlcross.cc: Implement it.
      * NEWS: Mention it.
      * doc/org/ltlcross.org: Adjust example.
      * tests/core/ltlcrossce2.test: New test case.
    • Alexandre Duret-Lutz's avatar
      update gnulib · f6c7ed54
      Alexandre Duret-Lutz authored
      This comes from gnulib 348402f2aac342bc925b7aaea9ee3cc353f427a9 plus
      a custom patch to support compilation of arpg in C++11.
      * lib/hard-locale.c, lib/hard-locale.h, m4/hard-locale.m4, m4/ltargz.m4:
      New files.
      * lib/Makefile.am, lib/alloca.in.h, lib/argmatch.c, lib/argmatch.h,
      lib/argp-ba.c, lib/argp-eexst.c, lib/argp-fmtstream.c,
      lib/argp-fmtstream.h, lib/argp-fs-xinl.c, lib/argp-help.c,
      lib/argp-namefrob.h, lib/argp-parse.c, lib/argp-pin.c, lib/argp-pv.c,
      lib/argp-pvh.c, lib/argp-xinl.c, lib/argp.h, lib/asnprintf.c,
      lib/basename-lgpl.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c,
      lib/c-strcaseeq.h, lib/c-strncasecmp.c, lib/config.charset,
      lib/dirname-lgpl.c, lib/dirname.h, lib/dosname.h, lib/errno.in.h,
      lib/error.c, lib/error.h, lib/exitfail.c, lib/exitfail.h,
      lib/fcntl.in.h, lib/float+.h, lib/float.c, lib/float.in.h, lib/getopt.c,
      lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h, lib/gettext.h,
      lib/gettimeofday.c, lib/hard-locale.h, lib/intprops.h, lib/isatty.c,
      lib/itold.c, lib/localcharset.c, lib/localcharset.h, lib/lstat.c,
      lib/malloc.c, lib/mbrtowc.c, lib/mbsinit.c, lib/memchr.c, lib/mempcpy.c,
      lib/mkstemp.c, lib/mkstemps.c, lib/msvc-inval.c, lib/msvc-inval.h,
      lib/msvc-nothrow.c, lib/msvc-nothrow.h, lib/pathmax.h,
      lib/printf-args.c, lib/printf-args.h, lib/printf-parse.c,
      lib/printf-parse.h, lib/progname.c, lib/progname.h, lib/quote.h,
      lib/quotearg.c, lib/quotearg.h, lib/rawmemchr.c, lib/ref-add.sin,
      lib/ref-del.sin, lib/secure_getenv.c, lib/size_max.h, lib/sleep.c,
      lib/stat.c, lib/stdalign.in.h, lib/stdbool.in.h, lib/stddef.in.h,
      lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h, lib/stpcpy.c,
      lib/strcasecmp.c, lib/strchrnul.c, lib/streq.h, lib/strerror-override.c,
      lib/strerror-override.h, lib/strerror.c, lib/string.in.h,
      lib/strings.in.h, lib/stripslash.c, lib/strncasecmp.c, lib/strndup.c,
      lib/strnlen.c, lib/strverscmp.c, lib/sys_stat.in.h, lib/sys_time.in.h,
      lib/sys_types.in.h, lib/sys_wait.in.h, lib/sysexits.in.h,
      lib/tempname.c, lib/tempname.h, lib/time.in.h, lib/unistd.in.h,
      lib/vasnprintf.c, lib/vasnprintf.h, lib/verify.h, lib/vsnprintf.c,
      lib/wchar.in.h, lib/wctype.in.h, lib/xalloc-die.c,
      lib/xalloc-oversized.h, lib/xalloc.h, lib/xmalloc.c, lib/xsize.h,
      m4/00gnulib.m4, m4/absolute-header.m4, m4/alloca.m4, m4/argp.m4,
      m4/codeset.m4, m4/configmake.m4, m4/dirname.m4, m4/double-slash-root.m4,
      m4/errno_h.m4, m4/error.m4, m4/exponentd.m4, m4/extensions.m4,
      m4/extern-inline.m4, m4/fcntl-o.m4, m4/fcntl_h.m4, m4/float_h.m4,
      m4/getopt.m4, m4/gettimeofday.m4, m4/glibc21.m4, m4/gnulib-cache.m4,
      m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4,
      m4/include_next.m4, m4/intmax_t.m4, m4/inttypes_h.m4, m4/isatty.m4,
      m4/largefile.m4, m4/localcharset.m4, m4/locale-fr.m4, m4/locale-ja.m4,
      m4/locale-zh.m4, m4/longlong.m4, m4/lstat.m4, m4/malloc.m4,
      m4/math_h.m4, m4/mbrtowc.m4, m4/mbsinit.m4, m4/mbstate_t.m4,
      m4/memchr.m4, m4/mempcpy.m4, m4/mkstemp.m4, m4/mkstemps.m4,
      m4/mmap-anon.m4, m4/msvc-inval.m4, m4/msvc-nothrow.m4, m4/multiarch.m4,
      m4/nocrash.m4, m4/off_t.m4, m4/pathmax.m4, m4/printf.m4, m4/quote.m4,
      m4/quotearg.m4, m4/rawmemchr.m4, m4/secure_getenv.m4, m4/size_max.m4,
      m4/sleep.m4, m4/ssize_t.m4, m4/stat.m4, m4/stdalign.m4, m4/stdbool.m4,
      m4/stddef_h.m4, m4/stdint.m4, m4/stdint_h.m4, m4/stdio_h.m4,
      m4/stdlib_h.m4, m4/stpcpy.m4, m4/strcase.m4, m4/strchrnul.m4,
      m4/strerror.m4, m4/string_h.m4, m4/strings_h.m4, m4/strndup.m4,
      m4/strnlen.m4, m4/strverscmp.m4, m4/sys_socket_h.m4, m4/sys_stat_h.m4,
      m4/sys_time_h.m4, m4/sys_types_h.m4, m4/sys_wait_h.m4, m4/sysexits.m4,
      m4/tempname.m4, m4/time_h.m4, m4/unistd_h.m4, m4/vasnprintf.m4,
      m4/vsnprintf.m4, m4/warn-on-use.m4, m4/wchar_h.m4, m4/wchar_t.m4,
      m4/wctype_h.m4, m4/wint_t.m4, m4/xalloc.m4, m4/xsize.m4,
      tests/core/randtgba.cc, tools/snippet/arg-nonnull.h,
      tools/snippet/c++defs.h, tools/snippet/warn-on-use.h: Update.
  23. 27 Jul, 2016 2 commits
    • Alexandre Duret-Lutz's avatar
      tests: disable ltsmin tests if --disable-shared · a7842ac4
      Alexandre Duret-Lutz authored
      * configure.ac (USE_LTSMIN): New.
      * tests/Makefile.am: Use it.
    • Alexandre Duret-Lutz's avatar
      active -Wsuggest-override where supported · 64c70366
      Alexandre Duret-Lutz authored
      * m4/gccwarn.m4: Add the option.
      * bin/autfilt.cc, bin/common_output.hh, bin/dstar2tgba.cc,
      bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
      bin/ltlfilt.cc, bin/ltlgrind.cc, spot/kripke/kripke.hh,
      spot/ltsmin/ltsmin.cc, spot/ta/ta.hh, spot/ta/tgtaproduct.hh,
      spot/taalgos/dot.cc, spot/taalgos/reachiter.hh,
      spot/taalgos/statessetbuilder.cc, spot/taalgos/stats.cc,
      spot/twa/twaproduct.cc, spot/twaalgos/emptiness.cc,
      spot/twaalgos/gtec/ce.cc, spot/twaalgos/lbtt.cc,
      spot/twaalgos/ndfs_result.hxx, spot/twaalgos/stats.hh,
      spot/twaalgos/tau03opt.cc, tests/core/ngraph.cc: Add suggested override
  24. 25 Jul, 2016 1 commit
  25. 24 Jul, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      use SPOT_ASSERT instead of assert · 20cf43b3
      Alexandre Duret-Lutz authored
      For #184.
      * spot/graph/graph.hh, spot/kripke/kripkegraph.hh,
      spot/misc/bitvect.hh, spot/misc/common.hh, spot/misc/fixpool.hh,
      spot/misc/mspool.hh, spot/misc/timer.hh, spot/tl/formula.hh,
      spot/twa/acc.hh, spot/twa/taatgba.hh, spot/twa/twa.hh,
      spot/twa/twagraph.hh, spot/twaalgos/emptiness_stats.hh,
      spot/twaalgos/mask.hh, spot/twaalgos/ndfs_result.hxx,
      spot/twaalgos/sccinfo.hh, spot/twaalgos/translate.hh: Replace
      assert() by SPOT_ASSERT(), or an exception, or nothing, depending
      on the case.
      * tests/sanity/style.test: Flag all asserts in headers.
      * HACKING: Discuss assertions.
  26. 19 Jul, 2016 1 commit
    • Alexandre Duret-Lutz's avatar
      bin: overhaul default input selection · dd6875d5
      Alexandre Duret-Lutz authored
      If no input have been specified, and the standard input is not a tty all
      tools now default to reading it.  If standard input is a tty, all tools
      display an error message.  Additionally, - is now a shorthand for -F- in
      all tools.
      * NEWS: Summarize this.
      * bin/common_finput.cc, bin/common_finput.hh (check_no_formulas,
      check_no_automaton): New functions that implement the above istty()
      * bin/autfilt.cc, bin/dstar2tgba.cc, bin/ltl2tgba.cc, bin/ltl2tgta.cc,
      bin/ltlcross.cc, bin/ltldo.cc, bin/ltlgrind.cc: Use these function,
      and recognize '-' if it was not the case.
      * tests/core/acc_word.test, tests/core/ltldo.test,
      tests/core/minusx.test, tests/core/readsave.test,
      tests/core/unambig.test: Adjust some tests to exercise this.
      * doc/org/autfilt.org, doc/org/csv.org, doc/org/dstar2tgba.org,
      doc/org/ltl2tgba.org, doc/org/ltlcross.org, doc/org/ltlfilt.org,
      doc/org/oaut.org: Adjust the documentation and simplify some