1. 05 Jun, 2009 1 commit
  2. 26 May, 2009 1 commit
  3. 18 May, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Use libvcsn-common.la for all demos. · fe2235e4
      Alexandre Duret-Lutz authored
      * src/demos/demo.mk (LDADD): Define globally.
      * src/demos/algorithms/Makefile.am (aut_are_equivalent_LDADD,
      exp_are_equivalent_LDADD): Remove.
      * src/demos/one_rule_rewriting/Makefile.am (LDADD): Likewise.
      * src/demos/vgrep/Makefile.am (LDADD): Likewise.
  4. 14 May, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Introduce libvcsn-common-ex.la in addition to libvcsn-common.la · 4ddbd80e
      Alexandre Duret-Lutz authored
      to decide whether exceptions should be used in preconditions.
      This fixes errors in taf-kit's test-suite when compiled with GCC
      4.4.  The code was making the bogus assumption that the inline
      function trap() was not inlined in the context libraries (compiled
      without exceptions) and could therefore be overwritten as a weak
      symbol in TAF-Kit (to use exceptions).
      * include/vaucanson/misc/contract.hh (vcsn::misc::contract::trap):
      Leave only a declaration and move the definition...
      * src/misc/contract.cc: ... in this new file.
      * lib/src/libcommon.mk: Adjust for contract.cc and build two
      libraries: libvcsn-common.la (with abort()) and
      libvcsn-common-ex.la (with exceptions).
      * data/automata/char-b/Makefile.am,
      data/automata/char-z/Makefile.am, taf-kit/src/Makefile.am,
      vaucanswig/meta/Makefile.am, src/tests/sanity/Makefile.am,
      src/tests/xml/Makefile.am: Link with libvcsn-common.la or
      * taf-kit/src/common.hh (EXCEPTION_TRAPS): Remove #define.
      * src/bench/common/bench.mk (AM_CPPFLAGS): Remove useless
      * vaucanswig/expand.sh: Likewise.
      * src/tests/check/Makefile.am: Build libcheck.la instead
      of libcheck.a, so we can depend on libvcsn-common-ex.la
      * src/tests/check/check.mk: Use libcheck.la and
      * src/tests/test-suites/test-suite.mk: Don't define
      EXCEPTION_TRAPS and don't add libvcsn-common-ex.la to LDADD
      (check.mk already does it).
  5. 13 May, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Rename libkrat_exp.la as libvcsn_common.la, and move lib/krat_exp/ · d8c81c6a
      Alexandre Duret-Lutz authored
      to lib/src/krat_exp/, so that we can later integrate more code
      into libvcsn_common.la.
      * bootstrap: Don't run bison, the Makefile will do it.
      * lib/krat_exp/krat_exp_bison.yy: Move ...
      * lib/src/krat_exp/krat_exp_bison.yy: ... here.
      * lib/krat_exp/libkrat_exp.mk: Rename as ...
      * lib/src/libcommon.mk: ... this, and adjust to the new names.
      * src/demos/algorithms/Makefile.am,
      src/demos/vgrep/Makefile.am, src/tests/xml/Makefile.am,
      taf-kit/src/Makefile.am, lib/Makefile.am: Change all references to
      libkrat_exp.la into libvcsn-common.la.
  6. 17 Apr, 2009 1 commit
  7. 16 Apr, 2009 1 commit
  8. 02 Apr, 2009 1 commit
  9. 17 Mar, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix a distcheck failure. · bfd6a38d
      Alexandre Duret-Lutz authored
      * src/tests/test-suites/Makefile.am ($(srcdir)/subdirs.mk): Do
      not run am--refresh in the srcdir, the makefile is in the buildir.
      Also touch the destination file.
  10. 13 Mar, 2009 1 commit
  11. 10 Mar, 2009 1 commit
    • Alex Hamelin's avatar
      Fix tests of Standard and Thompson. · 25afca66
      Alex Hamelin authored
      	* src/tests/include/tests/automata/algos/labeled_graphs/thompson_test.hh:
      	Modify Thompson Tests for product to respect the right behavior. Add
      	a test of equivalence between "ab" and "a.b".
      	* src/tests/include/tests/automata/algos/label_aware_graphs/standard_of_regression_test.hh:
      	Fix a bug using two times the same automaton to be filled without it
      	being emptied before.
      	* src/tests/include/tests/context_headers/automata/global_consistency_test.hh:
      	Same fix as above.
  12. 21 Jan, 2009 5 commits
    • Jerome Galtier's avatar
      rw_composition: Fix a bug for transitions with a polynomial in R. · 3dc9c184
      Jerome Galtier authored
      	Reported by Sylvain Lombardy.
      	* include/vaucanson/algorithms/internal/evaluation.hh: Improve
      	  documentation. Cosmetic changes.
      	* include/vaucanson/algorithms/internal/evaluation.hxx
      	  (do_partial_evaluation): Be more precise when receiving dispatch
      	  by requiring the first argument to be a `Series'. Call
      	  `standard_of' on the whole input expression instead of just the
      	  first element in the support. (partial_evaluation): Update
      	  according to the new dispatch of `do_partial_evaluation'.
      	* include/vaucanson/algorithms/rw_composition.hh: Update the
      	* include/vaucanson/algorithms/rw_composition.hxx: Include the
      	  header file `realtime.hh' required by `is_realtime'.
      	  (do_rw_composition): Add a precondition on `S'. Improve comments
      	  and cosmetic changes. Update the algorithm according to the change
      	  to `partial_evaluation'.
      	* src/tests/include/Makefile.am: Add a new test to the distribution.
      	* src/tests/include/tests/automata/algos/boolean_rw_transducers/rw_composition_test.hh:
      	  New regression test.
    • Jerome Galtier's avatar
      rw_composition: Fix a bug in partial_evaluation. · 58d124f8
      Jerome Galtier authored
      	* include/vaucanson/algorithms/internal/evaluation.hxx
      	  (do_partial_evaluation): Iterate through all the states in `Sp'
      	  instead of only the initial ones.
      	* src/tests/include/Makefile.am: Add new file to the distribution.
      	* src/tests/include/tests/automata/algos/boolean_rw_transducers/partial_evaluation_test.hh:
      	  New regression test.
    • Jerome Galtier's avatar
      Demos: Factor more code in ORR_iterate, fix typos. · a9890f2d
      Jerome Galtier authored
      	* src/demos/one_rule_rewriting/ORR_iterate.cc: Remove all the
      	  references to the macro `DEBUG'. Do not include
      	  `tools/dot_display.hh' anymore. Include the header
      	  `one_rule_rewriting.hh', and subsequently remove all the redundant
      	  function definitions (prefsuf, alpha_convert, alpha_map,
      	  replace_left and replace_right). Sanitize namespace usages.
      	  (usage): Remove the help about the argument `name'. (main): Do not
      	  use argv[4]. Simplify the code by removing the use of the
      	  auxiliary function `string_to_int'. Add more comments, and
      	  cosmetic changes. Fix the initialization of the loop. Add some
      	  code to dump the `iter_ima' variable. When printing informations
      	  about automaton: use the already defined `operator<<'.
    • Jerome Galtier's avatar
      Demos: Cleanup shortest.hh to be more in line with vcsn. · 5039aa48
      Jerome Galtier authored
      	* src/demos/one_rule_rewriting/shortest.hh: Add the Copyright
      	  notice. Add guards. Cosmetic changes.
    • Jerome Galtier's avatar
      Demos: Fix a typo in ORR_demo. · 5b1fb049
      Jerome Galtier authored
      	* src/demos/one_rule_rewriting/ORR_demo.cc (main): Call
      	  `realtime_here' on `right_auto' as it is passed as the second
      	  argument of `rw_composition', and there is a `is_realtime'
      	  precondition on this argument.
  13. 11 Dec, 2008 3 commits
    • Jerome Galtier's avatar
      Fix a typo in normalized and subnormalized composition tests. · b603b847
      Jerome Galtier authored
      	* src/tests/include/tests/automata/algos/fmp_transducers/normalized_composition_test.hh,
      	* src/tests/include/tests/automata/algos/fmp_transducers/subnormalized_composition_test.hh:
      	  Replace `y' by `v'.
    • Jerome Galtier's avatar
      Fix make_rat_exp function calls in the test-suite. · 7e22d699
      Jerome Galtier authored
      	* src/tests/include/tests/automata/algos/boolean_rw_transducers/invert_test.hh,
      	* src/tests/include/tests/automata/algos/fmp_transducers/evaluation_fmp_test.hh,
      	* src/tests/include/tests/automata/algos/fmp_transducers/normalized_composition_test.hh,
      	* src/tests/include/tests/automata/algos/fmp_transducers/subnormalized_composition_test.hh:
      	  Use the proper representations while building the ratexp.
    • Jerome Galtier's avatar
      Fix invert-test for boolean_rw_transducers. · 76231afc
      Jerome Galtier authored
      	* src/tests/include/tests/automata/algos/boolean_rw_transducers/invert_test.hh:
      	  Do not generate invalid alphabets.
  14. 10 Dec, 2008 3 commits
    • Jerome Galtier's avatar
      Fix constant for rat::exp (Close #196). · e9ce598a
      Jerome Galtier authored
      	* include/vaucanson/algebra/implementation/series/krat.hxx
      	  (op_assign): Name the first argument, so that it is used
      	  subsequently. (op_series_set): Use `op_convert' instead of
      	  manually calling `constant' (factor more code). Pass the series to
      	  various `op_convert' calls. Cosmetic changes.
      	* src/tests/include/tests/algebra/series/misc/series_test.hh: Add
      	  regression test.
    • Jerome Galtier's avatar
      Fix global_consistency test. · 05fff3b8
      Jerome Galtier authored
      	* src/tests/include/tests/context_headers/automata/global_consistency_test.hh:
      	  Be more generic with respect to series representations.
    • Jerome Galtier's avatar
      Fix op_convert for string based monoid (Close #198). · e8053923
      Jerome Galtier authored
      	* include/vaucanson/algebra/implementation/monoid/str_words.hh,
      	* include/vaucanson/algebra/implementation/monoid/str_words.hxx:
      	  Remove `op_convert' as its meaning may be ambiguous when the word
      	  implementation is the same as the literal implementation.
      	* src/tests/include/tests/algebra/free_monoid/free_monoid_test.hh:
      	  New regression test. Fix a typo.
      	* src/tests/include/tests/algebra/series/misc/series_test.hh: Fix
      	  some typos so that errors are more meaningful.
      	* src/tests/xml/xml_int_trans_tester.cc,
      	* src/tests/xml/xml_int_z_trans_tester.cc,
      	* src/tests/include/tests/automata/algos/pair_automata/pair_to_fmp_test.hh:
      	  Adjust by calling `parse_word'.
  15. 28 Nov, 2008 2 commits
  16. 27 Nov, 2008 3 commits
  17. 26 Nov, 2008 4 commits
  18. 25 Nov, 2008 3 commits
  19. 23 Nov, 2008 1 commit
  20. 22 Nov, 2008 5 commits