-
Notifications
You must be signed in to change notification settings - Fork 43
Add Kotlin Native implementation #29
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
Closed
Closed
Changes from 65 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
1eed578
Add pure kotlin runtime implementation
5fd8e94
Add kotlin native protoc gen
734280b
Add conformance-native
2f13e3d
Move Util to new folder tree
b03b1e4
Add iOS target
c87db29
Add use experimental to ByteArr deserialize function
7cd01e4
Fix rebase errors
fa05b3e
Update Kotlin and serialization version to latest
53d5022
Refactor sourcetsets and create native
567cf35
Move iOSMain to nativeMain
cf81d7f
Merge branch 'streem/master' into kotlin-native
ef0a1e8
Fix strict mode being spread into multiple values
08de644
Change StringDescription to Primitive of kind String
ae5a691
Temp fix for Kotlin DCE
4f7ee52
Refactor build.gradle.kts to use by getting
ed55104
Remove un-necessary import
7a50d6c
Add ios and macos source sets witn dependance on native
80b1567
Move conformance native under macosX64
c3c7fa3
Add native conformance exe with list of failing tests from JVM
68fae4f
Add native conformance tests to script
814a092
Add protoc-gen-kotlin macos implementation and gradle file update
2a94125
Add protoc-gen-kotlin macos (not fully working)
ac0ca1a
Change CI config to execute conformance tests
c51c011
Try to fix circleci config
5992dec
Update README file with native support
d061e1b
Create native executor
610c490
Disable gradle daemon for all builds (faster build time)
6befbec
Fix alignment in config.yml
36564b5
Use simple ubuntu base image for native tests
684dd2f
Remove protoc-gen-kotlin macos
fa70c5e
Create both arm and x64 ios source sets
e70a5ea
Use by creating in build.gradle
26997c1
Enable linux sourceset on runtime
104ae1b
Enable native conformance tests
0a295d4
Build native to generate executables
57b8337
Execute linux conformance and keep the right executable
bd32a42
Merge branch 'streem/master' into kotlin-native
e1cbee4
Fix post-merge changes
adbd2ee
Fix README
f94dde5
Use variable to make sure both targets outputs have the same name
ebf362b
Point Linux conformance test to right executable
b89c049
Fix pbandk version
6cf47db
Move dependency to common
7fd6b4d
Remove macos target in protoc-gen-kotlin
430cb25
Add space
2bb582e
Remove this with dependencies
79e107c
Fix readme with right task to execute
1d02a71
Move zigzagencode functions to extension file
ee5223f
Use rawBits for float and double values as per protobuf-java implemen…
348ff2e
Make Wireformat internal
8e77bb5
Move comment
07c6f10
Rename Util to UtilImpl
e12d0b0
Rename UtilInteface to Util
c069df6
Rename Sizer to SizerImpl
4afa11e
Rename SizerInterface to Sizer
540837b
Refactor fun getTotalBytesRead to property totalBytesRead
3f2e4b6
Remove try/catch because we rethrow the exception
353a164
Revert code
b854389
Use high/low surrogate functions on chars
9f3aaeb
Throw NoSuchElementException when element doesn't exists
3b7e94c
Remove interface used only in impl code
70eabd4
Remove full implementation of string to bytearray conversion with stdlib
5b1e446
Remove unnecessary function
a8e7979
Correctly handle errors while not reading/writing bytes
bfe2f8a
Correctly encode/decode strings in base64
089b660
More PR feedback
garyp 0505ba9
Update well-known types and other protos
garyp c2aaa81
Rename UtilImpl and SizerImpl back to Util and Sizer
garyp 7eab015
Add native dependencies to CI cache
garyp 384fb87
Get native conformance binaries building correctly
garyp c5ad010
update examples
garyp e092ec8
Fix K/N compiler error in CI
garyp 148a1ba
Timestamp formatting/parsing on native
garyp 74c0a3a
More PR feedback
garyp 945347b
Merge pull request #3 from streem/garyp/kotlin-native
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
conformance/lib/src/commonMain/kotlin/pbandk/conformance/Main.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.