Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalization of VSI towards job pipelining + streaming AST construction messages + adaptation to latest changes in Silver #22

Merged
merged 86 commits into from
Jan 7, 2021

Commits on Sep 18, 2020

  1. Hooked Viper IDE to ViperServer

    Valentin committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    1f890ad View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2020

  1. implementing language server

    Valentin committed Oct 3, 2020
    Configuration menu
    Copy the full SHA
    d6ca33d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2020

  1. compilable version

    Valentin committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    df0e569 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2020

  1. verification running, diagnostics showing

    Valentin committed Oct 11, 2020
    Configuration menu
    Copy the full SHA
    a3704c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. verification cycle error-free

    Valentin committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    bd49a93 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. added flushing and proper server termination

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    c4f4e9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b81b69 View commit details
    Browse the repository at this point in the history
  3. Added VSI

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b129773 View commit details
    Browse the repository at this point in the history
  4. preparing merge from master

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    887f2aa View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' into LanguageServer

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    7900e85 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    64f67fc View commit details
    Browse the repository at this point in the history
  7. change test start

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    2541010 View commit details
    Browse the repository at this point in the history
  8. decremented positions to conform to LSP

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    eb21f62 View commit details
    Browse the repository at this point in the history
  9. implemented Carbon/Silicon swap

    Valentin committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b102be3 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. implemented backend swap

    Valentin committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    90cb817 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Split Server runner into two, one for each frontend

    Valentin committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    820d2dc View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. removed legacy code

    Valentin committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    c314498 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. adjusted runner objects

    Valentin committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    204ef73 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2020

  1. Configuration menu
    Copy the full SHA
    8f466aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa83feb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e221128 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78173e1 View commit details
    Browse the repository at this point in the history
  5. Generalized JobPool

    aterga committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    72bd15e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2327e17 View commit details
    Browse the repository at this point in the history
  7. Added AstWorker, MessageReportingTask, refactored Packer and Unpacker…

    … into ViperPost, added ProgramDefinitionsProvider.
    aterga committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    4f8c5da View commit details
    Browse the repository at this point in the history
  8. Get rid of language definitions reporting in VerificationWorker. Add …

    …generic method VerificationServer.initializeProcess. Fix typos. Add stubs for the AST construction request.
    aterga committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    8f9d54c View commit details
    Browse the repository at this point in the history
  9. Use helpers from ViperBackendConfig more often.

    initializeVerificationProcess now takes Future[MessageStreamingTask[AST]]
    aterga committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    1204cc7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ba597e3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    91ed5ba View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Configuration menu
    Copy the full SHA
    aa6951a View commit details
    Browse the repository at this point in the history
  2. (1) Properly handle exceptions in AstWorker. (2) ViperHttpServer.onVe…

    …rifyPost now completes the /verify request with ast_id and ver_id.
    
    The former can be used for streaming AST construction results.
    The latter can be used for streaming the verification results.
    (3) Added json writers for AstConstructionResultMessage instances.
    aterga committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    7d6b4db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69e6ec4 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

  1. Tiny changes in VSI

    aterga committed Nov 28, 2020
    Configuration menu
    Copy the full SHA
    ec38a62 View commit details
    Browse the repository at this point in the history
  2. Improvements in ViperServer's caching mechanism:

    - Fixed a bug that resulted in repetition of reported cached messages.
    - Fixed a bug that resulted in duplication of reported errors (overall vs. for_entity)
    - Fixed a logging bug in doCachedVerification
    - Add flag "cached" to the marshalled representation of AbstractError.
    - Added stubs for caching functions and predicates
    aterga committed Nov 28, 2020
    Configuration menu
    Copy the full SHA
    403658e View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2020

  1. Continued refactoring VSI:

    - The HTTP router in VSI is backwards compatible with the old interface: the client can choose whether to submit an /ast/ast_id request or not, all the messages that were produced and not consumed yet (both from AST construction and from verification) will still be streamed via the /verify/ver_id request.
    - Fixed a bug with double execution of cleanup tasks after AST construction jobs
    - Terminator actor is no longer responsible for cleaning up after individual jobs. The JobPool and its client take care of that at the point of job creation, not at the point of streaming.
    - JobHandles are now linked. Added new field `prev_job_id` to VerHandle.
    - Important changes in initializeProcess (cleanup after queue is completed, only create job actors if the task can be executed, recover from the case of AST errors in verification jobs)
    - getInterruptFutureList now also cleans up AST construction tasks.
    aterga committed Nov 29, 2020
    Configuration menu
    Copy the full SHA
    6dec4e7 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Configuration menu
    Copy the full SHA
    96f40c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ac4be7 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Configuration menu
    Copy the full SHA
    b063c65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    596bc5f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. - adapted streamMessages after refactoring the job pipelines

    - check for non-existent files in generateViperAst
    - streamMessages now returns Option[Future[Done]] rather than Option[Future[Unit]]
    aterga committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    a729b64 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2020

  1. Configuration menu
    Copy the full SHA
    6cfb5bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8796cb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60de197 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc90fe2 View commit details
    Browse the repository at this point in the history
  5. Some more cosmetic stuff

    aterga committed Dec 27, 2020
    Configuration menu
    Copy the full SHA
    b72d78c View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. Merge

    aterga committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a6660ee View commit details
    Browse the repository at this point in the history
  2. Address Linard's points

    aterga committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a678c44 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb12abe View commit details
    Browse the repository at this point in the history
  4. Update README.md

    aterga authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    81c8c69 View commit details
    Browse the repository at this point in the history
  5. Fixed the license headers

    aterga committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    a6a23da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1246a8e View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2020

  1. Add @tailrec to getHashForNode

    aterga committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    d94ddde View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    465413c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1bc7ff5 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. ViperCache: do not add entries unless errors are correctly mapped to …

    …methods.
    
    - Cosmetic edits.
    aterga committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    1130886 View commit details
    Browse the repository at this point in the history
  2. Update scala.yml

    Update Java in build script to version 15
    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    b3917c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03a21f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e8f9eb View commit details
    Browse the repository at this point in the history
  5. Update scala.yml

    Use pavpanchekha/setup-z3 to get the right version of Z3.
    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    3cd96c2 View commit details
    Browse the repository at this point in the history
  6. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    8599eda View commit details
    Browse the repository at this point in the history
  7. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    173187c View commit details
    Browse the repository at this point in the history
  8. Update scala.yml

    Try to fix the Z3 setup
    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    ec2cbfc View commit details
    Browse the repository at this point in the history
  9. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    fef997d View commit details
    Browse the repository at this point in the history
  10. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    239d34e View commit details
    Browse the repository at this point in the history
  11. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    bcd9924 View commit details
    Browse the repository at this point in the history
  12. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    92f361e View commit details
    Browse the repository at this point in the history
  13. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    bbe9939 View commit details
    Browse the repository at this point in the history
  14. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    cc8f346 View commit details
    Browse the repository at this point in the history
  15. Update scala.yml

    No need to run sbt assembly for testing.
    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    b4e0483 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    26a3968 View commit details
    Browse the repository at this point in the history
  17. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    fd382c4 View commit details
    Browse the repository at this point in the history
  18. Temporary config

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    7125dcd View commit details
    Browse the repository at this point in the history
  19. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    46f715d View commit details
    Browse the repository at this point in the history
  20. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    58570c5 View commit details
    Browse the repository at this point in the history
  21. Update release.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    16f734e View commit details
    Browse the repository at this point in the history
  22. Update release.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    2cf1395 View commit details
    Browse the repository at this point in the history
  23. Update release.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    0e48c41 View commit details
    Browse the repository at this point in the history
  24. Update release.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    9f3e18e View commit details
    Browse the repository at this point in the history
  25. Update release.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    27d87aa View commit details
    Browse the repository at this point in the history
  26. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    ca5da36 View commit details
    Browse the repository at this point in the history
  27. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    2335873 View commit details
    Browse the repository at this point in the history
  28. Update scala.yml

    aterga authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    7c8113d View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Delete release.yml

    aterga authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    172683f View commit details
    Browse the repository at this point in the history
  2. Update build.sbt

    aterga committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a684420 View commit details
    Browse the repository at this point in the history
  3. Update plugins.sbt

    aterga committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    891449e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b376991 View commit details
    Browse the repository at this point in the history