1. 27 Jan, 2011 3 commits
    • Alexandre Duret-Lutz's avatar
      Replace delete by destroy in comments dealing with states. · 0c9c9fc6
      Alexandre Duret-Lutz authored
      * src/tgba/succiter.hh, src/tgba/tgba.hh,
      src/tgba/tgbabddconcrete.hh, src/tgba/tgbaproduct.hh,
      src/tgba/tgbaunion.hh, src/tgbaalgos/bfssteps.hh,
      src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/explscc.hh,
      src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/replayrun.cc,
      src/tgbaalgos/scc.cc, src/tgbaalgos/scc.hh: Update comments
      to say that we "destroy" a state instead of "deleting" it.
      0c9c9fc6
    • Alexandre Duret-Lutz's avatar
      Update gspn interface for recent tools. · 95cc50da
      Alexandre Duret-Lutz authored
      * iface/gspn/ssp.cc: Use the new destroy() interface, and
      fix a couple of recent g++ reports.
      * iface/gspn/gspn.cc: Adjust to newer g++.
      95cc50da
    • Alexandre Duret-Lutz's avatar
      Introduce a destroy() method on states, and use it instead of delete. · 574a2285
      Alexandre Duret-Lutz authored
      Right now, destroy() just executes "delete this".  But in a later
      version, we will rewrite tgba_explicit so that it does not
      allocate new states (and the destroy() method for explicit state
      will do nothing).
      
      * src/tgba/state.hh (state::destroy): New method, to replace
      state::~state() in the future.
      (shared_state_deleter): New function.
      * src/evtgba/product.cc, src/evtgbaalgos/reachiter.cc,
      src/evtgbaalgos/save.cc, src/evtgbaalgos/tgba2evtgba.cc,
      src/tgba/tgba.cc, src/tgba/tgbaproduct.cc, src/tgba/tgbareduc.cc,
      src/tgba/tgbasafracomplement.cc, src/tgba/tgbasgba.cc,
      src/tgba/tgbatba.cc, src/tgba/tgbaunion.cc, src/tgba/wdbacomp.cc,
      src/tgbaalgos/cutscc.cc, src/tgbaalgos/emptiness.cc,
      src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/explscc.cc,
      src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/nsheap.cc,
      src/tgbaalgos/gv04.cc, src/tgbaalgos/magic.cc,
      src/tgbaalgos/minimize.cc, src/tgbaalgos/ndfs_result.hxx,
      src/tgbaalgos/neverclaim.cc, src/tgbaalgos/powerset.hh,
      src/tgbaalgos/reachiter.cc, src/tgbaalgos/reducerun.cc,
      src/tgbaalgos/reductgba_sim.cc,
      src/tgbaalgos/reductgba_sim_del.cc, src/tgbaalgos/replayrun.cc,
      src/tgbaalgos/safety.cc, src/tgbaalgos/save.cc,
      src/tgbaalgos/scc.cc, src/tgbaalgos/se05.cc,
      src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Adjust to call
      "s->destroy()" instead of "delete s".
      * src/saba/sabacomplementtgba.cc, src/tgba/tgbakvcomplement.cc:
      Pass shared_state_deleter to the shared_ptr constructor, so that
      it calls destroy() instead of delete.
      574a2285
  2. 26 Jan, 2011 4 commits
  3. 19 Jan, 2011 1 commit
  4. 18 Jan, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Preliminary implementation of an ajax-based ltl2tgba translator. · 34f49a86
      Alexandre Duret-Lutz authored
      * configure.ac: Output wrap/python/ajax/Makefile.
      * wrap/python/Makefile.am (SUBDIRS): Add ajax.
      * wrap/python/ajax/Makefile.am, wrap/python/ajax/README,
      wrap/python/ajax/ltl2tgba.html, wrap/python/ajax/spot.in: New files.
      * wrap/python/ajax/css/, wrap/python/ajax/js,
      wrap/python/ajax/logos: New directories.
      * README: Document wrap/python/ajax/.
      34f49a86
  5. 17 Jan, 2011 1 commit
  6. 12 Jan, 2011 3 commits
    • Alexandre Duret-Lutz's avatar
      Fix "unused function" warnings reported by clang++. · fe535a15
      Alexandre Duret-Lutz authored
      * src/evtgbaparse/Makefile.am, src/ltlparse/Makefile.am,
      src/neverparse/Makefile.am, src/tgbaparse/Makefile.am
      (AM_CPPFLAGS): Define -DYY_NO_INPUT so that the unused yyinput()
      function does not get compiled.
      * src/eltlparse/Makefile.am (AM_CPPFLAGS): Likewise.
      (AM_CXXFLAGS): Also enable warnings.
      * src/eltlparse/eltlparse.yy: Move helper functions from
      the "%code requires" block to the "%code" block, so that they
      do not appear in the eltlparse.hh file (which is included in
      two places...).
      * iface/nips/nips.cc (search_error_callback_assert): Comment
      this unused function.
      fe535a15
    • Alexandre Duret-Lutz's avatar
      Fix segfault with g++-3.3. · 45d7c880
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/minimize.cc (minimize_dfa): Fix deletion of the
      state_set_map.  It led to a crash when compiled with g++-3.3.
      45d7c880
    • Alexandre Duret-Lutz's avatar
      Fix a compilation failure with g++-3.3. · b39e68c5
      Alexandre Duret-Lutz authored
      * src/misc/hash.hh (identity_hash): New function.
      * src/tgba/tgbaexplicit.hh (tgba_explicit_number): Use
      identity_hash<int> instead of std::tr1::hash<int> that does not
      exist with g++-3.3.
      b39e68c5
  7. 07 Jan, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix usage of minimize_obligation in the CGI script. · 74f14567
      Alexandre Duret-Lutz authored
      * wrap/python/cgi-bin/ltl2tgba.py (reduce_wdba): Use
      minimize_obligation_new a pass the formula.
      * wrap/python/spot.i (minimize_obligation_new): New function, to
      cope with the strange specification of spot::minimize_obligation()
      not always creating a new automaton.
      74f14567
  8. 06 Jan, 2011 6 commits
  9. 05 Jan, 2011 20 commits