ChangeLog 398 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
2012-02-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make all python code compatible with Python 2.x and Python 3.x.

	* wrap/python/buddy.i (__le__, __lt__, __eq__, __ne__, __ge__
	__gt__): New operators for bdd.
	* wrap/python/spot.i (__le__, __lt__, __eq__, __ne__, __ge__
	__gt__, __hash__): New operators for formula.
	(nl_cout, nl_cerr): New functions.
	* wrap/python/tests/bddnqueen.py,
	wrap/python/tests/interdep.py, wrap/python/tests/ltl2tgba.py,
	wrap/python/tests/ltlparse.py, wrap/python/tests/ltlsimple.py,
	wrap/python/tests/minato.py, wrap/python/tests/modgray.py: Adjust
	to the new print syntax by using sys.output.write() or nl_cout()
	instead.
	* wrap/python/tests/optionmap.py: Remove all print calls.
	* wrap/python/ajax/spot.in: Massive adjustments in order to work
	with both Python 2 and 3.  In python 3, reopening stdout as
	unbuffered requires it to be open as binary, which in turns
	requires any string output to be encoded manually.  BaseHTTPServer
	and CGIHTTPServer have been merged into http.server, so we have
	to try two different import syntaxes.  execfile no longer exists,
	so it has to be emulated.
	This also fixes two bugs where the script would segfault on
	empty input, or when calling Tau03 on automata with less then
	one acceptance conditions.

28 29 30 31 32 33 34
2012-02-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix computation of PYTHONINC for Python 3.

	* m4/pypath.m4: The print syntax changed in Python 3, so use
	sys.stdout.write for compatibility with all versions.

35 36 37 38
2012-02-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING: Minor updates and corrections.

39 40 41 42 43 44 45 46 47 48
2012-02-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a race condition on the CGI script.

	* wrap/python/ajax/spot.in: Create all cache files in a temporary
	directory, and only rename this directory at the end.  This way if
	two processes are processing the same request, they won't attempt
	to populate the same directory (and only one of the first of two
	renames will succeed, but that is OK).

49 50 51 52 53 54 55 56 57
2012-01-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a segfault reported by Etienne Renault using dve2check.

	* src/misc/intvcmp2.cc (stream_compression_base::run): Fix a case
	where the "id" of the compression to use would be miscalculated,
	causing wrong values to be encoded.
	* src/tgbatest/intvcmp2.cc: Add this particular test case.

58 59 60 61
2012-01-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Add missing dates.

62 63 64 65
2012-01-19  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac, NEWS: Bump version to 0.8.2a.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
66 67 68 69 70 71
2012-01-19  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.8.2.

	* configure.ac, NEWS: Bump version to 0.8.2.

72 73 74 75 76 77 78
2012-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Small speedup in safra_tree::compare().

	* src/tgba/tgbasafracomplement.cc (safra_tree::compare): Improve
	the order of the tests.

79 80 81 82
2012-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention the last two changes.

83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
2012-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement a unicity table for states created by tgba_tba_proxy.

	Suggested by Nikos Gorogiannis.

	* src/tgba/tgbatba.hh (tgba_tba_proxy::create_state): New method.
	(tgba_tba_proxy::uniq_map_): New attribute.
	* src/tgba/tgbatba.cc (state_tba_proxy): Use the default
	copy constructor.  Empty the destructor.  Implement an empty
	destroy() method.  Use addresses for comparison.  Make clone()
	a no-op.
	(tgba_tba_proxy): Allocate and deallocate the unicity table.
	Implement create_sates().
	(tgba_tba_proxy, tgba_sba_proxy, tgba_tba_proxy_succ_iterator):
	Adjust state construction to call create_state().

100 101 102 103 104 105 106 107 108
2012-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Minor speedups in tgba_safra_complement().

	* src/tgba/tgbasafracomplement.cc (safra_tree:succ_create): Do not
	lookup *i twice, and do not copy it->second.
	(safra_tree::normalize_siblings): Do not lookup *node_it before
	insertion.

109 110 111 112 113
2012-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/eltlparse/eltlparse.yy (realias): Add a useless return to
	fix a g++ warning.

114 115 116 117
2012-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/ltlclasses/run: Typo in comment.

118 119 120 121 122 123 124 125 126
2012-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make it possible not to build Python bindings.

	* configure.ac: Add a --disable-python option tied to
	a USE_PYTHON conditional.
	* README: Document the option.
	* wrap/Makefile.am: Use the conditional.

127 128 129 130 131 132 133 134
2012-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix position of the Send button with WebKit.

	* wrap/python/ajax/css/ltl2tgba.css: Fix position of the "Send"
	button with WebKit.  The folding arrow icon had a vertical border
	that overlapped with the next line.

135 136 137 138 139
2012-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/spot.py: Add a required "None" second
	argument to utime().

140 141 142 143 144 145 146 147 148 149 150
2012-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	minimize_wdba() failed to fully minimize some automata.

	* src/tgbaalgos/minimize.cc (minimize_wdba): Fix the Löding
	algorithm to use colors.  The previous implementation was an
	incorrect approximation.
	* src/tgbatest/wdba2.test: New file showing two equivalent
	formulas that were minimized in automata with different sizes.
	* src/tgbatest/Makefile.am: Add it.

151 152 153 154
2012-01-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Update with recent fixes.

155 156 157 158 159 160 161 162 163
2012-01-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a 'make check' failure when valgrind is not installed.

	* src/kripketest/defs.in (run2): Remove this function.  It was
	incorrectly trying to run valgrind even when valgrind is not
	installed.
	* src/kripketest/kripke.test: Simplify and use run().

164 165 166 167 168 169 170
2012-01-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do use of tr1::unordered_map with G++ 4.0.0.

	* m4/stl.m4 (AC_HEADER_TR1_UNORDERED_MAP): Add some code so
	we don't pick a broken tr1::unordered_map.

171 172 173 174
2012-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* lrde-upload.sh: Retrieve the package version from configure.ac.

175 176 177 178 179 180 181 182 183
2012-01-05  Ala-Eddine Ben-Salem  <ala@lrde.epita.fr>

	Fix detection of the last iteration of minimize_dfa().

	* src/tgbaalgos/minimize.cc (minimize_dfa): Fix detection of the
	last iteration.  An extra iteration case could be missed in case
	where a split generates only singletons, and yet predecessor
	classes need to be refined.

184 185 186 187 188 189 190 191 192 193 194 195
2012-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix computation of length of LTL formulas.

	* src/ltlvisit/length.cc: Fix computation for ltl::multop
	operator. "a&b&c" was reported with length 3, ignoring the
	"&" operators, because of a typo.
	* src/ltlvisit/length.hh: Fix description to correctly
	reflect this change intended since 2010-01-22.
	* src/ltltest/length.test, src/ltltest/length.cc: New files.
	* src/ltltest/Makefile.am: Add them.

196 197 198 199
2011-12-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac, NEWS: Bump version to 0.8.1a.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
200 201 202 203 204 205
2011-12-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.8.1.

	* configure.ac, NEWS: Bump version to 0.8.1.

206 207 208 209
2011-12-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Summarize recent fixes.

210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
2011-12-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix VPATH builds, now that hash.hh include _config.h

	* iface/dve2/Makefile.am, src/eltlparse/Makefile.am
	src/eltltest/Makefile.am, src/evtgba/Makefile.am,
	src/evtgbaalgos/Makefile.am, src/evtgbaparse/Makefile.am,
	src/evtgbatest/Makefile.am, src/kripke/Makefile.am,
	src/kripketest/Makefile.am, src/ltlast/Makefile.am,
	src/ltlparse/Makefile.am, src/ltltest/Makefile.am,
	src/ltlvisit/Makefile.am, src/misc/Makefile.am,
	src/neverparse/Makefile.am, src/saba/Makefile.am,
	src/sabaalgos/Makefile.am, src/sabatest/Makefile.am,
	src/sanity/Makefile.am, src/tgba/Makefile.am,
	src/tgbaalgos/Makefile.am, src/tgbaalgos/gtec/Makefile.am,
	src/tgbaparse/Makefile.am, src/tgbatest/Makefile.am,
	wrap/python/Makefile.am (AM_CPPFLAGS): Make sure
	$(top_builddir)/src is included.

229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
2011-12-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Perform WDBA minimization before degeneralization.

	There is no point in degeneralizing an automaton if it can be WDBA
	minimized.  Doing so will only augment the number of states and
	slow down the powerset construction used by the WDBA minimization.

	* src/tgbatest/babiak.test: New file.  It includes 5 formulae
	which Tomáš Babiak reported Spot 0.7.1 would take over one hour to
	translate if degeneralization and WDBA minimization were both
	requested.
	* src/tgbatest/Makefile.am (TESTS): Add it.
	* src/tgbatest/ltl2tgba.cc: Do WDBA minimization before
	degeneralization.  The above formulae are now all translated in a
	few seconds.

246 247 248 249 250 251 252 253 254 255 256 257 258 259
2011-12-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Don't rely on the g++ version to include tr1/unordered_map and co.

	The previous setup failed with clang++ 3.0.

	* m4/stl.m4: New file.
	* configure.ac: Call AC_HEADER_UNORDERED_MAP,
	AC_HEADER_TR1_UNORDERED_MAP, and AC_HEADER_EXT_HASH_MAP.
	* src/misc/hash.hh: Include _config.h, and used the
	SPOT_HAVE_UNORDERED_MAP, SPOT_HAVE_TR1_UNORDERED_MAP,
	or SPOT_HAVE_EXT_HASH_MAP defines to decide which
	file to include.

260 261 262 263 264 265 266 267
2011-12-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix mkdir error in ajax/spot.in.

	* wrap/python/ajax/spot.in: Do not print an error
	when attempting to create an existing directory.
	Reported by Étienne Renault.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
268 269 270 271 272 273 274 275
2011-11-29  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix build failure during "make check" on MacOS X.

	* src/kripketest/Makefile.am (LDADD): Remove a broken dependency.
	Reported by Yann Thierry-Mieg.
	* src/sanity/style.test: Make sure it does not appear again.

276 277 278 279
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* AUTHORS: Sort alphabetically.

280 281 282 283 284 285 286 287
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove the old CGI interface.

	* wrap/python/cgi-bin: Remove this directory.
	* wrap/python/Makefile.am (SUBDIRS): Remove it.
	* configure.ac, README, wrap/python/ajax/README: Likewise.

288 289 290 291 292 293 294
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Undocument `.' from the web interface.

	* wrap/python/ajax/ltl2tgba.html: Remove `.'
	from the list of acceptable symbols for AND.

295 296 297 298
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS, configure.ac: Bump version to 0.8a.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
299 300 301 302 303 304
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.8.

	* NEWS, configure.ac: Bump version to 0.8.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
305 306 307 308 309 310 311 312
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove spotref.pdf.

	* doc/Doxyfile.in: Do not generate LaTeX output.
	* doc/Makefile.am: Do not build spotref.pdf.
	* NEWS, README: Adjust.

313 314 315 316 317 318 319
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix some Doxygen errors.

	* src/kripke/kripkeexplicit.hh: Reindent, and fix
	some comments.

320 321 322 323 324 325 326 327
2011-11-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add more nodes when resizing BDD table.

	* src/misc/bddalloc.cc (bdd_allocator::initialize): Call
	bdd_setmaxincrease(500000), because the default is 50000,
	which cause garbage collection to occur too often.

328 329 330 331
2011-11-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention the Kripke I/O.

332 333 334 335 336 337 338 339 340
2011-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Don't flush the stream on each new line, when writing automata.

	* src/tgbaalgos/neverclaim.cc, src/tgbaalgos/dotty.cc,
	src/tgbaalgos/save.cc: Prefer '\n' over std::endl to speedup I/O.
	* src/ltltest/genltl.cc (syntax): Use '\n' too, although it won't
	make a big difference.

341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
2011-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add an ltl2tgba option to read Kripke structure.

	Also offers two ways to output Kripke structures.

	* src/kripketest/parse_print_test.cc, src/kripke/kripkeexplicit.cc
	: Simplify includes.
	* src/kripke/kripkeprint.hh (kripke_save_reachable,
	kripke_save_reachable_renumbered): New declarations.
	(KripkePrinter): Move and rename...
	* src/kripke/kripkeprint.cc (kripke_printer): ... here.
	(kripke_printer_renumbered): New class.
	(kripke_save_reachable, kripke_save_reachable_renumbered): New
	function.
	* src/tgbatest/ltl2tgba.cc: Add an option to read Kripke
	structures.
	* iface/dve2/dve2check.cc: Use kripke_save_reachable_renumbered.
	* iface/dve2/defs.in (run2): Remove.
	* iface/dve2/kripke.test: Adjust tests.

362 363 364 365
2011-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* AUTHORS: Add Thomas Badie.

366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
2011-05-07  Thomas Badie  <badie@lrde.epita.fr>

	Add text I/O for Kripke structures.

	* src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh,
	src/kripke/kripkeprint.cc, src/kripke/kripkeprint.hh: New files.
	* src/kripke/Makefile.am: Add them.
	* src/kripkeparse/fmterror.cc, src/kripkeparse/kripkeparse.yy,
	src/kripkeparse/kripkescan.ll, src/kripkeparse/parsedecl.hh,
	src/kripkeparse/public.hh, src/kripkeparse/scankripke.ll: New
	files.
	* src/kripkeparse/Makefile.am: Add them.
	* src/kripketest/bad_parsing.test, src/kripketest/defs.in,
	src/kripketest/kripke.test, src/kripketest/origin,
	src/kripketest/parse_print_test.cc: New files.
	* src/kripketest/Makefile.am: Add them.
	* src/Makefile.am (SUBDIRS): Add kripkeparse and kripketest.
	* README: Document src/kripketest/ and src/kripkeparse/.
	* configure.ac: Generate src/kripkeparse/Makefile,
	src/kripketest/Makefile, src/kripketest/defs.
	* iface/dve2/defs.in (run2): New function.
	* iface/dve2/dve2check.cc (syntax, main): Add option -gK.
	* iface/dve2/kripke.test: New file.
	* iface/dve2/Makefile.am (TESTS): Add kripke.test.

391 392 393 394 395 396 397 398
2011-11-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix bench/emptchk/pml2tgba.pl for more recent Spin version.

	* bench/emptchk/pml2tgba.pl: Stop checking for version start lines
	depending on the Spin version.  This check was never always
	correct.  Reported by Étienne Renault.

399 400 401 402 403 404 405 406
2011-11-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update formulae.ltl not to use uncommon operators.

	* bench/emptchk/formulae.ltl: Do not use + and * in the list of
	formulas.  Use | and & instead.  The * operator was removed on
	2010-01-30.  Reported by Étienne Renault.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
407 408 409 410 411 412 413 414
2011-11-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More documentation.

	* src/tgbaalgos/randomgraph.hh: Document the fact that adding
	acceptance conditions to the graph may generate graphs that do not
	have any accepting cycle.

415 416 417 418 419 420 421 422 423
2011-11-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Display transition annotations in dotty output.

	* src/tgbaalgos/dotty.cc (process_link): Call
	transition_annotation().  Reported by Nikos Gorogiannis.
	* src/tgba/tgba.hh (transition_annotation): More documentation.
	* NEWS: Mention this change.

424 425 426 427
2011-11-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Add an entry for the previous fix.

428 429 430 431 432 433 434 435 436 437 438 439 440
2011-11-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fully quote guards used by neverclaims.

	Especially with should write !(p0) and not !p0, because p0 is
	usually #define'd by the user and he may have forgotten to quote
	the value of the macro.  This issue was discovered by Kristin
	Yvonne Rozier and diagnosed by Gerard Holzmann.

	* src/tgbaalgos/neverclaim.cc (process_link): Call
	to_spin_string(..., true) to fully parentheses the string.
	* src/tgbatest/neverclaimread.test: Add a test.

441 442 443 444 445 446 447 448
2011-11-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a g++-4.7 warning about a variable used only in an assert().

	* src/tgbaalgos/weight.cc (inc_weight_handler)
	(dec_weight_handler): Remove these assertions that require the
	loop the be completed, and use break to exit ASAP.

449 450 451 452 453 454 455 456 457
2011-11-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Allow neverclaim guards of the form `!(x)' or `! (x)'.

	* src/neverparse/neverclaimscan.ll: Make the space between `!' and
	`(' optional.  This fixes the patch from 2011-02-07 that made this
	space mandatory...
	* src/tgbatest/neverclaimread.test: Augment test case.

458 459 460 461 462 463 464
2011-10-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Better documentation for print_tgba_run.

	* src/tgbaalgos/emptiness.hh (print_tgba_run): Reword the
	documentation after a report from Nikos Gorogiannis.

465 466 467 468
2011-10-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/finite.test: Swap -e and -E after change from 2011-07-26.

469 470 471 472
2011-10-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Update with recent fixes.

473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
2011-10-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Safra: Fix usage of multiple acceptance conditions and fix text output.

	* src/tgba/tgbasafracomplement.cc
	(tgba_safra_complement::tgba_safra_complement)
	(tgba_safra_complement::succ_iter): Correct the declaration and
	use of multiple acceptance conditions.
	(state_complement::to_string): Output the L set, not U.  The previous
	code caused different states to share the same names, causing issues
	with the text-based output (state with identical names get merged).
	* src/tgba/tgbasafracomplement.hh
	(tgba_safra_complement::acceptance_cond_vec_): Adjust type to
	store BDDs.
	* src/tgbatest/complementation.cc: Implement a new "-b" option
	to output automata in Spot's syntax.
	* src/tgbatest/complementation.test: Add a test-case supplied
	by Martin Dieguez Lodeiro.
	* THANKS: Add Martin.

493 494 495 496
2011-10-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/tgbasafracomplement.cc: Fix two asserts.

497 498 499 500 501 502 503 504 505 506 507
2011-10-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Improve the print_safra_automaton output.

	* src/tgba/tgbasafracomplement.cc (print_safra_tree): Fix output in
	case of hash collision.  Use the actual states to get a number, not
	their hash value.
	(print_safra_automaton): Output a mapping of values to states names.
	(safra_tree_automaton::get_sba): New method, used by
	print_safra_automaton.

508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
2011-08-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix errors reported by clang++-2.9.

	* src/evtgbaalgos/tgba2evtgba.cc (process_link): Fix prototype
	to match tgba_reachable_iterator::process_link.
	* src/ltlvisit/tunabbrev.hh: Add using super::visit, so that the
	other visit() method are in scope when we overload one.
	* src/tgba/tgbareduc.hh, src/tgba/tgbareduc.cc (start, end,
	process_link): Remove these empty methods.  The default
	implementations are empty too, and process_link had the
	wrong prototype.
	* src/tgbaalgos/reductgba_sim.hh, src/tgbaalgos/reductgba_sim.cc
	(start, end, process_link): Likewise.

523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
2011-08-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Improve SCC simplification by removing implied acceptance conditions.

	Spot 0.7.1 used to need 190 acceptance conditions to translate the
	188 literature formulae.  With this patch we are down to 185.
	That's not an impressive, but there are only ~20 formulae that
	require more than 1 acceptance conditions; hence little room for
	improvement.

	* src/misc/bddlt.hh (bdd_hash): New function.
	* src/misc/accconv.hh, src/misc/accconv.cc: New files.
	* src/misc/Makefile.am: Add them.
	* src/tgbaalgos/scc.cc (scc_map::build_map): Adjust
	to record all combination of acceptance conditions occurring in a SCC.
	* src/tgbaalgos/scc.hh (scc_map::scc::useful_acc): Update description.
	* src/tgbaalgos/sccfilter.cc (scc_filter): Simplify acceptance
	conditions that are always implied by another acceptance
	conditions.  Previously, we only removed acceptance conditions
	that where always present in accepting SCCs.
	* src/tgbatest/sccsimpl.test: New file.
	* src/tgbatest/Makefile.am (TESTS): Add it.

546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
2011-08-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Refine yesterday's change to the degeneralization.

	This avoids a small regression on the size of degeneralized
	automata of our usual list of literature formulae.

	* src/tgba/tgbatba.hh, src/tgba/tgbatba.cc
	(tgba_tba_proxy::union_acceptance_conditions_of_original_state):
	New method.
	* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator): In accepting
	states, ignore only the last expected acceptance condition if its
	common to all outgoing transitions AND if it is not used by any
	outgoing transitions of the destination.

561 562 563 564 565 566 567 568 569 570 571 572
2011-08-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make sure the degeneralization is idempotent (up to renaming of
	states).

	* src/tgbaalgos/tgbatba.cc: When degeneralizing to SBA, remove the
	acceptance conditions that are common to all outgoing transitions
	of this state.  This helps to make the degeneralization
	idempotent.
	* src/tgbatest/degenid.test: New test case.
	* src/tgbatest/Makefile.am: Add it.

573 574 575 576 577 578 579 580
2011-08-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix escaping of state name in save_reachable()'s output.

	* src/tgbaalgos/save.c (process_state): Escape quotes in the
	name of source and destination states.  This fixes a side bug
	in the upcoming degenid.test test case.

581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
2011-08-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Running `ltl2tgba -R1q -R1t -N` would degeneralize before and
	after the simulation-reduction.

	Report from Tomáš Babiak <xbabiak@fi.muni.cz>.

	* src/tgbaalgos/neverclaim.hh (never_claim_reachable): Take
	a tgba as input.
	* src/tgbaalgos/neverclaim.cc (never_claim_bfs): Call
	state_is_accepting() only if this tgba turns out to be
	a tgba_sba_proxy.  Otherwise check the acceptance of one
	outgoing transition as we do in dotty_bfs since 2011-03-05.
	* src/tgbatest/ltl2tgba.cc: Do not redegeneralize before
	calling never_claim_reachable() if we know the automaton is
	degeneralized already.
	* src/tgbatest/ltl2tgba.test: Add a test case.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
599 600 601 602 603 604 605
2011-08-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Please GCC 4.6.

	* src/tgbatest/complementation.cc (check, automaton): Remove
	these unused variables.

606 607 608 609 610 611 612 613 614 615 616 617 618
2011-08-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a nondeterministic behavior of the degeneralization algorithm.

	Reported by Tomáš Babiak <xbabiak@fi.muni.cz>.

	* src/tgba/tgbatba.cc (tgba_tba_proxy): Replace the std::map used
	to record outgoing transitions by an Sgi::hash_map, and keep the
	order of these transitions in a separate list.
	* src/tgbatest/degendet.test: New file.
	* src/tgbatest/Makefile.am (TESTS): Add it.
	* THANKS: Add Tomáš and convert to utf8.

619 620 621 622
2011-08-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc (syntax): -N implies -DS, not -D.

623 624 625 626
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2check.cc: Add option -W and simplify formulae.

627 628 629 630 631 632 633 634
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	-e means we expect an accepting run.

	* iface/dve2/dve2check.cc: Reverse the value of
	expect_counter_example with respect to the -e/-E options.
	* iface/dve2/dve2check.test: Swap -e and -E.

635 636 637 638 639 640 641
2011-06-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add some "drop shadow" in ltl2tgba.html.

	* wrap/python/ajax/ltl2tgba.html: Add shadow to all boxes.
	* wrap/python/ajax/css/ltl2tgba.css (.shadow): New class.

642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
2011-06-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Revamp the ltl2tgba benchmark.

	* bench/ltl2tgba/algorithms: Reduce the number of Spot configuration
	tested.
	* bench/ltl2tgba/Makefile.am (run, small.txt, big.txt, known.txt):
	New rules.
	* bench/ltl2tgba/big, bench/ltl2tgba/small, bench/ltl2tgba/known:
	Add a 15min timeout to the lbtt configuration.
	* bench/ltl2tgba/defs.in: Adjust variable definitions to accept
	variable inderections.
	* bench/ltl2tgba/parseout.pl: Add an option to output the table in
	LaTeX.  Also consider all formulae, not just the positive
	formulae.
	* bench/ltl2tgba/README: Update.

659 660 661 662
2011-06-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltlvisit/tostring.cc (to_spin_string_visitor): Add missing break.

663 664 665 666 667 668 669 670
2011-06-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/spot.in: Touch the directory containing
	the cached result for the requests.  So that it survives
	the browser's cache.
	(finish): Prune the cache only once per hour, and only eraes
	files that are older than 2 hours.

671 672 673 674 675
2011-06-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/ltl2tgba.html: Add focus on the formula field
	on page load.

676 677 678 679
2011-06-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Update with recent changes.

680 681 682 683 684 685 686 687
2011-06-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement cache pruning in the CGI script.

	* wrap/python/ajax/spot.in (finish): Prune the cache once in a
	while.  We rely on hardlinks for garbage collecting the pictures
	and dot sources that may be shared by different requests.

688 689 690 691 692 693 694 695 696
2011-06-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cache dot sources in the CGI script.

	* wrap/python/ajax/spot.in (render_dot, render_dot_maybe)
	(render_automaton, render_formula): Cache the dot source, so that
	we do not have to regenerate two pictures from the same contents.
	* wrap/python/spot.i: Typo in the ostringstream declaration.

697 698 699 700 701 702 703
2011-06-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Output a "Cache-Control:" header in the CGI script.

	* wrap/python/ajax/spot.in: Output a cache-control header, so that
	browsers do no even send two identical requests.

704 705 706 707 708 709 710 711 712 713 714
2011-06-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cache results of the spot.py CGI script.

	* wrap/python/ajax/spot.in: Use the QUERY_STRING as a hash key to
	cache the result of the script.  Open stdout without buffering and
	redirect it to a file that we can dump later on cache hits.  Parts
	of this change are extracted from code from Pierre Parutto
	<parutto@lrde.epita.fr>.
	* AUTHORS: Add him.

715 716 717 718
2011-06-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/genltl.cc (X_n): Fix assertion.

719 720 721 722
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltlvisit/dotty.cc (dotty_visitor): Reorder attributes.

723 724 725 726
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/genltl.cc (fair_response): Typo.

727 728 729 730 731 732 733 734 735 736 737 738
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	DVE2: Do not display state variables with only one possible value.

	* iface/dve2/dve2.cc (dve2_kripke::dve2_kripke): Fill
	a format_filter_ array with boolean indicating whether each
	variable should be printed.  Ignore variable with only one
	possible value.
	(dve2_kripke::~dve2_kripke): Destroy it.
	(dve2_kripke::format_state): Use it.
	* iface/dve2/finite.test: Adjust.

739 740 741 742 743 744 745 746 747 748 749 750
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove Kristin Rozier's LTLcounter.pl scripts, now that we can
	generate these formulae with "genltl".

	* src/tgbatest/ltlcounter/: Remove this directory.
	* src/tgbatest/Makefile.am: Adjust.
	* src/tgbatest/ltlcounter.test, bench/ltlcounter/run: Use genltl
	to generate the formulae.
	* bench/ltlcounter/README: Do not mention src/tgbatest/ltlcounter/
	anymore.

751 752 753 754 755 756 757 758
2011-06-06  Alexandre Duret-Lutz  <adl@va-et-vient.net>

	Better layout of the LTL formula parse tree.

	* src/ltlvisit/dotty.cc: Display "L" and "R" tail-labels
	for binary operators.  Gather all constants and atomic
	propositions in a sub-graph with "rank=sink".

759 760 761 762 763 764 765 766 767 768
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add more formula families to genltl.

	* src/ltltest/genltl.cc (fair_response, ltl_counter)
	(ltl_counter_carry): New functions, constructing function from
	gastin.03.cav and rozier.07.cav.  The LTL counter will replace the
	scripts in src/tgbatest/ltlcounter/.
	(X_n): New helper function.

769 770 771 772 773 774 775 776 777 778 779 780 781
2011-06-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Install a misc/_config.h to hide all the defines that clutter the
	built output.

	This is also a step towards better checks for things like
	__attribute__ or std::tr1.

	* m4/ax_prefix_config_h.m4: New file.
	* configure.ac: Call AC_CONFIG_HEADERS and AX_PREFIX_CONFIG_H.
	* src/misc/Makefile.am: Install misc/_config.h.
	* src/misc/random.cc, src/misc/version.cc: Include misc/_config.h.

782 783 784 785 786 787 788
2011-06-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Document the protocol used between ltl2tgba.html and spot.py.

	* wrap/python/ajax/protocol.txt: New file.
	* wrap/python/ajax/Makefile.am (EXTRA_DIST): Add it.

789 790 791 792
2011-06-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/README: Document state compression.

793 794 795 796 797 798 799 800 801 802 803 804 805
2011-06-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update jQuery and jQuery-UI.

	* wrap/python/ajax/ltl2tgba.html: Adjust to use
	jQuery 1.6.1 and jQuery-UI 1.8.13.  Remove a useless check
	of $("#autoupdate").attr("checked") since this checkbox no longer
	exists.
	* wrap/python/ajax/css/ui-lightness/jquery-ui-1.8.8.custom.css:
	Replace by ...
	* wrap/python/ajax/css/ui-lightness/jquery-ui-1.8.13.custom.css: This.
	* wrap/python/ajax/Makefile.am (EXTRA_DIST): Adjust.

806 807 808 809
2011-05-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2.cc: Kill a spurious warning.

810 811 812 813
2011-05-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/wdba/README: Typos.

814 815 816 817 818 819 820 821
2011-05-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Some intvcomp2 speedups.

	* src/misc/intvcmp2.cc (stream_compression_base::run):
	Implement a shift-less encoding for the 1-bit and 3-bit cases.
	Also declare offsets as size_t, to help 64-bit compilers.

822 823 824 825 826
2011-05-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/intvcomp.hh, src/misc/intvcmp2.hh: Include stddef.h for
	size_t.

827 828 829 830
2011-05-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/intvcmp2.cc: Cosmetics to please sanity checks.

831 832 833 834 835 836 837 838
2011-05-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix compilation error with g++ <= 4.3.

	* src/misc/intvcmp2.cc (int_array_array_compression): Specify full
	type of stream_compression_base<int_array_array_compression> in
	constructor to please g++ versions <= 4.3.

839 840 841 842 843 844 845 846
2011-05-02  Alexandre Duret-Lutz  <adl@va-et-vient.net>

	DVE2: Minor memory compaction.

	* iface/dve2/dve2.cc (dve2_state, dve2_compressed_state): Store
	size and count on 16 bits, and hash on 32 bits, to limit memory
	wasted.

847 848 849 850 851 852 853
2011-05-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	DVE2: Optionally use the new compression.

	* iface/dve2/dve2.cc, iface/dve2/dve2.hh, iface/dve2/dve2check.cc:
	Add a -Z option and pass it through.

854 855 856 857 858 859 860 861 862 863
2011-05-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement a new compression inspired from simple-9.

	* src/misc/intvcmp2.cc, src/misc/intvcmp2.hh: New files.
	* src/misc/Makefile.am: Add them.
	* src/tgbatest/intvcmp2.cc: New test.
	* src/tgbatest/Makefile.am: Add it.
	* src/tgbatest/intvcomp.test: Call it.

864 865 866 867
2011-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/intvcomp.cc: Low-level fine-tuning.

868 869 870 871 872 873 874 875 876 877 878
2011-04-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix compression of large repetitions

	* src/misc/intvcomp.cc (stream_compression_base::run): Limit
	repeatitions to 40, not 42.
	(stream_decompression_base::refill): Refill the end of the stream
	with 0.
	(stream_decompression_base::look_n_bits): Add assertion.
	* src/tgbatest/intvcomp.cc: Add a new test case.

879 880 881 882 883 884 885 886 887
2011-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More interfaces to the int array compression routines.

	* src/misc/intvcomp.cc, src/misc/intvcomp.cc: Add interfaces to
	compress vector<int> to vector<unsigned>.
	* src/tgbatest/intvcomp.cc: Test them.
	* src/sanity/style.test: Refine check to avoid a spurious report.

888 889 890 891
2011-04-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2.cc: Typo when handling dead==true.

892 893 894 895 896 897 898 899 900
2011-04-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Always pass --enable-devel or --disable-devel to BuDDy.

	* configure.ac: Do not add CXXFLAGS and CFLAGS in ac_configure_args,
	it causes problem when using config.cache.  Instead ...
	* m4/devel.m4: Add --enable-devel or --disable-devel on
	ac_configure_args, now that BuDDy understands that.

901 902 903 904 905
2011-04-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/escape.hh: Fix Doxygen documentation.
	* src/misc/intvcomp.hh: Likewise.

906 907 908 909 910 911 912 913
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Move the compression routines into their own *.cc file.

	* src/misc/intvcomp.hh: Move all code...
	* src/misc/intvcomp.cc: ... in this new file.
	* src/misc/Makefile.am: Add invcomp.cc

914 915 916 917 918 919 920 921 922 923
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	DVE2: Use mspool for compressed states.

	* iface/dve2/dve2.cc: Adjust to use the new mspool allocator,
	and get rid of the std::vector used to store compressed states.
	* src/misc/intvcomp.hh: Add an "int* -> int*" interface
	in addition to the "int* -> vector<unsigned>*" interface.
	* src/tgbatest/intvcomp.cc: Test the two interfaces.

924 925 926 927 928 929 930
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add a multiple-size memory pool implementation.

	* src/misc/mspool.hh: New file.
	* src/misc/Makefile.am: Add it.

931 932 933 934
2011-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/fixpool.hh: Typo in comment.

935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950
2011-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	DVE2: preliminary implementation of compressed states.

	* iface/dve2/dve2.cc (dve2_compressed_state): New class.
	(callback_context): Deal with general state*s, not dve2_state*s.
	(transition_callback_compress): New function.
	(dve2_kripke): Take a compress option.
	(get_init_state, compute_state_condition, succ_iter,
	format_state, state_condition): Handle compressed states.
	(get_vars, compute_state_condition_aux): New helper methods.
	* iface/dve2/dve2.hh (load_dve2): Add a compress option.
	* iface/dve2/dve2check.cc: Add a -z option.
	* iface/dve2/finite.test, iface/dve2/dve2check.test: Add more
	tests.

951 952 953 954 955 956 957 958 959
2011-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Preliminary implementation of an int array compressor.

	* src/misc/intvcomp.hh: New file.
	* src/misc/Makefile.am: Add it.
	* src/tgbatest/intvcomp.cc, src/tgbatest/intvcomp.test: New files.
	* src/tgbatest/Makefile.am: Add them.

960 961 962 963 964 965 966 967 968 969
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix two spurious segfaults in test cases for the Python interface.

	* wrap/python/tests/setxor.py, wrap/python/tests/bddnqueen.py:
	Clean all used bdd variables before calling bdd_done(), so that
	bdd_delref() is never called after bdd_done().  In NDEBUG builds,
	bdd_delref() does not check whether the BuDDy is running or not,
	and calling it after bdd_done() will crash.

970 971 972 973
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING: Add an example for using callgrind.

974 975 976 977 978
2011-04-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2check.cc (main): Catch out-of-memory errors
	during emptiness check or counterexample generation.

979 980 981 982 983
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/tgbaproduct.hh, src/tgba/tgbaproduct.cc: Use
	a fixed-size memory pool for product_state instances.

984 985 986 987 988
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2.cc: Use a fixed-size memory pool for dve2_state
	instances and their variables.

989 990 991 992 993 994 995
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add a fixed-size memory pool implementation.

	* src/misc/fixpool.hh: New file.
	* src/misc/Makefile.am (misc_HEADERS): Add fixpool.hh.

996 997 998 999
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING (command): Some notes about link-time optimizations.

1000 1001 1002 1003 1004
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: Pass CXXFLAGS/CFLAGS/CPPFLAGS debug/optimization
	settings to sub configure.

1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
2011-03-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduct a down_cast macro.

	* src/misc/casts.hh: New file.
	* src/misc/Makefile.am: Add it.
	* iface/dve2/dve2.cc, iface/gspn/gspn.cc, iface/gspn/ssp.cc,
	src/evtgba/explicit.cc, src/evtgba/product.cc, src/misc/casts.hh,
	src/tgba/state.hh, src/tgba/statebdd.cc, src/tgba/taatgba.cc,
	src/tgba/taatgba.hh, src/tgba/tgbabddconcrete.cc,
	src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh,
	src/tgba/tgbakvcomplement.cc, src/tgba/tgbaproduct.cc,
	src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc,
	src/tgba/tgbatba.cc, src/tgba/tgbaunion.cc, src/tgba/wdbacomp.cc,
	src/tgbaalgos/ndfs_result.hxx, src/tgbaalgos/reductgba_sim.cc,
	src/tgbaalgos/reductgba_sim_del.cc: Use down_cast when
	appropriate.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
2011-03-31  Alexandre Duret-Lutz  <adl@va-et-vient.net>

	Cosmetics.

	* src/sanity/style.test: Catch some binary operators not
	delimited with spaces.
	* src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc,
	src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc,
	src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.

1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049
2011-03-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make state_explicit instances persistent objects.

	* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh: Merge
	state_explicit and tgba_explicit::state.  In the past,
	state_explicit was a small object encapsulating a pointer to the
	persistent tgba_explicit::state; and we used to clone() and
	destroy() a lot of state_explicit instance.  Now state_explicit is
	persistent, and clone() and destroy() have no effects.
	* src/tgba/tgbareduce.cc: Adjust, since this inherits from
	tgbaexplicit and uses the internals of state_explicit.
	* src/tgbatest/reductgba.cc: Fix deletion order for automata.
	* src/tgba/tgba.hh (last_support_conditions_input_,
	last_support_variables_input_): Make these protected, so
	they can be zeroed by tgba_explicit.

1050 1051 1052 1053 1054 1055 1056 1057
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove tgba_reduc::format_state().

	* src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh (format_state):
	Remove this useless copy of the tgba_explicit_string::format_state
	method.

1058 1059 1060 1061 1062 1063 1064 1065 1066
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Protect the state destructor.

	Client code should always call the destroy() method instead.  (It
	was introduced in Spot 0.7.)

	* src/tgba/state.hh (state::~state): Make it protected.

1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speedup tgba_product when one of the argument is a Kripke structure.

	The gain is not very impressive.  The runtime of the first example
	in iface/dve2/README (also in dve2check.test) is 15% faster.

	* src/tgba/tgbaproduct.hh (tgba_succ_iterator_product): Move ...
	* src/tgba/tgbaproduct.cc (tgba_succ_iterator_product,
	tgba_succ_iterator_product_common): ... in these two classes.
	(tgba_succ_iterator_product_kripke): New class to speedup
	successor computation on Kripke structures.  We can assume that
	all the transitions leaving the same state have the same label.
	(tgba_product::tgba_product, tgba_product::succ_iter): Use
	tgba_succ_iterator_product_kripke when appropriate.
	(tgba_product_init::tgba_product_init): Adjust for the case
	where tgba_product did reverse its operands.

1085 1086 1087 1088
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2check.cc: Remove stray debug output.

1089 1090 1091 1092
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/tgbaproduct.hh: Do not include statebdd.hh.

1093 1094 1095 1096 1097 1098 1099 1100 1101 1102
2011-03-29  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Include <cstddef> in python modules to workaround Swig bug.

	* wrap/python/spot.i, wrap/python/buddy.i: Include <cstddef>
	because Swig 2.0.2 uses ptrdiff_t and does not do the include
	itself.  In g++ most libstdc++ standard headers have been changed
	to no longer include <cstddef> as an implementation detail, so
	the difference shows.

1103 1104 1105 1106
2011-03-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* THANKS: Add Michael Weber for his help on the DiVinE interface.

1107 1108 1109 1110
2011-03-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/genltl.cc (syntax): Typos in the help text.

1111 1112 1113 1114 1115 1116 1117 1118 1119
2011-03-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Improve a reduction rule for "a M b".

	* src/ltlvisit/reduce.cc (reduce_visitor): Always reduce "a M b"
	to "a & b" if "a" is a pure eventual formula, remove the
	constraint on "b".
	* src/ltltest/reduccmp.test: Add two tests.

1120 1121 1122 1123
2011-03-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention recent changes to dotty_reachable.

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143
2011-03-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add support for finite behaviors in the DVE interface.

	* iface/dve2/dve2.hh (load_dve2): Take a "dead" argument.
	* iface/dve2/dve2.cc (callback_context): Add a destructor
	to simplify...
	(dve2_succ_iterator::~dve2_succ_iterator) ... this one.
	(convert_aps): Skip the dead proposition.
	(dve2_kripke::dve2_kripke): Take a dead argument, and
	setup alive_prop and dead_prop.
	(compute_state_condition, get_succ): Use a cache for the
	conditions and successor of the last state, to share
	some work between these two function.  Add loops on dead
	states.
	(load_dve2): Pass dead to dve2_kripke and convert_aps.
	* iface/dve2/dve2check.cc: Add a -dDEAD option.
	* iface/dve2/finite.test, iface/dve2/finite.dve: New file.
	* iface/dve2/Makefile.am: Declare them.

1144 1145 1146 1147 1148
2011-03-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2.cc (convert_aps): Fix two typos while
	parsing >= and >, mistakenly registered as <= and <.

1149 1150 1151 1152 1153 1154 1155 1156 1157
2011-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove the Nips interface.

	* NEWS: Mention it.
	* configure.ac, README: Remove it.
	* iface/Makefile.am (SUBDIRS): Remove nips.
	* iface/nips/: Delete this directory.

1158 1159 1160 1161 1162 1163 1164 1165 1166
2011-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Accept "P_0 == CS" as synonym for "P_0.CS" in the dve2 interface.
	Suggested by Yann Thierry-Mieg.

	* iface/dve2/dve2.cc (convert_aps): Allow string on the right
	of operators, and look them up.
	* iface/dve2/dve2check.test: Test this syntax.

1167 1168 1169 1170 1171 1172 1173 1174 1175
2011-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add some tests for the DVE2 interface.

	* iface/dve2/defs.in, iface/dve2/dve2check.test,
	iface/dve2/beem-peterson.4.dve: New files.
	* iface/dve2/Makefile.am: Add them.
	* configure.ac: Generate iface/dve2/defs.

1176 1177 1178 1179 1180 1181 1182
2011-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Clear the timer map to help valgrind.

	* src/misc/timer.hh (reset_all): New method.
	* iface/dve2/dve2check.cc: Use it to help valgrind.

1183 1184 1185 1186 1187 1188 1189
2011-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Some documentation of about the dve2 interface.

	* iface/dve2/README: New file.
	* NEWS: Mention it.

1190 1191 1192 1193 1194
2011-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/dve2.cc, iface/dve2/dve2check.cc: Cosmetic changes
	to please sanity checks.

1195 1196 1197 1198 1199 1200 1201 1202 1203
2011-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Call divine to compile dve models.

	* iface/dve2/dve2.cc (compile_dve2): New function.  Compile
	the *.dve source if there is no newer *.dve2C already.
	(load_dve2): Call compile_dve2 when given a *.dve file.
	* iface/dve2/dve2.hh (load_dve2): Document it.

1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
2011-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Allow atomic propositions and identifiers like `X.Y'.

	* src/ltlparse/ltlscan.ll: Do not recognize `.' as an AND.  Allow
	it in atomic propositions.
	* src/evtgbaparse/evtgbascan.ll, src/tgbaparse/tgbascan.ll: Accept
	`.' in identifiers.
	* src/misc/bareword.cc (is_bareword): Accept `.' inside
	barewords, so that there is no need to quote `X.Y'.
	* src/ltltest/parse.test: Do not use `.' as and operator..

1216 1217 1218 1219 1220 1221 1222
2011-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Augment dve2check to perform LTL model checking.

	* iface/dve2/dve2check.cc: Add many option to perform
	emptiness check and other debugging tasks.

1223 1224 1225 1226 1227 1228 1229 1230
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Teach the DVE2 interface about enumerated types.

	* iface/dve2/dve2.cc (convert_aps): Add support for
	enumerated types.  E.g. an atomic proposition such
	as "P_0.CS" really means "P_0 == CS".

1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Teach the DVE2 interface about atomic propositions such as "a <=
	10" or "b != 3".  This only work for integer variables presently.

	* iface/dve2/dve2.hh (load_dve2): Take an atomic_prop_set
	argument to indicate the AP to observe.
	* iface/dve2/dve2.cc (convert_aps): New function.  Parse the
	atomic propositions in format them in a prop_set structure that
	will allow fast generation of the state condition.
	(load_dve2): Call convert_aps, and pass the resulting prop_set
	structure to the kripke object.
	(dve2_kripke::dve2_kripke): Store the prop_set structure.
	(dve2_kripke::~dve2_kripke): Release the prop_set, and unregister
	the bdd_variable associated to it.
	(compute_state_condition): New method that uses the prop_set.
	(succ_iter, state_condition): Call compute_state_condition().
	* iface/dve2/dve2check.cc: Adjust the call to load_dve2 to
	pass it atomic propositions read from the command line.

1251 1252 1253 1254 1255 1256 1257 1258 1259
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Display states variables in the state label.

	* iface/dve2/dve2.cc (dve2_kripke::dve2_kripke): Retrieve
	the name of all the state variables.
	(dve2_kripke::format_state): Use them to format the name
	of the state.

1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	We can now explore a divine2 compiled model, but the atomic
	properties are still missing.

	* iface/dve2/dve2.cc, iface/dve2/dve2.hh: Add
	classes for presenting the DiVinE2 model as a kripke object.
	(load_dve2): Load the *.dve2C file using libltdl.
	* iface/dve2/Makefile.am: Add a dve2check program.
	* iface/dve2/dve2check.cc: New file.  Currently it just
	outputs the reachability graph using dotty.

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Setup libltdl in ltdl/, so we can use it in the dve2 interface.

	Don't keep it under version control since it is installed by
	autoreconf.

	* configure.ac: Call LT_CONFIG_LTDL_DIR and LTDL_INIT.
	* README: Mention ltdl/.
	* Makefile.am: Recurse into ldtl.
	* iface/dve2/Makefile.am: Link with it.

1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Setup build system for a new dve2 interface.

	* iface/dve2/dve2.cc, iface/dve2/dve2.hh: New dummy files.
	* iface/dve2/Makefile.am: New file.
	* iface/Makefile.am (SUBDIRS): Add dve2.
	* configure.ac: Build iface/dve2/Makefile.
	* README: Mention the new directory.

1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Using double borders for acceptance states in SBAs.

	* src/tgbaalgos/dotty.hh (dotty_reachable): Take a new
	assume_sba argument.
	* src/tgbaalgos/dotty.cc (dotty_bfs): Take a new
	mark_accepting_states arguments.
	(dotty_bfs::process_state): Check if a state is accepting using
	the state_is_accepting() method for tgba_sba_proxies, or by
	looking at the first outgoing transition of the state.  Pass
	the result to the dectorator.
	(dotty_reachable): Adjust function.
	* src/tgbaalgos/dottydec.hh, src/tgbaalgos/dottydec.cc,
	src/tgbaalgos/rundotdec.hh, src/tgbaalgos/rundotdec.cc
	(state_decl): Add an "accepting" argument, and use it to
	decorate accepting states with a double border.
	* src/tgbatest/ltl2tgba.cc: Keep track of whether the output
	is an SBA or not, so that we can tell it to dotty().
	* wrap/python/ajax/spot.in: Likewise.
	* wrap/python/cgi-bin/ltl2tgba.in: Likewise.

1316 1317 1318 1319
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/genltl.cc (GF_n): Really use "op".

1320 1321 1322 1323 1324
2011-03-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/spot.in: Use the degeneralized automaton if
	available while computing the emptiness check.

1325 1326 1327 1328 1329 1330 1331 1332
2011-03-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speedup build_result() called by minimize_dfa().

	* src/tgbaalgos/minimize.cc (build_result): Speed it up by
	removing one useless loop, creating many duplicate transitions
	that had to be merged.

1333 1334 1335 1336
2011-03-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/genltl.cc: Add 10 more LTL formula classes.

1337 1338 1339 1340
2011-02-21  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/bdddict.hh: Add more documentation.

1341 1342 1343 1344
2011-02-21  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/misc/escape.hh: Correct documentation.

1345 1346 1347 1348 1349 1350 1351 1352
2011-02-14  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Correct tgba_explicit::compute_support_conditions.

	* src/tgba/tgbaexplicit.cc (tgba_explicit::compute_support_conditions):
	Fix logic.  This function has always been returning bddtrue instead
	of the actual computed value...

1353 1354 1355 1356 1357 1358 1359 1360 1361
2011-02-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Enable VERBOSE logs for nips, greatspn, and python tests.

	* wrap/python/tests/run.in, iface/nips/nipstest/defs.in,
	iface/gspn/defs.in: Do not disable VERBOSE when running from "make
	check".  Since we have started using parallel-check on 2009-08-31,
	we should always send verbose output to the log.

1362 1363 1364 1365 1366 1367 1368 1369
2011-02-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	This should finally fix kv.test and dotty.test on the LIP6 buildfarm.

	* src/tgbatest/kv.test, iface/nips/nipstest/dotty.test: Don't rely
	on the ${DOT-...} syntax, because DOT is always set and might be
	set to the empty value.

1370 1371 1372 1373
2011-02-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING (Running coverage tests): New section.

1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
2011-02-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Previous patch did not work on MacOS X, and I don't have shell
	access to that host.

	* src/tgbatest/kv.test: Use ${DOT-true} instead of ${DOT-:}.  I
	don't know, the MacOS shell must be mixing the syntaxes for
	${DOT:-} and ${DOT-:}.
	* iface/nips/nipstest/dotty.test: Likewise

1384 1385 1386 1387 1388 1389 1390
2011-02-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Avoid running "dot" when it is not installed...

	* src/tgbatest/kv.test: Do not run dot if it is not installed.
	* iface/nips/nipstest/dotty.test: Likewise

1391 1392 1393 1394 1395 1396 1397
2011-02-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add some tricks into HACKING.

	* README: Typo.
	* HACKING: s/CVS/GIT/ and add some tricks about libtool and doxygen.

1398 1399 1400 1401 1402 1403 1404
2011-02-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Adjust the WDBA test to count for sub-transitions.

	* bench/wdba/run: Use -kt to count sub-transitions.
	* bench/wdba/README: Adjust comments.

1405 1406 1407 1408 1409 1410 1411
2011-02-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a spurious g++ warning observed on Darwin builds.

	* src/tgba/taatgba.cc (taa_succ_iterator::taa_succ_iterator):
	Initialize iterator i to silence a spurious g++ warning on Darwin.

1412 1413 1414 1415
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: s/gnit/gnu so that we can use 0.7.1a as a version.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1416 1417 1418 1419
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Typos.

1420 1421 1422 1423
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS, configure.ac: Bump version to 0.7.1a

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1424 1425 1426 1427 1428 1429 1430
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.7.1.

	* NEWS: Update for 0.7.1.
	* configure.ac: Bump version to 0.7.1.

1431 1432 1433 1434 1435 1436 1437
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Generalize patch from 2011-02-03 by allowing guards like "! (...)".

	* src/neverparse/neverclaimscan.ll: Allow space between ! and (.
	* src/tgbatest/neverclaimread.test: Add space for testing.

1438 1439 1440 1441 1442 1443 1444 1445
2011-02-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speedup scc_filter on tgba_explicit_number automata.

	* src/tgbaalgos/sccfilter.cc (scc_filter): If the input automaton
	is an instance of tgba_explicit_number, create a similar automaton
	for output, instead of a tgba_explicit_string.

1446 1447 1448 1449 1450 1451 1452 1453
2011-02-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Document the new operators in the on-line tools.

	* wrap/python/ajax/ltl2tgba.html: Mention Goal's ~, -->, and <-->
	operators.
	* wrap/python/cgi-bin/ltl2tgba.in: Likewise.

1454 1455 1456 1457 1458 1459 1460 1461
2011-02-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a segfault in WDBA minimization.

	* src/tgbaalgos/minimize.cc (build_result, minimize_dfa,
	minimize_wdba): Correctly handle (i.e. ignore) useless states.
	* src/tgbatest/ltl2tgba.test: Add two more tests.

1462 1463 1464 1465 1466 1467 1468 1469
2011-02-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix call to scc_filter in the CGI script.

	* wrap/python/ajax/spot.in: Do full scc_filter for TGBA (-R3f),
	and keep some extra acceptance conditions (-R3) when
	degeneralizing.  The converse was done.

1470 1471 1472 1473 1474
2011-02-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/cgi-bin/ltl2tgba.in: Fix python error occurring
	only when the user did not make any error...

1475 1476 1477 1478 1479 1480 1481
2011-02-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Prevent Spot from using an installed BuDDy version that does not
	have the latest function we added.  Reported by Kristin Rozier.

	* m4/buddy.m4 (AX_CHECK_BUDDY): Check for bdd_setxor.

1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
2011-02-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add a way to count the number of sub-transitions.

	* src/tgbaalgos/stats.hh (tgba_sub_statistics): New class.
	(sub_stats_reachable): New function.
	* src/tgbaalgos/stats.cc (sub_stats_bfs): New class.
	(tgba_sub_statistics::dump, sub_stats_reachable): New function.
	* src/tgbatest/ltl2tgba.cc (-kt): New option.
	* src/tgbatest/ltl2tgba.test: Use -kt.

1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
2011-02-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Read guard of the form !(x) in neverclaims.

	So far all neverclaims encountered would use (!(x)), but the
	files from the Büchi store do not.

	* src/neverparse/neverclaimscan.ll: Accept ! in front of guard,
	so that we can read Promela files from Goal's Büchi store.
	* src/tgbatest/neverclaimread.test: Test it.

1504 1505 1506 1507 1508 1509 1510 1511 1512
2011-02-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Recognize Goal's syntax for Boolean operators.

	* src/ltlparse/ltlscan.ll: Recognize ~, -->, and <--> operators
	from Goal, to ease the use of formulas provided by the Goal team.
	* src/ltltest/equals.test: Use these once, just to be on the
	safe side.

1513 1514 1515 1516 1517 1518 1519 1520
2011-02-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Minor fixes to ltl2tgba.html.

	* wrap/python/ajax/css/ltl2tgba.css,
	wrap/python/ajax/ltl2tgba.html: Tweak a few things for Firefox
	3.0, and fix a </li> tag.

1521 1522 1523 1524
2011-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS, configure.ac: Bump version to 0.7a.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1525 1526 1527 1528 1529 1530
2011-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.7.

	* NEWS, configure.ac: Bump version to 0.7.

1531 1532 1533 1534
2011-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.test: Fix previous test case.

1535 1536 1537 1538 1539 1540 1541 1542
2011-01-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fixup minimize_monitor().

	* src/tgbaalgos/minimize.cc (minimize_monitor): Fix typo yielding
	incorrect monitor if the input tgba is not deterministic.
	* src/tgbatest/ltl2tgba.test: Add test case.

1543 1544 1545 1546 1547 1548 1549 1550
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Report formulas that are both safety and guarantee.

	* src/tgbatest/ltl2tgba.cc (-O): Report formulas that are both
	safety and guarantee.
	* src/tgbatest/obligation.test: Add cases.

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename is_safety_automaton() as is_guarantee_automaton() and
	implement is_safety_mwdba().

	Note: I swapped the name of safety and guarantee when I
	implemented is_safety_automaton() on 2010-03-20.  Fortunately,
	is_safety_automaton() was only used where is_guarantee_automaton()
	would have been correct.

	* src/tgbaalgos/safety.cc (is_guarantee_automaton): Rename as ...
	(is_guarantee_automaton): ... this.
	(is_safety_mwdba): New function.
	* src/tgbaalgos/safety.hh: Adjust and add documentation.
	* src/tgbaalgos/minimize.cc: Use is_guarantee_automaton() instead
	of is_safety_automaton().
	* src/tgbatests/safety.test: Rename as ...
	* src/tgbatests/obligation.test: ... this, and augment the
	test.
	* src/tgbatest/Makefile.am: Adjust.
	* src/tgbatest/ltl2tgba.cc (-O): Display whether a formula
	represent a safety, guarantee, or obligation property.
	* NEWS: Adjust.

1575 1576 1577 1578
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Minor rewritings.

1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Replace delete by destroy in comments dealing with states.

	* src/tgba/succiter.hh, src/tgba/tgba.hh,
	src/tgba/tgbabddconcrete.hh, src/tgba/tgbaproduct.hh,
	src/tgba/tgbaunion.hh, src/tgbaalgos/bfssteps.hh,
	src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/explscc.hh,
	src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/replayrun.cc,
	src/tgbaalgos/scc.cc, src/tgbaalgos/scc.hh: Update comments
	to say that we "destroy" a state instead of "deleting" it.

1591 1592 1593 1594 1595 1596 1597 1598
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update gspn interface for recent tools.

	* iface/gspn/ssp.cc: Use the new destroy() interface, and
	fix a couple of recent g++ reports.
	* iface/gspn/gspn.cc: Adjust to newer g++.

1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632
2011-01-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce a destroy() method on states, and use it instead of delete.

	Right now, destroy() just executes "delete this".  But in a later
	version, we will rewrite tgba_explicit so that it does not
	allocate new states (and the destroy() method for explicit state
	will do nothing).

	* src/tgba/state.hh (state::destroy): New method, to replace
	state::~state() in the future.
	(shared_state_deleter): New function.
	* src/evtgba/product.cc, src/evtgbaalgos/reachiter.cc,
	src/evtgbaalgos/save.cc, src/evtgbaalgos/tgba2evtgba.cc,
	src/tgba/tgba.cc, src/tgba/tgbaproduct.cc, src/tgba/tgbareduc.cc,
	src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc,
	src/tgba/tgbatba.cc, src/tgba/tgbaunion.cc, src/tgba/wdbacomp.cc,
	src/tgbaalgos/cutscc.cc, src/tgbaalgos/emptiness.cc,
	src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/explscc.cc,
	src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/nsheap.cc,
	src/tgbaalgos/gv04.cc, src/tgbaalgos/magic.cc,
	src/tgbaalgos/minimize.cc, src/tgbaalgos/ndfs_result.hxx,
	src/tgbaalgos/neverclaim.cc, src/tgbaalgos/powerset.hh,
	src/tgbaalgos/reachiter.cc, src/tgbaalgos/reducerun.cc,
	src/tgbaalgos/reductgba_sim.cc,
	src/tgbaalgos/reductgba_sim_del.cc, src/tgbaalgos/replayrun.cc,
	src/tgbaalgos/safety.cc, src/tgbaalgos/save.cc,
	src/tgbaalgos/scc.cc, src/tgbaalgos/se05.cc,
	src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Adjust to call
	"s->destroy()" instead of "delete s".
	* src/saba/sabacomplementtgba.cc, src/tgba/tgbakvcomplement.cc:
	Pass shared_state_deleter to the shared_ptr constructor, so that
	it calls destroy() instead of delete.

1633 1634
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

1635
	* wrap/python/ajax/ltl2tgba.html: Display the Spot version in
1636 1637
	the tooltip over the Spot logo.

1638 1639 1640 1641
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/Makefile.am (EXTRA_DIST): Add icons/mail.png.

1642 1643 1644 1645
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention the new on-line ltl2tgba version.

1646 1647 1648 1649 1650 1651
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Updates to the ltl2tgba ajax version.

	* wrap/python/ajax/ltl2tgba.html: Remove the auto-update button, and
	enable auto-update automatically after the first submission.  Add
1652
	tools tips for the "Desired Output" tabs, and the Spot logo.
1653 1654 1655 1656 1657 1658 1659
	Add a email icon to encourage feedback.
	* wrap/python/ajax/ltl2tgba.css: fix sizes of formula field and
	send button.  Set position of mail icon.
	* wrap/python/ajax/logos/mail.png: New logo, based on a public
	domain SVG icon retrieved today from
	http://commons.wikimedia.org/wiki/File:Internet-mail.svg

1660 1661 1662 1663 1664
2011-01-19  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/ajax/ltl2tgba.html: Disable the browser spellcheck
	on the input box.

1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676
2011-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Preliminary implementation of an ajax-based ltl2tgba translator.

	* configure.ac: Output wrap/python/ajax/Makefile.
	* wrap/python/Makefile.am (SUBDIRS): Add ajax.
	* wrap/python/ajax/Makefile.am, wrap/python/ajax/README,
	wrap/python/ajax/ltl2tgba.html, wrap/python/ajax/spot.in: New files.
	* wrap/python/ajax/css/, wrap/python/ajax/js,
	wrap/python/ajax/logos: New directories.
	* README: Document wrap/python/ajax/.

1677 1678 1679 1680 1681 1682 1683 1684 1685
2011-01-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do not output empty parse error blocks in the CGI script.

	* wrap/python/spot.i: Provide a __nonzero__() method for
	parse_error_list.
	* wrap/python/cgi-bin/ltl2tgba.in: Do not call format_parse_errors()
	unconditionally.

1686 1687
2011-01-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705
	Fix "unused function" warnings reported by clang++.

	* src/evtgbaparse/Makefile.am, src/ltlparse/Makefile.am,
	src/neverparse/Makefile.am, src/tgbaparse/Makefile.am
	(AM_CPPFLAGS): Define -DYY_NO_INPUT so that the unused yyinput()
	function does not get compiled.
	* src/eltlparse/Makefile.am (AM_CPPFLAGS): Likewise.
	(AM_CXXFLAGS): Also enable warnings.
	* src/eltlparse/eltlparse.yy: Move helper functions from
	the "%code requires" block to the "%code" block, so that they
	do not appear in the eltlparse.hh file (which is included in
	two places...).
	* iface/nips/nips.cc (search_error_callback_assert): Comment
	this unused function.

2011-01-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>


1706 1707 1708 1709 1710
	Fix segfault with g++-3.3.

	* src/tgbaalgos/minimize.cc (minimize_dfa): Fix deletion of the
	state_set_map.  It led to a crash when compiled with g++-3.3.

1711 1712 1713 1714 1715 1716 1717 1718 1719
2011-01-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a compilation failure with g++-3.3.

	* src/misc/hash.hh (identity_hash): New function.
	* src/tgba/tgbaexplicit.hh (tgba_explicit_number): Use
	identity_hash<int> instead of std::tr1::hash<int> that does not
	exist with g++-3.3.

1720 1721 1722 1723 1724 1725 1726 1727 1728 1729
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix usage of minimize_obligation in the CGI script.

	* wrap/python/cgi-bin/ltl2tgba.py (reduce_wdba): Use
	minimize_obligation_new a pass the formula.
	* wrap/python/spot.i (minimize_obligation_new): New function, to
	cope with the strange specification of spot::minimize_obligation()
	not always creating a new automaton.

1730 1731 1732 1733
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Convert to utf-8 and fix a few typos.

1734 1735 1736 1737 1738 1739 1740 1741 1742 1743
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	'([]a && XXXX!a)' was not properly minimized because its
	translation contain useless SCCs that where not ignored for
	minimization.

	* src/tgbaalgos/minimize.cc (minimize_wdba): Strip useless
	SCCs before minimization.
	* src/tgbatest/ltl2tgba.test: Add a check.

1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	The neverclaim output by spin -f '([]a && XXXX!a)' was not
	understood by Spot.

	* src/neverparse/neverclaimparse.yy: Support "if :: false fi;"
	instructions.  Spin sometimes output these on dead states.
	Also rewrite the "transitions" rule as a left recursion.
	* src/tgbatest/neverclaimread.test: Adjust output because
	of the right->left recursion change, and add two more formula
	to submit to Spin to test its output.

1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speed up computation of non_final states for minimize_wdba.

	* src/tgbaalgos/minimize.cc (minimize_dfa): Take final and
	non_final sets.
	(minimize_wdba): Fill in non_final at the same time as final.
	(minimize_monitor): Call state_set() to fill non_final.
	(init_sets): Simplify and rename as ...
	(state_set): ... this.

1767 1768 1769 1770 1771 1772 1773 1774 1775
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce a class to complement a WDBA on-the-fly.

	* src/tgba/wdbacomp.hh, src/tgba/wdbacomp.cc: New file.
	* src/tgba/Makefile.am: Add them.
	* src/tgbaalgos/minimize.cc (minimize_obligation): Use
	wdba_complement().

1776 1777 1778 1779 1780
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/Makefile.am: Remove the unused minimize program.
	* src/tgbatest/minimize.cc: Delete.

1781 1782 1783 1784 1785 1786 1787 1788 1789 1790