1. 27 Aug, 2008 1 commit
    • Jerome Galtier's avatar
      === New letter traits === · 77ca9e24
      Jerome Galtier authored
      Add the kind() and dim() letter traits, to supplement the lack of useful monoid traits.
      
      	* include/vaucanson/algebra/concept/letter.hh,
      	* include/vaucanson/algebra/concept/letter.hxx,
      	* include/vaucanson/algebra/implementation/letter/int_letter.hxx,
      	* include/vaucanson/algebra/implementation/letter/couple_letter.hh,
      	* include/vaucanson/algebra/implementation/letter/char_letter.hxx: New traits.
      
      === Improve input_projection_helper and output_projection_helper traits ===
      
      Add new fmp_*_projection_traits to correctly construct the projection types. Fix
      non-working input_projection_helper.
      
      	* include/vaucanson/automata/concept/transducer.hh: Improve traits.
      	* include/vaucanson/automata/concept/transducer_base.hh: New traits.
      	* include/vaucanson/automata/implementation/bmig_graph_impl.hh,
      	* include/vaucanson/automata/implementation/listg_graph_impl.hh: New trait,
      	update existing one.
      
      === Add support for letters of type std::pair<U, V> ===
      
      Create instances for U and V in {char, int}. It closes ticket #152. Create four
      new vcsn contexts.
      
      	* configure.ac: Add new taf-kit instances.
      	* include/Makefile.am: Add new context to the distribution.
      	* include/vaucanson/automata/generic_contexts/char_char_boolean_automaton.hh: New.
      	* include/vaucanson/automata/generic_contexts/char_char_boolean_automaton_structures.hh: New.
      	* include/vaucanson/automata/generic_contexts/char_int_boolean_automaton.hh: New.
      	* include/vaucanson/automata/generic_contexts/char_int_boolean_automaton_structures.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_char_boolean_automaton.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_char_boolean_automaton_structures.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_int_boolean_automaton.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_int_boolean_automaton_structures.hh: New.
      	* include/vaucanson/contexts/char_char_letter.thh: New.
      	* include/vaucanson/contexts/char_int_letter.thh: New.
      	* include/vaucanson/contexts/int_char_letter.thh: New.
      	* include/vaucanson/contexts/int_int_letter.thh: New.
      	* include/vaucanson/misc/hash.hh,
      	* include/vaucanson/misc/hash.hxx: Add new hash for pair letters.
      	* taf-kit/src/Makefile.am: Add four new instances.
      	* taf-kit/tests/Makefile.am: New tests.
      	* taf-kit/tests/vcsn-char-char-b.test: New.
      	* taf-kit/tests/vcsn-char-int-b.test: New.
      	* taf-kit/tests/vcsn-int-char-b.test: New.
      	* taf-kit/tests/vcsn-int-int-b.test: New.
      
      === XML support for letters of type std::pair<U, V> ===
      
      	* include/vaucanson/xml/xmleq.hh,
      	* include/vaucanson/xml/xmleq.hxx,
      	* include/vaucanson/xml/regexp.hh,
      	* include/vaucanson/xml/regexp.hxx,
      	* include/vaucanson/xml/builders.hh,
      	* include/vaucanson/xml/builders.hxx: Add support for monCompGen
      	markup.
      
      === XML cleanup (this pointer removal) ===
      
      Use '''using''' syntax to better show handler dependencies, cleanup the code,
      and normalize syntax.
      
      	* include/vaucanson/xml/contexts/fmp.hh,
      	* include/vaucanson/xml/contexts/fmp.hxx,
      	* include/vaucanson/xml/contexts/rw.hh,
      	* include/vaucanson/xml/contexts/rw.hxx,
      	* include/vaucanson/xml/handlers_base.hxx,
      	* include/vaucanson/xml/parsers.hxx,
      	* include/vaucanson/xml/printers.hxx,
      	* include/vaucanson/xml/regexp.hh,
      	* include/vaucanson/xml/regexp.hxx,
      	* include/vaucanson/xml/xml_exp_visitor.hxx: Here.
      
      === Link Taf-Kit instances to their respective libraries ===
      
      Add missing algorithms to some vcsn libraries and '''really''' link all taf-kit
      instances to them.
      
      	* include/vaucanson/algorithms/composition_cover.hh,
      	* include/vaucanson/algorithms/domain.hh,
      	* include/vaucanson/algorithms/evaluation_fmp.hh,
      	* include/vaucanson/algorithms/invert.hh,
      	* include/vaucanson/algorithms/normalized_composition.hh,
      	* include/vaucanson/algorithms/sub_normalize.hh: Add missing INTERFACE.
      	* lib/Makefile.am: Add four new library.
      	* lib/generate_libvcsn.rb: Add two new type. Fix filtering and update it.
      	* taf-kit/src/Makefile.am: Use correct flags and libraries.
      
      === Miscellaneous ===
      
      	* doc/manual/generate-automata.sh: Be more portable to check
      	existence of executable in PATH (ala autotools).
      	* include/vaucanson/algebra/implementation/letter/couple_letter.hh: Add missing
      	literal_to_letter, change defaults for OPAR, CPAR, epsilon and zero.
      	* include/vaucanson/algebra/implementation/letter/couple_letter.hxx: Improve
      	op_parse.
      	* include/vaucanson/algorithms/evaluation_fmp.hxx,
      	* include/vaucanson/algorithms/evaluation_fmp.hh: Reorder template arguments.
      	* taf-kit/src/edition_commands.hxx,
      	* include/vaucanson/algorithms/invert.hxx: Typo.
      	* vaucanswig/expand.sh: Add some filtering, now that FMP only algorithms
      	got INTERFACE.
      	* include/vaucanson/tools/fsm_load.hxx: Be more generic w.r.t. letter type.
      	* src/demos/algorithms/equivalent_functions.cc: Reorder headers inclusion.
      	* src/tests/include/tests/algebra/series/krat/main/krat_exp_linearize_structure_test.hh:
      	Fix a bug now that more letter types are supported.
      	* taf-kit/src/b_commands.cc,
      	* taf-kit/src/z_commands.cc: Update copyright notice.
      77ca9e24
  2. 23 Aug, 2008 1 commit
  3. 22 Aug, 2008 2 commits
    • Jerome Galtier's avatar
      Typo in dist rule. · ed9f6b1a
      Jerome Galtier authored
      	* taf-kit/tests/Makefile.am: char-fmp -> char-fmp-b.
      ed9f6b1a
    • Jerome Galtier's avatar
      Update taf-kit tests. · e340b1f2
      Jerome Galtier authored
      	* taf-kit/tests/automata/b: Remove.
      	* taf-kit/tests/automata/char-fmp-b: New.
      	* taf-kit/tests/automata/char-fmp/inverted_t1.xml: Remove.
      	* taf-kit/tests/automata/char-fmp/t1_compose_u1.xml: Remove.
      	* taf-kit/tests/automata/char-fmp/t2.xml: Remove.
      	* taf-kit/tests/automata/char-fmp/t2_u-compose_u2.xml: Remove.
      	* taf-kit/tests/automata/char-fmp/u2.xml: Remove.
      	* taf-kit/tests/automata/char-fmp: Remove.
      	* taf-kit/tests/automata/tdc-rw: Remove.
      	* taf-kit/tests/automata/tdc: Remove.
      	* taf-kit/tests/automata/z: Remove.
      	* taf-kit/tests/defs.in: Rename automaton types.
      e340b1f2
  4. 21 Aug, 2008 1 commit
    • Jerome Galtier's avatar
      Update data and documentation. · 7ac68bb8
      Jerome Galtier authored
      	* configure.ac,
      	* data/automata/Makefile.am,
      	* data/automata/README: Rename automaton types.
      	* data/automata/b/Makefile.am: Remove.
      	* data/automata/b/a1.cc: Remove.
      	* data/automata/b/b1.cc: Remove.
      	* data/automata/b/divkbaseb.cc: Remove.
      	* data/automata/b/double_ring.cc: Remove.
      	* data/automata/b/ladybird.cc: Remove.
      	* data/automata/b: Remove.
      	* data/automata/char-b/Makefile.am: Update variable name.
      	* data/automata/char-b: New.
      	* data/automata/char-fmp-b/Makefile.am: Update variable name.
      	* data/automata/char-fmp-b: New.
      	* data/automata/char-rw-b/Makefile.am: Update variable name.
      	* data/automata/char-rw-b: New.
      	* data/automata/char-z/Makefile.am: Update variable name.
      	* data/automata/char-z: New.
      	* data/automata/fmp/Makefile.am: Remove.
      	* data/automata/fmp/t1.cc: Remove.
      	* data/automata/fmp/u1.cc: Remove.
      	* data/automata/fmp: Remove.
      	* data/automata/tdc-rw/Makefile.am: Remove.
      	* data/automata/tdc-rw/add1-rw.xml: Remove.
      	* data/automata/tdc-rw/quot-3-rw.xml: Remove.
      	* data/automata/tdc-rw: Remove.
      	* data/automata/z/Makefile.am: Remove.
      	* data/automata/z/c1.cc: Remove.
      	* data/automata/z: Remove.
      	* doc/manual/automata.tex: Remove.
      	* doc/manual/generate-automata.sh: Fix generation of automata.tex.
      	* doc/manual/taf-kit.tex: Update references.
      	* doc/manual/vaucanson-user-manual.tex: New macro.
      	* taf-kit/src/library_commands.hh: Better detection of automaton
      	  types in taf-kit instances.
      	* vaucanson.mk: Rename automaton types.
      7ac68bb8
  5. 20 Aug, 2008 1 commit
    • Jerome Galtier's avatar
      Improve taf-kit support of fmp transducers. · 1ec29985
      Jerome Galtier authored
      	* configure.ac: New taf-kit instances.
      	* lib/Makefile.am: Add libvcsn-int-fmp-z.
      	* lib/generate_libvcsn.rb: New filters.
      	* taf-kit/src/Makefile.am: Rename vcsn-*-fmp to vcsn-*-fmp-b,
      	  and add vcsn-*-fmp-z, build with livcsn-int-fmp-z.
      	* taf-kit/src/edition_commands.hxx: Use a new macro and improve
      	  weight input.
      	* taf-kit/tests/Makefile.am: Add new tests.
      	* taf-kit/tests/vcsn-char-fmp-b.test: New.
      	* taf-kit/tests/vcsn-char-fmp-z.test: New.
      	* taf-kit/tests/vcsn-char-fmp.test: Remove.
      	* taf-kit/tests/vcsn-int-fmp-b.test: New.
      	* taf-kit/tests/vcsn-int-fmp-z.test: New.
      	* taf-kit/tests/vcsn-int-fmp.test: Remove.
      1ec29985
  6. 18 Aug, 2008 1 commit
  7. 11 Aug, 2008 3 commits
  8. 08 Aug, 2008 4 commits
    • Jerome Galtier's avatar
      Typos in taf-kit manual. · 5cd67a0b
      Jerome Galtier authored
      	* doc/manual/taf-kit.tex: Here.
      5cd67a0b
    • Jerome Galtier's avatar
      Fix bootstrap. · d6406c00
      Jerome Galtier authored
      	* bootstrap: Sanity's generate_files.sh must be run after all other
      	  files (most notably headers) have been generated.
      d6406c00
    • Jerome Galtier's avatar
      Add diagnostic message when --parser fails (#164). · 03dd477d
      Jerome Galtier authored
      	* taf-kit/src/main.cc: Add try-catch block.
      	* taf-kit/src/parser_options.hxx: Throw an exception with position
      	  of the unexpected input.
      03dd477d
    • Jerome Galtier's avatar
      Fix the eval algorithm on empty automata (#163). · 33b4ee30
      Jerome Galtier authored
      	* include/vaucanson/algorithms/eval.hh: Include is_empty header.
      	* include/vaucanson/algorithms/eval.hxx: Fix the bug.
      	* src/tests/include/Makefile.am: Add file to the distribution.
      	* src/tests/include/tests/automata/algos/label_aware_graphs/empty_test.hh:
      	  New regression test.
      	* taf-kit/tests/vcsn-char-z.test: Add a taf-kit test.
      33b4ee30
  9. 07 Aug, 2008 4 commits
    • Jerome Galtier's avatar
      Update the free monoid product concept. · 13a2e2d9
      Jerome Galtier authored
      	* include/vaucanson/algebra/concept/freemonoid_product.hh,
      	* include/vaucanson/algebra/concept/freemonoid_product_base.hh,
      	* include/vaucanson/algebra/concept/freemonoid_product_base.hxx: Add
      	  new traits.
      	* include/vaucanson/algebra/implementation/free_monoid_product/freemonoid_product_pair_str.hxx:
      	  Improve implementation of op_rout.
      	* include/vaucanson/design_pattern/predecls.hh: New type of trait.
      	* include/vaucanson/tools/dot_dump.hxx: Typo.
      	* include/vaucanson/tools/io.hxx: Be more generic w.r.t the monoid type.
      13a2e2d9
    • Jerome Galtier's avatar
      Be more generic in context headers tests. · 8db719e7
      Jerome Galtier authored
      	* src/tests/include/tests/context_headers/automata/global_consistency_test.hh:
      	  Be more generic w.r.t the letter type.
      8db719e7
    • Jerome Galtier's avatar
      Improve some letter implementations. · 5249918a
      Jerome Galtier authored
      	* include/vaucanson/algebra/implementation/letter/couple_letter.hh:
      	  Add missing traits.
      	* include/vaucanson/algebra/implementation/letter/int_letter.hxx:
      	  Remove useless code.
      5249918a
    • Jerome Galtier's avatar
      Add missing function declarations. · b8fddb37
      Jerome Galtier authored
      	* taf-kit/src/commands_macros.hh: Typo.
      	* taf-kit/src/common.hh: Here, reported by Alexandre Duret-Lutz.
      b8fddb37
  10. 06 Aug, 2008 9 commits
    • Jerome Galtier's avatar
      Document the --parser option. · ae2c5d28
      Jerome Galtier authored
      	* doc/manual/taf-kit.tex: Here.
      	* taf-kit/src/parser_options.hxx: Use words in place of characters.
      ae2c5d28
    • Jerome Galtier's avatar
      Update svn:ignore on lib. · 91b6ca2d
      Jerome Galtier authored
      91b6ca2d
    • Jerome Galtier's avatar
      Update taf-kit to use new letter_traits. · e6ce83a8
      Jerome Galtier authored
      	* taf-kit/src/b_commands.cc: Add letter context.
      	* taf-kit/src/commands_macros.hh: Add macro to import letter context.
      	* taf-kit/src/common.hh: Declare new structures.
      	* taf-kit/src/fmp_commands.cc: Add letter context.
      	* taf-kit/src/main.cc: Remove useless code.
      	* taf-kit/src/parser_options.hh,
      	* taf-kit/src/parser_options.hxx: Use new templatized
      	  token_representation. Add static code resolution.
      	* taf-kit/src/z_commands.cc: Add letter context.
      e6ce83a8
    • Jerome Galtier's avatar
      Make make_rat_exp accept a more generic token_representation. · 5ef352d9
      Jerome Galtier authored
      	* include/Makefile.am: Add file to the distribution.
      	* include/vaucanson/contexts/automaton_maker.thh,
      	* include/vaucanson/contexts/automaton_maker.thxx: Here.
      5ef352d9
    • Jerome Galtier's avatar
      Be more generic w.r.t token representations. · 2f7f9e96
      Jerome Galtier authored
      	* include/vaucanson/algebra/concept/freemonoid_base.hh,
      	* include/vaucanson/algebra/concept/freemonoid_base.hxx: Fix a bad
      	  practice when printing monoid elements.
      	* include/vaucanson/algebra/concept/letter.hh: Extend the letter
      	  concept with more traits.
      	* include/vaucanson/algebra/concept/letter.hxx: New.
      	* include/vaucanson/algebra/implementation/letter/char_letter.hxx,
      	* include/vaucanson/algebra/implementation/letter/int_letter.hxx:
      	  Add required traits.
      	* include/vaucanson/algebra/implementation/series/krat_exp_parser.hh,
      	* include/vaucanson/algebra/implementation/series/krat_exp_parser.hxx:
      	  templatize token_representation
      	* include/vaucanson/algebra/implementation/series/polynoms.hxx: Fix
      	  a bad practice when printing polynoms.
      	* include/vaucanson/algebra/implementation/series/rat/dump_visitor.hxx:
      	  Use letter traits.
      2f7f9e96
    • Jerome Galtier's avatar
      Clip size of randomly generated alphabets. · 00acc57c
      Jerome Galtier authored
      	* include/vaucanson/tools/gen_random.hh: New absolute maximum size.
      	* include/vaucanson/tools/gen_random.hxx: Add clipping logic.
      	* include/vaucanson/tools/io.hxx: Update notice.
      00acc57c
    • Jerome Galtier's avatar
      Add int_boolean_automaton to the test-suite. · 3d5b4da8
      Jerome Galtier authored
      	* src/tests/include/Makefile.am: Add a new test.
      	* src/tests/include/tests/automata/implementation_check/epsilon_label_representation_test.hh: New.
      	* src/tests/test-suites/context_headers_int_boolean.defs: New.
      	* src/tests/test-suites/generate-all.sh: Generate
      	  int_boolean_automaton tests.
      	* src/tests/test-suites/int_boolean_automaton.defs: New.
      	* src/tests/test-suites/subdirs.mk: Update according to the new tests.
      3d5b4da8
    • Alexandre Duret-Lutz's avatar
    • Alexandre Duret-Lutz's avatar
  11. 05 Aug, 2008 4 commits
  12. 04 Aug, 2008 2 commits
    • Florian Lesaint's avatar
      Add xml tests for z_transducer and int_z_transducer. · 434b79ae
      Florian Lesaint authored
      	* src/tests/xml/Makefile.am: Add tests.
      	* src/tests/xml/int_trans_ref.dot: Fix typo.
      	* src/tests/xml/int_z_trans_ref.dot: New.
      	* src/tests/xml/int_z_trans_ref.xml: New.
      	* src/tests/xml/xml_int_z_trans_tester.cc: New.
      	* src/tests/xml/xml_z_trans_tester.cc: New.
      	* src/tests/xml/z_trans_ref.dot: New.
      	* src/tests/xml/z_trans_ref.xml: New.
      434b79ae
    • Florian Lesaint's avatar
      Add int_z_transducer context. · db8635a2
      Florian Lesaint authored
      	Update svn ignore
      
      	* include/vaucanson/automata/generic_contexts/int_z_transducer.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_z_transducer_structures.hh: New.
      db8635a2
  13. 03 Aug, 2008 3 commits
    • Florian Lesaint's avatar
      Add xml tests for z_fmp and int_z_fmp contexts. · 56492804
      Florian Lesaint authored
      	* src/tests/xml/Makefile.am: Add tests.
      	* src/tests/xml/int_trans_ref.dot: Fix error.
      	* src/tests/xml/int_z_fmp_ref.dot: New.
      	* src/tests/xml/int_z_fmp_ref.xml: New.
      	* src/tests/xml/xml_int_z_fmp_tester.cc: New.
      	* src/tests/xml/xml_z_fmp_tester.cc: New.
      	* src/tests/xml/z_fmp_ref.dot: New.
      	* src/tests/xml/z_fmp_ref.xml: New.
      56492804
    • Florian Lesaint's avatar
      Add integer based z_fmp_transducers context. · 647e62ac
      Florian Lesaint authored
      
      	Update ignore properties on include/vaucanson
      
      	* include/Makefile.am: Add files to the sources.
      	* include/vaucanson/automata/generic_contexts/int_z_fmp_transducer.hh: New.
      	* include/vaucanson/automata/generic_contexts/int_z_fmp_transducer_structures.hh: New.
      647e62ac
    • Florian Lesaint's avatar
      Fix xml system w.r.t fmp monoid identity. · b907ff8c
      Florian Lesaint authored
      	* include/vaucanson/algebra/concept/freemonoid_base.hxx: Clean code.
      	* include/vaucanson/xml/builders.hxx: Clean code.
      	* include/vaucanson/xml/contexts/fmp.hxx: Here.
      b907ff8c
  14. 01 Aug, 2008 4 commits