1. 03 Aug, 2012 4 commits
    • François Bobot's avatar
      session: remove the current_shape_version reference because it's · e3de235a
      François Bobot authored
      comportement was not very clear if an exception was raised.
    • François Bobot's avatar
      Documentation: add description to all the registration functions · 29201f7c
      François Bobot authored
       (metas, debug flags, transformations, formats) except for label.
      This description is used in --list-*. The description can use any of
      the formatting markup of Format "@ " "@[",...
      Transformations can also specify from which metas and labels they
      depend, and add informations about how they are interpreted.
        - complete and correct the documentation
        - when a transformation use Trans.on_meta, it should be possible to
          add an interpretation of the metas in the documentation.
        - recover a summary version of --list-* ?
        - be able to export in latex?
    • François Bobot's avatar
      session pairing: simplify and move session pairing. · e6f52504
      François Bobot authored
        session pairing doesn't compute anymore the shape of the goal, it is
       done before. It was able to compute the shape only when the checksum
       of the task was different, but computing the checksum of the task is
       way more time consuming than computing the shape of the goal (and
       include it).
       So this commit simplify greatly the function and theoretically
       augment just a little the time spent. Experimentaly it's the inverse
       on max_matrix. Until "update_session: done" with or without modifying
       the checksums:
                  before     |   after
      without : 0.21-0.22 s  | 0.16-0.17 s
      with    : 0.23-0.26 s  | 0.18-0.20 s
    • François Bobot's avatar
      longlines and spelling mistake · 59762d5e
      François Bobot authored
  2. 17 Jul, 2012 1 commit
  3. 16 Jul, 2012 2 commits
  4. 13 Jul, 2012 2 commits
  5. 01 Jun, 2012 1 commit
  6. 16 May, 2012 1 commit
  7. 10 May, 2012 1 commit
  8. 16 Apr, 2012 2 commits
  9. 12 Apr, 2012 2 commits
  10. 10 Apr, 2012 1 commit
  11. 09 Apr, 2012 1 commit
  12. 31 Mar, 2012 1 commit
  13. 27 Mar, 2012 1 commit
  14. 26 Mar, 2012 1 commit
  15. 17 Mar, 2012 1 commit
  16. 22 Feb, 2012 1 commit
    • Andrei Paskevich's avatar
      make api of maps/sets more consistent · 33bb423f
      Andrei Paskevich authored
      - change takes function as the first argument
      - add_new takes exception as the first argument
      - find_default is renamed to find_def and takes the default value
        as the first argument
      - find_option is renamed to find_opt (to align with find_exn and find_def)
      - default_option is renamed def_option
  17. 08 Feb, 2012 2 commits
  18. 03 Feb, 2012 1 commit
  19. 01 Feb, 2012 2 commits
    • François Bobot's avatar
      why3session info : add --edited-files option which · 890ca844
      François Bobot authored
      print all the edited files which appear in the session.
      In conjonction with --print0 which prints '\000' instead of '\n' that
      give a safe way to "git add" all the edited files of a session:
      why3session info --edited-files --print0 vstte12_bfs.mlw |xargs -0 git add
      Since why3session accept the why3session.xml (it uses the basename as
       session directory) you can add all the edited file of all the session
      saved in a git repository with:
      git ls-files -z |grep -z -e "why3session.xml$" |xargs -0 why3session info --edited-files --print0 | xargs -0 git add
    • François Bobot's avatar
      session : better information in print_session · 99d9ac06
      François Bobot authored
      ? not verified (or not valid for proof_attempt)
      ! InternalFailure
      O obsolete
      A archived
  20. 31 Jan, 2012 2 commits
    • François Bobot's avatar
      Why3session : a new why3 program · da5b5d18
      François Bobot authored
      It's goal is to allow to view and modify sessions.
      Currently three sub-commands :
      info : can give the provers used, pretty-print in ascii a session,
           can give the corresponding directory
      mod : allow to set obsolete, or modify the archive state of proof attempt
          which corresponds to selected provers
      copy : copy a proof attempt by modifing its prover
    • François Bobot's avatar
      Add the property archived to proof_attempt. · 08b81e74
      François Bobot authored
      If a proof_attempt is archived, it is not replayed nor set obsolete.
  21. 28 Jan, 2012 1 commit
  22. 25 Jan, 2012 2 commits
    • François Bobot's avatar
      Session doesn't use anymore prover id. · 2e2e0d83
      François Bobot authored
      Prover ids are only used for the command line option "-P".
      The user can choose what he wants (they must be unique)
      The prover name and version should not be modified. If someone want to
      test different command line options for a prover he can use the
      "alternative" field.
      If someone want to replay an external proof but he doesn't have the
      corresponding prover (same name,version,alternative), why3ide ask for
      a replacement among the known provers. The choice can be saved.
    • François Bobot's avatar
  23. 19 Jan, 2012 1 commit
  24. 18 Jan, 2012 1 commit
    • François Bobot's avatar
      Session rewrite fix : · 804401a4
      François Bobot authored
       - create a session if the directory doesn't exists
       - If the directory exists but the xml doesn't behave as if the xml is empty.
  25. 03 Jan, 2012 1 commit
    • François Bobot's avatar
      new session · 49c19a38
      François Bobot authored
      Split session in two :
      Session : an API for managing session without running provers
      Session_scheduler : an API for running provers asynchronously
      All the global states have been removed.
      A session must be first read, which give a session without task.
      Afterward it must be updated to the current state of the files with
      some environnement and configuration.
      printer and iterator are provided for session.
      Session_tools : some useful functions on session.
      Smoke detector : not anymore integrated to session. Just add the
            transformation "smoke_detector_top" or "smoke_detector_deep" to
            all the valid proof attempt.
      prover_id are not yet removed but all is in place in session for that.