1. 11 Jun, 2009 1 commit
  2. 05 Jun, 2009 6 commits
    • Alexandre Duret-Lutz's avatar
      09fc0560
    • Alexandre Duret-Lutz's avatar
      BOOST_CPPFLAGS were ignored while compiling lib/. · 9563f878
      Alexandre Duret-Lutz authored
      * lib/src/libcommon.mk: Do not overwrite AM_CPPFLAGS with a list
      of include directories that is less complete than the one in
      vaucanson.mk, use...
      (libvcsn_common_la_CPPFLAGS, libvcsn_common_ex_la_CPPFLAGS):
      ... these variable to augmant AM_CPPFLAGS instead.
      9563f878
    • Alexandre Duret-Lutz's avatar
      Add the pair-to-fmp command to TAF-Kit. · fa0869d6
      Alexandre Duret-Lutz authored
      * taf-kit/src/Makefile.am (vcsn_char_fmp_b_LDADD,
      vcsn_char_fmp_z_LDADD, vcsn_int_fmp_b_LDADD,
      vcsn_int_fmp_z_LDADD): Add the corresponding pair automaton
      library.
      * taf-kit/src/fmp_commands.cc (pair_to_fmp): New command.
      * taf-kit/src/getters.hxx (get_pair_aut): New function.
      * taf-kit/src/pipe_getters.hh, taf-kit/src/pipe_getters.hxx
      (pair_automaton_getter): New class.
      * taf-kit/tests/vcsn-char-fmp-b.test,
      taf-kit/tests/vcsn-int-fmp-z.test: Add more tests for ltl-to-pair
      and pair-to-fmp.
      fa0869d6
    • Alexandre Duret-Lutz's avatar
      Make pair_to_fmp() available in FMP contexts. · ba19db3e
      Alexandre Duret-Lutz authored
      * include/vaucanson/contexts/fmp_transducer_functions.thh:
      include pair_to_fmp.hh.
      ba19db3e
    • Alexandre Duret-Lutz's avatar
      Make mute_ltl_to_pair<S,T>::make_automaton available. · 88b29e2c
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/ltl_to_pair.hxx (make_automaton):
      Move the code...
      * include/vaucanson/algorithms/ltl_to_pair.hh (make_automaton):
      ... here, so it is available even if VCSN_USE_INTERFACE_ONLY
      is defined.
      88b29e2c
    • Alexandre Duret-Lutz's avatar
      Introduce contexts for char-char-z and int-int-z automata. · 0e17b91c
      Alexandre Duret-Lutz authored
      * include/vaucanson/automata/generic_contexts/char_char_z_automaton.hh,
      include/vaucanson/automata/generic_contexts/char_char_z_automaton_structures.hh,
      include/vaucanson/automata/generic_contexts/int_int_z_automaton.hh,
      include/vaucanson/automata/generic_contexts/int_int_z_automaton_structures.hh:
      New files.
      * include/Makefile.am (nobase_include_HEADERS): Add them.
      * lib/generate_libvcsn.rb: Adjust to build int-int-z and
      char-char-z contexts.
      * lib/Makefile.am: Include the new libraries' makefiles.
      0e17b91c
  3. 26 May, 2009 4 commits
  4. 18 May, 2009 4 commits
  5. 14 May, 2009 2 commits
    • Alexandre Duret-Lutz's avatar
      abs() no longer works with g++ 4.4., we must write std::abs(). · ab9f5038
      Alexandre Duret-Lutz authored
      * include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx,
      include/vaucanson/misc/random.hxx: Use std::abs() instead of abs().
      * include/vaucanson/algebra/implementation/semiring/rational_number.hxx:
      Likewise, and also include <cstdlib> for abs(int).
      ab9f5038
    • 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-fmp-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
      libvcsn-common-ex.la.
      * taf-kit/src/common.hh (EXCEPTION_TRAPS): Remove #define.
      * src/bench/common/bench.mk (AM_CPPFLAGS): Remove useless
      -DEXCEPTION_TRAPS.
      * 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
      libvcsn-common-ex.la.
      * 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).
      4ddbd80e
  6. 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/one_rule_rewriting/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.
      d8c81c6a
  7. 12 May, 2009 1 commit
  8. 11 May, 2009 3 commits
  9. 06 May, 2009 4 commits
  10. 04 May, 2009 3 commits
  11. 30 Apr, 2009 8 commits
  12. 17 Apr, 2009 1 commit
  13. 16 Apr, 2009 2 commits