Update to LBTT 1.2.1

This commit is contained in:
Alexandre Duret-Lutz 2008-04-10 10:20:40 +02:00
parent 43c9c6faaa
commit 6c2bdf4512
7 changed files with 1022 additions and 542 deletions

View file

@ -25,13 +25,13 @@
Update description of the --formulafile command line option. Update description of the --formulafile command line option.
(Configuration::print): Do not display a file name when reading (Configuration::print): Do not display a file name when reading
formulas from standard input. formulas from standard input.
* src/SpotWrapper.h, src/SpotWrapper.cc: Merge files from * src/SpotWrapper.h, src/SpotWrapper.cc: Merge files from
Spot 0.2 (contributed by Alexandre Duret-Lutz); remove #pragma Spot 0.2 (contributed by Alexandre Duret-Lutz); remove #pragma
definitions. definitions.
* src/ExternalTranslator.h, src/Makefile.in, src/translate.cc: * src/ExternalTranslator.h, src/Makefile.in, src/translate.cc:
Merge changes from Spot 0.2 (contributed by Alexandre Duret-Lutz). Merge changes from Spot 0.2 (contributed by Alexandre Duret-Lutz).
* doc/lbtt.texi: Fix typo in URL of the FormulaOptions block * doc/lbtt.texi: Fix typo in URL of the FormulaOptions block
generator. Update version, add documentation and references about generator. Update version, add documentation and references about
support for Spot. Describe the new semantics of the --formulafile support for Spot. Describe the new semantics of the --formulafile
@ -133,7 +133,7 @@
log file. log file.
* configure.ac: Add test for the setsid library function. * configure.ac: Add test for the setsid library function.
2004-07-31 Heikki Tauriainen <heikki.tauriainen@hut.fi> 2004-07-31 Heikki Tauriainen <heikki.tauriainen@hut.fi>
* src/Product.h (ProductEdge::edge_1, ProductEdge::edge_2): * src/Product.h (ProductEdge::edge_1, ProductEdge::edge_2):
@ -187,7 +187,7 @@
* doc/texinfo.tex: New upstream version. * doc/texinfo.tex: New upstream version.
* doc/lbtt.texi: Update to edition 1.1.0. * doc/lbtt.texi: Update to edition 1.1.0.
* NEWS: Update. * NEWS: Update.
2004-07-02 Heikki Tauriainen <heikki.tauriainen@hut.fi> 2004-07-02 Heikki Tauriainen <heikki.tauriainen@hut.fi>
* src/UserCommandReader.cc (parseCommand): Recognize * src/UserCommandReader.cc (parseCommand): Recognize
@ -266,13 +266,13 @@
New files for providing specializations of the general product New files for providing specializations of the general product
computation operation applicable to Büchi automata and state computation operation applicable to Büchi automata and state
spaces. spaces.
* src/Makefile.am: Add BuchiProduct.h, BuchiProduct.cc, * src/Makefile.am: Add BuchiProduct.h, BuchiProduct.cc,
Product.h, SccCollection.h and StateSpaceProduct.h to Product.h, SccCollection.h and StateSpaceProduct.h to
lbtt_SOURCES. lbtt_SOURCES.
Remove ProductAutomaton.h, ProductAutomaton.cc and Remove ProductAutomaton.h, ProductAutomaton.cc and
SccIterator.h from lbtt_SOURCES. SccIterator.h from lbtt_SOURCES.
* src/Graph.h.in (Graph::EdgeContainerType, Graph::Path): New * src/Graph.h.in (Graph::EdgeContainerType, Graph::Path): New
type definitions. type definitions.
(Graph::PathElement): New class. (Graph::PathElement): New class.
@ -346,7 +346,7 @@
(printAcceptingCycle): Update parameter list and documentation. (printAcceptingCycle): Update parameter list and documentation.
Display all relevant information about an accepting execution Display all relevant information about an accepting execution
of a Büchi automaton. of a Büchi automaton.
2004-05-18 Heikki Tauriainen <heikki.tauriainen@hut.fi> 2004-05-18 Heikki Tauriainen <heikki.tauriainen@hut.fi>
* configure.ac (YACC): Do not add `-d' here. * configure.ac (YACC): Do not add `-d' here.
@ -374,7 +374,7 @@
* src/NeverClaim-lex.ll: Add %option nounput to avoid a * src/NeverClaim-lex.ll: Add %option nounput to avoid a
compiler warning. compiler warning.
* src/ExternalTranslator.h: Include the TempFsysName.h header. * src/ExternalTranslator.h: Include the TempFsysName.h header.
(ExternalTranslator::TempFileObject): Remove. (ExternalTranslator::TempFileObject): Remove.
(ExternalTranslator::registerTempFileObject): Change (ExternalTranslator::registerTempFileObject): Change
@ -484,7 +484,7 @@
command line option. command line option.
(printCommandHelp): Update the description of the `formula' (printCommandHelp): Update the description of the `formula'
command. command.
* src/UserCommandReader.cc (executeUserCommands): Accept one * src/UserCommandReader.cc (executeUserCommands): Accept one
optional parameter for the `formula' command. Pass the input optional parameter for the `formula' command. Pass the input
tokens as an additional parameter in the printFormula call. tokens as an additional parameter in the printFormula call.
@ -514,7 +514,7 @@
* src/TempFsysName.h, src/TempFsysName.cc New files. * src/TempFsysName.h, src/TempFsysName.cc New files.
* src/Makefile.am: Add TempFsysName.h and TempFsysName.cc to * src/Makefile.am: Add TempFsysName.h and TempFsysName.cc to
lbtt_SOURCES. lbtt_SOURCES.
* src/TestRoundInfo.h: Include the TempFsysName.h header. * src/TestRoundInfo.h: Include the TempFsysName.h header.
(TestRoundInfo::formula_file_name[]) (TestRoundInfo::formula_file_name[])
(TestRoundInfo::automaton_file_name) (TestRoundInfo::automaton_file_name)
@ -522,7 +522,7 @@
TempFsysName*. TempFsysName*.
(TestRoundInfo::TestRoundInfo): Initialize temporary file (TestRoundInfo::TestRoundInfo): Initialize temporary file
name pointers to 0. name pointers to 0.
* src/main.cc: Include the TempFsysName.h header. * src/main.cc: Include the TempFsysName.h header.
(allocateTempFilenames, deallocateTempFilenames): New functions. (allocateTempFilenames, deallocateTempFilenames): New functions.
(abortHandler): New signal handler. (abortHandler): New signal handler.
@ -867,7 +867,7 @@
after colon in output. Return 3 if an unexpected exception after colon in output. Return 3 if an unexpected exception
occurred. In this case print an additional newline before the occurred. In this case print an additional newline before the
error message. error message.
2004-02-19 Heikki Tauriainen <heikki.tauriainen@hut.fi> 2004-02-19 Heikki Tauriainen <heikki.tauriainen@hut.fi>
* src/StringUtil.h: Include the IntervalList.h header. * src/StringUtil.h: Include the IntervalList.h header.
@ -935,7 +935,7 @@
Reformat the automata file format section to avoid overfull lines Reformat the automata file format section to avoid overfull lines
in dvi generation. in dvi generation.
Fix description of the Algorithm block used with lbtt-translate. Fix description of the Algorithm block used with lbtt-translate.
* doc/testprocedure.txt, doc/intersectioncheck.txt: Add initial * doc/testprocedure.txt, doc/intersectioncheck.txt: Add initial
newlines. newlines.

View file

@ -1,5 +1,5 @@
lbtt NEWS -- history of user-visible changes. 30 Aug 2005 lbtt NEWS -- history of user-visible changes. 9 Apr 2008
Copyright (C) 2005 Heikki Tauriainen Copyright (C) 2008 Heikki Tauriainen
Permission is granted to anyone to make or distribute verbatim copies Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the of this document as received, in any medium, provided that the
@ -12,6 +12,11 @@ Copyright (C) 2005 Heikki Tauriainen
Please send bug reports to <heikki.tauriainen@tkk.fi>. Please send bug reports to <heikki.tauriainen@tkk.fi>.
Version 1.2.1
* Fix compilation and warnings on GCC 4.3 (thanks to Alexandre Duret-Lutz
for the patch).
Version 1.2.0 Version 1.2.0
* This release adds direct support (contributed by Alexandre Duret-Lutz) * This release adds direct support (contributed by Alexandre Duret-Lutz)

View file

@ -1,4 +1,4 @@
lbtt version 1.2.0 lbtt version 1.2.1
------------------ ------------------
lbtt is a tool for testing programs that translate formulas lbtt is a tool for testing programs that translate formulas

View file

@ -1,8 +1,8 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.59]) AC_PREREQ([2.59])
AC_INIT([lbtt], [1.2.0], [heikki.tauriainen@tkk.fi]) AC_INIT([lbtt], [1.2.1], [heikki.tauriainen@tkk.fi])
AC_REVISION([Revision: 1.8]) AC_REVISION([Revision: 1.9])
AC_CONFIG_SRCDIR([src/main.cc]) AC_CONFIG_SRCDIR([src/main.cc])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE

File diff suppressed because it is too large Load diff

View file

@ -219,12 +219,12 @@ transition: NC_DOUBLE_COLON formula NC_RIGHT_ARROW NC_GOTO NC_LABEL
; ;
formula: NC_PROPOSITION formula: NC_PROPOSITION
{ {
$$ = $1; $$ = $1;
} }
| NC_TRUE | NC_TRUE
{ {
$$ = $1; $$ = $1;
} }
| NC_FALSE | NC_FALSE
{ {
@ -290,7 +290,7 @@ int parseNeverClaim(FILE* stream, NeverClaimAutomaton& a)
* a -- A reference to a NeverClaimAutomaton object in * a -- A reference to a NeverClaimAutomaton object in
* which the results should be stored. * which the results should be stored.
* *
* Returns: * Returns:
* *
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */
{ {

View file

@ -367,7 +367,7 @@ bool testLoop()
round_info.error = false; round_info.error = false;
round_info.skip round_info.skip
= (round_info.current_round < round_info.next_round_to_run); = (round_info.current_round < round_info.next_round_to_run);
if (!round_info.skip) if (!round_info.skip)
printText(string("Round ") + toString(round_info.current_round) printText(string("Round ") + toString(round_info.current_round)
+ " of " + toString(global_options.number_of_rounds) + "\n\n", + " of " + toString(global_options.number_of_rounds) + "\n\n",
@ -396,7 +396,7 @@ bool testLoop()
configuration.global_options.statespace_random_seed configuration.global_options.statespace_random_seed
= LRAND(0, RAND_MAX); = LRAND(0, RAND_MAX);
#endif /* HAVE_RAND48 */ #endif /* HAVE_RAND48 */
if (global_options.statespace_change_interval == 0) if (global_options.statespace_change_interval == 0)
round_info.next_round_to_change_statespace round_info.next_round_to_change_statespace
= global_options.number_of_rounds + 1; = global_options.number_of_rounds + 1;
@ -434,7 +434,7 @@ bool testLoop()
*/ */
round_info.fresh_formula round_info.fresh_formula
= (round_info.next_round_to_change_formula = (round_info.next_round_to_change_formula
== round_info.current_round); == round_info.current_round);
if (round_info.fresh_formula) if (round_info.fresh_formula)
@ -743,7 +743,7 @@ bool testLoop()
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
try try
{ {
configuration.read(argc, argv); configuration.read(argc, argv);
} }
@ -792,7 +792,7 @@ int main(int argc, char* argv[])
using_history(); using_history();
#endif /* HAVE_READLINE */ #endif /* HAVE_READLINE */
try try
{ {
allocateTempFilenames(); allocateTempFilenames();
if (!testLoop()) if (!testLoop())