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

Support Kotlin/Native #855

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

Support Kotlin/Native #855

wants to merge 83 commits into from

Commits on Feb 29, 2024

  1. Add native targets to KMP modules

    - Migrate test-kit to use kotlinx-resources
    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ab37ea3 View commit details
    Browse the repository at this point in the history
  2. Disable CI for now

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    537a01b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    540aee2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e019272 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d91b32 View commit details
    Browse the repository at this point in the history
  6. Fix tests

    - revert back to own test file handler
    - update yarn lock
    - Fix task dependencies
    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1ed902e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    92ab453 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e8007c1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    850b2d8 View commit details
    Browse the repository at this point in the history
  10. Fix darwin compilation

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    cc1eca9 View commit details
    Browse the repository at this point in the history
  11. Fix darwin compilation v2

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4c4d38a View commit details
    Browse the repository at this point in the history
  12. Enable signing if possible

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7bca8ba View commit details
    Browse the repository at this point in the history
  13. Add simulator targets

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    bc672ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1599a8e View commit details
    Browse the repository at this point in the history
  15. Rebase on main

    - Upgrade kotlin-js-store/yarn.lock
    - Remove deprecated KLogger.error
    - test-kit
    - Update native inflater and HttpClient definitions
    - Remove deprecated gatewayOnLogger
    - Upgrade api dump
    - Replace deprecated java.net.URL
    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    996bd00 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e42dbea View commit details
    Browse the repository at this point in the history
  17. Linux support

    - Create actuals
    - Switch to kotlinx.io as it supports arm
    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    640141d View commit details
    Browse the repository at this point in the history
  18. Code cleanup

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9cbd7d7 View commit details
    Browse the repository at this point in the history
  19. Add voice support on native

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    bb2acbe View commit details
    Browse the repository at this point in the history
  20. Use zError in inflater for proper error codes

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    45ef6fc View commit details
    Browse the repository at this point in the history
  21. Print error of inflateEnd

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    855733c View commit details
    Browse the repository at this point in the history
  22. Update to published cache library

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    45bb300 View commit details
    Browse the repository at this point in the history
  23. Sadly the Ktor bug is not fixed yet

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ba758c9 View commit details
    Browse the repository at this point in the history
  24. Finalize snapshot builds

    - Use Kord gradle tools
    - Use vanniktech maven-publish.plugin
    - Match Kotlin Version with cache (1.9.22)
    - Update ksp to 1.9.22-1.0.16
    - Enable -Werror again, as underlying issue with cache got fixed
    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    30f072c View commit details
    Browse the repository at this point in the history
  25. Ignore file based tests on Apple Simulators

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    79dfd50 View commit details
    Browse the repository at this point in the history
  26. Fix resolution of test files on Kotlin/Native

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    dfaae75 View commit details
    Browse the repository at this point in the history
  27. Replace withWasm() with withWatchos() as intended

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    091f1a8 View commit details
    Browse the repository at this point in the history
  28. Fix build

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f5f3d10 View commit details
    Browse the repository at this point in the history
  29. Disable flaky tests

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7580dd7 View commit details
    Browse the repository at this point in the history
  30. Fix stack trace recovery tests on Kotlin/Native

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3ffd8c8 View commit details
    Browse the repository at this point in the history
  31. Fix build agian

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3dbc6dc View commit details
    Browse the repository at this point in the history
  32. Fix build again

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7227398 View commit details
    Browse the repository at this point in the history
  33. Fix broken StackTraceRecovery test on Windows

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3d145e6 View commit details
    Browse the repository at this point in the history
  34. Api dump

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1ca3ea6 View commit details
    Browse the repository at this point in the history
  35. Fix invalid coordinates

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c584c6d View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    0745018 View commit details
    Browse the repository at this point in the history
  37. ci test

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1f64eff View commit details
    Browse the repository at this point in the history
  38. Remove workaround for ktor

    schlaubi authored and DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    91b6de5 View commit details
    Browse the repository at this point in the history
  39. Update libs.versions.toml

    DRSchlaubi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    70c6458 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    9a270ea View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    0066b28 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into feature/native

    # Conflicts:
    #	gradle.properties
    lukellmann committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    19c809f View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into feature/native

    # Conflicts:
    #	.github/workflows/deployment-ci.yml
    #	.github/workflows/docs-ci.yml
    #	.github/workflows/gradle-wrapper-validation.yml
    #	buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
    #	gradle/libs.versions.toml
    lukellmann committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    1200bd6 View commit details
    Browse the repository at this point in the history
  4. Remove kotlin-logging-old version

    I missed this when merging main into feature/native.
    lukellmann committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    3b3dbb5 View commit details
    Browse the repository at this point in the history
  5. Apply suggestions from code review

    Co-authored-by: Luca Kellermann <[email protected]>
    DRSchlaubi and lukellmann committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    dd69ed9 View commit details
    Browse the repository at this point in the history
  6. Suggestions

    - Remove blank lines in common/build.gradle.kts
    - Replace kord-internal-multiplatform-module.gradle.kts and kord-native-module.gradle.kts with kord-targets.gradle.kts
    - Check for target family rather than explicit target in samples/build.gradle.kts
    - Add slf4j dependency to voice
    - Remove nonNative target group
    - Use HostManager.hostIsMingw instead of Ant's Os class
    - Move nativeMain builder and jsMain to nonJvmMain
    - Add versions of remaining Gradle plugins to [versions] block
    - No longer catch exception in native test kit
    DRSchlaubi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    5869b9a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    92d05e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    2e1f52e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3dfbe1c View commit details
    Browse the repository at this point in the history
  3. Update gradle-tools

    DRSchlaubi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    3d90b89 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

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

Commits on Mar 11, 2024

  1. Improve native inflater

    - Correctly process ZLIB_SUFFIX
    - Make new check function to check exit codes
    DRSchlaubi committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0b3848c View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    0053079 View commit details
    Browse the repository at this point in the history
  2. Revert "Switch to OkHttp as http client on jvm"

    This reverts commit 0053079.
    DRSchlaubi committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    450323e View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

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

Commits on Apr 4, 2024

  1. Merge branch 'refs/heads/main' into feature/native

    # Conflicts:
    #	buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
    #	gradle/libs.versions.toml
    #	voice/src/commonMain/kotlin/gateway/DefaultVoiceGatewayBuilder.kt
    lukellmann committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    89cf26e View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. More inflater improvements

    Co-authored-by: Michael Rittmeister <[email protected]>
    lukellmann and DRSchlaubi committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    0f4df33 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

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

Commits on Apr 9, 2024

  1. Update libsodium

    DRSchlaubi committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    b8021fe View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. feat(voice)!: add support for node.js (#931)

    * chore: configure gradle for js voice
    
    * fix(samples/voice): support js
    
    * fix(voice/non-jvm): use correct nonce length
    
    * feat(voice): support js
    
    * chore(voice): api dump
    
    * chore: requested changes
    
    * fix(gradle): use correct kotlin-node version
    
    * feat(voice): configurable dispatcher
    
    * chore: api dump
    viztea committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    35227fc View commit details
    Browse the repository at this point in the history
  2. Add stubs for Windows

    Relates-to: #929
    DRSchlaubi committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    dc42c76 View commit details
    Browse the repository at this point in the history
  3. Minor cleanup

    DRSchlaubi committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    078dce7 View commit details
    Browse the repository at this point in the history
  4. Update target chart

    DRSchlaubi committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    6c49fbd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c6d35ee View commit details
    Browse the repository at this point in the history
  6. Fix compilation

    DRSchlaubi committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    644f5a7 View commit details
    Browse the repository at this point in the history
  7. API dump

    DRSchlaubi committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    6ba4d9b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    5e97756 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'refs/heads/main' into feature/native

    # Conflicts:
    #	buildSrc/src/main/kotlin/kord-internal-multiplatform-module.gradle.kts
    #	common/build.gradle.kts
    #	gradle/libs.versions.toml
    lukellmann committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    ecf227a View commit details
    Browse the repository at this point in the history
  3. Fix compilation

    lukellmann committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    b655c64 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6a139e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5ce70a View commit details
    Browse the repository at this point in the history
  6. Fix warnings again that were fixed in #936

    I accidentally reintroduced them in the most recent merge of main into
    feature/native.
    lukellmann committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    3500c53 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0796312 View commit details
    Browse the repository at this point in the history
  8. Fix file location warning

    lukellmann committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    379c7f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Trailing , ❤️

    lukellmann committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    26aa8db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dd54e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7583a2 View commit details
    Browse the repository at this point in the history
  4. Tweaks to native Inflater

    I spent way too much time reading documentation...
    lukellmann committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    c598338 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Merge remote-tracking branch 'origin/main' into feature/native

    # Conflicts:
    #	.github/workflows/gradle-wrapper-validation.yml
    #	buildSrc/src/main/kotlin/kord-internal-multiplatform-module.gradle.kts
    #	buildSrc/src/main/kotlin/kord-module.gradle.kts
    #	buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
    #	core/api/core.api
    #	core/api/core.klib.api
    #	core/live-tests/build.gradle.kts
    #	core/src/commonMain/kotlin/Kord.kt
    #	gateway/api/gateway.api
    #	gateway/api/gateway.klib.api
    #	gateway/src/commonMain/kotlin/Gateway.kt
    #	gateway/src/commonMain/kotlin/Inflater.kt
    #	gateway/src/commonMain/kotlin/Utils.kt
    #	gradle/libs.versions.toml
    #	voice/api/voice.api
    #	voice/src/commonMain/kotlin/gateway/VoiceGateway.kt
    DRSchlaubi committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    3a4c92a View commit details
    Browse the repository at this point in the history
  2. Remaining upgrades

    DRSchlaubi committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fa06f85 View commit details
    Browse the repository at this point in the history
  3. Add missing opt ins

    DRSchlaubi committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    00d8b98 View commit details
    Browse the repository at this point in the history
  4. Fix build

    DRSchlaubi committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    0bb2550 View commit details
    Browse the repository at this point in the history
  5. Fix build

    DRSchlaubi committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    9d86e31 View commit details
    Browse the repository at this point in the history