1. 10 Aug, 2009 2 commits
    • Florent D'Halluin's avatar
      [yavgui] Catch exceptions when creating transitions. · 0df966d4
      Florent D'Halluin authored
      * yavgui/src/g_vcsn_handler_internal.hxx: Do that.
      0df966d4
    • Florent D'Halluin's avatar
      [yavgui] Improve transition creation. · 9dbd9bd1
      Florent D'Halluin authored
      Handle transition creation in GScene (instead of GState).
      Add transition preview.
      
      * yavgui/src/Makefile.am: Add new files.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh: Add implementation.
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh,
      * yavgui/src/g_state.hxx: Remove obsolete code, fix (de)selection.
      * yavgui/src/g_transition.cc,
      * yavgui/src/g_transition.hh,
      * yavgui/src/g_vcsn_handler_internal.hxx: Fix item (de)selection.
      * yavgui/src/g_transition_draft.cc,
      * yavgui/src/g_transition_draft.hh: New.  Floating preview.
      9dbd9bd1
  2. 09 Aug, 2009 3 commits
  3. 06 Aug, 2009 10 commits
    • Florent D'Halluin's avatar
      [yavgui] Add command "product". · 4a062d11
      Florent D'Halluin authored
      * yavgui/src/command_list.cc,
      * yavgui/src/commands_common.hh: Do that.
      4a062d11
    • Florent D'Halluin's avatar
      [yavgui] Allow transition adjustement with left click only. · 39e7b66a
      Florent D'Halluin authored
      * yavgui/src/g_transition.cc: Do that.
      39e7b66a
    • Florent D'Halluin's avatar
      [yavgui] Tweak dialog boxes. · fdf01c5f
      Florent D'Halluin authored
      * yavgui/src/dialog_eval.cc,
      * yavgui/src/dialog_eval.hh,
      * yavgui/src/dialog_get_label.cc: Do that.
      fdf01c5f
    • Florent D'Halluin's avatar
      [yavgui] Add & enable addTransition. · 01f285b8
      Florent D'Halluin authored
      Only for boolean_automaton and z_automaton.
      To be rewritten.
      
      * yavgui/src/Makefile.am: Add files.
      * yavgui/src/dialog_get_label.cc,
      * yavgui/src/dialog_get_label.hh: New.  Input dialog for label.
      * yavgui/src/g_state.cc,
      * yavgui/src/g_state.hh: Add signals/slots/connections, visual tweaks.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_state.hxx,
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh: Add signals/slots/connections.
      * yavgui/src/g_vcsn_handler_internal.hh,
      * yavgui/src/g_vcsn_handler_internal.hxx: Implement addTransition.
      01f285b8
    • Florent D'Halluin's avatar
      [yavgui] Add temporary setTransition implementation. · b91f82b8
      Florent D'Halluin authored
      Only for boolean_automaton and z_automaton.
      To be rewritten.
      
      * yavgui/src/g_vcsn_handler_internal.hh,
      * yavgui/src/g_vcsn_handler_internal.hxx: Do that.
      b91f82b8
    • Florent D'Halluin's avatar
      [yavgui] Add and enable transition properties dialog. · 5e9886ab
      Florent D'Halluin authored
      Transition label modification is not implemented yet.
      
      * yavgui/src/Makefile.am: Add new files.
      * yavgui/src/dialog_properties_transition.cc,
      * yavgui/src/dialog_properties_transition.hh: New.
      * yavgui/src/g_scene.cc,
      * yavgui/src/g_scene.hh,
      * yavgui/src/g_transition.cc,
      * yavgui/src/g_transition.hh,
      * yavgui/src/g_vcsn_handler.cc,
      * yavgui/src/g_vcsn_handler.hh: Add signal/slots/connections.
      * yavgui/src/g_vcsn_handler_internal.hh,
      * yavgui/src/g_vcsn_handler_internal.hxx: Add temporary implementation.
      5e9886ab
    • Florent D'Halluin's avatar
      [yavgui] Add a help dialog. · 2536d43c
      Florent D'Halluin authored
      * yavgui/src/Makefile.am: Add new files.
      * yavgui/src/dialog_help.cc,
      * yavgui/src/dialog_help.hh: New.  Simple help dialog.
      * yavgui/src/gui.cc,
      * yavgui/src/gui.hh: Add menu and action.
      2536d43c
    • Florent D'Halluin's avatar
      [yavgui] Delete states/transitions on double right click. · 892ffad6
      Florent D'Halluin authored
      One right click -> create stuff.
      Double right click -> delete stuff.
      
      * yavgui/src/g_state.cc,
      * yavgui/src/g_transition.cc,
      * yavgui/src/g_transition.hh: Do that.
      892ffad6
    • Florent D'Halluin's avatar
      [yavgui] Improve compilation. · 35c241de
      Florent D'Halluin authored
      Move structure modification handlers (templated code) in
      a separate file so that they are only included where used.
      
      * yavgui/src/g_vcsn_handler.cc: Minor adaptations.
      * yavgui/src/g_vcsn_handler.hh,
      * yavgui/src/g_vcsn_handler.hxx: Remove handler classes from here.
      * yavgui/src/g_vcsn_handler_internal.hh,
      * yavgui/src/yavgui/src/g_vcsn_handler_internal.hxx: New, Add classes.
      35c241de
    • 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
  4. 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
  5. 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
  6. 16 Jul, 2009 2 commits
  7. 15 Jul, 2009 1 commit
  8. 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
  9. 06 Jul, 2009 1 commit
  10. 02 Jul, 2009 1 commit
  11. 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
  12. 25 Jun, 2009 1 commit
  13. 19 Jun, 2009 1 commit
    • 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