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

Make the kotlinpoet module multi-platform and add source set configuration for the JS and wasmJs platforms #1959

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Commits on Aug 10, 2024

  1. Apply the JS and WasmJs source sets to the main module and move the c…

    …ontents of commonMain and commonTest to the JVM source set.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    ae89e37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a46a5a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d24217 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52068af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02569d1 View commit details
    Browse the repository at this point in the history
  6. Migrate NameAllocator to common and add a new CodePoint implementatio…

    …n that works with it (there are unspecified implementations on JS and WasmJs)
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    92495f2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    511e8e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6a9198d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    43197b0 View commit details
    Browse the repository at this point in the history
  10. Migrate TypeName, WildcardTypeName, ParameterizedTypeName, ClassName,…

    … Annotatable, AnnotationSpec, CodeBlock to common
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    5259b9c View commit details
    Browse the repository at this point in the history
  11. Migrate Documentable to common

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    11522f1 View commit details
    Browse the repository at this point in the history
  12. Migrate ContextReceivable and Dynamic to common

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    8c8ddeb View commit details
    Browse the repository at this point in the history
  13. Migrate MemberName to common

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    e31e57c View commit details
    Browse the repository at this point in the history
  14. Migrate TypeAliasTag to common

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    462aa07 View commit details
    Browse the repository at this point in the history
  15. Migrate LineWrapper to common

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    80fb80d View commit details
    Browse the repository at this point in the history
  16. Migrate ParameterSpec to common

    Extracts several pieces of logic involving JVM platform types into expected functions.
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    
    Migrate ParameterSpec to common.
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    28248a9 View commit details
    Browse the repository at this point in the history
  17. Migrate TypeAliasSpec ad TypeVariableName to common.

    Restored some of the functions in Util.kt that needed to wait for CodeBlock migration before they could be used.
    
    Migrate several internal factory functions in TypeVariableName companion objects to the platform (TypeVariableName.jvm.kt).
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    c3719ec View commit details
    Browse the repository at this point in the history
  18. Migrate LambdaTypeName to common.

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    3dfd12f View commit details
    Browse the repository at this point in the history
  19. Migrate FunSpec and PropertySpec to common.

    Migrate several public functions with platform types in FunSpec companion objects to the platform (FunSpec.jvm.kt)
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    d5be4e7 View commit details
    Browse the repository at this point in the history
  20. Migrate MemberSpecHolder to common.

    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    16a0cf0 View commit details
    Browse the repository at this point in the history
  21. Migrate TypeSpec and TypeSpecHolder to common.

    Restore a couple of internal functions in Util.kt that need to wait for KModifier to migrate.
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    4725895 View commit details
    Browse the repository at this point in the history
  22. Migrate FileSpec to common.

    Migrate some APIs involved in operating platform types to the platform (FileSpec.jvm.kt)
    
    There are some related but unmigrated types (such as CodeWriter), and this commit cannot be compiled at the moment.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    e158bba View commit details
    Browse the repository at this point in the history
  23. Migrate CodeWriter to common.

    Change the logic for initializing NO_PACKAGE to what is expected by the platform, since you can't use String's constructor directly in wasmJs.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    3151780 View commit details
    Browse the repository at this point in the history
  24. Migrate JvmAnnotations.kt to common.

    Add ClassName type properties (OptionalExpectationAnnotations.kt) to the relevant optional platform annotation (e.g., JvmName) instead of using `::class` directly.
    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    63440e7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    12b6818 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e44b6fb View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0c04c8d View commit details
    Browse the repository at this point in the history
  28. Apply apiDump

    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    4e062d9 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    97755a2 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7afe913 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    dcfab3f View commit details
    Browse the repository at this point in the history
  32. Edit changelog.md

    ForteScarlet committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    ca71f03 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    9133127 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    36c8e23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9343ea2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71a69af View commit details
    Browse the repository at this point in the history
  4. Clean up the standalone Closeable type and implement `kotlin.AutoCl…

    …oseable` directly instead.
    ForteScarlet committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8eed20b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    584fe49 View commit details
    Browse the repository at this point in the history