ChangeLog 816 KB
Newer Older
1
2
3
4
5
2012-05-22  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* data/vaucanson.xsd: Allow any unknown elements in
	<geometricData> and any unknown attributes in <drawingData>.

6
7
8
9
10
2011-11-22  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: Bump version to 1.4a.
	* doc/NEWS.txt: Mention --list-all-commands-json.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
11
12
13
14
15
16
17
18
2011-11-22  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update prerequisites.

	* doc/README.txt: Mention Ncurses in the README.  Update the
	version of Xerces-C++.
	* doc/manual/TFKD-ch0.tex: Update prerequisites.

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2011-11-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add option to list commands with their input and output specifications.

	* taf-kit/src/main.cc: Add option --list-all-commands-json.
	* taf-kit/src/Makefile.am: #define the name of all contexts
	for all instances.
	* taf-kit/src/commands.hh, taf-kit/src/commands.cc:
	Add new specifiers to describe parameters, and implement
	a list_json() method.
	* taf-kit/src/cmd_wt.cc, taf-kit/src/cmd_b.cc,
	taf-kit/src/cmd_fmp.cc, taf-kit/src/cmd_gen.cc,
	taf-kit/src/cmd_io.cc, taf-kit/src/cmd_pair.cc,
	taf-kit/src/cmd_r.cc, taf-kit/src/cmd_wt.cc: Specify output.

34
35
36
37
2011-09-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/NEWS.txt: Fix formatting.

38
39
40
41
2011-09-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* lrde-upload.sh: Fix name of manual.

42
43
44
45
46
47
48
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Release Vaucanson 1.4, to be announced tomorrow.

	* configure.ac: Bump version to 1.4, and use dist-xz instead
	of dist-bzip2.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
49
50
51
52
53
54
55
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add missing authors...

	* AUTHORS: Add Guillaume Fiette, Rodrigo de Souza, Pierre-Yves
	Angrand, and Victor Marsault.

56
57
58
59
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/NEWS.txt, doc/HACKING.txt, doc/README.txt: Adjust for 1.4.

60
61
62
63
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/manual/TFKD-ch0.tex: Fix the `dotty' script.

64
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

	Integrate Jacques' documentation.

	* doc/manual/TAFK.tex, doc/manual/TFKD-ch0.tex,
	doc/manual/TFKD-ch1.tex, doc/manual/TFKD-ch2-1.tex,
	doc/manual/TFKD-ch2-2.tex, doc/manual/TFKD-ch2-3.tex,
	doc/manual/TFKD-ch2-4.tex, doc/manual/TFKD-ch2-5.tex,
	doc/manual/TFKD-ch2-6.tex, doc/manual/TFKD-ch2.tex,
	doc/manual/TFKD-chA.tex, doc/manual/TFKD-chB.tex,
	doc/manual/TFKD-chC.tex, doc/manual/TFKD-chD.tex,
	doc/manual/TFKD-chE.tex, doc/manual/TFKD-chZ.tex,
	doc/manual/TFKD-intro.tex, doc/manual/TFKD-title.tex,
	doc/manual/Z6Z-1345-univ-v2.tex,
	doc/manual/texinputs/accent_keys.tex,
	doc/manual/texinputs/js_macros3.tex,
	doc/manual/texinputs/js_symboles3.tex: New files.
	* doc/manual/figures/: New directory, full of postscript
	files.
	* doc/manual/developer.tex, doc/manual/taf-kit-manual.tex,
	doc/manual/vaucanswig.tex: Delete.
	* doc/manual/Makefile: Update.

87
88
89
90
91
92
93
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove gag: it's a duplicate of maxblocka.

	* data/automata/char-zmax/gag.cc: Delete.
	* data/automata/char-zmax/Makefile.am: Remove it.

94
95
96
97
98
99
100
101
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename sag as minblocka.

	* data/automata/char-zmin/sag.cc: Rename as ...
	* data/automata/char-zmin/minblocka.cc: ... this.
	* data/automata/char-zmin/Makefile.am: Adjust.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
102
103
104
105
106
107
108
109
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Change the ORR example.

	* data/automata/char-fmp-b/Makefile.am: Change the ORR
	demo to replace abb by baa, and rename its output to
	fibred_left.xml and fibred_right.xml.

110
111
112
113
114
115
116
117
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename slowbig as slowgrow.

	* data/automata/char-zmin/slowbig.cc: Rename as...
	* data/automata/char-zmin/slowgrow.cc: ... this.
	* data/automata/char-zmin/Makefile.am: Adjust.

118
119
120
121
122
123
124
2011-09-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix installation of char-zmax example automata.

	* data/automata/char-zmax/Makefile.am: Install examples in
	char-zmax, not char-zmin.

125
126
127
128
129
130
131
132
133
134
135
2011-09-27  Pierre-Yves Angrand  <pangrand@gmail.com>

	Add new example automata.

	* data/automata/char-zmin/slowbig.cc,
	data/automata/char-zmax/maxblocka.cc: New files.
	* data/automata/char-zmin/Makefile.am,
	data/automata/char-zmax/Makefile.am: Adjust.
	* data/automata/char-zmin/minab.cc,
	data/automata/char-zmax/maxab.cc: Fix reference to ETA.

136
137
138
139
140
141
142
143
144
145
146
147
2011-09-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Handle execvp() failures.

	When running `Display' in TAF-Kit's editor would enter a warp zone
	if dotty is not in PATH: because of the missing exit() after
	execvp(), two forks of TAF-Kit's editor would compete for the
	terminal.

	* include/vaucanson/tools/out_display.hxx (out_display): Exit
	if execvp returns an error, and report the failure.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
148
149
150
151
152
153
154
2011-09-25  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Use AC_LANG_SOURCE.

	* build-aux/vcsn.m4: Use AC_LANG_SOURCE when calling AC_LINK_IFELSE.
	This fix a warning reported by Autoconf 2.68.

155
156
157
158
159
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/tests/vcsn-char-q.test: Adjust test for reduce,
	and add a test case where proper should not work.

160
161
162
163
164
165
166
167
168
169
2011-09-13  Sylvain Lombardy  <lombardy@univ-mlv.fr>

	Fix implementation of proper() for Q.

	* include/vaucanson/algebra/implementation/semiring/q_number.hh,
	include/vaucanson/algebra/implementation/semiring/q_number.hxx,
	include/vaucanson/algorithms/eps_removal.hxx,
	include/vaucanson/misc/algebra.hh,
	include/vaucanson/misc/algebra.hxx: Here.

Sylvain Lombardy's avatar
Sylvain Lombardy committed
170
171
172
173
174
175
176
2011-09-13  Sylvain Lombardy  <lombardy@univ-mlv.fr>

	Fix image and domain.

	* include/vaucanson/algorithms/image.hxx,
	include/vaucanson/algorithms/domain.hxx: Call cut_up.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
177
178
179
180
181
182
183
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement support.

	* taf-kit/src/cmd_wt.cc (support_command): New command.
	* taf-kit/tests/vcsn-char-z.test: Add a new test.

184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement w-image and w-domain.

	* include/vaucanson/algorithms/image.hxx,
	include/vaucanson/algorithms/image.hh (image): Add an optional
	parameter to keep the weights.
	* include/vaucanson/algorithms/domain.hxx,
	include/vaucanson/algorithms/domain.hh (domain): Likewise.
	(do_fmp_weighted_domain): Remove this copy of do_fmp_domain()
	which now has a Boolean parameter to decide what to do with
	weights.
	* taf-kit/src/cmd_fmp.cc (image, domain): Remove weights.
	(w_image, w_domain): New commands that keep weights.
	* taf-kit/tests/vcsn-int-fmp-z.test: Adjust test.

200
201
202
203
204
205
206
207
208
209
210
211
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	The input of evaluation_fmp should be subnormalized.

	* include/vaucanson/algorithms/evaluation_fmp.hxx: Do not
	subnormalize the input.  At it as a precondition.
	* include/vaucanson/algorithms/evaluation_fmp.hh: Document it.
	* src/tests/sanity/hhck.pl (read_hh): Handle subnormalized
	preconditions.
	* taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-int-fmp-z.test: Adjust tests.

212
213
214
215
216
217
218
219
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Save space in the output of the editor.

	* taf-kit/src/edition_commands.hxx (ask_and_treat_choice): Squeeze
	the display of actions on three columns to save space.  Suggested
	by Jacques.

220
221
222
223
224
225
226
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	"chain a.xml 0" should return an automaton recognizing 1.

	* taf-kit/src/cmd_wt.cc (chain): Handle the 0th power specifically.
	* taf-kit/tests/vcsn-char-b.test: Add a test.

227
228
229
230
231
232
233
234
235
236
237
238
239
2011-09-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cleanup star_alphabet_command and handle 0th power specifically.

	* taf-kit/src/star_alphabet_command.hh,
	taf-kit/src/star_alphabet_command.hx: Remove these files.  Merge
	them into ...
	* taf-kit/src/cmd_wt.cc (star_alphabet_command): ... here.
	(power_command): Handle the 0th power specifically.
	* taf-kit/tests/vcsn-char-b.test: Add a new test.
	* taf-kit/src/Makefile.am (COMMON_SOURCES): Remove
	star_alphabet_command.hh and star_alphabet_command.hxx.

240
241
242
243
244
245
246
247
248
249
2011-09-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Revert part of bff6ab2e0a3cbe1935ab3dd36d7683c449ba90df.

	It contains a feature (--list-factory) that cannot work, and
	multiple useless commented functions (!?!?).

	* taf-kit/src/library_commands.hh, taf-kit/src/main.cc: Restore
	these files as they were before 2011-07-13.

250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
2011-07-26  David Moreira <moreira@lrde.epita.fr>

	Update domain and Image. Add universal algorithms.

	* include/vaucanson/algorithms/domain.hxx,
	* include/vaucanson/algorithms/image.hxx: Update, Fix
	FIXME.
	* include/vaucanson/algorithms/universal.hh,
	* include/vaucanson/algorithms/universal.hxx: Create universal
	algorithms.
	* include/Makefile.am: Include
	include/vaucanson/algorithms/universal.hh
	and include/vaucanson/algorithms/universal.hxx to the vaucanson
	dist tarball.
	* lib/generate_libvcsn.rb: universal algorithms is for automata.
	* data/.gitignore: Ignore new binary.
	* taf-kit/src/cmd_b.cc, taf-kit/src/cmd_r.cc: Add universal command
	to boolean and real automata.

269
270
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

271
	* doc/NEWS.txt: Fix indentation.
272

273
274
275
276
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* lrde-upload.sh: Fix .htaccess rights.

277
278
279
280
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/src/cmd_b.cc (intersection_command): New command.

281
282
283
284
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/NEWS.txt: Document 1.3.9.

285
286
287
288
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/HACKING.txt: Explain how to tag new versions.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
289
290
291
292
293
294
295
296
297
298
299
300
301
302
2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Bump version.

	* configure.ac: Bump version to 1.3.9a.
	* doc/manual/taf-kit-manual.tex: Likewise.

2011-07-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update lrde-upload.sh for vcsn.

	* lrde-upload.sh: Adjust path for vcsn.enst.fr, and
	output the git description in .htaccess

303
304
305
306
307
308
309
310
2011-07-21  David Moreira  <moreira@lrde.epita.fr>

	Clean code from RationalNumber class.

	* include/vaucanson/algebra/implementation/semiring/q_number.hh
	* include/vaucanson/algebra/implementation/semiring/q_number.hxx:
	Delete debug info and useless methods.

David Moreira's avatar
David Moreira committed
311
312
313
314
315
316
317
318
319
2011-07-14  David Moreira  <moreira@lrde.epita.fr>

	Update some algorithms.

	* include/vaucanson/algorithms/eps_removal.hxx,
	* include/vaucanson/algorithms/infiltration.hxx,
	* include/vaucanson/algorithms/product.hxx,
	* include/vaucanson/algorithms/shuffle.hxx: Improve
	implementation.
David Moreira's avatar
David Moreira committed
320
321
322
323
324
325
2011-07-13  David Moreira  <moreira@lrde.epita.fr>

	Add orr as data automata
	* data/automata/char-fmp-b/ORR.cc: Add one
	rule rewriting in automata data.

326
327
328
329
330
331
332
333
334
335
336
337
338
2011-07-13  David Moreira  <moreira@lrde.epita.fr>

	Minor changes on data automata.

	* data/automata/char-b/divkbaseb.cc,
	* data/automata/char-b/double_ring.cc,
	* data/automata/char-b/ladybird.cc,
	* data/automata/char-f2/ring.cc,
	* data/automata/char-fmp-b/Makefile.am,
	* data/automata/char-fmp-b/quotkbaseb.cc: Some
	bugs corrected.
	* taf-kit/src/library_commands.hh,
	* taf-kit/src/main.cc: Minor changes.
David Moreira's avatar
David Moreira committed
339

David Moreira's avatar
David Moreira committed
340
341
342
343
344
345
346
347
2011-07-12  David Moreira  <moreira@lrde.epita.fr>

	Ignore some generating files.

	* include/.gitignore: Ignore include/vaucanson/f2_*.hh
	and include/vaucanson/q_*.hh (file generate for Z/2Z and
	Q semirings.)

David Moreira's avatar
David Moreira committed
348
349
350
351
352
353
354
355
2011-07-09  David Moreira  <moreira@lrde.epita.fr>

	Clean rational number code.

	* include/vaucanson/algebra/implementation/semiring/q_number.hxx:
	Delete debug information. Check at the end of set_rational if the
	denominator is 'not null'.

David Moreira's avatar
David Moreira committed
356
357
358
359
360
361
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Update AUTHORS file.

	* AUTHORS: Add 2013 students.

362
363
364
365
366
367
368
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Include star alphabet (taf-kit) command.

	* taf-kit/src/Makefile.am: Add star alphabets.

2011-07-08  David Moreira  <moreira@lrde.epita.fr>
369
370
371
372
373
374
375

	Update domain and image algorithms.

	* include/vaucanson/algorithms/domain.hxx,
	* include/vaucanson/algorithms/image.hxx: Add latest
	version for domain and image algorithms.

376
377
378
379
380
381
382
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Update vcsn-char-q.test and vcsn-char-r.test
	* taf-kit/tests/vcsn-char-r.test: Read the alphabet '01'
	instead of 'ab'.
	* taf-kit/tests/vcsn-char-q.test: Delete latest test.

383
384
385
386
387
388
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Update Vaucanson version (1.3.9)

	* configure.ac: Update Vaucanson version to 1.3.9.

David Moreira's avatar
David Moreira committed
389
390
391
392
393
394
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Downgrade sub_normalized.hxx
	* include/vaucanson/algorithms/sub_normalized.hxx: Downgrade (check
	error for fmp).

David Moreira's avatar
David Moreira committed
395
396
397
398
399
400
401
402
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Add star_alphabet_command file

	* taf-kit/src/Makefile.am: add
	taf-kit/src/star_alphabet_command.hh, and
	taf-kit/src/star_alphabet_command.hx

403
404
405
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Work on infiltration, sub_normalize, and shuffle
David Moreira's avatar
David Moreira committed
406

407
408
409
410
411
	* include/vaucanson/algorithms/infiltration.hxx,
	* include/vaucanson/algorithms/sub_normalize.hxx,
	* include/vaucanson/algorithms/shuffle.hxx: Correct
	bug.

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Change type for RationalNumber.

	* include/vaucanson/algebra/implementation/semiring/q_number.hh,
	* include/vaucanson/algebra/implementation/semiring/q_number.hh:
	Chagen type for RationalNumber.

2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Correct demonstration.

	* data/automata/Makefile.am,
	* data/automata/char-q/Makefile.am,
	* data/automata/char-q/b1.cc,
	* data/automata/char-q/c1.cc,
	* data/automata/char-q/d1.cc,
	* data/automata/char-r/Makefile.am,
	* data/automata/char-r/b1.cc,
	* data/automata/char-r/c1.cc,
	* data/automata/char-r/d1.cc,
	* data/automata/char-rw-b/Makefile.am,
	* data/automata/char-rw-b/add1-rw.xml,
	* data/automata/char-rw-b/quot-3-rw.xml,
	* data/automata/char-z/Makefile.am,
	* data/automata/char-z/b1.cc,
	* vaucanson.mk: Correct demonstration
	and compile.


David Moreira's avatar
David Moreira committed
442
443
444
445
446
447
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Correct Rational Number.
	* include/vaucanson/algebra/implementation/semiring/q_number.hxx:
	Correct rational number operator.

David Moreira's avatar
David Moreira committed
448
449
450
451
452
453
454
455
456
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Add star_alphabet in taf-kit.

	* taf-kit/src/cmd_wt.cc,
	* taf-kit/src/star_alphabet_command.hh,
	* taf-kit/src/star_alphabet_command.hxx:
	Add star_alphabet in taf-kit factory.

457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Create demonstration in data/automata
	* configure.ac,
	* data/automata/Makefile.am,
	* data/automata/char-b/Makefile.am,
	* data/automata/char-b/evena.cc,
	* data/automata/char-b/oddb.cc,
	* data/automata/char-char-b/Makefile.am,
	* data/automata/char-f2/Makefile.am,
	* data/automata/char-f2/ring.cc,
	* data/automata/char-fmp-z/Makefile.am,
	* ata/automata/char-int-b/Makefile.am,
	* data/automata/char-q/Makefile.am,
	* data/automata/char-r/Makefile.am,
	* data/automata/char-zmax/Makefile.am,
	* data/automata/char-zmax/gag.cc,
	* data/automata/char-zmax/maxab.cc,
	* data/automata/char-zmin/Makefile.am,
	* data/automata/char-zmin/minab.cc,
	* data/automata/char-zmin/sag.cc,
	* data/automata/int-b/Makefile.am,
	* data/automata/int-z/Makefile.am: Create demonstration
	in data/automata for int-z, int-b, char-zmin, char-zmax,
	char-r, char-q, char-int-b, char-fmp-z, char-f2, char-char-b,
	and char-b. Create Makefile.am for demonstration, and update
	main Makefile.am

David Moreira's avatar
David Moreira committed
485
486
487
488
489
490
491
2011-07-08    <moreira@lrde.epita.fr>

	Correct bug in Taf-kit

	* taf-kit/src/library_command.hh: Correct three letters file
	bug.

492
493
494
495
496
497
498
499
500
501
502
503
2011-07-08  David Moreira  <moreira@lrde.epita.fr>

	Correct operator== and change data type in Rational Number.

	* include/vaucanson/algebra/implementation/q_number.hh,
	* include/vaucanson/algebra/implementation/q_number.hxx: Change
	data type to 'long long' instead of int. Correct operator== for
	null numbers.
	* include/vaucanson/misc/algebra.hh,
	* include/vaucanson/misc/algebra.hxx: Change type for lcm pgm
	and is_coprime functions (unsigned long long).

504
505
506
507
508
509
510
2011-07-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a bug in positive_path_covering().

	* include/vaucanson/algorithms/eps_removal.hxx
	(positive_path_covering): Fix iteration on supp().

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
511
512
513
514
515
516
517
518
2011-07-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix XML output for F2.

	* include/vaucanson/xml/builders.hxx (get_semiring_operations):
	Add specialization to output CyclicSemirings as "field".
	* data/vaucanson.xsd: Update it.

519
520
521
522
523
524
525
526
2011-07-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add a way to output fully parenthesized expressions.

	* taf-kit/src/pipe.hh: Declare OUTPUT_TYPE_FPEXP.
	* taf-kit/src/pipe_writers.hxx: Handle it.
	* taf-kit/src/main.cc: Handle "-o EXP" and "-o FPEXP".

527
528
529
530
531
532
533
534
535
2011-07-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix specialization of eps_removal for positive semirings.

	* include/vaucanson/algorithms/eps_removal.hxx
	(EpsilonRemover::test_for_non_positive_semiring): Move ...
	(test_for_non_positive_semiring::run): ... here in a separate
	struct that we can specialize if the semiring is positive.

536
537
538
539
540
541
542
543
544
2011-06-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix compilation of eps_removal.hxx on Q (it still does not compile
	on FMP).

	* include/vaucanson/algorithms/eps_removal.hxx
	(positive_path_covering): Use "weight < semiring_elt_zero" instead
	of "weight.value() < 0".

545
546
547
548
2011-05-26  Sylvain Lombardy  <lombardy@univ-mlv.fr>

	* include/vaucanson/algorithms/eps_removal.hxx: Rewrite.

549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
2011-04-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement a is_positive_semiring() function in semiring implementations.

	* include/vaucanson/algebra/concept/semiring_base.hh
	(semiring_traits<T,U>): New trait.
	* include/vaucanson/algebra/implementation/semiring/numerical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hxx,
	include/vaucanson/algebra/implementation/series/krat.hh,
	include/vaucanson/algebra/implementation/series/krat.hxx
	(is_positive_semiring): Remove and...
	(semiring_traits<T,U>): ... specialize.
	* taf-kit/src/cmd_gen.cc (semiring-info): Adjust caller.

565
566
567
568
569
570
571
572
573
574
575
576
577
578
2011-07-06  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Check is_trim() in prefix(), factor(), and suffix().

	* include/vaucanson/algorithms/factor.hh,
	include/vaucanson/algorithms/factor.hxx,
	include/vaucanson/algorithms/prefix.hh,
	include/vaucanson/algorithms/prefix.hxx,
	include/vaucanson/algorithms/suffix.hh,
	include/vaucanson/algorithms/suffix.hxx: Add is_trim precondition
	as reported by Jacques Sakarovitch.
	* src/tests/sanity/hhck.pl: Add support from checking is_trim()
	preconditions.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
579
580
581
582
583
584
585
586
587
588
589
2011-06-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix two bugs in expand.

	* include/vaucanson/algorithms/krat_exp_expand.hxx (list_concat):
	Handle ONE and ZERO in lists.
	(MATCH__(Product, lhs, rhs)): Sum weights of identical element
	generated while expansing the product.
	* taf-kit/tests/vcsn-char-z.test: Add some test cases based on
	a report by Jacques Sakarovitch.

590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
2011-06-29  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix parsing of Q numbers with g++-4.6.

	* include/vaucanson/algebra/implementation/semiring/numerical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx
	(op_parse): Remove this overloading for RationalNumber.  Its
	incorrect usage of tellg() broke with g++-4.6, and the general
	definition of op_parse() in
	include/vaucanson/algebra/concept/semiring_base.hxx will call the
	operator<< code that is specialized for RationalNumber already.
	* include/vaucanson/algebra/implementation/semiring/q_number.hh,
	include/vaucanson/algebra/implementation/semiring/q_number.hxx
	(operator<<): Move into the vcsn::algebra namespace, so that Koening
	lookup works.  Also to not try to read past the end of the stream.

606
607
608
609
610
611
612
613
2011-06-29  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do not call realtime in quotient.

	* taf-kit/src/cmd_wt.cc (quotient_command): Do not call realtime.
	* taf-kit/tests/vcsn-int-z.test, taf-kit/tests/vcsn-int-b.test: Adjust.
	Do not call realtime in quotient.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
614
615
616
617
618
2011-06-29  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce eval-S.

	* taf-kit/src/cmd_wt.cc (eval_command): Rename as ...
619
	(eval_S_command): ... this.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
620
621
622
623
624
625
	(eval_command): New version that does not call realtime.
	* taf-kit/tests/vcsn-char-b.test,
	taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-char-z.test, taf-kit/tests/vcsn-int-b.test,
	taf-kit/tests/vcsn-int-z.test: Adjust.

626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
2011-06-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Integrate shuffle and infiltration algorithm, from Pierre-Yves
	Angrand <pangrand@gmail.com>.

	* include/vaucanson/algorithms/infiltration.hh,
	include/vaucanson/algorithms/infiltration.hxx,
	include/vaucanson/algorithms/shuffle.hh,
	include/vaucanson/algorithms/shuffle.hxx: New files.
	* include/Makefile.am: Add them.
	* lib/generate_libvcsn.rb (create?): Do not compile these
	in FMP contexts.
	* taf-kit/src/cmd_wt.cc (shuffle_command, infiltration_command):
	New functions.

641
642
643
644
645
646
647
648
649
650
2011-06-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename u-composition as composition.

	* taf-kit/src/cmd_fmp.cc (u_composition): Rename as ...
	(composition_R): ... this.
	(composition): New function similar to composition_R, but
	without subnormalization.
	* taf-kit/tests/vcsn-char-fmp-b.test: Adjust.

651
652
653
654
655
656
657
658
2011-06-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Call eps_removal after composition.

	* include/vaucanson/algorithms/normalized_composition.hxx
	(do_compose): Call eps_removal_here() after composing two
	Boolean transducers.

659
660
661
662
663
664
665
666
667
2011-06-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename composition as b-composition.

	* taf-kit/src/cmd_fmp.cc (composition, composition_R): Rename as ...
	(b_composition, b_composition_R): ... these.  And compile
	only for Boolean weights.
	* taf-kit/tests/vcsn-char-fmp-b.test: Adjust.

668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
2011-06-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement the characteristic command (for free monoids only).

	* include/vaucanson/algorithms/characteristic.hxx,
	include/vaucanson/algorithms/characteristic.hh: New files.
	* include/Makefile.am: Add them.
	* taf-kit/src/Makefile.am: Define BOOL_CONTEXT macros for
	all instances.
	* taf-kit/src/cmd_wt.cc (characteristic_command): New function.
	* taf-kit/src/common.hh (BOOL_CONTEXT_HEADER): Define.
	* taf-kit/src/getters.cc, taf-kit/src/getters.hh
	(get_boolean_aut): Rename as ...
	(get_single_band_aut): ... this because the automaton we
	read with this function is not always Boolean.
	(get_boolean_aut, locate_boolean_file): New functions.
	* taf-kit/src/cmd_fmp.cc (evaluation_command): Adjust call.
	* taf-kit/src/library_commands.hh (get_base_path): Define
	base_path as static so that it is computed only once.
	* taf-kit/src/pipe.hh, taf-kit/src/pipe_getters.hh,
	taf-kit/src/pipe_getters.hxx, taf-kit/src/pipe_writers.hxx:
	Implement I/O for BOOL_CONTEXT.

691
692
693
694
695
696
697
698
699
2011-06-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Add missing interface for aut_to_exp().

	* include/vaucanson/algorithms/aut_to_exp.hh: Add missing
	interface for the two-argument version of aut_to_exp when the
	second argument is vcsn::DefaultChooser.  G++ 4.6 complained
	today, but I'm surprised this issue hasn't come up before.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
700
701
702
703
704
705
2011-06-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement chain.

	* taf-kit/src/cmd_gen.cc (command_chain): New function.

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

	Restrict prefix, suffix, and factor to Boolean automata.

	* taf-kit/src/cmd_wt.cc (prefix_command, suffix_command,
	factor_command): Move these functions ...
	* taf-kit/src/cmd_b.cc (prefix_command, suffix_command,
	factor_command): ... here, on Jacques' request.

715
716
717
718
719
720
721
2011-05-19  Guillaume Fiette  <fiette@fiette.lrde.epita.fr>

	Correct a bug in cyclic semiring.

	* include/vaucanson/algebra/implementation/semiring/cyclic_semiring.hxx:
	remove "unit" for "unsigned int".

722
723
724
725
726
727
2011-05-02  Guillaume Fiette  <fiette@lrde.epita.fr>

	Add tests for f2 in taf-kit.

	* taf-kit/tests/vcsn-char-f2.test: Add tests for f2.

728
729
730
731
732
733
734
735
736
737
738
739
2011-05-02  Guillaume Fiette  <fiette@lrde.epita.fr>

	Fix some problems due to the previous rebase on next.

	* taf-kit/src/cmd_r.cc: Fix bug in are_equivalent_command
	for compatibility with the f2 semiring.
	* include/vaucanson/algebra/implementation/semiring/cyclic_semiring.hxx:
	Remove useless inlines.
	* include/vaucanson/algebra/implementation/semiring/q_number.hh,
	include/vaucanson/algebra/implementation/semiring/q_number.hxx:
	Fix the >> operator.

740
741
742
743
744
745
2011-04-28  Guillaume Fiette  <fiette@lrde.epita.fr>

	Add missing include in taf-kit.

	* taf-kit/src/cmd_gen.cc: Include is_trim algorithm.

Guillaume Fiette's avatar
Guillaume Fiette committed
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
2011-04-28  Guillaume Fiette  <fiette@lrde.epita.fr>

	Change z2z to f2.

	* include/vaucanson/automata/generic_contexts/f2_automaton.hh,
	include/vaucanson/automata/generic_contexts/f2_automaton_structures.hh,
	src/tests/test-suites/generate-all.sh,
	taf-kit/src/Makefile.am,
	taf-kit/tests/Makefile.am,
	lib/Makefile.am,
	lib/generate_libvcsn.rb,
	include/vaucanson/contexts/f2_semiring.thh,
	configure.ac: Change the context name.
	* include/Makefile.am: Add files to distcheck

David Moreira's avatar
David Moreira committed
761
762
763
764
765
766
767
768
769
2011-04-28  David Moreira  <moreira@knokke-le-zout.lrde.epita.fr>

	Clean code on taf-kit sources.

	* taf-kit/src/library_commands.hh: Delete dead code from search
	path fix from taf-kit.
	* taf-kit/src/getters.cc, taf-kit/src/getters.hh: Delete the
	get_pair_aut function (cause: unused).

770
771
772
773
774
775
776
777
778
2011-04-27  David Moreira <moreira@lrde.epita.fr>

	Fix search path for automaton with two alphabets

	* taf-kit/src/getter.cc: Create the locate_fmp_file
	calling get_fmp_aut_path into library_commands.hh.
	Fix get_boolean_aut for calling locate_fmp_file.
	* taf-kit/src/getter.hh: Create the locate_fmp_file
	function.
David Moreira's avatar
David Moreira committed
779
	* taf-kit/src/library_commands.hh: Create
780
781
782
	get_fmp_aut_path deleting the pattern '-fmp' from the program
	name. Factorize get_automata to avoid copying code.

783
784
785
786
787
788
789
790
791
792
793
794
795
796
2011-04-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement a is_positive_semiring() function in semiring implementations.

	* include/vaucanson/algebra/implementation/semiring/numerical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hxx,
	include/vaucanson/algebra/implementation/series/krat.hh,
	include/vaucanson/algebra/implementation/series/krat.hxx
	(is_positive_semiring): Implement this new function.
	* taf-kit/src/cmd_gen.cc (semiring-info): New hidden command
	to help debugging the above.

797
798
799
800
801
802
803
804
805
806
807
2011-04-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Install some automaton factories.

	* data/automata/char-b/Makefile.am (divkbaseb, ladybird,
	double_ring): Rename these as...
	(divkbaseb-char-b, ladybird-char-b, doublering-char-b): ... these,
	and install them.
	* data/automata/char-fmp-b/Makefile.am (quotkbaseb): Rename as ...
	(quotkbaseb-char-fmp-b): ... this and install it.

808
809
810
811
812
813
814
815
816
817
818
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix operator precedence for kratexp parser.

	* lib/src/krat_exp/krat_exp_bison.yy: Do not declare token twice
	i.e, once for type and once for precedence.  Do not declare "("
	and ")" as associative operators, it breaks proper grouping in
	"a+b(a)".
	* taf-kit/tests/vcsn-char-b.test: Add test cases.
	Reported by Jacques Sakarovitch.

819
820
821
822
823
824
825
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement are-equivalent-E for expressions with Boolean weights.

	* taf-kit/src/cmd_b.cc (are_equivalent_E_command): New command.
	* taf-kit/tests/vcsn-char-b.test: Add some small tests.

826
827
828
829
830
831
832
833
834
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement are-equivalent-E for expressions with weights in fields.

	* taf-kit/src/cmd_r.cc (are_equivalent_E_command): New command.
	* taf-kit/src/commands.cc, taf-kit/src/commands.hh: Add support
	for the "ExpExp" command prototype.
	* taf-kit/tests/vcsn-char-r.test: Add a small test.

835
836
837
838
839
840
841
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement are-equivalent for automata with weights in fields.

	* taf-kit/src/cmd_r.cc (are_equivalent_command): New command.
	* taf-kit/tests/vcsn-char-r.test: Add a small test.

842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Implement left-mult and right-mult.

	* include/vaucanson/algorithms/standard.hh,
	include/vaucanson/algorithms/standard.hxx
	(left_mult_of_standard_here, right_mult_of_standard_here): New
	functions.
	* taf-kit/src/cmd_gen.cc (left_mult_command, right_mult_command):
	New commands.
	* taf-kit/src/getters.cc, taf-kit/src/getters.hh (get_weight): New
	function.
	* taf-kit/src/commands.cc, taf-kit/src/commands.hh: Add support
	for the "AutWeight" command prototype.
	* taf-kit/tests/vcsn-char-b.test, taf-kit/tests/vcsn-char-r.test:
	Add some tests.

859
860
861
862
863
864
865
866
867
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix op_parse for weights.

	* include/vaucanson/algebra/concept/semiring_base.hxx (op_parse):
	Rewrite using stringstream::eof() instead of assuming that tellg()
	will return 0 at the end (not the case with my compiler/libstdc++
	combination, most of the TAF-Kit tests were failing).

868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Update to gnulib 7d06b32684363a39fae65c616b84bc7589768106.

	* gnulib/dosname.h: New file.
	* gnulib/stdio-write.c, gnulib/strcasecmp.c, gnulib/strings.in.h,
	gnulib/strncasecmp.c, m4/asm-underscore.m4, m4/dos.m4,
	m4/strcase.m4, m4/strings_h.m4: Delete.
	* build-aux/arg-nonnull.h, build-aux/c++defs.h,
	build-aux/warn-on-use.h, gnulib/alloca.c, gnulib/alloca.in.h,
	gnulib/argp-ba.c, gnulib/argp-eexst.c, gnulib/argp-fmtstream.c,
	gnulib/argp-fmtstream.h, gnulib/argp-fs-xinl.c, gnulib/argp.h,
	gnulib/argp-help.c, gnulib/argp-namefrob.h, gnulib/argp-parse.c,
	gnulib/argp-pin.c, gnulib/argp-pv.c, gnulib/argp-pvh.c,
	gnulib/argp-xinl.c, gnulib/asnprintf.c, gnulib/basename-lgpl.c,
	gnulib/dirname.h, gnulib/dirname-lgpl.c, gnulib/errno.in.h,
	gnulib/float+.h, gnulib/float.in.h, gnulib/getopt1.c,
	gnulib/getopt.c, gnulib/getopt.in.h, gnulib/getopt_int.h,
	gnulib/gettext.h, gnulib/intprops.h, gnulib/Makefile.am,
	gnulib/malloc.c, gnulib/memchr.c, gnulib/mempcpy.c,
	gnulib/printf-args.c, gnulib/printf-args.h, gnulib/printf-parse.c,
	gnulib/printf-parse.h, gnulib/progname.c, gnulib/progname.h,
	gnulib/rawmemchr.c, gnulib/size_max.h, gnulib/sleep.c,
	gnulib/stdbool.in.h, gnulib/stddef.in.h, gnulib/stdint.in.h,
	gnulib/stdio.in.h, gnulib/stdlib.in.h, gnulib/strchrnul.c,
	gnulib/strerror.c, gnulib/string.in.h, gnulib/stripslash.c,
	gnulib/strndup.c, gnulib/strnlen.c, gnulib/sysexits.in.h,
	gnulib/unistd.in.h, gnulib/vasnprintf.c, gnulib/vasnprintf.h,
	gnulib/verify.h, gnulib/vsnprintf.c, gnulib/wchar.in.h adl@haze,
	gnulib/xsize.h, m4/00gnulib.m4, m4/alloca.m4, m4/argp.m4,
	m4/dirname.m4, m4/double-slash-root.m4, m4/errno_h.m4,
	m4/extensions.m4, m4/float_h.m4, m4/getopt.m4, m4/gnulib-cache.m4,
	m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4,
	m4/include_next.m4, m4/intmax_t.m4, m4/inttypes_h.m4,
	m4/longlong.m4, m4/malloc.m4, m4/memchr.m4, m4/mempcpy.m4,
	m4/mmap-anon.m4, m4/multiarch.m4, m4/printf.m4, m4/rawmemchr.m4,
	m4/size_max.m4, m4/sleep.m4, m4/stdbool.m4, m4/stddef_h.m4,
	m4/stdint_h.m4, m4/stdint.m4, m4/stdio_h.m4, m4/stdlib_h.m4,
	m4/strchrnul.m4, m4/strerror.m4, m4/string_h.m4, m4/strndup.m4,
	m4/strnlen.m4, m4/sysexits.m4, m4/unistd_h.m4, m4/vasnprintf.m4,
	m4/vsnprintf.m4, m4/warn-on-use.m4, m4/wchar_h.m4, m4/wchar_t.m4,
	m4/wint_t.m4, m4/xsize.m4: Update.

911
912
913
914
915
2011-04-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/vaucanson/algorithms/reduce.hxx (semi_reduce): Check
	precondition.

916
917
918
919
920
921
922
923
924
925
926
927
2011-04-26  Fiette Guillaume <fiette@lrde.epita.fr>

	Add the is_realtime precondition to the new algorithms.

	* include/vaucanson/algorithms/factor.hxx,
	include/vaucanson/algorithms/prefix.hxx,
	include/vaucanson/algorithms/suffix.hxx: Add the precondition.
	* lib/generate_libvcsn.rb,
	taf-kit/src/cmd_gen.cc,
	taf-kit/src/cmd_wt.cc: Do not include these
	algorithms for transducers.

928
929
930
931
932
933
934
935
936
2011-04-26  Fiette Guillaume <fiette@lrde.epita.fr>

	Add the new algorithms to taf-kit.

	* include/Makefile.am,
	include/vaucanson/contexts/automaton_functions.thh,
	taf-kit/src/cmd_gen.cc: The commands currently work with
	any automaton because of a problem with is_realtime.

937
938
939
940
941
942
943
944
945
946
947
2011-04-26  Fiette Guillaume <fiette@lrde.epita.fr>

	Add the suffix and factor algorithms.

	* include/vaucanson/algorithms/factor.hh,
	include/vaucanson/algorithms/factor.hxx: Implement the
	factor algorithm.
	* include/vaucanson/algorithms/suffix.hh,
	include/vaucanson/algorithms/suffix.hxx: Implement the
	suffix algorithm.

Guillaume Fiette's avatar
Guillaume Fiette committed
948
949
950
951
952
953
954
955
2011-04-26  Fiette Guillaume <fiette@lrde.epita.fr>

	Add the prefix algorithm.

	* include/vaucanson/algorithms/prefix.hh,
	include/vaucanson/algorithms/prefix.hxx: Implementation of the
	prefix algorithm.

Guillaume Fiette's avatar
Guillaume Fiette committed
956
957
958
959
2011-04-07  Guillaume Fiette  <fiette@lrde.epita.fr>

	Update ChangeLog.

David Moreira's avatar
David Moreira committed
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update file, for compilable with the RationalNumber.

        * vcsn/algebra/implementation/semiring/tropical_semiring.hxx:
    	The construction of null value is generic. RationalNumber
    	interface is available for this file.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update Numerical test for accept RationalNumber.

	* src/tests/include/tests/algebra/numerical_semiring/numerical_semiring_test.hh:
	Update the test. Now, the test accumulator is a float. The Overflow for the
	RationalNumber is deleted.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Add RationalNumber type for Xml reading.

	The Rational Number are defined on the Xml with the 'Q' letters.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update Generate for tests suites. Add RationalNumber.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Delete old contexts for RationalNumber class.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update Test for RationalNumber taf-kit.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update Context for RationalNumber class Tests.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Delete old interface for RationalNumber class.

        * include/vaucanson/algebra/implementation/semiring/rational_number.hh:
        Delete dead code for RationalNumber class.
        * include/vaucanson/algebra/implementation/semiring/rational_number.hxx:
        Delete dead code for RationalNumber class.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Correct bug in RationalNumber class.

	* include/vaucanson/algebra/implementation/semiring/q_number.hxx:
    	Correct bug for operator>> in the class RationalNumber.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Update op_parse specialized for RationalNumber
        * vcsn/algebra/implementation/semiring/numerical_semiring.hxx
        Write op_parse for accept Integer number (ie without the denominator
    	part).

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Optmize RationalNumber and correct bugs.
    	Fix Bugs:
    	* include/vaucanson/misc/algebra.hh:
    	* include/vaucanson/misc/algebra.hxx:
    		Fix the random Number.
    		Delete old version.
    	* include/vaucanson/algebra/implem/semiring/q_number.hh:
    	* include/vaucanson/algebra/implem/semiring/q_number.hxx:
    	Optimize multiplication, division, addition and soustraction.
    	Optimize comment for test debug.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Add context for test in src/test/test-suites
    	Add:
    	* algebra_numerical_semiring_q.defs
    	* algebra_tropical_semiring_max_q.defs
    	* algebra_tropical_semiring_min_q.defs

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Clean Rational Number files. Fix misc/random.hxx.

    	* vcsn/algebra/implementation/semiring/numerical_semiring.hxx
    	* include/vaucanson/algebra/implementation/semiring/q_number.hh
    	* include/vaucanson/algebra/implementation/semiring/q_number.hxx
    	Move gcd, lcm and is_coprime in misc/algebra.hh.
    	Must update misc/random.hxx on RationalNumber generate:
    	* include/vaucanson/misc/random.hxx

    	Delete for clean:
    	* include/vaucanson/algebra/implementation/semiring/q_semiring.hh

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Add test for Rational Number

    	Modified for include Rational Number test:
    	* configure.ac
    	* include/Makefile.am
    	* taf-kit/tests/Makefile.am
    	Add the Rational Number test:
    	* taf-kit/tests/vcsn-char-q.test

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Clean operator on Prime Number.

    	Delete :
    	* include/vaucanson/misc/algebra.cc
    	Add & Clean :
    	* include/vaucanson/misc/algebra.hh
    	* include/vaucanson/misc/algebra.hxx

2011-03-24  David Moreira <moreira@lrde.epita.fr>
	Fix reduce.hh bug

    	* include/vaucanson/algorithms/reduce.hxx: Fix bug.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Add Rational Number. Fix op_parse for RationalNumber class

    	op_parse must be specialized for RationalNumber.
    	Change Makefile.am and rb script for generate RationalNumber's
    	tak-kits.

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Include Rational Number on the projet

    	Modified file for compile into the project.
    	Include to tak-kit

    	Do not compile cause an undifined operator>>

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Create algreba.hh file in misc/ for prime number operation.

    	Implement gcd, lcm and is_coprime

2011-03-24  David Moreira <moreira@lrde.epita.fr>

	Rational Number impletation.

    	Add Header of rational number with the following file :
    	include/vaucanson/algebra/implementation/semiring/q_number.hh
    	Implementation on the following file :
    	include/vaucanson/algebra/implementation/semiring/q_number.hxx

Guillaume Fiette's avatar
Guillaume Fiette committed
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
2011-02-22  Guillaume Fiette  <fiette@lrde.epita.fr>

	Fix the semi_reduce algorithm.

	* include/vaucanson/algorithms/reduce.hxx: Fixed semi_reduce ()
	for make check. Make check failed because semi-reduce did not
	check for the automaton to be realtime.

2011-03-03  Guillaume Fiette  <fiette@lrde.epita.fr>

	Z/2Z semiring now uses booleans instead of integers.

	* algebra/implementation/semiring/cyclic_semiring.hxx,
	algebra/implementation/semiring/cyclic_semiring.hh: Specialized
	the cyclic semiring implementation for Z/2Z (Z/nZ with n = 2)
	using booleans.
	* include/vaucanson/contexts/z2z_semiring.thh: Modified the Z/2Z
	context accordingly.

2011-03-02  Guillaume Fiette  <fiette@lrde.epita.fr>

	* taf-kit/tests/vcsn-char-z2z.test: Tests on Z/2Z are now valid.

2011-03-02  Guillaume Fiette  <fiette@lrde.epita.fr>

	Fix the quotient algorithm.

	* algorithms/minimization_hopcroft.hxx: Fix the quotient
	algorithm so it does not add transitions labeled by zero.
	This can happenens while working on a Z/2Z semiring.
	* xml/builders.hxx: Added a FIXME in the writer.

2011-03-02  Guillaume Fiette  <fiette@lrde.epita.fr>

	Fix bugged operations in the cyclic semiring.

	* algebra/implementation/semiring/cyclic_semiring.hxx: Fixed
	some bugged operations (op_in_star and choose_non_starable).

2011-02-20  Guillaume Fiette  <fiette@lrde.epita.fr>

	Deleted useless files.

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	More tests for the Z/2Z semiring.

	* taf-kit/tests/vcsn-char-z2z.test: Test for the Z/2Z
	semiring. Does not work as said before, but don't
	know why yet.

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	Add tests for the cyclic semiring in taf-kit.

	* configure.ac
	* src/tests/test-suites/generate-all.sh
	* taf-kit/tests/Makefile.am: Add tests for the Z/nZ
	semiring. Not working yet, seems there is a problem
	with the "proper" command during tests.

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	Fix some operations of the Z/2Z semiring.

	* Makefile.am: Add some missing dependencies.
	* implementation/semiring/cyclic_semiring.hxx: Modify basic
	operations (+, *, -, ...) to make them more generic and
	exact. Negative numbers are handled, but results will
	always be positive (positive equivalent modulo n).

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	Modification of Makefiles and scripts for the Z/2Z
	automaton.

	* include/Makefile.am: Added new .hh and .hxx to dependencies.
	* lib/Makefile.am: Added the new library vcsn-z2z to
	compilation process.
	* lib/generate_libvcsn.rb: Added the new z2z context, so that
	the Makefile for the library compilation is produced.
	* taf-kit/src/Makefile.am: Added the commands needed for
	the vcsn-char-z2z executable to be produced.

	Next step is to add tests.

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	Creation of a new context for Z/2Z semirings.

	* automata/generic_contexts/z2z_automaton.hh,
	automata/generic_contexts/z2z_automaton_structures.hh,
	contexts/z2z_semiring.thh,
	z2z_automaton.hh,
	z2z_automaton_structures.hh: Creation of a new context for
	automatons using the Z/2Z semiring. This is a restricted
	use of CyclicSemiring, representing Z/nZ. It uses
	integers for now. Any new automaton based on CyclicSemiring
	can be createdin the exact same way.

2011-02-19  Guillaume Fiette  <fiette@lrde.epita.fr>

	Beginning of the implementation of the new Z/2Z semiring.

	* implementation/semiring/cyclic_semiring.hh,
	implementation/semiring/cyclic_semiring.hxx: Implementation
	of the new cyclic semiring. This is a generic semiring over Z/nZ.
	Currently, most of the operations implemented might not be valid
	in some cases. Need more documentation as well.
	* algebra/concept/cyclic_semiring.hh,
	algebra/concept/cyclic_semiring.hxx: The concept associated to
	the new cyclic semiring. Might need some more documentation.

1227
1228
1229
1230
1231
1232
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/tests/vcsn-char-r.test: remove the power(C_1^n) test
	case for n=5, it does not pass on all processors due to rounding
	issues.

1233
1234
1235
1236
1237
1238
1239
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/vaucanson/algorithms/reduce.hxx (semi_reduce): Rename
	the two-argument version into...
	(do_semi_reduce): ... this to avoid complaint from sanity/hhck.
	Also fixup whitespace in the whole file.

1240
1241
1242
1243
1244
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/vaucanson/contexts/r_semiring.thh: Store values as
	double for better precision.

1245
1246
1247
1248
2011-01-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/tests/vcsn-char-r.test: Add more tests for reduce.

1249
1250
1251
1252
1253
2011-01-27  Sylvain Lombardy  <lombardy@univ-mlv.fr>

	* include/vaucanson/algorithms/reduce.hh,
	include/vaucanson/algorithms/reduce.cc: Rewrite.

1254
1255
2011-01-20  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

1256
	Fix multiple XML errors.  All but the first one are in the test
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
	suite.

	* include/vaucanson/xml/contexts/rw.hxx: Add missing type=numerical.
	* include/vaucanson/xml/regexp.hh: Typo in comment.
	* src/tests/common/xmldiff.sh: Make it a bit stronger.  The previous
	implementation would only test the inclusion of the set of line
	of one file into the set of lines of the other (i.e. without doing
	the reverse check, and ignoring duplicates).
	* src/tests/xml/int_fmp_ref.xml: Fix genSort to read 'integers' and
	not 'letters'.
	* src/tests/xml/int_trans_ref.xml,
	src/tests/xml/int_z_trans_ref.xml, src/tests/xml/trans_ref.xml,
	src/tests/xml/z_trans_ref.xml: Fix some syntax errors in the XML.
	* src/tests/xml/int_z_max_plus_ref.dot,
	src/tests/xml/int_z_min_plus_ref.dot,
	src/tests/xml/z_max_plus_ref.dot,
	src/tests/xml/z_min_plus_ref.dot: Adjust output to the recent
	changes about the way zmin and zmax weights are printed.
	* src/tests/xml/xml_int_trans_tester.cc,
	src/tests/xml/xml_int_z_trans_tester.cc,
	src/tests/xml/xml_trans_tester.cc,
	src/tests/xml/xml_z_trans_tester.cc: The default series is 0, so
	don't use that as a label, use the identity instead.

Alexandre Duret-Lutz's avatar
*...    
Alexandre Duret-Lutz committed
1281
1282
1283
1284
2011-01-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tests/include/tests/automata/implementation_check/epsilon_label_representation_test.hh (epsilon_label_representation_test): Honor show_identity_value.

1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
2011-01-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix many errors reported by clang++.

	* include/vaucanson/algebra/implementation/series/krat_exp_is_finite_app.hxx,
	include/vaucanson/algebra/implementation/series/krat_exp_pattern.hh,
	include/vaucanson/algebra/implementation/series/krat_exp_support.hxx,
	include/vaucanson/algebra/implementation/series/krat_exp_transpose.hxx,
	include/vaucanson/algorithms/aci_canonical.hxx,
	include/vaucanson/algorithms/derived_term_automaton.hxx,
	include/vaucanson/algorithms/krat_exp_constant_term.hxx,
	include/vaucanson/algorithms/krat_exp_derivation.hxx,
	include/vaucanson/algorithms/krat_exp_expand.hxx,
	include/vaucanson/algorithms/krat_exp_flatten.hxx,
	include/vaucanson/algorithms/krat_exp_linearize.hxx,
	include/vaucanson/algorithms/krat_exp_realtime.hxx,
	include/vaucanson/algorithms/standard_of.hxx,
	include/vaucanson/design_pattern/element.hxx,
	include/vaucanson/misc/deferrer.hxx: Prefix template-dependant
	method calls with this->.
	* include/vaucanson/algebra/implementation/series/krat_exp_parser.hxx,
	include/vaucanson/contexts/automaton_maker.thxx: Do not repeat
	default argument at definition time.
	* include/vaucanson/algorithms/berry_sethi.hxx: Do not rely on the
	operator= for Exp, use a constructor.

1311
1312
1313
1314
1315
2011-01-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* src/tests/bin/generate-test-suite.sh (test_dirs): Exclude
	names containing '#', such as emacs temporary files.

1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
2011-01-13  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Delete the concatenate algorithm.

	concat_of_standard() can be used instead.

	* include/vaucanson/algorithms/concatenate.hh,
	include/vaucanson/algorithms/concatenate.hxx,
	src/tests/include/tests/automata/algos/label_aware_graphs/concat_test.hh,
	src/tests/include/tests/automata/algos/label_aware_graphs/in_concat_test.hh:
	Delete these files.
1327
	* include/Makefile.am, src/tests/include/Makefile.am,
1328
1329
	include/vaucanson/contexts/automaton_functions.thh: Adjust.

1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
2011-01-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Print {0} weights in zmin and zmax contexts.

	* include/vaucanson/algebra/implementation/semiring/numerical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hh,
	include/vaucanson/algebra/implementation/semiring/tropical_semiring.hxx,
	include/vaucanson/algebra/implementation/series/krat.hh,
	include/vaucanson/algebra/implementation/series/krat.hxx
	(show_identity_value): New function to distinguish between
	semirings where the 1 must be shown and semiring where it is
	superfluous.
	* include/vaucanson/algebra/implementation/series/polynoms.hxx
	(op_rout): Call show_identity_value() to decide whether to print
	the identity or not.
	* taf-kit/tests/vcsn-char-zmin.test: Make sure {0} is printed.

1348
1349
1350
1351
1352
1353
1354
1355
1356
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make aut-to-exp commands for DMChooser/HChooser/DefaultChooser.

	* include/vaucanson/algorithms/aut_to_exp.hh: Add INTERFACE
	for HChooser.
	* taf-kit/src/cmd_gen (aut_to_exp_DM, aut_to_exp_SO): New functions.
	* taf-kit/tests/vcsn-int-fmp-z.test: Use aut-to-exp-DM.

1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Ask for weight when declaring initial and final states in automata
	on tropical semirings.

	* taf-kit/src/Makefile.am (vcsn_char_zmax_CPPFLAGS,
	vcsn_char_zmin_CPPFLAGS): Add -DWITH_WEIGHTS.
	* taf-kit/tests/vcsn-char-zmax.test,
	taf-kit/tests/vcsn-char-zmin.test: Adjust.

1367
1368
1369
1370
1371
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/src/main.cc (namespace): Mention the monoids
	in the descroption of -a -A -P and -Q.

1372
1373
1374
1375
1376
1377
1378
1379
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Keep enumerate and shortest for boolean automata only, until
	their implementation is generalized.

	* taf-kit/src/cmd_wt.cc (enumerate, shortest): Move ...
	* taf-kit/src/cmd_b.cc (enumerate, shortest): ... here.

1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
2011-01-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Sort command groups as in the manual.

	* taf-kit/src/cmd_b.cc, taf-kit/src/cmd_fmp.cc,
	taf-kit/src/cmd_r.cc, taf-kit/src/cmd_gen.cc,
	taf-kit/src/cmd_io.cc, taf-kit/src/cmd_pair.cc: Number command
	groups.
	* taf-kit/src/commands.cc (command_map::list): Strip the number
	from the command groups.

1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
2010-12-02  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix a segfault in reduce().

	* include/vaucanson/algorithms/reduce.hxx (left_reduce): Fix what
	seems to be misplaced resize and that was causing segfault or
	illegal reads on some machines.
	* taf-kit/tests/vcsn-char-r.test: Add a test case suggested by
	Jacques Sakarovitch.

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

	Change the 'list-automata' command as a '--list-automata' option.

	* taf-kit/src/main.cc (options, parse_opt): Add an option
	--list-automata.
	* taf-kit/src/cmd_io.cc (list_automata): Undeclare as a command.
	* taf-kit/src/library_commands.hh (get_automata_path,
	list_automata_command): Do not take the useless args argument.
	* taf-kit/tests/vcsn-char-b.test: Adjust usage.
	* taf-kit/tests/vcsn-char-b.test,
	taf-kit/tests/vcsn-char-char-b.test,
	taf-kit/tests/vcsn-char-char-z.test,
	taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-char-int-b.test,
	taf-kit/tests/vcsn-char-z.test, taf-kit/tests/vcsn-int-b.test,
	taf-kit/tests/vcsn-int-fmp-b.test,
	taf-kit/tests/vcsn-int-fmp-z.test,
	taf-kit/tests/vcsn-int-int-b.test,
	taf-kit/tests/vcsn-int-int-z.test, taf-kit/tests/vcsn-int-z.test:
	Grep for 'alphabet.*predefined' instead of just 'predefined',
	because the latter occur in the help message for --list-automata.

1425
1426
1427
1428
1429
1430
1431
1432
2010-11-19  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Avoid boost::lexical_cast.

	* taf-kit/src/getters.cc (get_unsigned): Use std::stringstream for
	the conversion instead of boost::lexical_cast.  This removes one
	unnecessary dependency on Boost.

1433
1434
1435
1436
2010-11-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/src/getters.cc (locate_file): Typo.

1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
2010-11-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Move the partial-identity command into the weighted TAF-Kit
	instances.

	* taf-kit/src/cmd_fmp.cc (partial_identity_command): Move...
	* taf-kit/src/cmd_wt.cc [FMPI_CONTEXT] (partial_identity_command):
	... here.
	* taf-kit/src/getters.cc: Include xml/contexts/fmp.hh if
	FMPI_CONTEXT is defined.
	* taf-kit/src/pipe.hh, taf-kit/src/pipe_writers.hh,
	taf-kit/src/pipe_writers.hxx: Add machinery to store FMP automata
	in the FMPI_CONTEXT.
	* taf-kit/src/Makefile.am: Define FMPI_CONTEXT and include
	the relevant library for all weighted automata that have
	an associated FMP context.
	* taf-kit/tests/vcsn-int-fmp-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test: Adjust calls to partial-identity.

1456
1457
1458
1459
1460
1461
1462
2010-11-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Move the pair-to-fmp command into the "pair" TAF-Kit instances.

	* taf-kit/src/cmd_fmp.cc (pair_to_fmp_command): Move ...
	* taf-kit/src/cmd_pair.cc [FMP_CONTEXT] (pair_to_fmp_command):
	... here.
1463
1464
	* taf-kit/src/getters.cc: Include xml/context fmp.hh if
	FMP_CONTEXT is set.
1465
1466
1467
1468
1469
1470
	* taf-kit/src/pipe.hh, taf-kit/src/pipe_writers.hh,
	taf-kit/src/pipe_writers.hxx: Add machinery to store FMP automata.
	* taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-int-fmp-z.test: Adjust test cases.  pair-to-fmp
	is now in the vcsn-char-char-b or vcsn-int-int-z instance.

1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
2010-11-10  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Create vcsn-char-char-b and vcsn-int-int-z.

	This is so that we can still test ltl-to-pair/pair-to-fmp after
	next patch.

	* configure.ac: Output taf-kit/tests/vcsn-char-char-z and
	taf-kit/tests/vcsn-int-int-z.
	* taf-kit/src/Makefile.am (vcsn-char-char-b, vcsn-int-int-z):
	Build these.
	* taf-kit/tests/vcsn-char-char-z.test,
	taf-kit/tests/vcsn-int-int-z.test: New files.
	* taf-kit/tests/Makefile.am (TESTS): Add them.

1486
1487
1488
1489
1490
1491
1492
1493
2010-11-09  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix failing krat_exp_linearize_structure-test.

	* src/tests/include/tests/algebra/series/krat/main/krat_exp_linearize_structure_test.hh
	(krat_exp_linearize_structure_test): Filter the linearized
	expression by hand, not using a hackish redefinition of <<.

1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
2010-11-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Kill an infinite loop observed with
	algebra_series_krat_bool_string/krat_exp_linearize_structure-test.

	* include/vaucanson/algebra/implementation/monoid/str_words.hh,
	include/vaucanson/algebra/implementation/monoid/str_words.hxx
	(op_rout): Add second and third template parameters to
	std::basic_string<...>, otherwise
	algebra_series_krat_bool_string/krat_exp_linearize_structure-test
	goes into an infinite loop with FreeMonoidBase's op_rout()
	calling itself because it does not find the appropriate
	specialization.

1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
2010-11-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Refuse "edit -", and honor the search path when editing automata.

	Partly based on previous patch by Alex Hamelin.

	* taf-kit/src/edition_commands.hxx (edit_command): Refuse "-" as
	argument, and honor the search path when loading automata.
	* taf-kit/src/library_commands.hh (get_automata_path): Do not
	warn about missing directories.
	* taf-kit/src/getters.cc, taf-kit/src/getters.hh (file_exists,
	locate_file): Make these functions public.

1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
2010-11-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make aut-to-exp work on FMP transducers.

	* include/vaucanson/algebra/implementation/series/rat/dump_visitor.hxx
	(DumpVisitor::DumpVisitor): Take a reference to the monoid and store
	it.
	(DumpVisitor::constant): Use the monoid's op_rout() function
	to output the term.
	* include/vaucanson/algebra/implementation/series/krat.hxx
	(op_rout): Adjust call to DumpVisitor.
	* include/vaucanson/automata/generic_contexts/boolean_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/fmp_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/int_boolean_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/int_fmp_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/int_z_fmp_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/int_z_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/z_fmp_transducer_structures.hh,
	include/vaucanson/automata/generic_contexts/z_transducer_structures.hh:
	Always include <vaucanson/contexts/generic_series.thh> instead
	of <vaucanson/contexts/polynom_series.thh>.
	* include/vaucanson/contexts/fmp_transducer_maker.thh,
	include/vaucanson/contexts/fmp_transducer_maker.thxx (aut_to_exp):
	New function.
	* include/vaucanson/contexts/transducer_maker.thxx
	(make_automaton_set): New function.
	(make_automaton): Use it.
	* include/vaucanson/xml/contexts/fmp.hh
	(create_type_writingData_node, create_monoid_node): Add
	specializations for FMP.
	* include/vaucanson/xml/contexts/fmp.hxx
	(create_type_writingData_node, create_monoid_node): Overhaul so they
	can work on automata or rational expressions.
	* lib/generate_libvcsn.rb: Enable aut_to_exp.hh in transducer
	contexts.
	* taf-kit/src/cmd_wt.cc (aut_to_exp_command): Move ...
	* taf-kit/src/cmd_gen.cc (aut_to_exp_command): ... here.
	* taf-kit/src/pipe.hh, taf-kit/src/pipe_writers.hh,
	taf-kit/src/pipe_writers.hxx: Always support rat_exp_t.
	* taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-int-fmp-z.test: Add simple tests for aut-to-exp.

Alex Hamelin's avatar
Alex Hamelin committed
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
2010-10-19  Alex Hamelin  <hamelin@lrde.epita.fr>

	Remove deprecated files.

	* include/Makefile.am,
	include/vaucanson/xml/contexts/max_plus.hh,
	include/vaucanson/xml/contexts/max_plus.hxx,
	include/vaucanson/xml/contexts/min_plus.hh,
	include/vaucanson/xml/contexts/min_plus.hxx,
	src/tests/xml/xml_automaton_tester.cc: Remove xml max_plus and min_plus
	specific contexts.

1575
1576
1577
1578
1579
1580
1581
2010-10-19  Alex Hamelin  <hamelin@lrde.epita.fr>

	Fix xml issue for tropical semirings.

	* include/vaucanson/xml/builders.hxx (get_semiring_operations): Add two
	specialization on tropical semirings.

1582
1583
1584
1585
1586
1587
1588
1589
1590
2010-10-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Let TAF-Kit warn when an edited automaton is saved without initial
	or final states.

	* taf-kit/src/edition_commands.hxx (check_common_errors): New function.
	(ask_and_treat_choice): Call check_common_errors before saving.
	Also remove all uses of the CHOICE_COMMAND macro.

1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
2010-10-23  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Report an error when attempting to read an empty file, and
	homogenize exit values.

	* taf-kit/src/getters.cc (file_exists, locate_file): New functions
	that signal an error when reading an empty file.
	(get_exp, get_aut, get_boolean_aut, get_pair_aut): Use locate_file.
	(get_unsigned): exit(1) on error.
	* taf-kit/tests/vcsn-char-b.test: Add a simple test.

1602
1603
1604
1605
2010-10-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make sure that config.hh is always included first by including
	common.hh (which includes config.hh) first in all files.
1606

1607
1608
1609
1610
1611
1612
1613
1614
	* taf-kit/src/commands.hh: Include common.hh and getters.hh.
	* taf-kit/src/cmd_fmp.cc, taf-kit/src/cmd_gen.cc,
	taf-kit/src/cmd_io.cc, taf-kit/src/cmd_pair.cc,
	taf-kit/src/cmd_r.cc, taf-kit/src/cmd_wt.cc,
	taf-kit/src/commands.cc: Simplify. Since these include
	commands.hh, they do not need to include common.hh and getters.hh.

2010-10-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663

	Update to gnulib a1885e2dc2a8f1c79ead4e6ceca1a53827b89048.

	* build-aux/link-warning.h, gnulib/basename.c, gnulib/error.c,
	gnulib/error.h, gnulib/exitfail.c, gnulib/exitfail.h,
	gnulib/xalloc-die.c, gnulib/xalloc.h, gnulib/xmalloc.c,
	gnulib/xstrndup.c, gnulib/xstrndup.h, m4/error.m4, m4/exitfail.m4,
	m4/inline.m4, m4/wchar.m4, m4/xalloc.m4, m4/xstrndup.m4: Delete
	all these files.
	* build-aux/arg-nonnull.h, build-aux/c++defs.h,
	build-aux/warn-on-use.h, gnulib/basename-lgpl.c, gnulib/memchr.c,
	gnulib/memchr.valgrind, gnulib/stddef.in.h, gnulib/verify.h,
	m4/asm-underscore.m4, m4/memchr.m4, m4/mmap-anon.m4,
	m4/stddef_h.m4, m4/warn-on-use.m4, m4/wchar_h.m4: New files.
	* build-aux/.gitignore, gnulib/alloca.c, gnulib/alloca.in.h,
	gnulib/argp-ba.c, gnulib/argp-eexst.c, gnulib/argp-fmtstream.c,
	gnulib/argp-fmtstream.h, gnulib/argp-fs-xinl.c, gnulib/argp.h,
	gnulib/argp-help.c, gnulib/argp-namefrob.h, gnulib/argp-parse.c,
	gnulib/argp-pin.c, gnulib/argp-pv.c, gnulib/argp-pvh.c,
	gnulib/argp-xinl.c, gnulib/asnprintf.c, gnulib/dirname.h,
	gnulib/errno.in.h, gnulib/float+.h, gnulib/float.in.h,
	gnulib/getopt1.c, gnulib/getopt.c, gnulib/getopt.in.h,
	gnulib/getopt_int.h, gnulib/gettext.h, gnulib/intprops.h,
	gnulib/Makefile.am, gnulib/malloc.c, gnulib/mempcpy.c,
	gnulib/printf-args.c, gnulib/printf-args.h, gnulib/printf-parse.c,
	gnulib/printf-parse.h, gnulib/progname.c, gnulib/progname.h,
	gnulib/rawmemchr.c, gnulib/size_max.h, gnulib/sleep.c,
	gnulib/stdbool.in.h, gnulib/stdint.in.h, gnulib/stdio.in.h,
	gnulib/stdio-write.c, gnulib/stdlib.in.h, gnulib/strcasecmp.c,
	gnulib/strchrnul.c, gnulib/strerror.c, gnulib/string.in.h,
	gnulib/strings.in.h, gnulib/stripslash.c, gnulib/strncasecmp.c,
	gnulib/strndup.c, gnulib/strnlen.c, gnulib/sysexits.in.h,
	gnulib/unistd.in.h, gnulib/vasnprintf.c, gnulib/vasnprintf.h,
	gnulib/vsnprintf.c, gnulib/wchar.in.h, gnulib/xsize.h,
	m4/00gnulib.m4, m4/alloca.m4, m4/argp.m4, m4/dirname.m4,
	m4/dos.m4, m4/double-slash-root.m4, m4/errno_h.m4,
	m4/extensions.m4, m4/float_h.m4, m4/getopt.m4, m4/gnulib-cache.m4,
	m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4,
	m4/include_next.m4, m4/intmax_t.m4, m4/inttypes_h.m4,
	m4/longlong.m4, m4/malloc.m4, m4/mempcpy.m4, m4/multiarch.m4,
	m4/printf.m4, m4/rawmemchr.m4, m4/size_max.m4, m4/sleep.m4,
	m4/stdbool.m4, m4/stdint_h.m4, m4/stdint.m4, m4/stdio_h.m4,
	m4/stdlib_h.m4, m4/strcase.m4, m4/strchrnul.m4, m4/strerror.m4,
	m4/string_h.m4, m4/strings_h.m4, m4/strndup.m4, m4/strnlen.m4,
	m4/sysexits.m4, m4/unistd_h.m4, m4/vasnprintf.m4, m4/vsnprintf.m4,
	m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4: Update.
	* gnulib/dirname.c: Rename as ...
	* gnulib/dirname-lgpl.c: ... this.

1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
2010-09-30  Alex Hamelin  <hamelin@lrde.epita.fr>

	Add a Boost Spirit compatibility macro to TAF-Kit.

	* taf-kit/src/Makefile.am: Add
	taf-kit/src/boost_spirit_compatibility.hh.
	* taf-kit/src/boost_spirit_compatibility.hh (VCSN_SPIRIT_CLASSIC):
	Define a new macro handling namespace changes which occurred in the
	last versions of Boost Spirit.
	* taf-kit/src/getters.cc, taf-kit/src/parser_options.hh,
	taf-kit/src/parser_options.hxx: Use VCSN_SPIRIT_CLASSIC macro.

1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make is-unambiguous available to all TAF-Kit instance on free
	monoids.

	* taf-kit/src/cmd_b.cc (is_unambiguous_command): Move ...
	* taf-kit/src/cmd_wt.cc (is_unambiguous_command): ... here.
	* taf-kit/tests/vcsn-char-zmin.test: Add tests
	for is-unambiguous.

1686
1687
1688
1689
1690
1691
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	"commands_macros.hh" no longer exist.

	* taf-kit/src/Makefile.am (COMMON_SOURCES): Remove commands_macros.hh.

1692
1693
1694
1695
1696
1697
1698
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Use sections in -l and -L.

	* taf-kit/src/commands.cc (list): Display commands section by
	section.

1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Cleanup op_is_atom() declarations.  This also avoid an infinite
	loop with op_is_atom() from monoid_base.hxx possibly calling
	itself when no implementation matches.

	* include/vaucanson/algebra/concept/monoid_base.hh,
	include/vaucanson/algebra/concept/monoid_base.hxx (is_atom,
	op_is_atom): Remove from the abstract interface.  It needs only
	to be in the implementation interface.
	* include/vaucanson/algebra/implementation/monoid/pair_str_words.hh,
	include/vaucanson/algebra/implementation/monoid/pair_str_words.hxx,
	include/vaucanson/algebra/implementation/monoid/str_words.hh,
	include/vaucanson/algebra/implementation/monoid/str_words.hxx
	(op_is_atop): Use the three template parameters of basic_string,
	otherwise some call to op_is_atom() will fail to find a matching
	function.

1717
1718
1719
1720
1721
1722
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make the hulden demo work with the new TAF-Kit commands.

	* taf-kit/demos/hulden/run.in: Adjust to the new semantics.

1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Declare commands on alphabets of pairs.

	* taf-kit/src/cmd_pair.cc: Fill in
	* taf-kit/src/Makefile.am (vcsn_char_char_b_SOURCES,
	vcsn_char_int_b_SOURCES, vcsn_int_int_b_SOURCES): Add cmd_pair.cc.
	* tests/vcsn-char-char-b.test, tests/vcsn-char-int-b.test,
	tests/vcsn-int-int-b.test: Adjust to new names.

1733
1734
1735
1736
1737
1738
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Include "reduce" in vcsn-char-r so it passes its tests.

	* taf-kit/src/cmd_r.cc: Fill in.
	* taf-kit/src/Makefile.am (vcsn_char_r_SOURCES): Add cmd_r.cc.
1739
	* taf-kit/tests/vcsn-char-r.test: Adjust to new names.
1740

1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Augment the list of FMP commands and update the tests cases
	for TAF-Kit's FMP instances.

	* taf-kit/src/cmd_fmp.cc (is_normalized, normalized, to_rw):
	Add as hidden commands.
	(transpose, domain, image): New commands.
	* taf-kit/src/getters.hh [WITH_TWO_ALPHABETS] (get_pair_aut,
	get_boolean_aut): Declare these functions.
	* taf-kit/src/Makefile.am (vcsn_char_fmp_b_SOURCES,
	vcsn_char_fmp_z_SOURCES, vcsn_int_fmp_b_SOURCES,
	vcsn_int_fmp_z_SOURCES): Add cmd_fmp.cc.
	* taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-int-fmp-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-int-fmp-z.test: Adjust to new command names.

1759
1760
1761
1762
1763
1764
1765
1766
1767
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Enable cmd_gen.cc to compile for TAF-Kit's FMP instances.

	* lib/generate_libvcsn.rb (standard.hh): Instanciate it also for
	transducers.
	* include/vaucanson/contexts/transducer.thh: Define the type
	gen_automaton_t in transducer contexts too.

1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
2010-10-07  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce op_is_atom() on all monoids, and use it.

	Some trivial simplification performed in krat_exp operations
	assumed words were defined over a free-monoid implemented as a
	string.  For instance the rewriting 'c{k} -> {k}c' was performed
	any time 'c' was a letter or a constant, but the concept of letter
	makes no sense if the monoid is not free.  Rewrite this code using
	op_is_atom() to be generic.

	* include/vaucanson/algebra/concept/monoid_base.hh,
	include/vaucanson/algebra/concept/monoid_base.hxx
	(monoid::is_atom, op_is_atom): New methods.
	* include/vaucanson/algebra/implementation/monoid/pair_str_words.hh,
	include/vaucanson/algebra/implementation/monoid/pair_str_words.hxx,
	include/vaucanson/algebra/implementation/monoid/str_words.hh,
	include/vaucanson/algebra/implementation/monoid/str_words.hxx
	(op_is_atom): Implement it for words and pairs of words.
	* include/vaucanson/algebra/implementation/series/krat.hxx
	(op_in_mul): Use op_is_atom() instead of checking the size of
	the node explicitly.

1791
1792
1793
1794
1795
1796
1797
2010-10-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/src/getters.hh, taf-kit/src/getters.hxx,
	taf-kit/src/library_commands.hh: Do not include
	vaucanson/xml/contexts/fmp.hh, it is only needed in getters.cc.
	* b/taf-kit/src/cmd_fmp.cc: Add missing includes.

1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
2010-10-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Define FMP commands.  (TAF-Kit instances for FMP do not yet
	compile, because many functions from cmd_gen.cc assume automata,
	not transducers.)

	* taf-kit/src/cmd_fmp.cc: Fill in.
	* taf-kit/src/cmd_gen.cc (aut_to_exp, expand, exp_to_aut): Move
	these...
	* taf-kit/src/cmd_io.cc (cat_E): ... and this ...
	* taf-kit/src/cmd_wt.cc: ... here, because rat_exp_t is not
	defined in FMP contexts.

1811
1812
1813
1814
1815
1816
1817
1818
1819
2010-10-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	vcsn-char-z and vcsn-int-z pass their tests.

	* taf-kit/src/cmd_wt.cc (realtime_E_command): New command (was
	realtime-exp and former version of TAF-Kit).
	* taf-kit/tests/vcsn-int-z.test, taf-kit/tests/vcsn-int-z.test:
	Adjust the test to the new name of the commands.

1820
1821
1822
1823
1824
1825
1826
1827
2010-09-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	vcsn-char-b and vcsn-int-b pass their tests.

	* taf-kit/tests/vcsn-char-b.test, taf-kit/tests/vcsn-int-b.test:
	Adjust the test to the new name of the commands.
	* taf-kit/src/Makefile.am: Update to compile vcsn-int-b.

1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
2010-09-30  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	This is an incomplete work on TAF-Kit.  Only vcsn-char-b is
	expected to compile, and the test suite should not pass because
	many TAF-Kit commands have been renamed.

	* taf-kit/src/interface.cc, taf-kit/src/interface.hh,
	taf-kit/src/b_commands.cc, taf-kit/src/b_commands.cc,
	taf-kit/src/commands_macros.hh,
	taf-kit/src/common_automaton_commands.hh,
	taf-kit/src/common_commands.hh, taf-kit/src/fmp_commands.cc,
	taf-kit/src/interface.cc, taf-kit/src/ratexp_commands.hh,
	taf-kit/src/z_commands.cc: Delete all these files.
	* cmd_io.cc, cmd_gen.cc, cmd_wt.cc, cmd_b.cc, cmd_r.cc,
	cmd_fmp.cc, cmd_pair.cc: New files to declare commands according
	to the sections of the manual.  The last three files are
	not yet filled.
	* taf-kit/src/commands.hh: Declare a new command_map interface.
	* taf-kit/src/commands.cc: New file.
	* taf-kit/src/getters.hh (write_aut, display_aut): New functions.
	* taf-kit/src/getters.hxx: Move most functions into ...
	* taf-kit/src/getters.cc: ... this new file, so they get compiled
	separately.
	* taf-kit/src/main.cc: Adjust to the new interface.
	* taf-kit/src/Makefile: Adjust only fo r

1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
2010-06-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Get rid of all command-defining macros.

	The handwritten definitions are slightly larger, but they are more
	readable and easier to debug and hack.

	* taf-kit/src/commands_macros.hh (NAME, ARG_KIND, ALGO, ALGOS)
	(CODE, RETURNVALUE, KEEP, PRINT_RESULT, OUTPUT, OUTPUT_ON_VERBOSE)
	(DEFINE_COMMAND_, DEFINE_COMMAND, DEFINE_ONE_ARG_COMMAND_)
	(DEFINE_ONE_ARG_COMMAND_TWO_ALGOS_, DEFINE_TWO_ARGS_COMMAND_)
	(DEFINE_IS_PROPERTY_COMMAND): Remove all these macros.
	* taf-kit/src/fmp_commands.cc, taf-kit/src/b_commands.cc,
	taf-kit/src/common_automaton_commands.cc,
	taf-kit/src/common_commands.hh, taf-kit/src/r_commands.cc,
	taf-kit/src/ratexp_commands.hh: Define all commands without this
	macros.

1872
1873
1874
1875
1876
1877
1878
1879
2010-06-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename global_result as g_res to simplify handwritten code.

	* taf-kit/src/commands_macros.hh, taf-kit/src/common.hh,
	taf-kit/src/common_automaton_commands.hh, taf-kit/src/getters.hxx,
	taf-kit/src/main.cc: Rename all instances.

1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
2010-06-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove init() and finalize() calls from PRINT_RESULT().

	* taf-kit/src/commands_macros.hh (PRINT_RESULT): Write directly to
	the stream.  Do not call global_result.init() and
	global_result.finalize().
	* taf-kit/src/common_automaton_commands.hh (enumerate): Likewise.
	* taf-kit/src/main.cc (main): Call global_result.finilize() after
	each command.
	* taf-kit/src/pipe.hh (init): Remove.
	* taf-kit/src/pipe.hxx (init): Remove.  Clearing the stream
	is done in finalize() if the stream has been used.
	(finalize): Check if the stream has received anything.  Dump it to
	the output if it is the case.

1896
1897
1898
1899
1900
1901
1902
1903
1904
2010-06-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Get rid of SET_RETURN_VALUE().

	* taf-kit/src/commands_macros.hh (DEFINE_COMMAND_): Do not
	call SET_RETURN_VALUE, the status of the command is already
	set in main() using the return value of execute_command().
	(SET_RETURN_VALUE): Delete.

1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
2010-05-31  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce is-normalized and normalized in TAF-Kit.

	* taf-kit/src/common_commands.hh: Define normalize and is-normalized.
	* taf-kit/src/common_automaton_commands.hh: List normalize.
	* taf-kit/src/b_commands.cc, taf-kit/src/r_commands.cc,
	taf-kit/src/z_commands.cc: List is-normalized.
	* taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-char-b.test: Add tests for is-normalized and
	normalize.

1917
1918
1919
1920
1921
1922
1923
1924
1925
2010-05-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename "eps-removal" as "proper".

	* taf-kit/src/common_automaton_commands.hh,
	taf-kit/src/common_commands.hh, taf-kit/src/fmp_commands.cc,
	taf-kit/tests/vcsn-char-r.test, taf-kit/tests/vcsn-int-fmp-z.test:
	Do it.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
2010-05-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce is_proper().

	* include/vaucanson/algorithms/eps_removal.hxx,
	include/vaucanson/algorithms/eps_removal.hh (do_is_proper,
	is_proper): New functions.
	* taf-kit/src/common_commands.hh (is_proper): New command.
	* taf-kit/src/b_commands.cc, taf-kit/src/fmp_commands.cc,
	taf-kit/src/r_commands.cc, taf-kit/src/z_commands.cc: Declare
	is-proper.
	* taf-kit/tests/vcsn-char-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test: Test is-proper.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1940
1941
1942
1943
1944
1945
1946
2010-05-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Simplify is_ltl().

	* include/vaucanson/algorithms/is_ltl.hxx (is_ltl): Simplify
	condition.

1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
2010-05-28  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Rename edit-automaton as edit, and make it explicit how to save.

	* taf-kit/src/common_commands.hh: Rename edit-automaton as edit.
	* taf-kit/src/edition_commands.hh,
	taf-kit/src/edition_commands.hxx: Rename edit_automaton_command()
	as edit_command(), and add replace "10. Exit" by "10. Save & exit"
	and "11. Exit".  (Students used to ask how to save the automaton.)
	* taf-kit/tests/vcsn-char-b.test,
	taf-kit/tests/vcsn-char-char-b.test,
	taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-char-int-b.test,
	taf-kit/tests/vcsn-char-z.test, taf-kit/tests/vcsn-char-zmax.test,
	taf-kit/tests/vcsn-char-zmin.test, taf-kit/tests/vcsn-int-b.test,
	taf-kit/tests/vcsn-int-fmp-b.test,
	taf-kit/tests/vcsn-int-fmp-z.test,
	taf-kit/tests/vcsn-int-int-b.test, taf-kit/tests/vcsn-int-z.test:
	Rename edit-automaton as edit.

1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
2010-05-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
            Pierre-Yves Angrand  <pangrand@gmail.com>

	Add new rules for some trivial identities with weights.

	* include/vaucanson/algebra/implementation/series/krat.hxx: New
	Rewrite ({k'} (E {k''}) {k} as {k'} (E {k''k}),
	and  ({k'} 1) {k} as {k'k} 1.
	* taf-kit/tests/vcsn-char-z.test: Test these.

1978
1979
1980
1981
2010-05-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* taf-kit/tests/vcsn-char-b.test: Add tests for derived-term.

1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
2009-06-11  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
            Pierre-Yves Angrand  <pangrand@gmail.com>

	Attempt to fix derived-term, at least for Boolean automata.

	* include/vaucanson/algorithms/internal/partial_rat_exp.hxx
	(PartialExp::insert): Break the left terms of leading products
	in the partial rational expressions.
	(prat_exp_list): Delete, insert does the work now.
	(prat_exp_convert): Use insert directly instead of calling
	prat_exp_list.
	* include/vaucanson/algorithms/internal/partial_rat_exp.hh
	(PartialExp::insert): Adjust prototype.

1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2010-05-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Integrate Sylvain Lombardy's shortest() and enumerate()
	algorithms.

	* include/vaucanson/algorithms/shortest.hh,
	include/vaucanson/algorithms/shortest.hxx: New files.
	* include/vaucanson/contexts/automaton_functions.thh: Include
	them.
	* include/vaucanson/misc/military_order.hh: New file.
	* include/Makefile.am: Distribute the above three new files.
	* taf-kit/src/common_automaton_commands.hh: Add code for shortest
	and enumerate.
	* taf-kit/src/getters.hh, taf-kit/src/getters.hxx (get_unsigned):
	New function, used by enumerate_command.
	* taf-kit/tests/vcsn-char-b.test: Test shortest and enumerate.
	* lib/generate_libvcsn.rb: Do not try to compile shortest.hh for
	FMP contexts.
2014
2015
	* doc/manual/taf-kit-manual.tex (Interactive Definition of
	Automata): Adjust.
2016

2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2010-05-27  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Introduce one_eps_closure() and rewrite standard.hh algorithms
	using it.

	* include/vaucanson/algorithms/one_eps_closure.hh,
	include/vaucanson/algorithms/one_eps_closure.hxx: New files
	originally written by Sylvain Lombardy for Vaucanson 2, and
	adapted to this code base.
	* include/vaucanson/algorithms/standard.hh,
	include/vaucanson/algorithms/standard.hxx: Rewriting of
	most algorithms by Jacques Sakarovitch for Vaucanson 2,
	and then backported to this code base.
	* include/vaucanson/algorithms/standard_of.hxx: Adjust calls,
	and use functions of standard.hh when appropriate.
	* include/vaucanson/algorithms/sum.hh,
	include/vaucanson/algorithms/sum.hxx: Delete.
	* include/Makefile.am: Remove sum.hh and sum.hxx, add
	one_eps_closure.hh and one_eps_closure.hxx.
	* include/vaucanson/algebra/implementation/series/polynoms.hh,
	include/vaucanson/algebra/implementation/series/polynoms.hxx:
	Add a op_starable() specialization that matches the test
	in the op_in_star() specialization.
	* include/vaucanson/algorithms/normalized.hxx: Call
	union_here() instead of sum_here() and adjust include.
	* include/vaucanson/contexts/automaton_functions.thh: Do not
	include sum.hh.
	* taf-kit/src/common_automaton_commands.hh: Rename sum to union_
	and union_of_standard to sum_of_standard.
	* src/tests/include/tests/automata/algos/label_aware_graphs/sum_test.hh:
	Rename as ...
	* src/tests/include/tests/automata/algos/label_aware_graphs/union_test.hh:
	... this and change calls to sum() as calls to union_().
	* src/tests/include/Makefile.am (noinst_HEADERS): Adjust.
	* taf-kit/tests/vcsn-char-z.test, taf-kit/tests/vcsn-char-r.test:
	Rename calls to union-of-standard as sum-of-standard.
	* taf-kit/tests/vcsn-char-b.test: Add a test case for standard.
	* taf-kit/tests/vcsn-char-r.test: New tests for standard and
	quotient.

2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2010-05-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Disable the 'ascii' alphabet.

	Presently we cannot parse 'a ++ b' with the ascii alphabet even if
	OP_PLUS=++.  The above is parsed as the concatenation of six
	ascii letters.

	* taf-kit/src/predefined_alphabets.hxx (predefined_alphabets):
	Remove the ascii entry.
	* doc/manual/taf-kit-manual.tex (Character alphabets): Do not
	mention the ascii alphabet.
	* taf-kit/tests/vcsn-char-b.test,
	taf-kit/tests/vcsn-char-fmp-b.test,
	taf-kit/tests/vcsn-char-fmp-z.test,
	taf-kit/tests/vcsn-char-z.test: Disable all tests that use
	the ASCII alphabet, or rewrite them using another alphabet.

2075
2076
2077
2078
2010-05-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/HACKING.txt: Typo.

2079
2080
2081
2082
2083
2084
2085
2010-05-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix code for detection of OpenFST.

	* configure.ac (fstcompile): Run it in a subshell to hide the
	error message if it is missing.

2086
2087
2088
2089
2010-05-26  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac (DISTCHECK_CONFIGURE_FLAGS): Add missing quotes.

Akim Demaille's avatar
utf-8.    
Akim Demaille committed
2090
2009-09-30  Jérôme Galtier  <jerome.galtier@lrde.epita.fr>
2091
2092
2093
2094
2095

	Fix a typo in lrde-upload.sh.

	* lrde-upload.sh: Replace why by while.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2096
2097
2098
2099
2100
2009-09-22  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: Bump version to 1.3.2a.
	* doc/manual/taf-kit-manual.tex: Likewise.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2101
2102
2103
2104
2105
2009-09-22  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* configure.ac: Bump version to 1.3.2.
	* doc/manual/taf-kit-manual.tex: Likewise.

2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2009-09-21  d-halluin  <d-halluin@lrde.epita.fr>

	Distribute CSB under GPL in Vaucanson.

	* cbs/COPYING: New license text (same as ./COPYING).
	* cbs/README: Updated to reflect the changes.
	* cbs/configure.ac: Header changed by hand.
	* cbs/Makefile.am,
	* cbs/cbs.mk,
	* cbs/demo/Makefile.am,
	* cbs/demo/bench/Makefile.am,
	* cbs/demo/bench/main.cc,
	* cbs/demo/comparison/Makefile.am,
	* cbs/demo/comparison/main.cc,
	* cbs/demo/memplot-bench/Makefile.am,
	* cbs/demo/memplot-bench/main.cc,
	* cbs/demo/memplot/Makefile.am,
	* cbs/demo/memplot/main.cc,
	* cbs/demo/timer-bench/Makefile.am,
	* cbs/demo/timer-bench/main.cc,
	* cbs/demo/timer/Makefile.am,
	* cbs/demo/timer/main.cc,
	* cbs/include/Makefile.am,
	* cbs/include/cbs/bench/bench.hh,
	* cbs/include/cbs/bench/bench_internals.hh,
	* cbs/include/cbs/bench/bench_macros.hh,
	* cbs/include/cbs/bench/internal/timer_gathering.hh,
	* cbs/include/cbs/bench/internal/timer_gathering.hxx,
	* cbs/include/cbs/bench/internal/timer_graph.hh,
	* cbs/include/cbs/bench/internal/timer_graph.hxx,
	* cbs/include/cbs/bench/memplot.hh,
	* cbs/include/cbs/bench/timer.hh,
	* cbs/include/cbs/bench/timer.hxx,
	* cbs/lib/Makefile.am,
	* cbs/lib/bench.cc,
	* cbs/lib/memplot.cc,
	* cbs/lib/timer.cc,
	* cbs/lib/timer_gathering.cc,
	* cbs/lib/timer_graph.cc: Header automatically updated.

2146
2147
2148
2149
2009-09-21  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/NEWS.txt: Prepare for release 1.3.2.

2150
2151
2152
2153
2154
2155
2009-09-17  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/generate_headers.sh: Also erase context files directly
	generated in vaucanson/include/vaucanson/, not only those in
	vaucanson/include/vaucanson/contexts/.

2156
2157
2158
2159
2160
2161
2162
2163
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Propagate configure arguments to distcheck.

	* configure.ac (DISTCHECK_CONFIGURE_FLAGS): Substitute it from
	here, and include $ac_configure_args.
	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Remove.

2164
2165
2166
2167
2168
2169
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/README.txt: Update instructions for building with Boost
	and Xerces in a non-standard directory.  Move the "Requirements"
	section before these instructions.

2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Eradicate empty variables tied to --with options.

	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Remove
	MORE_DISTCHECK_CONFIGURE_FLAGS.
	* vaucanson.mk (AM_CPPFLAGS): Remove BOOST_FLAGS.
	(AM_LDFLAGS): Remove.
	* taf-kit/src/Makefile.am (AM_LDFLAGS): Set with =, not +=.

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2180
2181
2182
2183
2184
2185
2186
2187
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Remove --with-xerces.

	* build-aux/vcsn-xml.m4: Rewrite using a more recent syntax, and
	without using --with.  People will set CPPFLAGS and LDFLAGS if
	they have an unusual Boost installation root.  Take the minimum
	version as argument.
2188
	* configure.ac: Adjust call to VCSN_XML, and remove the definition
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
2189
2190
	of MORE_DISTCHECK_CONFIGURE_FLAGS.

2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Do not use AX_BOOST_BASE.

	* build-aux/ax_boost_base.m4: Delete.
	* build-aux/Makefile.am (dist_m4data_DATA): Remove
	ax_boost_base.m4.
	* build-aux/vcsn-boost.m4: New file.
	* configure.ac: Use VCSN_BOOST instead of AX_BOOST_BASE.  The
	latter did too much and we want people to simply set CPPFLAGS
	and LDFLAGS if they have an unusual Boost installation root.

2203
2204
2205
2206
2009-09-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/generate_headers.sh: Use the full name to erase a file.

2207
2208
2209
2210
2009-09-16  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* include/generate_headers.sh: Remove stray context files.

2211
2212
2213
2214
2215
2216
2217
2009-09-15  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	More make portability for FreeBSD.

	* data/automata/char-z/Makefile.am (b1.xml): Do not use $< in a
	non-suffix rules.

2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2009-09-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix run-time computation of automata path.

	* taf-kit/src/library_commands.hh (get_automata_path): Search for
	vcsn- in program_name, do not assume it is at the beginning.  This
	was causing trouble when Taf-Kit was run as './vcsn-char-b' for
	instance, because it would then remove the first five characters
	and look for a directory named '/n-char-b'.

2228
2229
2230
2231
2232
2233
2234
2235
2009-09-04  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix configure-time computation of VCSN_DATA_PATH.

	* configure.ac (VCSN_DATA_PATH): Fix underquoted code in $prefix
	computation.  This was causing the wrong value of VCSN_DATA_PATH
	to be defined on my test installation on FreeBSD.

2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2009-09-14  d-halluin  <d-halluin@lrde.epita.fr>

	Update benchmark documentation.

	* src/bench/README,
	* src/bench/common/README_AUTOMATA: Update.
	* src/bench/common/Makefile.am: Add file.
	* src/bench/common/bench_constructs.cc: New program, generate a
	sample of the benchmark automata in dot format.

Florent D'Halluin's avatar
Florent D'Halluin committed
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2009-09-11  d-halluin  <d-halluin@lrde.epita.fr>

	Remove seq in benchmarks.

	* src/bench/composition/Makefile.bench,
	* src/bench/derived_terms/Makefile.bench,
	* src/bench/determinization/Makefile.bench,
	* src/bench/eps_removal/Makefile.bench,
	* src/bench/eval/Makefile.bench,
	* src/bench/minimization/Makefile.bench,
	* src/bench/product/Makefile.bench,
	* src/bench/quotient/Makefile.bench: List all the values instead.

Florent D'Halluin's avatar
Florent D'Halluin committed
2259
2260
2261
2262
2263
2264
2265
2009-09-11  d-halluin  <d-halluin@lrde.epita.fr>

	Remove --with-openfst.

	* configure.ac: Enable OpenFST benchmarks if fstcompile
	is accessible from the current PATH.

Florent D'Halluin's avatar
Florent D'Halluin committed
2266
2267
2268
2269
2270
2271
2272
2009-09-07  d-halluin  <d-halluin@lrde.epita.fr>

	Update CBS.

	CBS version: f19d09ad8c6566888b72a87bbed5aa628da3dbf1.
	See cbs/Changelog.

Florent D'Halluin's avatar
Florent D'Halluin committed
2273
2274
2275
2276
2277
2278
2279
2009-09-04  d-halluin  <d-halluin@lrde.epita.fr>

	Update CBS.

	CBS version: 01c2191d02af066c21e04e6247c78778155d6724.
	See cbs/Changelog.

Florent D'Halluin's avatar
Florent D'Halluin committed
2280
2281
2282
2283
2284
2285
2286
2009-09-04  d-halluin  <d-halluin@lrde.epita.fr>

	Fix .gitignore.

	* .gitignore: Do not ignore *.in files,
	ignore Makefile.in instead.

2287
2009-09-08  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
2288
2289
2290

	* bootstrap: force Automake-1.11 if available.

2291
2292
2293
2294
2295
2296
2297
2009-09-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/Makefile.am (.txt.tex, .tex.pdf): Rewrite as a single
	.txt.pdf rule, to please BSD Make.
	* doc/manual/Makefile.am (%.pdf: %.tex): Rewrite as a portable
	.tex.pdf rule.

2298
2299
2300
2301
2302
2303
2009-09-03  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	* doc/unit-compile.mk: Delete this unused Makefile that uses
	unportable %-rules.
	* doc/Makefile.am (dist_doc_DATA): Remove.

2304
2305
2306
2307
2308
2309
2009-09-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Switch to Libtool 2.2, which is more that one year old now.

	* configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.

2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2009-09-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Let Automake 11.1 handle parallel and color tests.

	* configure.ac: Require Automake 1.11 and use the new
	color-tests and parallel-tests options.
	* build-aux/check.mk: Delete.
	* src/tests/check/check.mk, src/tests/xml/Makefile.am,
	taf-kit/tests/Makefile.am: Do not include build-aux/check.mk
	anymore.

2321
2322
2323
2324
2325
2009-07-08  Alex Hamelin  <hamelin@lrde.epita.fr>

	* configure.ac: Bump version to 1.3.1a.
	* doc/manual/taf-kit-manual.tex: Likewise.

Alex Hamelin's avatar
Alex Hamelin committed
2326
2327
2328
2009-07-08  Alex Hamelin  <hamelin@lrde.epita.fr>

	Release 1.3.1.
2329

Alex Hamelin's avatar
Alex Hamelin committed
2330
2331
2332
2333
2334
2335
	* doc/README.txt: Add information about CBS, Remove
	information about VaucanSWIG.
	* doc/NEWS.txt: Update for 1.3.1.
	* doc/manual/taf-kit-manual.tex: Likewise.
	* configure.ac: Bump version to 1.3.1.

2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2009-07-01  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Fix standard_of() w.r.t. listg.

	* include/vaucanson/algorithms/standard_of.hxx
	(Standard_OfVisitor): After concatenating to automata, and before
	erasing the obsolete initial state of the RHS, do not explicitly
	erase the transition leaving that initial state.  This is useless
	because del_state() already does the work.  This was bogus because
	del_transition invalidates the delta_iterator in the listg
	implementation.
	* include/vaucanson/algorithms/standard.hxx: Typos.

2349
2350
2351
2352
2353
2354
2355
2356
2009-06-05  Alexandre Duret-Lutz  <adl@lrde.epita.fr>

	Make listg the default graph implementation, since we now know
	that bmig is slower.

	* configure.ac (ac_default_graph_impl): Make listg the default.
	* doc/README.txt: Adjust documentation of --default-graph-impl.

Akim Demaille's avatar
utf-8.    
Akim Demaille committed
2357
2009-08-02  Jérôme Galtier  <jerome.galtier@lrde.epita.fr>
2358
2359
2360
2361
2362
2363

	Fix a typo in generate_bench.sh.

	* src/bench/generate_bench.sh: Remove the e letter introduced by
	commit b29a54029698aa76b7c4b4218f43e56ce8e7c739.

Florent D'Halluin's avatar
Florent D'Halluin committed
2364
2365
2366
2367
2368
2369
2370
2009-07-29  d-halluin  <d-halluin@lrde.epita.fr>

	Tweak eval benchmark.

	* src/bench/eval/Makefile.bench: Tweak sequence for aut_b bench.
	* src/bench/eval/eval_aut_b_bench.hh: Remove debug output, fix display.

2371
2372
2373
2374
2375
2376
2377
2009-07-29  d-halluin  <d-halluin@lrde.epita.fr>

	Bench: rename parameter "over" into "context".

	* src/bench/product/product_aut_b_bool_bench.hh,
	* src/bench/product/product_aut_b_z_bench.hh: Do that.

Florent D'Halluin's avatar
Florent D'Halluin committed
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2009-07-29  d-halluin  <d-halluin@lrde.epita.fr>

	Add eval benchmark.

	* configure.ac: Add Makefile.
	* src/bench/Makefile.am,
	* src/bench/generate_bench.sh: Add directory.
	* src/bench/eval/Makefile.bench,
	* src/bench/eval/eval_aut_b_bench.hh,
	* src/bench/eval/eval_aut_ladybird_bench.hh,
	* src/bench/eval/eval_aut_ladybird_determinized_bench.hh:
	New. Implementation

2391
2392
2393
2394
2395
2396
2009-07-16  d-halluin  <d-halluin@lrde.epita.fr>

	Update .gitignore in benchmarks.

	* src/bench/.gitignore: Update.

2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2009-07-15  d-halluin  <d-halluin@lrde.epita.fr>

	Add determinize benchmark on ladybird.

	* src/bench/common/README_AUTOMATA,
	* src/bench/common/bench_constructs.hh: Add ladybird.
	* src/bench/determinization/Makefile.bench: Add case.
	* src/bench/determinization/determinization_aut_ladybird_bench.hh,
	* src/bench/determinization/determinization_aut_ladybird_openfst_bench.hh:
	New.  Implementation.

Florent D'Halluin's avatar
Florent D'Halluin committed
2408
2409
2410
2411
2412
2413
2414
2009-07-15  d-halluin  <d-halluin@lrde.epita.fr>

	Update cbs.

	CBS version: d0cef86a72e495219ff5e3d63d081b9baefe2cf2.
	See cbs/Changelog.

2415
2416
2417
2418
2419
2420
2009-07-15  d-halluin  <d-halluin@lrde.epita.fr>

	Add README_AUTOMATA in EXTRA_DIST.

	* src/bench/common/Makefile.am: Do that.

Florent D'Halluin's avatar
Florent D'Halluin committed
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2009-06-19  d-halluin  <d-halluin@lrde.epita.fr>

	Add benchmark for product.

	* configure.ac,
	* src/bench/Makefile.am,
	* src/bench/generate_bench.sh: Add new makefiles/directories.
	* src/bench/product/Makefile.bench,
	* src/bench/product/product_aut_b_bool_bench.hh,
	* src/bench/product/product_aut_b_z_bench.hh: New. Implementation.

2432
2433
2434
2435
2436
2437
2438
2439
2009-06-19  d-halluin  <d-halluin@lrde.epita.fr>

	Benchmarks: rename aut_ab into aut_b.

	* src/bench/common/bench_constructs.hh,
	* src/bench/quotient/quotient_bool_bench.hh,
	* src/bench/quotient/quotient_z_bench.hh: Do that.

2440
2441
2442
2443
2444
2445
2446
2447
2009-06-19  d-halluin  <d-halluin@lrde.epita.fr>

	Update accessible benchmark.

	* src/bench/accessible/Makefile.bench: Adjust benchmark values.
	* src/bench/accessible/accessible_bench.hh,
	* src/bench/common/bench_constructs.hh: Move automaton creation.

2448
2449
2450
2451
2452
2453
2454
2009-06-19  d-halluin  <d-halluin@lrde.epita.fr>

	Benchmarks: add documentation.

	* src/bench/README,
	* src/bench/common/README_AUTOMATA: Update.

Florent D'Halluin's avatar
Florent D'Halluin committed
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2009-06-17  d-halluin  <d-halluin@lrde.epita.fr>

	Update benchmarks.

	This is a compound patch that can hardly be divided into separate
	patches.  It includes:


	1. OpenFST integration.

	  If OpenFST is present, OpenFST benchmarks are made for some
	  algorithms.

	2. Some (incomplete) documentation.

	  Describe the benchmarking process, input automata, and results.

	3. Clean up & name consistency.

	  Move existing benchmarks into directories with consistent names
	  (the benchmarked algorithms), store results in a specific
	  directory according to input and other parameters.


	Patch details:

	1. OpenFST integration:

	* configure.ac: Add --with-openfst option.
	* src/bench/common/alpha.syms: Add missing line.
	* src/bench/common/bench.mk: Fix -DVCSN_SRC_DIR flag.
	* src/bench/common/bench_macros.hh: Add convenient macros

	* src/bench/determinization/Makefile.bench: Add OpenFST bench.
	* src/bench/determinization/determinization_aut_2n_openfst_bench.hh:
	New (OpenFST benchmark program).

	* src/bench/minimization/Makefile.bench: New (add OpenFST bench).
	* src/bench/minimization/minimization_aut_2n_openfst_bench.hh:
	New (OpenFST benchmark program).
	* src/bench/minimization/minimization_aut_debruijn_openfst_bench.hh,
	New (OpenFST benchmark program).

	2. Some (incomplete) documentation:

	* src/bench/README: New.  General information.
	* src/bench/common/README: New.
	* src/bench/common/README_AUTOMATA: New.

	3. Clean up & name consistency:

	* configure.ac: Add/remove makefiles.
	* src/bench/Makefile.am: Add/remove directories.
	* src/bench/generate_bench.sh: Add/remove directories.

	* src/bench/common/Makefile.am: Clean up.
	* src/bench/common/bench_automaton.hh: Remove (unused).
	* src/bench/common/bench_constructs.hh: Clean up, add automata.

	Move accessible to its own directory:

	* src/bench/accessible/Makefile.bench: New.
	* src/bench/iterators/accessible_bench.hh:
	Rename into src/bench/accessible/accessible_bench.hh.

	Clean up composition:

	* src/bench/composition/Makefile.bench,
	* src/bench/composition/normalized_composition_bench.hh: Consistency.
	* src/bench/composition/rw_composition_bench.hh: Rename into
	src/bench/composition/realtime_composition_bench.hh.

	Clean up derived-terms:

	* src/bench/derived_terms/Makefile.bench,
	* src/bench/derived_terms/derived_terms_bench.hh: Consistency.

	Clean up determinization:

	* src/bench/determinization/Makefile.bench: Consistency.
	* src/bench/determinization/determinization_bench.hh: Rename into
	src/bench/determinization/determinization_aut_2n_bench.hh.
	* src/bench/determinization/determinization_bench_fsm.cc:
	Remove (unused).

	Clean up eps_removal:

	* src/bench/eps_removal/Makefile.bench,
	* src/bench/eps_removal/eps_removal_bench.hh: Consistency.

	Clean up iterators:

	* src/bench/iterators/Makefile.bench,
	* src/bench/iterators/iterator_bench.hh: Consistency.

	Clean up quotient:

	* src/bench/quotient/Makefile.bench,
	* src/bench/quotient/quotient_bool_bench.hh,
	* src/bench/quotient/quotient_z_bench.hh: Consistency.

	Clean up minimization:

	* src/bench/minimization/Makefile.bench: New (merge from
	minimization_2n and minimization_debruijn).
	* src/bench/minimization_2n/Makefile.bench: Remove (unused).
	* src/bench/minimization_debruijn/Makefile.bench: Remove (unused).

	* src/bench/minimization_2n/minimization_2n_brzozowski_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_2n_brzozowski_bench.hh.
	* src/bench/minimization_2n/minimization_2n_hopcroft_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_2n_hopcroft_bench.hh.
	* src/bench/minimization_2n/minimization_2n_moore_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_2n_moore_bench.hh.
	* src/bench/minimization_debruijn/minimization_debruijn_brzozowski_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_debruijn_brzozowski_bench.hh.
	* src/bench/minimization_debruijn/minimization_debruijn_hopcroft_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_debruijn_hopcroft_bench.hh.
	* src/bench/minimization_debruijn/minimization_debruijn_moore_bench.hh:
	Rename into
	src/bench/minimization/minimization_aut_debruijn_moore_bench.hh.

Florent D'Halluin's avatar
Florent D'Halluin committed
2582
2583