1. 27 Sep, 2011 6 commits
  2. 25 Sep, 2011 2 commits
    • Alexandre Duret-Lutz's avatar
      Handle execvp() failures. · 746cbc63
      Alexandre Duret-Lutz authored
      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.
      746cbc63
    • Alexandre Duret-Lutz's avatar
      Use AC_LANG_SOURCE. · 375a1ce4
      Alexandre Duret-Lutz authored
      * build-aux/vcsn.m4: Use AC_LANG_SOURCE when calling AC_LINK_IFELSE.
      This fix a warning reported by Autoconf 2.68.
      375a1ce4
  3. 13 Sep, 2011 9 commits
    • Alexandre Duret-Lutz's avatar
      * taf-kit/tests/vcsn-char-q.test: Adjust test for reduce, · 44874a71
      Alexandre Duret-Lutz authored
      and add a test case where proper should not work.
      44874a71
    • Sylvain Lombardy's avatar
      Fix implementation of proper() for Q. · 1d80e038
      Sylvain Lombardy authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * 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.
      1d80e038
    • Sylvain Lombardy's avatar
      Fix image and domain. · 0b26bdc0
      Sylvain Lombardy authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * include/vaucanson/algorithms/image.hxx,
      include/vaucanson/algorithms/domain.hxx: Call cut_up.
      0b26bdc0
    • Alexandre Duret-Lutz's avatar
      Implement support. · bed078cc
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_wt.cc (support_command): New command.
      * taf-kit/tests/vcsn-char-z.test: Add a new test.
      bed078cc
    • Alexandre Duret-Lutz's avatar
      Implement w-image and w-domain. · a2ee5820
      Alexandre Duret-Lutz authored
      * 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.
      a2ee5820
    • Alexandre Duret-Lutz's avatar
      The input of evaluation_fmp should be subnormalized. · b4c2a94e
      Alexandre Duret-Lutz authored
      * 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.
      b4c2a94e
    • Alexandre Duret-Lutz's avatar
      Save space in the output of the editor. · 2e56ecbe
      Alexandre Duret-Lutz authored
      * taf-kit/src/edition_commands.hxx (ask_and_treat_choice): Squeeze
      the display of actions on three columns to save space.  Suggested
      by Jacques.
      2e56ecbe
    • Alexandre Duret-Lutz's avatar
      "chain a.xml 0" should return an automaton recognizing 1. · af3f1bcf
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_wt.cc (chain): Handle the 0th power specifically.
      * taf-kit/tests/vcsn-char-b.test: Add a test.
      af3f1bcf
    • Alexandre Duret-Lutz's avatar
      Cleanup star_alphabet_command and handle 0th power specifically. · 061de12d
      Alexandre Duret-Lutz authored
      * 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.
      061de12d
  4. 09 Sep, 2011 2 commits
    • Alexandre Duret-Lutz's avatar
      Revert part of bff6ab2e. · 49421c83
      Alexandre Duret-Lutz authored
      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.
      49421c83
    • David Moreira's avatar
      Update domain and Image. Add universal algorithms. · 7c0607ac
      David Moreira authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * 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.
      7c0607ac
  5. 26 Jul, 2011 6 commits
  6. 23 Jul, 2011 3 commits
  7. 21 Jul, 2011 1 commit
    • David Moreira's avatar
      Clean code from RationalNumber class. · 79b86062
      David Moreira authored
      * include/vaucanson/algebra/implementation/semiring/q_number.hh
      * include/vaucanson/algebra/implementation/semiring/q_number.hxx:
      Delete debug info and useless methods.
      79b86062
  8. 14 Jul, 2011 1 commit
    • David Moreira's avatar
      Update some algorithms. · 838e3917
      David Moreira authored
      * include/vaucanson/algorithms/eps_removal.hxx,
      * include/vaucanson/algorithms/infiltration.hxx,
      * include/vaucanson/algorithms/product.hxx,
      * include/vaucanson/algorithms/shuffle.hxx: Improve
      implementation.
      838e3917
  9. 12 Jul, 2011 1 commit
    • David Moreira's avatar
      Ignore some generating files. · 67e56170
      David Moreira authored
      * include/.gitignore: Ignore include/vaucanson/f2_*.hh
      and include/vaucanson/q_*.hh (file generate for Z/2Z and
      Q semirings.)
      67e56170
  10. 09 Jul, 2011 1 commit
    • David Moreira's avatar
      Clean rational number code. · 5f4c09d0
      David Moreira authored
      * include/vaucanson/algebra/implementation/semiring/q_number.hxx:
      Delete debug information. Check at the end of set_rational if the
      denominator is 'not null'.
      5f4c09d0
  11. 08 Jul, 2011 8 commits