Alexandre Duret-Lutz
457839df36
* NEWS, configure.ac: Bump version to 2.10.6.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
e0de77d8a4
Release Spot 2.10.6
...
* NEWS, configure.ac, doc/org/setup.org: Set version to 2.10.6.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
a6639e56cb
more noexcept to pleace GCC
...
* spot/bricks/brick-hashset (Row): Add noexcept.
* bin/autcross.cc (out_statistics): Likewise.
* bin/ltlcross.cc (statistics): Likewise.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
99d030f5e1
GCC 12 warns too much about <regex>
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562
* m4/gccwarn.m4: Compile a small regex and add
-Wno-maybe-uninitialized if needed.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
10bc253dd8
work around spurious gcc 12 "potentially null dereference"
...
The issue seems to be inside std::vector's copy constructor, but it
highlighted places in Spot were we could avoid this copy.
* spot/twaalgos/ltl2taa.cc: Avoid some copies of std::vector<formula>.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
eecb9af21e
Fix a clang++15 warning
...
* spot/parseaut/parseaut.yy: Move the try-block inside the code of the
constructors, so that they can refer to non-static members.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
8a628d96bc
fix warnings from clang-15
...
* spot/twa/acc.cc (acc_cond::acc_code::symmetries): Fix weird loop.
* spot/twaalgos/aiger.cc (aig::circ_step): Replace & by &&.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
b5f8e3c75d
[buddy] remove some unused variables
...
* src/reorder.c (reorder_win2ite): Do not set c=1.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
c609f4cb4b
* spot/twa/bdddict.hh (bdd_info): Add noexcept, suggested by gcc 12.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
cb5bc38f35
bin: reset column specification between files
...
* bin/common_finput.cc (job_processor::process_file): Reset
col_to_read.
* tests/core/ltlfilt.test: Test it.
* NEWS: Mention the bug.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
f14b0bb4bd
Fix compilation on MacOS X
...
Patch by Shachar Itzhaky.
* spot/parseaut/scanaut.ll, spot/parsetl/scantl.ll: Include
libc-config.h instead of config.h.
* NEWS: Mention the fix.
* THANKS: Add Shachar.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
78d7224026
twagraph: improve copy of kripke_graph
...
Fix #505 , Reported by Edmond Irani Liu.
* spot/twa/twagraph.cc (copy): Deal with kripke_graph in a better way.
* spot/twaalgos/hoa.cc: Do not force the use of named-states since
when the input is a kripke_graph.
* tests/python/kripke.py: Adjust test cases.
* NEWS: Mention the change.
* THANKS: Add Edmund.
2022-05-18 08:52:33 +02:00
Alexandre Duret-Lutz
506442450e
parsetl: remove a superfluous diagnostic on some erroneous input
...
* tests/core/neverclaimread.test: Adjust and remove FIXME.
* spot/parsetl/parsetl.yy (try_recursive_parse): Return false
on empty string.
2022-05-18 07:07:52 +02:00
Alexandre Duret-Lutz
9ae2e9c03d
Fix link to parity game example
...
Reported by Florian Renkin.
* doc/org/index.org: Here.
2022-05-18 07:07:26 +02:00
Alexandre Duret-Lutz
2a4e68bfae
more noexcept to pleace GCC
...
* spot/bricks/brick-hashset (Row): Add noexcept.
* bin/autcross.cc (out_statistics): Likewise.
* bin/ltlcross.cc (statistics): Likewise.
2022-05-17 22:06:59 +02:00
Alexandre Duret-Lutz
a23b30abdc
GCC 12 warns too much about <regex>
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562
* m4/gccwarn.m4: Compile a small regex and add
-Wno-maybe-uninitialized if needed.
2022-05-17 17:01:48 +02:00
Alexandre Duret-Lutz
e4f8226c62
work around spurious gcc 12 "potentially null dereference"
...
The issue seems to be inside std::vector's copy constructor, but it
highlighted places in Spot were we could avoid this copy.
* spot/twaalgos/ltl2taa.cc: Avoid some copies of std::vector<formula>.
2022-05-17 15:25:17 +02:00
Alexandre Duret-Lutz
e8f496bb6c
Fix a clang++15 warning
...
* spot/parseaut/parseaut.yy: Move the try-block inside the code of the
constructors, so that they can refer to non-static members.
2022-05-17 12:01:11 +02:00
Alexandre Duret-Lutz
3a234e24ae
fix warnings from clang-15
...
* spot/twa/acc.cc (acc_cond::acc_code::symmetries): Fix weird loop.
* spot/twaalgos/aiger.cc (aig::circ_step): Replace & by &&.
2022-05-17 11:43:55 +02:00
Alexandre Duret-Lutz
5dab2ede41
[buddy] remove some unused variables
...
* src/reorder.c (reorder_win2ite): Do not set c=1.
2022-05-17 11:37:52 +02:00
Alexandre Duret-Lutz
4bb58f457b
* spot/twa/bdddict.hh (bdd_info): Add noexcept, suggested by gcc 12.
2022-05-17 11:17:37 +02:00
Alexandre Duret-Lutz
d35f7bd37c
bin: reset column specification between files
...
* bin/common_finput.cc (job_processor::process_file): Reset
col_to_read.
* tests/core/ltlfilt.test: Test it.
* NEWS: Mention the bug.
2022-05-17 11:11:23 +02:00
Alexandre Duret-Lutz
d697f57a97
bin: introduce a non-binary job_type
...
This will later help improve the handling of different input types of
ltlsynt.
* bin/common_finput.hh (job_type): New enum.
(job::type): Use it.
* bin/autcross.cc, bin/autfilt.cc, bin/common_finput.cc,
bin/dstar2tgba.cc, bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc,
bin/ltldo.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/ltlsynt.cc: Adjust
to use the job_type enum instead of a boolean.
2022-05-17 10:49:06 +02:00
Alexandre Duret-Lutz
3b809c0a14
Fix compilation on MacOS X
...
Patch by Shachar Itzhaky.
* spot/parseaut/scanaut.ll, spot/parsetl/scantl.ll: Include
libc-config.h instead of config.h.
* NEWS: Mention the fix.
* THANKS: Add Shachar.
2022-05-17 09:35:09 +02:00
Alexandre Duret-Lutz
013c879b41
twagraph: improve copy of kripke_graph
...
Fix #505 , Reported by Edmond Irani Liu.
* spot/twa/twagraph.cc (copy): Deal with kripke_graph in a better way.
* spot/twaalgos/hoa.cc: Do not force the use of named-states since
when the input is a kripke_graph.
* tests/python/kripke.py: Adjust test cases.
* NEWS: Mention the change.
* THANKS: Add Edmund.
2022-05-09 13:42:20 +02:00
Alexandre Duret-Lutz
ef9267a58e
parsetl: remove a superfluous diagnostic on some erroneous input
...
* tests/core/neverclaimread.test: Adjust and remove FIXME.
* spot/parsetl/parsetl.yy (try_recursive_parse): Return false
on empty string.
2022-05-06 13:58:52 +02:00
Alexandre Duret-Lutz
4a2bdd6e86
Fix link to parity game example
...
Reported by Florian Renkin.
* doc/org/index.org: Here.
2022-05-04 17:40:17 +02:00
Alexandre Duret-Lutz
73e148446c
Merge branch 'master' into next
2022-05-03 09:05:26 +02:00
Alexandre Duret-Lutz
56666e0db5
* NEWS, configure.ac: Bump version to 2.10.5.dev.
2022-05-03 09:01:03 +02:00
Alexandre Duret-Lutz
c70a06ae0a
Release Spot 2.10.5
...
* NEWS, configure.ac, doc/org/setup.org: Update.
2022-05-03 08:59:17 +02:00
Alexandre Duret-Lutz
385da8ebd0
update NEWS for upcoming release
...
* NEWS: Here.
2022-05-02 17:47:53 +02:00
Florian Renkin
0f3ffd59ce
ltlsynt: don't solve games when we want to display them
...
* bin/ltlsynt.cc: here
2022-05-02 17:24:23 +02:00
Alexandre Duret-Lutz
fa6912a574
debian: simplify LTO configuration to work around newer libtool
...
Libtool 2.4.7 breaks if AR_FLAGS contains a space. See
https://lists.gnu.org/archive/html/bug-libtool/2022-03/msg00009.html
* debian/rules: Use gcc-{nm,ar,ranlib} so we do not have to pass
the plugin explicitly.
2022-05-02 17:24:23 +02:00
Philipp Schlehuber-Caissier
add2fced44
Correct bug in zielonka
...
Optimization in Zielonka failed
under certain circumstances
todo: Devise a specialized test
for direct attr computation
* spot/twaalgos/game.cc: Correction
* tests/python/game.py: Test
2022-05-02 17:24:23 +02:00
Alexandre Duret-Lutz
58f39ec287
* doc/org/tut40.org: Clarify, as suggested by a CAV'22 reviewer.
2022-05-02 17:24:23 +02:00
Florian Renkin
d1f49c721a
ltlsynt: don't fail if --outs or --ins is set to empty
...
* bin/ltlsynt.cc: here
* tests/core/ltlsynt.test: add tests
2022-05-02 17:24:23 +02:00
Alexandre Duret-Lutz
53118d9314
* spot/twaalgos/gfguarantee.hh: Typos in comments.
2022-05-02 17:24:23 +02:00
Alexandre Duret-Lutz
96e051d2bb
graph: fix invalid read
...
Reported by Florian Renkin.
* spot/graph/graph.hh (sort_edges_of): Fix invalid read when sorting a
state without successor. Seen on core/tgbagraph.test.
2022-05-02 17:24:23 +02:00
Florian Renkin
968ef0f7b8
ltlsynt: typo in help
...
* bin/ltlsynt.cc: here
2022-05-02 17:24:23 +02:00
Alexandre Duret-Lutz
2aecf9a79e
fix typos and make formula_from_bdd more usable in Python
...
* python/spot/impl.i (formula_from_bdd): Instantiate for twa_graph.
* spot/twa/twa.hh (register_aps_from_dict): Typo in exception.
* tests/python/except.py: More tests for the above.
* tests/python/bdddict.py: Typo in comment.
2022-05-02 17:24:23 +02:00
734de00bfd
tests: don't wipe python environment
...
* tests/run.in: keep original PYTHONPATH contents
* NEWS: mention the bug
2022-05-02 15:36:27 +02:00
Alexandre Duret-Lutz
d61d6e5e2f
tests: avoid seq
...
Partial fix for #501 .
* tests/core/prodchain.test: Hardcode the seq output.
* tests/core/bricks.test: Use $AWK instead of seq.
* tests/core/defs.in: Define $AWK.
* NEWS: Mention the bug.
2022-05-02 15:36:11 +02:00
Alexandre Duret-Lutz
7149e5a34d
* .gitlab-ci.yml (alpine-gcc): Fix path for logs.
2022-05-02 15:35:51 +02:00
Alexandre Duret-Lutz
7d9fddadce
work around an issue in Flex 2.6.4
...
The fallback definition of SIZE_MAX supplied by flex was not
preprocessor friendly and prevented robin_hood.hh from doing "#if
SIZE_MAX == UINT64_MAX", as observed by Marc Espie on OpenBSD.
* spot/parseaut/scanaut.ll, spot/parsetl/scantl.ll: Define
__STDC_VERSION__ just so that the code generated by Flex
include <inttypes.h>.
* NEWS: Mention the bug.
* THANKS: Add Marc.
2022-05-02 15:35:09 +02:00
Alexandre Duret-Lutz
64020279cb
reduce_parity: fix to work on automata with deleted edges
...
* spot/twaalgos/parity.cc (reduce_parity): Use the
size of the edge vector to initialize piprime1 and piprime2,
not the number of edges.
* tests/python/parity.py: Add test case, based on a report
by Yann Thierry-Mieg.
2022-05-02 15:34:57 +02:00
Alexandre Duret-Lutz
b7825552f8
remove uses of unary_function and binary_function
...
These were deprecated in C++11, and are supposed to be removed from
C++17, however gcc-snapshot just started warning about those.
* spot/misc/bddlt.hh, spot/misc/hash.hh, spot/misc/ltstr.hh,
spot/twa/taatgba.hh, spot/twaalgos/ltl2tgba_fm.cc: Here.
2022-05-02 15:34:14 +02:00
Florian Renkin
355c5ffeb1
ltlsynt: display the number of subformulas
...
* bin/ltlsynt.cc: here
* tests/core/ltlsynt.test: ajust tests
2022-04-25 11:25:29 +02:00
Florian Renkin
62725fb507
ltlsynt: don't solve games when we want to display them
...
* bin/ltlsynt.cc: here
2022-04-25 11:25:29 +02:00
Florian Renkin
55aac8e107
ltlsynt: display ACD instead of LAR when needed
...
* spot/twaalgos/synthesis.cc: here
* tests/core/ltlsynt.test: add test
2022-04-25 11:25:25 +02:00
Alexandre Duret-Lutz
5f43c9bfce
ltlsynt: implement --tlsf to call syfco automatically
...
Fixes #473 .
* NEWS, doc/org/ltlsynt.org: Mention it.
* bin/common_trans.cc, bin/common_trans.hh (read_stdout_of_command):
New function.
* bin/ltlsynt.cc: Implement the --tlsf option.
* tests/core/syfco.test: New file.
* tests/Makefile.am: Add it.
2022-04-13 09:08:40 +02:00