ChangeLog 374 KB
Newer Older
1
2
3
4
5
6
7
8
9
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.

10
11
12
13
14
15
16
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.

17
18
19
20
21
22
23
24
25
26
27
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.

28
29
30
31
2011-06-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

32
33
34
35
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

36
37
38
39
2011-06-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

40
41
42
43
44
45
46
47
48
49
50
51
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.

52
53
54
55
56
57
58
59
60
61
62
63
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.

64
65
66
67
68
69
70
71
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".

72
73
74
75
76
77
78
79
80
81
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.

82
83
84
85
86
87
88
89
90
91
92
93
94
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.

95
96
97
98
99
100
101
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.

102
103
104
105
2011-06-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* iface/dve2/README: Document state compression.

106
107
108
109
110
111
112
113
114
115
116
117
118
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.

119
120
121
122
2011-05-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

123
124
125
126
2011-05-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/wdba/README: Typos.

127
128
129
130
131
132
133
134
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.

135
136
137
138
139
2011-05-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

140
141
142
143
2011-05-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

144
145
146
147
148
149
150
151
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.

152
153
154
155
156
157
158
159
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.

160
161
162
163
164
165
166
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.

167
168
169
170
171
172
173
174
175
176
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.

177
178
179
180
2011-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

181
182
183
184
185
186
187
188
189
190
191
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.

192
193
194
195
196
197
198
199
200
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.

201
202
203
204
2011-04-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

205
206
207
208
209
210
211
212
213
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.

214
215
216
217
218
2011-04-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

219
220
221
222
223
224
225
226
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

227
228
229
230
231
232
233
234
235
236
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.

237
238
239
240
241
242
243
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.

244
245
246
247
2011-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
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.

264
265
266
267
268
269
270
271
272
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.

273
274
275
276
277
278
279
280
281
282
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.

283
284
285
286
2011-04-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING: Add an example for using callgrind.

287
288
289
290
291
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.

292
293
294
295
296
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.

297
298
299
300
301
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.

302
303
304
305
306
307
308
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.

309
310
311
312
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

313
314
315
316
317
2011-04-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
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
336
337
338
339
340
341
342
343
344
345
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.

346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
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.

363
364
365
366
367
368
369
370
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.

371
372
373
374
375
376
377
378
379
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.

380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
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.

398
399
400
401
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

402
403
404
405
2011-03-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

406
407
408
409
410
411
412
413
414
415
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.

416
417
418
419
2011-03-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

420
421
422
423
2011-03-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

424
425
426
427
428
429
430
431
432
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.

433
434
435
436
2011-03-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention recent changes to dotty_reachable.

437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
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.

457
458
459
460
461
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 <.

462
463
464
465
466
467
468
469
470
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.

471
472
473
474
475
476
477
478
479
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.

480
481
482
483
484
485
486
487
488
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.

489
490
491
492
493
494
495
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.

496
497
498
499
500
501
502
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.

503
504
505
506
507
2011-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

508
509
510
511
512
513
514
515
516
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.

517
518
519
520
521
522
523
524
525
526
527
528
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..

529
530
531
532
533
534
535
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.

536
537
538
539
540
541
542
543
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".

544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
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.

564
565
566
567
568
569
570
571
572
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.

573
574
575
576
577
578
579
580
581
582
583
584
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.

585
586
587
588
589
590
591
592
593
594
595
596
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.

597
598
599
600
601
602
603
604
605
606
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.

607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
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.

629
630
631
632
2011-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

633
634
635
636
637
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.

638
639
640
641
642
643
644
645
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.

646
647
648
649
2011-03-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

650
651
652
653
2011-02-21  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

654
655
656
657
2011-02-21  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

658
659
660
661
662
663
664
665
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...

666
667
668
669
670
671
672
673
674
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.

675
676
677
678
679
680
681
682
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.

683
684
685
686
2011-02-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING (Running coverage tests): New section.

687
688
689
690
691
692
693
694
695
696
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

697
698
699
700
701
702
703
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

704
705
706
707
708
709
710
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.

711
712
713
714
715
716
717
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.

718
719
720
721
722
723
724
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.

725
726
727
728
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
729
730
731
732
2011-02-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Typos.

733
734
735
736
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
737
738
739
740
741
742
743
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.

744
745
746
747
748
749
750
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.

751
752
753
754
755
756
757
758
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.

759
760
761
762
763
764
765
766
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.

767
768
769
770
771
772
773
774
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.

775
776
777
778
779
780
781
782
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.

783
784
785
786
787
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...

788
789
790
791
792
793
794
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.

795
796
797
798
799
800
801
802
803
804
805
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.

806
807
808
809
810
811
812
813
814
815
816
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.

817
818
819
820
821
822
823
824
825
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.

826
827
828
829
830
831
832
833
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.

834
835
836
837
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
838
839
840
841
842
843
2011-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.7.

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

844
845
846
847
2011-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

848
849
850
851
852
853
854
855
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.

856
857
858
859
860
861
862
863
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.

864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
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.

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

	* NEWS: Minor rewritings.

892
893
894
895
896
897
898
899
900
901
902
903
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.

904
905
906
907
908
909
910
911
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++.

912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
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.

946
947
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

948
	* wrap/python/ajax/ltl2tgba.html: Display the Spot version in
949
950
	the tooltip over the Spot logo.

951
952
953
954
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

955
956
957
958
2011-01-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

959
960
961
962
963
964
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
965
	tools tips for the "Desired Output" tabs, and the Spot logo.
966
967
968
969
970
971
972
	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

973
974
975
976
977
2011-01-19  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

978
979
980
981
982
983
984
985
986
987
988
989
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/.

990
991
992
993
994
995
996
997
998
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.

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

1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
	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>


1019
1020
1021
1022
1023
	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.

1024
1025
1026
1027
1028
1029
1030
1031
1032
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.

1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
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.

1043
1044
1045
1046
2011-01-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
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.

1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
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.

1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
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.

1080
1081
1082
1083
1084
1085
1086
1087
1088
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().

1089
1090
1091
1092
1093
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cleanup the minimize.hh interface.

	* src/tgbaalgos/minimize.hh, src/tgbaalgos/minimize.cc
	(minimize): Split into ...
	(minimize_wdba, minimize_monitor): ... these two functions.
	* src/tgbatest/ltl2tgba.cc (main): Adjust the call to
	minimize_monitor.
	* wrap/python/cgi-bin/ltl2tgba.in: Adjust the calls to
	minimize_monitor and minimize_obligation.
	* wrap/python/spot.i: Declare minimize_monitor, minimize_wdba,
	minimize_obligations.
	* src/tgba/tgbaexplicit.hh (tgba_explicit_string)
	(tgba_explicit_formula, tgba_explicit_number): Add fake
	declarations so that SWIG can see they inherits from tgba.

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

	Cleanup the DFA minimization algorithm.

	* src/tgbaalgos/minimize.cc (minimize):  Move the minimization
	code into...
	(minimize_dfa): ... this new function, and fix the condition
	under which a partition is considered to be minimal.  Also
	use a map instead of a list to lookup known formulae.

1121
1122
1123
1124
1125
1126
1127
1128
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speed up the obligation test.

	* src/tgbaalgos/minimize.cc (minimize_obligation): Do not
	minimize aut_neg_f, complement min_aut_f instead.
	* src/tgbaalgos/minimize.hh: Adjust description.

1129
1130
1131
1132
1133
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbaalgos/minimize.cc (minimize): Use the Loeding algorithm
	to label transient states.

1134
1135
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
	Rewrite the check of WDBA state acceptance in minimize().

	* src/tgbaalgos/powerset.hh (power_map): New structure, allowing
	the caller to retrieve the set of original states corresponding to
	the set in the deterministic automaton.
	(power_set): Adjust prototype to take a power_map instead of the
	acc_list.
	* src/tgbaalgos/powerset.cc (power_set): Strip all code using
	acc_list, and update power_set.
	* src/tgbaalgos/minimize.cc (minimize): Rewrite, using an
	algorithm similar to the one in the Dax paper to check whether
	state of the minimized automaton should be accepting.

2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
1150
1151
1152
1153

	* src/tgbaalgos/scc.hh, src/tgbaalgos/scc.cc (scc_map::trivial,
	scc_map::one_state_of): Two new helper functions.

1154
1155
1156
1157
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/tgbaunion.hh: Remove one useless include.

1158
1159
1160
1161
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* README: Mention bench/wdba/.

1162
1163
1164
1165
1166
1167
1168
1169
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Define tgba_product_init, a new kind of product with different
	initial states.

	* src/tgba/tgbaproduct.hh, src/tgba/tgbaproduct.cc
	(tgba_product_init): New class.

1170
1171
1172
1173
1174
1175
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/spotlbtt.test: Add test for -l -R3b, showing many
	failure because the minimization() algorithm is currently
	incorrect when applied to non-weak automata.

1176
1177
1178
1179
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbaalgos/scc.hh: Typo in documentation.

1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
2011-01-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Move the logic for detecting when the minimize() algorithm is
	correct from ltl2tgba to the library.

	* src/tgbaalgos/minimize.hh,
	src/tgbaalgos/minimize.cc (minimize_obligation): New function.
	* src/tgbatests/ltl2tgba.cc (main): Fix constness of automata,
	and call minimize_obligation() for -R3b.

1190
1191
1192
1193
1194
1195
1196
1197
1198
2010-12-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make minimization of obligation properties and deterministic
	monitor available in the CGI script.

	* wrap/python/spot.i: Declare the minimize() interface.
	* wrap/python/cgi-bin/ltl2tgba.in: Add reduce_dmonitor and
	reduce_wdba options.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1199
1200
1201
1202
1203
1204
1205
1206
1207
2010-12-14  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add a WDBA benchmark.

	* bench/wdba/: New directory.
	* bench/Makefile.am (SUBDIRS): Add wdba.
	* NEWS: Mention it.
	* configure.ac: Output bench/wdba/defs and bench/wdba/Makefile.

1208
1209
1210
1211
2010-12-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Update the news about minimization.

1212
1213
1214
1215
1216
1217
1218
1219
2010-11-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speed up wdba.test, it was too slow for our buildfarm.

	* src/tgbatest/wdba.test: Speed up execution by running only a
	couple of formula with valgrind.  Half of those with`-l -R3b' and
	the other half with `-f -R3'.

1220
1221
1222
1223
1224
2010-11-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc (syntax): Regroup -M, -s, and -S option
	under the same heading "automaton conversion".

1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Preliminary support for monitors.

	* src/tgbatest/ltl2tgba.cc (-M): New option for building
	deterministic monitors.
	* src/tgbaalgos/minimize.cc (minimize): Take a monitor
	argument and adjust the code.
	* src/tgbaalgos/minimize.hh (minimize): Document it.

1235
1236
1237
1238
1239
1240
1241
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	"ltl2tgba -Rm -X foo.tgba" would fail.

	* src/tgbatest/ltl2tgba.cc (main): Warn if -Rm is used without
	knowing the formula whose automaton is minimized.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1242
1243
1244
1245
1246
1247
1248
1249
1250
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix bugs in minimize().

	* src/tgbaalgos/minimize.cc (init_sets, minimize): Fix memory
	leaks and a usage of the wrong automaton.
	* src/tgbatest/wdba.test: Try using -Rm with -R3 or -R3b, and with
	valgrind.  This caught all the bugs fixed above.

1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
2010-04-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix bugs in minimize(), caught by spotlbtt.test.

	* src/tgbaalgos/minimize.cc (minimize): Don't add acceptance
	conditions if the final set is empty.
	* src/tgbaalgos/powerset.cc (tgba_powerset): Add the initial state
	to acc_list if it is accepting.  Also do not compute an SCC build
	map if we don't have to build acc_list.

1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
2010-04-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	"ltl2tgba -Rm" will apply WDBA-minimization only if correct.

	* src/tgbatest/ltl2tgba.cc (main): Use WDBA-minimization only when
	it is correct. Either we can quickly determine that a formula or
	its negation is a safety formula, or we can slowly check the
	equivalence of the WDBA-minimized automaton and the original
	automaton.
	* src/tgbatest/wdba.test: New test.
	* src/tgbatest/safety.test: Adjust comment.
	* src/tgbatest/spotlbtt.test: Use -Rm.
	* src/tgbatest/Makefile.am (TESTS): Add wdba.test.

1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
2010-04-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Better resource handling in minimization.

	* src/tgbatest/ltl2tgba.cc (main): Delete the minimized automaton.
	* src/tgbaalgos/minimize.cc (minimize): Remove the call to
	unregister_variable() at the end.  It was both
	wrong (unregistering only the first variable) and useless ("delete
	del_a" will unregister all these variables).  Use a map and a set
	to keep track of free BDD variable and reuse them, otherwise the
	algorithm would sometimes use more variables than allocated.

1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
2010-03-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement is_safety_automaton().

	* src/tgbaalgos/safety.hh, src/tgbaalgos/safety.cc: New
	files.
	* src/tgbaalgos/Makefile.am: Add them.
	* src/tgbatests/ltl2tgba.cc: Add option "-O".
	* src/tgbaalgos/scc.hh: Update documentation.
	* src/tgbatest/Makefile.am (TESTS): Add safety.test.
	* src/tgbatest/safety.test: New file.

1299
1300
1301
1302
2010-03-26  Felix Abecassis  <abecassis@lrde.epita.fr>

	* src/tgbaalgos/minimize.cc: Now use register_anonymous_variables.

Felix Abecassis's avatar
Felix Abecassis committed
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
2010-03-20  Felix Abecassis  <abecassis@lrde.epita.fr>

	Small fixes.

	* src/tgbatest/minimize.cc: Delete useless includes.
	* src/tgbaalgos/minimize.cc: Delete useless includes,
	fixed acceptance conditions.
	* src/tgbatest/ltl2tgba.cc: Add -Rm option for minimization.
	* src/tgba/tgbaexplicit.cc: Fixed typo.

1313
1314
2010-03-20  Felix Abecassis  <abecassis@lrde.epita.fr>

1315
1316
1317
1318
1319
1320
1321
	Test program for the minimization algorithm.

	* src/tgbatest/minimize.cc: New file.  Minimize an automaton
	from a LTL formula and compare the size of the initial automaton
	to the size of the minimized automaton.

2010-03-20  Felix Abecassis  <abecassis@lrde.epita.fr>
1322
1323

	* src/tgbaalgos/minimize.cc, src/tgbaalgos/minimize.hh:
1324
	New files.  Algorithm to minimize an automaton using first the powerset
1325
1326
1327
1328
	construction to determinize the input automaton, the automaton is then
	minimized using the standard algorithm, using BDDs to check if states
	are equivalent.

1329
1330
1331
1332
1333
1334
2010-03-20  Felix Abecassis  <abecassis@lrde.epita.fr>

	Modify the powerset algorithm to keep track of accepting states
	from the initial automaton.

	* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh:
1335
1336
	Added class tgba_explicit_number, a tgba_explicit where states are
	labelled by integers.
1337
1338
1339
1340
1341
	* src/tgbaalgos/powerset.hh, src/tgbaalgos/powerset.cc:
	When building the deterministic automaton, keep track of which states
	were created from an accepting state in the initial automaton.
	The states are added to the new optional parameter (if not 0),
	acc_list.
1342
	Use tgba_explicit_number instead of tgba_explicit_string to build
1343
1344
1345
1346
	the result.
	* src/tgbaalgos/scc.cc (spot): Small fix.
	Print everything on std::cout.

1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
2011-01-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix computation of support_conditions for bdd-based TGBA.
	This fixes a bug in the powerset of such TGBA on the minimize branch.

	* src/tgba/tgbabddconcrete.cc (compute_support_conditions): Also
	account for the conditions from the acceptance relations.
	* rc/tgba/tgbabddconcretefactory.hh, rc/tgba/tgbabddconcretefactory.cc
	(acceptance_conditions_support): New variable to hold the value
	of bdd_support(acceptance_conditions_support).
	* src/tgba/tgbabddconcretefactory.cc (finish): Update
	data_.acceptance_conditions_support.

1360
1361
1362
1363
2010-12-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/cgi-bin/ltl2tgba.in: Remove all "new" markers.

1364
1365
1366
1367
1368
1369
2010-12-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Define SWIG_TYPE_TABLE as suggested by the SWIG documentation.

	* wrap/python/Makefile.am: Add -DSWIG_TYPE_TABLE=spot.

1370
1371
1372
1373
1374
1375
1376
2010-12-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Use swig2.0 if available.

	* configure.ac: Search for swig2.0 and swig.
	* wrap/python/Makefile.am: Use $(SWIG).

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
2010-12-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Get rid of ltihooks.py.

	ltihooks.py apparently breaks the import mechanisms of Python 2.6,
	causes SWIG's runtime to fail to share a global type table, and
	yields various failures in our tests.

	* wrap/python/ltihooks.py: Delete.
	* wrap/python/Makefile.am (EXTRA_DIST): remove ltihooks.py.
	* 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, wrap/python/tests/optionmap.py,
	wrap/python/tests/setxor.py: Do not use ltihooks.
	* wrap/python/tests/run.in (pypath): Include the .libs/ directories
	in the search path so that Python can find the *.so libraries.
	* wrap/python/cgi-bin/ltl2tgba.in: Insert the .libs/ directories
	into sys.path instead of importing ltihooks.

1397
1398
1399
1400
2010-12-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Summarize recent changes.

1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
2010-12-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Merge transitions in tgba_tba_proxy.

	With this change the output of
	ltl2tgba -f -x -k -DS "GF(p_1) & ... & GF(p_n)
	uses less than (n+1)^2 transitions when it used
	exactly (n+1)*(2^n) transitions before.

	* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator): Merge
	transitions going to the same states if they are both accepting or
	if neither are.
	(state_ptr_bool_t, state_ptr_bool_less_than): Helper type to
	store a transition in tgba_tba_proxy_succ_iterator.
	* src/tgba/tgbatba.cc, src/tgba/tgbatba.hh
	(tgba_tba_proxy::transition_annotation): Remove.  We cannot
	implement this method if transitions are merged.
	* src/tgbatest/ltl2tgba.test: Add a test.

1420
1421
1422
1423
1424
1425
1426
2010-12-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Augment the size of the ltlclasses benchmark.

	* bench/ltlclasses/run: Augment the max size to 20.
	* bench/ltlcounter/run: Typo in comment.

1427
1428
1429
1430
1431
1432
1433
1434
1435
2010-12-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce -ks to print only the size of the automaton (without
	SCC information).

	* src/tgbatest/ltl2tgba.cc (syntax, main): Add a -ks option.
	* src/tgbatest/ltl2tgba.test, bench/ltlclasses/run,
	bench/ltlcounter/run: Use -ks instead of -k to speed things up.

1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
2010-12-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Use a cache to speed up tgba_tba_proxy.

	tgba_tba_proxy used to spend a lot of time (re)computing the
	acceptance condition common to all outgoing transition of a state.

	* src/tgba/tgbatba.hh (accmap_): New cache.
	(common_acceptance_conditions_of_original_state): New method.
	* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator::~sync)
	Call common_acceptance_conditions_of_original_state() instead of
	computing the result.
	(~tgba_tba_proxy): Cleanup the cache.
	(common_acceptance_conditions_of_original_state): Implement it.

1451
1452
1453
1454
2010-12-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltltest/Makefile.am (genltl_SOURCES): Add missing variable.

1455
1456
1457
1458
2010-12-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* README: Mention bench/ltlclases/.

1459
1460
1461
1462
1463
1464
1465
1466
2010-12-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Preliminary benchmark using genltl, introduced earlier.

	* bench/ltlclasses/: New benchmark.
	* bench/Makefile.am: Add it.
	* configure.ac: Adjust.

1467
1468
1469
1470
2010-12-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltlvisit/syntimpl.cc: Reduce the number of dynamic_cast<>s.

1471
1472
1473
1474
1475
1476
1477
1478
1479
2010-12-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Preliminary implementation of a tool to generate some interesting
	families of LTL formulae.

	* src/ltltest/genltl.cc: New file.  Based on five classes of
	formulae defined in a paper by Cichón, Czubak, and Jasiński.
	* src/ltltest/Makefile.am (noinst_PROGRAMS): Build genltl.

1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
2010-12-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add full_parent support to to_spin_string().

	* src/ltlvisit/tostrinc.hh (to_spin_string): Add a full_parent
	optional parameter, like for the to_string() function.
	* src/ltlvisit/tostrinc.cc (to_string_visitor): Fix the
	handling of full_parent.
	(to_spin_string_visitor): Handle full_parent.

2010-12-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
1491
1492
1493
1494

	Halve the number of application of eventual_universal_visitor in
	reduce_visitor::visit(binop).

1495
	* src/ltlvisit/reduce.cc (eventual_universal_visitor::recurse_):
1496
1497
1498
1499
1500
1501
1502
	Move this method...
	(recurse_eu): ... outside as a separate function.  Likewise for
	the universal/eventual result struct.
	(reduce_visitor::visit(binop)): Call recurse_eu() once to replace
	two calls to is_eventual and is_universal, thus replacing two
	recursions by one.

1503
1504
1505
1506
1507
1508
1509
1510
1511
2010-12-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Move the eventual-universal functions where the belong.

	* src/ltlvisit/syntimpl.cc (eventual_universal_visitor,
	is_eventual, is_universal): Move ...
	* src/ltlvisit/reduce.cc (eventual_universal_visitor,
	is_eventual, is_universal): ... here.

1512
1513
1514
1515
2010-11-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltlvisit/randomltl.cc (random_ltl::update_sums): Typo in string.

1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
2010-11-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove a quadratic behavior in eventual_universal_visitor.

	* src/ltlvisit/syntimpl.cc (eventual_universal_visitor): Use
	a union to store the eventual and universal properties as two
	bit in a bit-field, and "AND" both of them at once.
	(eventual_universal_visitor::recurse_un,
	eventual_universal_visitor::recurse_ev): Replace these
	two functions by ...
	(eventual_universal_visitor::recurse_): ... this one, that
	returns both bits as an unsigned.

1529
1530
1531
1532
1533
2010-12-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc (main): Delete the accepting run
	even if it hasn't been printed.

1534
1535
1536
1537
1538
1539
1540
1541
1542
2010-11-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rationalize options for counter-example output.

	* src/tgbatest/ltl2tgba.cc (main): Either replay the accepting
	run or print it, but do not do both.
	* src/tgbatest/emptchk.test: Adjust. I.e. use -C instead of -CR
	when we expect the run to be displayed.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1543
1544
1545
1546
1547
1548
1549
1550
2010-11-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a GCC 4.6 warning.

	* src/tgbatest/randtgba.cc (main): Remove the set but unused opt_A
	variable (the upcoming GCC 4.6 would warn about it) and set opt_ec
	to 1 if -A is used without -e.

1551
1552
1553
1554
2010-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc (syntax): Typo.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1555
1556
1557
1558
1559
1560
1561
2010-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Another Clang report.

	* iface/nips/nips.cc (format_state): Do not use a variable-sized
	array, this is not allowed in C++.

1562
1563
1564
1565
1566
1567
1568
1569
1570
2010-11-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix more errors reported by Clang.

	* src/tgbaalgos/reducerun.hh (tgba_run): Predeclare as a struct
	since this is what it is.
	* src/tgbatest/randtgba.cc (main): Avoid using "i" with two
	different type in the same loop.

1571
1572
1573
1574
1575
1576
1577
1578
1579
2010-11-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Finalize Kripke interface.

	* src/kripke/fairkripke.hh, src/kripke/fairkripke.cc,
	* src/kripke/kripke.hh, src/kripke/kripke.cc: Finalize and
	document the Kripke interface.  I have tested it by updating
	checkpn to use it.

1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Never claim output used to print the degeneralized automaton
	before some optional operations (like more optimizations, or a
	product).

	* src/tgbatest/ltl2tgba.cc (-N, -NN): Make sure we print the last
	automaton computed, not just the automaton when we degeneralized
	it.  We may have applied other algorithms since the original
	degeneralization.

1591
1592
1593
1594
1595
1596
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.test: Test both -l and -f.  This should
	have been done on 2010-01-30 when the default translation was
	changed from -l to -f.

1597
1598
1599
1600
2010-11-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbaalgos/scc.hh: Typos in the documentation.

1601
1602
1603
1604
2010-11-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbaalgos/sccfilter.hh: Fix some typos in the documentation.

1605
1606
1607
1608
1609
1610
1611
2010-11-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Suggest using bddtrue and bddfalse instead of bdd_true() and
	bdd_false().

	* src/sanity/style.test: Catch uses of bdd_true() or bdd_false().

1612
1613
1614
1615
1616
1617
1618
1619
1620
2010-11-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix some struct/class missmatches reported by clang.

	* src/ltlast/predecl.hh: Predeclare the LTL AST nodes as class,
	not struct.
	* src/ltlast/nfa.hh (formula_tree::node): Predeclare as struct,
	not class.

1621
1622
1623
1624
1625
1626
1627
1628
2010-11-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add interface for and test the bdd_setxor() function added to Buddy.

	* wrap/python/buddy.i (bdd_setxor): New function.
	* wrap/python/tests/setxor.py: New file.
	* wrap/python/tests/Makefile.am (TESTS): Add setxor.py.

1629
1630
1631
1632
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/Makefile.am (libspot_la_LIBADD): Rename libneverclaimparse.la
	as libneverparse.la.
1633
	* src/neverparse/Makefile.am: Install files in
1634
1635
	$(pkgincludedir)/neverparse, not $(pkgincludedir)/neverclaimparse.

1636
1637
1638
1639
1640
1641
1642
1643
1644
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cosmetics to please sanity checks.

	* src/neverparse/public.hh, src/neverparse/parsedecl.hh: Fix
	inclusion guards.
	* src/tgba/tgbaexplicit.hh, src/tgbatest/emptchk.test,
	src/tgbatest/ltl2tgba.cc: Fix trailing whitespaces.

1645
1646
1647
1648
1649
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc: Clock the time spent reading -P file.

2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
1650
1651
1652
1653

	* src/tgbatest/neverclaimread.test: Check that Spot can read the
	neverclaims it outputs.

1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do not output a counterexample by default in ltl2tgba, introduce
	options -C and -CR for that.

	* src/tgbatest/ltl2tgba.cc: Add option -C and -CR to control
	whether we want the accepting run to be printed or replayed.
	* src/tgbatest/dfs.test, src/tgbatest/eltl2tgba.test,
	src/tgbatest/emptchk.test, src/tgbatest/emptchke.test,
	src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlcounter.test: Use -CR.

1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make sure the neverclaim parser works on the output of spin and
	ltl2ba.

	* src/neverparse/neverclaimparse.yy: Accept multiple labels
	for the same state.  Honor accepting states.  Forward parse
	error from the parser used for guards.  Accept "false" as a
	single instruction for a state.
	* src/neverparse/neverclaimscan.ll: Recognize "false" specifically,
	and remove the ";" hack.
1676
	* src/tgba/tgbaexplicit.cc
1677
1678
1679
1680
1681
1682
	(tgba_explicit_string::~tgba_explicit_string): Adjust not to
	destroy a state twice.
	* src/tgba/tgbaexplicit.hh
	(tgba_explicit_string::add_state_alias): New function.
	* src/tgbatest/defs.in (SPIN, LTL2BA): New variables.
	* src/tgbatest/neverclaimread.test: Check error messages for
1683
	syntax errors in guards.  Make sure we can read the output
1684
1685
	of `spin -f' and `ltl2ba -f' on a few test formulae.

1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cleanup neverclaim support.

	* src/neverclaimparse/: Shorthen as ...
	* src/neverparse/:... this.
	* src/Makefile.am: Adjust, and add back the directories mistakenly
	removed by previous patch.
	* README: Adjust, and keep the file's width under 80 columns.
	* configure.ac: Adjust.
1696
1697
1698
	* src/neverparse/Makefile.am, src/neverparse/fmterror.cc,
	src/neverparse/neverclaimparse.yy,
	src/neverparse/neverclaimscan.ll, src/neverparse/public.hh:
1699
1700
1701
1702
1703
1704
1705
	Fix copyright.
	* src/tgbatest/Makefile.am (check_PROGRAMS): Remove neverclaimread.
	* src/tgbatest/ltl2tgba.cc: Add option -XN to read a neverclaim.
	* src/tgbatest/readneverclaim.cc: Delete.
	* src/tgbatest/neverclaimread.test: Use ltl2tgba instead of
	neverclaimread.

Felix Abecassis's avatar
Felix Abecassis committed
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
2010-05-25  Felix Abecassis  <abecassis@lrde.epita.fr>

	Add never claim parser.

	* src/neverclaimparse/: New directory.
	* src/neverclaimparse/fmterror.cc: New file.  Print a formatted parse
	error on a output stream.
	* src/neverclaimparse/neverclaimparse.yy: New file.  Parser declaration
	for Bison.
	* src/neverclaimparse/neverclaimscan.ll: New file.  Scanner declaration
	for Flex.
	* src/neverclaimparse/public.hh: New file.  Public header for external
	use.
	* src/neverclaimparse/parsedecl.hh: New file.  Header file for
	Flex-Bison interaction.
	* src/neverclaimparse/Makefile.am: New Makefile.
	* src/tgbatest/neverclaimread.cc: New file.  Test program for the
	never claim parser.
	* src/tgbatest/neverclaimread.test: New file.  Test script for the
	never claim parser.
	* src/tgbatest/Makefile.am: Adjust.
	* configure.ac : Adjust.
	* README: Adjust.

1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove `readsave' and fix line numbers in tgbaparse error messages.

	* src/tgbaparse/tgbaparse.yy (line): Fix computation of line number
	for error messages when parsing conditions.
	* src/tgbatest/readsave.test: Check the syntax position of syntax errors
	in the diagnostics.  Use ltl2tgba instead of readsave.
	* src/tgbatest/Makefile.am (check_PROGRAMS): Remove readsave.

1740
1741
1742
1743
2010-11-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/emptchk/pml2tgba.pl: Adjust to work with Spin 5.2.5.

1744
1745
1746
1747
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: Do not run CF_GXX_WARNINGS unless they are enabled.

1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Hide the safra_tree_automaton type from the public interface.

	We do that because the declaration of this type, which is local to
	src/tgba/tgbasafracomplement.cc has a member in an anonymous
	namespace, and some versions of g++-4.2 issue a very annoying
	warning about this legitimate code.  See Bug 29365 on GCC's
	Bugzilla.  Report by Silien Hong <silien.hong@lip6.fr>.

	* src/tgba/tgbasafracomplement.hh (safra_tree_automaton): Do not
	forward declare.
	(tgba_safra_complement): Use void* instead of
	safra_tree_automaton*.
	* src/tgba/tgbasafracomplement.cc: static_cast void* to
	safra_tree_automaton* anywhere needed.

1765
1766
1767
1768
1769
1770
1771
2010-05-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix the --enable-optimizations check.

	* m4/gccoptim.m4: Add missing AC_LANG_PUSH/AC_LANG_POP around the
	C test.  It was using the C++ compiler instead...

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1772
1773
1774
1775
2010-04-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Typo.

1776
1777
1778
1779
2010-04-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1780
1781
1782
1783
1784
1785
2010-04-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.6.

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

1786
1787
1788
1789
1790
1791
1792
1793
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Reorder recent additions to reduccmp.test.

	* src/ltltest/reduccmp.test: Reorder the test added by the
	previous patches.  Some are not supposed to be reduced by
	reductaustr.

1794
1795
1796
1797
1798
1799
1800
1801
1802
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a long-standing bug in the stronger rule for R and its recent
	clone for M.

	* src/ltlvisit/contain.cc (reduce_tau03_visitor): Remove
	the stronger rules for R and M.  They were wrong.
	* src/ltltest/reduccmp.test: Test a simpple counterexample.

1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More simplifications rules for M.

	* src/ltlvisit/reduce.cc (reduce_visitor): Add the following
	implication rewriting rules:
	a M (b M c) = a M c if a implies b.
	a M (b R c) = a M c if a implies b.
	a R (b R c) = a R c if a implies b.
	a R (b M c) = b M c if b implies a.
	a M (b M c) = b M c if b implies a.
	The latter rule was fixed from an incorrectly copied&pasted
	rule for a M (b R c) = b R c if b implies a (this is wrong).
	Also remove the wrong rule for a W (b U c) = b U c if a implies b.
	* src/ltltest/reduccmp.test: Add more tests.

1819
1820
1821
1822
1823
1824
1825
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Speed up syntactic_implication() for constants.

	* src/ltlvisit/syntimpl.cc (syntactic_implication): Do not
	create visitors if arguments are constant.

1826
1827
1828
1829
1830
1831
1832
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix simplification of "a M true" as Fa.

	* src/ltlvisit/simpfg.cc: Typo.
	* src/ltltest/reduccmp.test: Add more tests.

1833
1834
1835
1836
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* HACKING: Bison 2.4.2 has a bugfix we rely on.

1837
1838
1839
1840
1841
2010-04-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgbatest/ltl2tgba.cc (syntax): Add missing black line in
	help output.

1842
1843
1844
1845
2010-04-14  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Mention W and M.

1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
2010-04-14  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More LTL reductions for W and M.

	* src/ltlvisit/basicreduce.cc: Perform the following reductions:
	(a R b) | Gb = a R b
	(a M b) | Gb = a R b
	(a U b) & Fb = a U b
	(a W b) & Fb = a U b
	* src/ltltest/reduccmp.test: Test them.

1857
1858
1859
1860
2010-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/cgi-bin/ltl2tgba.in: Document W and M operators.

1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
2010-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More LTL reductions for W and M.

	* src/ltlvisit/basicreduce.cc: Perform the following reductions:
	(a U b) & (c W b) = (a & c) U b
	(a W b) & (c W b) = (a & c) W b
	(a R b) | (c M b) = (a | c) R b
	(a M b) | (c M b) = (a | c) M b
	* src/ltltest/reduccmp.test: Test them.

1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
2010-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add LTL reductions for strong release.

	* src/ltlvisit/basicreduce.cc: Perform the following reductions.
	a R (b & F(a)) = a M b
	a M (b & F(a)) = a M b
	a R Fa = Fa
	a M Fa = Fa
	a R b & Fa = a M b
	a R b & a M c = a M (b & c)
	a M b & a M c = a M (b & c)
	* src/ltltest/reduccmp.test: More tests.

1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
2010-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add LTL reductions for weak until.

	* src/ltlvisit/basicreduce.cc: Perform the following reductions.
	a U (b | Ga) = a W b
	a W (b | Ga) = a W b
	a U b | Ga = a W b
	a U b | a W c = a W (b | c)
	a W b | a W c = a W (b | c)
	a U Ga = Ga
	a W Ga = Ga
	* src/ltltest/reduccmp.test: More tests.

1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
2010-04-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add support for W (weak until) and M (strong release) operators.

	* src/ltlast/binop.cc, src/ltlast/binop.cc: Add support for
	these new operators.
	* src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll: Parse them.
	* src/ltltest/reduccmp.test: Add new tests for W and M.
	* src/ltlvisit/basicreduce.cc, src/ltlvisit/contain.cc,
	src/ltlvisit/lunabbrev.cc, src/ltlvisit/nenoform.cc,
	src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh,
	src/ltlvisit/reduce.cc, src/ltlvisite/simpfg.cc,
	src/ltlvisit/simpfg.hh, src/ltlvisit/syntimpl.cc,
	src/ltlvisit/tostring.cc, src/tgba/formula2bdd.cc,
	src/tgbaalgos/eltl2tgba_lacim.cc, src/tgbaalgos/ltl2taa.cc,
	src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_lacim.cc:
	Add support for W and M.
	* src/tgbatest/ltl2neverclaim.test: Test never claim output
	using LBTT, this is more thorough.  Also we cannot use -N
	any more in the spotlbtt.test.
	* src/tgbatests/ltl2tgba.cc: Define M and W for ELTL.
	* src/tgbatest/ltl2neverclaim.test: Test W and M, and use
	-DS instead of -N, because lbtt-translate does not want
	to translate these operators for tools that masquerade as Spin.

1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
2010-04-12  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Adjust ltl2tgba.py to call scc_filter() with the "full" option as
	appropriate.

	* wrap/python/spot.i (spot::scc_filter): Make it available.
	* wrap/python/cgi-bin/ltl2tgba.in (reduce_scc): Call scc_filter.
	Use the "full" option unless the show_degen_png or
	show_never_claim are set.  Also reduce_scc the default.

1935
1936
1937
1938
2010-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/ltlvisit/basicreduce.cc: Typo in comment.

1939
1940
1941
1942
2010-04-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Summarize recent noteworthy changes.

1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
2010-04-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Modernize Bison parsers.

	* src/ltlparse/ltlparse.yy, src/tgbaparse/tgbaparse.yy,
	src/evtgbaparse/evtgbaparse.yy, src/eltlparse/eltlparse.yy: Use
	token types for %destructor and %printer.  Remove the yylex hack,
	since %name-prefix is now honored by Bison.  Also remove the
	useless <token> type.  Suggested by Akim Demaille.

1953
1954
1955
1956
1957
1958
1959
1960
1961
2010-03-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix column in LTL error messages, it was off by one.

	* src/ltlparse/fmterror.cc (format_parse_errors): Count columns
	starting at 1.  Older Bison used to start at 0 but changed to
	match the GNU Coding Standards.
	* src/ltltest/parseerr.test: Add a test case.

1962
1963
1964
1965
1966
1967
1968
1969
2010-03-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do not rewrite F(a & GF(b)) = F(a) & GF(b), this can be harmful.

	* src/ltlvisit/basicreduce.cc (basic_reduce_visitor::recurse):
	Disable this rule unconditionally.
	* src/ltltest/reduccmp.test: Adjust tests.

1970
1971
1972
1973
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tgba/tgbatba.cc: Fix English in comments.

1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Reverse the order of expected acceptance conditions in
	degeneralization.

	* src/tgba/tgbatba.cc (tgba_sba_proxy::tgba_tba_proxy): Build the
	list of acceptance condition in the reverse order.  The order is
	still arbitrary, but the bdd_satone() call seems to output the
	acceptance conditions that are more used first, and this helps the
	degeneralization process.

1985
1986
1987
1988
1989
1990
1991
1992
1993
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Tweak precedence of "->" and <->.

	* src/ltlparse/ltlparse.yy: Change the precedence of "->" and
	"<->" so that "a & b -> c" is interpreted as "(a & b) -> c"
	instead of "a & (b -> c)".  The new interpretation is more
	intuitive, and matches that of LBTT.

1994
1995
1996
1997
1998
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/ltl2tgba/formulae.ltl: Fix three formulae to match the
	original paper by Somenzi and Bloem.  Reported by Ruediger Ehlers.

1999
2000
2001
2002
2003
2004
2005
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix memory leak introduced in yesterday's change.

	* src/tgba/tgbatba.cc (tgba_sba_proxy::tgba_sba_proxy): Do not
	forget to free the initial state after usage.

2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2010-03-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Keep acceptance conditions on transitions going to accepting SCCs
	by default in scc_filter().

	Doing so helps the degeneralization algorithm, because it will
	have more opportunity to be in an accepting level when it reaches
	the accepting SCCs.

	* src/tgbaalgos/sccfilter.cc (filter_iter::filter_iter): Take a
	remove_all_useless argument.
	(filter_iter::process_link): Use the flag to decide whether to
	filter acceptance conditions going to accepting SCCs.
	(scc_filter): Take a remove_all_useless argument and pass it to
	filter_iter.
	* src/tgbaalgos/sccfilter.hh (filter_iter): Add the new argument
	and document the function.
	* src/tgbatest/tgbatests/ltl2tgba.cc (main): Add option use -R3
	for remove_all_useless=false and add -R3f for
	remove_all_useless=true.
	* src/tgbatest/ltl2tgba.test: Show one case where -R3f makes
	the degeneralization worse than -R3.

2029
2030
2031
2032
2033
2010-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Simplify F(a)|F(b) as F(a|b).  Add similar rule for G(a)&G(b).

	* src/ltlvisit/basicreduce.cc (basic_reduce_visitor): Replace
2034
	the FG(a)|FG(b) == F(Ga|Gb) rule by the above more generic one.
2035
2036
2037
2038
	Add the dual rule for G(a)&G(b), as we had none (this one won't
	improve anything in the translation, but it is more symmetric
	this way).  Also simplify some pointer checks.

2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2010-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Better selection of the acceptance of the initial state in SBA.

	* src/tgba/tgbatba.cc (tgba_sba_proxy::tgba_sba_proxy): Set
	cycle_start_ to start in the accepting layer of the degeneralized
	automaton if the initial state has an accepting self-loop.
	Otherwise, starts at the level of the first acceptance condition
	as previously.
	(tgba_sba_proxy::get_init_state): Use cycle_start_.
	* src/tgba/tgbatba.hh (tgba_tba_proxy::a_): Make it protected so
	that we can use it in tgba_sba_proxy::tgba_sba_proxy.
	(tgba_sba_proxy::cycle_start_, tgba_sba_proxy::get_init_state):
	Declare.
	* src/tgbatest/ltl2tgba.test: More tests.

2055
2056
2057
2058
2059
2060
2061
2062
2063
2010-03-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Generalize the previous patch to accepting states in SBA.

	* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator::sync_): Move
	the optimization step added by the previous patch outside the
	before the bddtrue check, so that it also applies to accepting
	states in SBA.

2064
2065
2066
2067
2068
2010-03-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Optimize tgba_tba_proxy and tgba_sba_proxy for states that share
	an acceptance condition on all outgoing transitions.

2069
	This was motivated by experiments from Rüdiger Ehlers, showing
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
	that "ltl2ba -f 'a U (b U c)'" outperformed "ltl2tgba -f -N -R3 'a
	U (b U c)'".  With this change and the previous one, it is no
	longer the case.

	* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator::aut_): Store
	a pointer to the source automaton and...
	(tgba_tba_proxy_succ_iterator::sync_): ... use it in an extra
	optimization step to gather the acceptance conditions common
	to all outgoing transitions of the destination state, and pretend
	they are on the current (ingoing) transition.
	(tgba_tba_proxy::succ_iter): Pass the
	source automaton to the constructed iterator.
	* src/tgbatest/spotlbtt.test: Test -f -N -R3 -r7.
	* src/tgbatest/ltl2tgba.test: Add a test case for 'a U (b U c)'.

2085
2086
2087
2088
2089
2090
2091
2010-03-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	ltl2tgba: apply -R3 before -D or -DS.

	* src/tgbatest/ltl2tgba.cc (main): Call scc_filter() before the
	degeneralization, because it might remove useless acceptance
	conditions.  I realized this while looking at experiments from
2092
	Rüdiger Ehlers.
2093

2094
2095
2096
2097
2010-02-24  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/sanity/style.test: Better fix for the previous error.

2098
2099
2100
2101
2010-02-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Work around a spurious style.test error.

2102
	* src/saba/sabacomplementtgba.hh (spot): Rewrite Büchi as B\"uchi
2103
2104
2105
2106
	is the BibTex entry used as comment, because some version of sed
	will choke on non-ascii character and cause sanity/style.test to
	fail.

2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2010-02-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix random_graph() not to generate dead states.

	This is actually the third time I fix random_graph().  On
	2007-02-06 I changed the function not to generated dead states,
	but in a way that made it non-deterministic.  On 2010-01-20 I made
	the function deterministic again, but it started to generate dead
	states as a side effect.  This time, I'm making sure that dead
	states won't come again with a test-case that we should have had
	from the beginning.

	* src/tgbaalgos/randomgraph.cc (random_graph): Add an extra
	indirection array, state_randomizer[], so that we can reorder
	states indices after a random selection without actually changing
	the value of the indices used by unreachable_states and
	nodes_to_process.
	* src/tgbatest/randtgba.test: New file.
	* src/tgbatest/Makefile.am: Add randtgba.test.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2010-02-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	ltl2tgba cgi updates.

	* wrap/python/cgi-bin/ltl2tgba.in (dot): Use the value computed by
	configure.
	(os.system): Cleanup stale files only when the form has been
	submitted.
	(list options): Keep track of the selected value.
	(draw_acc_run|print_acc_run): set ec=0 to detect if it has been
	later set or not.  Fix error message when using generalized
	automata with degeneralized emptiness checks.
	* wrap/python/cgi-bin/Makefile.am (ltl2tgba.py): Substitute @DOT@.

2141
2142
2143
2144
2010-02-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* wrap/python/cgi-bin/ltl2tgba.in: Reword description of svg_output.

2145
2146
2147
2148
2149
2150
2151
2152
2010-02-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add SVG output and language containment options to the cgi script.

	* wrap/python/cgi-bin/ltl2tgba.in (new): Mark new options as new.
	(svg_output, reduce_langcout): Add these new options.
	(render_dot): Support svg_output.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2153
2154
2155
2156
2010-02-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: Typo.

2157
2158
2159
2160
2010-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

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

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2161
2162
2163
2164
2165
2166
2010-02-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Spot 0.5.

	* NEWS, configure.in: Bump version to 0.5.

2167
2168
2169
2170
2171
2172
2010-01-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/Makefile.am ($(srcdir)/stamp): Do not depend on dot
	explicitly, otherwise the documentation is always built and
	distcheck fails.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2173
2174
2175
2176
2177
2178
2179
2180
2181
2010-01-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More Doxygen fixes.

	* src/sabaalgos/sabareachiter.hh (process_link): Document argument SI.
	* src/eltlparse/public.hh (format_parse_errors): Remove the
	non-existing eltl_string argument from the description.
	(parse_file): Fix name of parameters in documentation.

2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2010-01-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Build doxygen pictures with libgd to reduce their size.

	Doxygen only knows how to call dot with -Tpng, while using
	-Tpng:gd produces pictures that are 10 times smaller.  Use a
	simple wrapper around dot to simplify this.

	* doc/dot.in: New file, that wrap the system's dot and replace
	-Tpng by -Tpng:gd.
	* doc/Makefile.am ($(srcdir)/stamp): Depend on dot.
	* doc/Doxyfile.in: Update to 1.6.2.
	(DOT_PATH): Set to @srcdir@ to use doc/dot instead of the
	system's dot.
	* configure.ac: Find the absolute path of dot, and generate
	the doc/dot script.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2199
2200
2201
2202
2203
2204
2205
2206
2010-01-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More Doxygen fixes.

	* src/tgba/tgbakvcomplement.hh: Use \verbatim around the bibtex
	entry.
	* src/saba/sabacomplementtgba.hh: Use latin1.

2207
2208
2209
2210
2211
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* bench/split-product/Makefile.am (nodist_noinst_DATA): Do not
	depend on files that cannot be built.

2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Replace spot::ltl_file by a rewritten spot::ltl::ltl_file.

	* src/tgba/tgbafromfile.cc, src/tgba/tgbafromfile.hh: Delete these
	files.
	* src/tgba/Makefile.am: Remove them.
	* src/ltl/ltlparse/ltlfile.hh, src/ltl/ltlparse/ltlfile.cc: New
	files.
	* src/ltl/ltlparse/Makefile.am: Add them.
	* bench/scc-stats/stats.cc, bench/split-product/cutscc.cc: Rewrite
	using the new class.

2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Check for missing Copyright blurbs, and add them.

	* src/sanity/style.test: Check for missing Copyrights blurbs.
	* src/sanity/Makefile.am: Run style.test before includes.test.
	* iface/gspn/dcswave.test, iface/gspn/dcswaveeltl.test,
	iface/gspn/dcswavefm.test, iface/gspn/dcswaveltl.test,
	iface/gspn/simple.test, iface/gspn/udcsefm.test,
	iface/gspn/udcseltl.test, iface/gspn/udcsfm.test,
	iface/gspn/udcsltl.test, iface/nips/nipstest/dotty.test,
	iface/nips/nipstest/emptiness.test, src/eltltest/acc.test,
	src/eltltest/nfa.test, src/saba/sabacomplementtgba.cc,
	src/sabatest/sabacomplementtgba.cc, src/tgbatest/eltl2tgba.test,
	src/tgbatest/taatgba.test: Add missing Copyright blurb.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2241
2242
2243
2244
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* NEWS: More text.

2245
2246
2247
2248
2249
2250
2251
2252
2253
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Touch up some doxygen comments and copyrights.

	* eltlparse/public.hh, saba/saba.hh, tgba/tgbakvcomplement.hh,
	tgba/tgbasafracomplement.hh, tgbaalgos/eltl2tgba_lacim.cc,
	tgbaalgos/eltl2tgba_lacim.hh, tgbaalgos/ltl2taa.hh: Comment
	changes.

2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add SCC pruning options to the CGI script.

	* wrap/python/cgi-bin/ltl2tgba.in: Add options to symbolically
	prune unaccepting SCCs in LaCIM, and explicitely pruns unaccepting
	SCCs in all algorithms.
	* src/tgbaalgos/reductgba_sim.hh: Conceal most of the file to
	SWIG.
	* wrap/python/spot.i: Include reductgba_sim.hh.

2265
2266
2267
2268
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/evtgbatest/ltl2evtgba.test: Replace * by &.

2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2010-01-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make it possible to use the cgi script without installing a web
	server.

	* wrap/python/cgi-bin/ltl2tgba.in: Starts a web server if the
	script is not called as a CGI.  Arrange to load libraries from
	the build directory.  Create the spotimg/ if needed when