1. 06 Aug, 2009 1 commit
    • Florent D'Halluin's avatar
      [yavgui] Enable state properties dialog. · db389ee6
      Florent D'Halluin authored
      Note: initial and final transition labels cannot be set (yet).
      
      * yavgui/src/Makefile.am: Add files.
      * yavgui/src/dialog_properties_state.cc,
      * yavgui/src/dialog_properties_state.hh: Fixes and tweaks.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh,
      * yavgui/src/g_state.hxx: Add signal/slots/connections
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh,
      * yavgui/src/g_vcsn_handler.hxx: Implement functions.
      db389ee6
  2. 05 Aug, 2009 1 commit
    • Florent D'Halluin's avatar
      [yavgui] Fix transition hover detection. · a0577521
      Florent D'Halluin authored
      Give transitions a meaningful position (close to the center of the
      drawn arrow), instead of (0, 0).
      
      Properly update the scene index when their geometry changes.
      
      Improve their geometric shape (used for collision detection).
      
      * yavgui/src/g_transition.cc: Fix hover detection.
      * yavgui/src/g_state.cc: Delete a whitespace.
      a0577521
  3. 04 Aug, 2009 14 commits
    • Florent D'Halluin's avatar
      [yavgui] Get rid of double pointers where applicable. · a09eafb7
      Florent D'Halluin authored
      GScene** -> GScene* and GView** -> GView*.
      
      * yavgui/src/automaton_instance.cc,
      * yavgui/src/automaton_instance.hxx,
      * yavgui/src/g_painter.cc,
      * yavgui/src/g_painter.hh,
      * yavgui/src/g_painter.hxx,
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh,
      * yavgui/src/g_vcsn_handler.hxx,
      * yavgui/src/vcsn_automaton.cc,
      * yavgui/src/vcsn_automaton.hh: Do that.
      a09eafb7
    • Florent D'Halluin's avatar
      [yavgui] GState: mark getter as const. · 7ea984b1
      Florent D'Halluin authored
      * yavgui/src/g_state.hh,
      * yavgui/src/g_state.hxx: Do that.
      7ea984b1
    • Florent D'Halluin's avatar
      [yavgui] Enable transition deletion. · 1857fd38
      Florent D'Halluin authored
      * yavgui/src/g_painter.hxx: Add vcsn_index (htransition)
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_transition.cc,
      * yavgui/src/g_transition.hh: Add signals/slots/connections.
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh,
      * yavgui/src/g_vcsn_handler.hxx: Implement deletion.
      1857fd38
    • Florent D'Halluin's avatar
      [yavgui] Do not add a state when a transition is highlighted. · 92556a61
      Florent D'Halluin authored
      * yavgui/src/g_painter.hxx: Add necessary connections.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh: Ignore right click when any item is selected.
      * yavgui/src/g_vcsn_handler.hxx: Unselect a state upon destruction.
      92556a61
    • Florent D'Halluin's avatar
      [yavgui] Update state property dialog. · 696af6a6
      Florent D'Halluin authored
      * yavgui/src/dialog_properties_state.cc,
      * yavgui/src/dialog_properties_state.hh: Add fields for
      intial/final entries.
      696af6a6
    • Florent D'Halluin's avatar
      [yavgui] Handle state addition/deletion. · 835c251b
      Florent D'Halluin authored
      Right click on empty space to add a state.
      Right click on a state to delete it.
      
      * yavgui/src/automaton_instance.cc: Cosmetic.
      * yavgui/src/g_painter.cc: Do not delete the scene when refreshing;
      update it instead.
      * yavgui/src/g_painter.hxx,
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh,
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh,
      * yavgui/src/g_vcsn_handler.hxx,
      * yavgui/src/g_transition.cc: Add necessary signal/slots/connections.
      * yavgui/src/vcsn_automaton.cc,
      * yavgui/src/g_view.cc,
      * yavgui/src/g_view.hh: Remove obsolete signal/slots/connections.
      835c251b
    • Florent D'Halluin's avatar
      [yavgui] Add NullParameter exception. · bdce50ed
      Florent D'Halluin authored
      * yavgui/src/exceptions.hh: Do that.
      bdce50ed
    • Florent D'Halluin's avatar
      [yavgui] Fix GState. · ae559699
      Florent D'Halluin authored
      Add missing getter.
      Fix some warnings.
      
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh,
      * yavgui/src/g_state.hxx: Do that.
      ae559699
    • Florent D'Halluin's avatar
      [yavgui] Add a custom scene class. · b4c859d1
      Florent D'Halluin authored
      * yavgui/src/Makefile.am: Add files.
      * yavgui/src/automaton_instance.cc,
      * yavgui/src/automaton_instance.hh,
      * yavgui/src/automaton_instance.hxx,
      * yavgui/src/gui.hh,
      * yavgui/src/vcsn_automaton.cc,
      * yavgui/src/g_painter.cc,
      * yavgui/src/g_painter.hh: Change references.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_scene.hxx: All new. Implementation.
      b4c859d1
    • Florent D'Halluin's avatar
      [yavgui] Change GStateAdder into GVcsnHandler. · 60431893
      Florent D'Halluin authored
      GVcsnHandler handles automaton structure modifications.
      
      * yavgui/src/Makefile.am,
      * yavgui/src/automaton_instance.cc,
      * yavgui/src/vcsn_automaton.cc,
      * yavgui/src/vcsn_automaton.hh,
      * yavgui/src/vcsn_automaton.hxx: Update references.
      * yavgui/src/g_state_adder.cc: Rename into ->
      * yavgui/src/g_vcsn_handler.cc: .
      * yavgui/src/g_state_adder.hh: Rename into ->
      * yavgui/src/g_vcsn_handler.hh: .
      * yavgui/src/g_state_adder.hxx: Rename into ->
      * yavgui/src/g_vcsn_handler.hxx: .
      60431893
    • Florent D'Halluin's avatar
      [yavgui] Change yavgui into gui in the code. · da09b4b0
      Florent D'Halluin authored
      Meant to ease the transition to another name.
      Keep "yavgui" in displayed strings.
      
      (too many files to list).
      
      * yavgui/src/yavgui.cc: Renamed into ->
      * yavgui/src/gui.cc: .
      * yavgui/src/yavgui.hh: Renamed into ->
      * yavgui/src/gui.hh: .
      * yavgui/src/yavgui.hxx: Renamed into ->
      * yavgui/src/gui.hxx: .
      da09b4b0
    • Florent D'Halluin's avatar
      [yavgui] Fix crash on closing last automaton. · 92abc50a
      Florent D'Halluin authored
      * yavgui/src/yavgui.cc: Do not raise an exception when selecting
      a non-existing instance.
      92abc50a
    • Florent D'Halluin's avatar
      [yavgui] Handle intial & final labels. · ed15236d
      Florent D'Halluin authored
      * yavgui/src/g_painter.hxx,
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh,
      * yavgui/src/g_state.hxx: Do that.
      ed15236d
    • Florent D'Halluin's avatar
      [yavgui] Fix compilation. · e053a3ea
      Florent D'Halluin authored
      * yavgui/src/Makefile.am: Small fixes.
      * yavgui/src/command_macros.hh,
      * yavgui/src/common.hh,
      * yavgui/src/g_painter.hxx,
      * yavgui/src/g_state.cc,
      * yavgui/src/g_transition.cc,
      * yavgui/src/main.cc: Small fixes, use CBS.
      * yavgui/src/loaders.hxx,
      * yavgui/src/savers.hh: Disable RW input/output (not working).
      e053a3ea
  4. 16 Jul, 2009 2 commits
  5. 15 Jul, 2009 1 commit
  6. 08 Jul, 2009 2 commits
    • Alex Hamelin's avatar
      * configure.ac: Bump version to 1.3.1a. · 943df235
      Alex Hamelin authored
      * doc/manual/taf-kit-manual.tex: Likewise
      943df235
    • Alex Hamelin's avatar
      Release 1.3.1. · bd8e261d
      Alex Hamelin authored
      * 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.
      bd8e261d
  7. 06 Jul, 2009 1 commit
  8. 02 Jul, 2009 1 commit
  9. 01 Jul, 2009 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix standard_of() w.r.t. listg. · fa41eeb8
      Alexandre Duret-Lutz authored
      * 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.
      fa41eeb8
  10. 25 Jun, 2009 1 commit
  11. 19 Jun, 2009 7 commits
    • Florent D'Halluin's avatar
      Add benchmark for product. · b29a5402
      Florent D'Halluin authored
      * 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.
      b29a5402
    • Florent D'Halluin's avatar
      Benchmarks: rename aut_ab into aut_b. · 71fbd82b
      Florent D'Halluin authored
      * src/bench/common/bench_constructs.hh,
      * src/bench/quotient/quotient_bool_bench.hh,
      * src/bench/quotient/quotient_z_bench.hh: Do that.
      71fbd82b
    • Florent D'Halluin's avatar
      Update accessible benchmark. · f8ccc316
      Florent D'Halluin authored
      * src/bench/accessible/Makefile.bench: Adjust benchmark values.
      * src/bench/accessible/accessible_bench.hh,
      * src/bench/common/bench_constructs.hh: Move automaton creation.
      f8ccc316
    • Florent D'Halluin's avatar
      Benchmarks: add documentation. · 76eaaf17
      Florent D'Halluin authored
      * src/bench/README,
      * src/bench/common/README_AUTOMATA: Update.
      76eaaf17
    • Florent D'Halluin's avatar
      Update benchmarks. · fea69166
      Florent D'Halluin authored
      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.
      fea69166
    • Florent D'Halluin's avatar
      Update cbs. · 2be722fd
      Florent D'Halluin authored
      CBS version: f2cc74d682bddc0da7386a5ce1017b591c2c6e47.
      See cbs/Changelog.
      2be722fd
    • Florent D'Halluin's avatar
      Update cbs. · 49b1d5b5
      Florent D'Halluin authored
      CBS version: 17a18a174536d6b05c5364dd5f96f420b5ca75ef.
      See cbs/Changelog.
      49b1d5b5
  12. 11 Jun, 2009 2 commits
  13. 08 Jun, 2009 1 commit
  14. 05 Jun, 2009 5 commits
    • Alexandre Duret-Lutz's avatar
      Update to gnulib 567f85cfcdb0a63cf96730d0858581b013765d59. · 8899e930
      Alexandre Duret-Lutz authored
      * gnulib/Makefile.am, gnulib/argp-fmtstream.c, gnulib/getopt1.c,
      gnulib/gettext.h, gnulib/progname.c, gnulib/stdint.in.h ,
      gnulib/stdio.in.h, gnulib/stdlib.in.h, gnulib/strerror.c ,
      gnulib/unistd.in.h, gnulib/vasnprintf.c, gnulib/wchar.in.h ,
      gnulib/xmalloc.c, m4/alloca.m4, m4/argp.m4 ,
      m4/double-slash-root.m4, m4/errno_h.m4, m4/extensions.m4 ,
      m4/gnulib-cache.m4, m4/gnulib-common.m4, m4/gnulib-comp.m4 ,
      m4/include_next.m4, m4/inline.m4, m4/intmax_t.m4 ,
      m4/inttypes_h.m4, m4/longlong.m4, m4/malloc.m4, m4/mempcpy.m4 ,
      m4/printf.m4, m4/size_max.m4, m4/stdbool.m4, m4/stdint.m4 ,
      m4/stdint_h.m4, m4/stdio_h.m4, m4/stdlib_h.m4, m4/strcase.m4 ,
      m4/strchrnul.m4, m4/strndup.m4, m4/strnlen.m4, m4/unistd_h.m4 ,
      m4/vasnprintf.m4, m4/wchar.m4, m4/wchar_t.m4, m4/wint_t.m4 ,
      m4/xsize.m4: Update.
      m4/00gnulib.m4, m4/multiarch.m4: New files.
      8899e930
    • Alexandre Duret-Lutz's avatar
    • Florent D'Halluin's avatar
      Fix call graph export in taf-kit. · 0c15051c
      Florent D'Halluin authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * taf-kit/src/main.cc: Use the correct variable.
      0c15051c
    • Florent D'Halluin's avatar
      Adjust bench to complete in a reasonable time. · 7211dee8
      Florent D'Halluin authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/bench/minimization_2n/Makefile.bench: Do not bench
      minimization_brzozowski past n=12 (already 8min on seattle).
      
      * src/bench/eps_removal/Makefile.bench: Bench up to 200.
      7211dee8
    • Florent D'Halluin's avatar
      Fix composition bench. · 31b17fcd
      Florent D'Halluin authored and Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz committed
      * src/bench/composition/normalized_composition_bench.hh,
      * src/bench/composition/rw_composition_bench.hh:
      Add missing CBS parameter (n).
      31b17fcd