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

Kotlin API #165

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open

Kotlin API #165

wants to merge 61 commits into from

Commits on Dec 22, 2021

  1. Merge in device spec changes

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    82913de View commit details
    Browse the repository at this point in the history
  2. Initial kotlin generation (still using Options), some helpers

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    25da497 View commit details
    Browse the repository at this point in the history
  3. Update stdlib, more helpers

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    4c2ef19 View commit details
    Browse the repository at this point in the history
  4. default parameters

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    2638f47 View commit details
    Browse the repository at this point in the history
  5. Add and use ktlint

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    14d301c View commit details
    Browse the repository at this point in the history
  6. use spaces

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    02494e5 View commit details
    Browse the repository at this point in the history
  7. disable filename rule

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    1ae143c View commit details
    Browse the repository at this point in the history
  8. change disable to single file

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    07fcb24 View commit details
    Browse the repository at this point in the history
  9. Helper methods for withDevice, a combined with method, and tf(DeviceS…

    …pec) since device will often be used at or near the top level.
    
    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    e3871e5 View commit details
    Browse the repository at this point in the history
  10. Add license

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    881237b View commit details
    Browse the repository at this point in the history
  11. WIP Session/Runner API. Java API needs updates

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    aab7311 View commit details
    Browse the repository at this point in the history
  12. Javadoc generation

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    9334c95 View commit details
    Browse the repository at this point in the history
  13. Example, clean up session api

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    7babe57 View commit details
    Browse the repository at this point in the history
  14. make the test public

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    cbd611d View commit details
    Browse the repository at this point in the history
  15. add full test dependencies

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    c42a092 View commit details
    Browse the repository at this point in the history
  16. Add ones op

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    5b5a1bb View commit details
    Browse the repository at this point in the history
  17. requireShape helper methods

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    535793b View commit details
    Browse the repository at this point in the history
  18. fix lint

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    12c6238 View commit details
    Browse the repository at this point in the history
  19. Rename withSession to useSession to reflect closing semantics

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    1686cec View commit details
    Browse the repository at this point in the history
  20. Target JVM 1.8 for Kotlin

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    7de79d3 View commit details
    Browse the repository at this point in the history
  21. Update Kotlin version

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    4d311ed View commit details
    Browse the repository at this point in the history
  22. Codegen for reified type parameters

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    ea9e171 View commit details
    Browse the repository at this point in the history
  23. disable auto-format for now (ktlint bug)

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    e948269 View commit details
    Browse the repository at this point in the history
  24. Data type helpers

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    3777965 View commit details
    Browse the repository at this point in the history
  25. Cleanup poms

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    8629630 View commit details
    Browse the repository at this point in the history
  26. Concrete function helpers, redo codegen

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    137277c View commit details
    Browse the repository at this point in the history
  27. formatting

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    234d3ef View commit details
    Browse the repository at this point in the history
  28. Shape property

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    26b4a69 View commit details
    Browse the repository at this point in the history
  29. New codegen, support for Java 11 builds

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    9ee2f48 View commit details
    Browse the repository at this point in the history
  30. Start of extension helpers

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    63e8e25 View commit details
    Browse the repository at this point in the history
  31. Update to new master

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    8271b70 View commit details
    Browse the repository at this point in the history
  32. Rebase updates

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    3c5467a View commit details
    Browse the repository at this point in the history
  33. Add tests

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    cca2857 View commit details
    Browse the repository at this point in the history
  34. Add section in CONTRIBUTING

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    a5a5f46 View commit details
    Browse the repository at this point in the history
  35. Add readme w/ link to contributing instructions

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    01257f8 View commit details
    Browse the repository at this point in the history
  36. Add section to readme

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    d0a0183 View commit details
    Browse the repository at this point in the history
  37. Restructure Kotlin projects

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    fee69b2 View commit details
    Browse the repository at this point in the history
  38. Fix name

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    1677979 View commit details
    Browse the repository at this point in the history
  39. Rename Shape.size(int) to get, add toListOrNull

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    9b87d40 View commit details
    Browse the repository at this point in the history
  40. Rebase

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    f8c236b View commit details
    Browse the repository at this point in the history
  41. Update javadoc generation

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    4fed8ac View commit details
    Browse the repository at this point in the history
  42. Update to Kotlin 1.5.0

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    5113983 View commit details
    Browse the repository at this point in the history
  43. Rebase fixes

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    b7c6660 View commit details
    Browse the repository at this point in the history
  44. Update formatting to use ktfmt and spotless

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    353d137 View commit details
    Browse the repository at this point in the history
  45. No formatting on generation, update explicit API settings

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    c6eef4f View commit details
    Browse the repository at this point in the history
  46. Initial framework wrappers

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    103d70e View commit details
    Browse the repository at this point in the history
  47. Add WithOps, use for KotlinOps

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    3152bf0 View commit details
    Browse the repository at this point in the history
  48. Better shape assertions

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    775860e View commit details
    Browse the repository at this point in the history
  49. Formatting, Jupyter integration

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    066b27f View commit details
    Browse the repository at this point in the history
  50. Fix formatting

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    45ba2dd View commit details
    Browse the repository at this point in the history
  51. Fix test

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    419afc3 View commit details
    Browse the repository at this point in the history
  52. Fix formatting

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    64a8dda View commit details
    Browse the repository at this point in the history
  53. Fix generation regression

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    ef033fb View commit details
    Browse the repository at this point in the history
  54. Fix format

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    f017a7c View commit details
    Browse the repository at this point in the history
  55. Don't load extra snapshot repo. If we're on snapshots we'll have had …

    …it already
    
    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    482b43c View commit details
    Browse the repository at this point in the history
  56. Use extension instead of platform

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    b7a85ef View commit details
    Browse the repository at this point in the history
  57. Update to Kotlin 1.6

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    693e108 View commit details
    Browse the repository at this point in the history
  58. Fix formatting

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    42c61b1 View commit details
    Browse the repository at this point in the history
  59. Update generation

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    12f56df View commit details
    Browse the repository at this point in the history
  60. Update version

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    27fcac5 View commit details
    Browse the repository at this point in the history
  61. Update generation

    Signed-off-by: Ryan Nett <[email protected]>
    rnett committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    43cd7e3 View commit details
    Browse the repository at this point in the history