Commit Graph

952 Commits

Author SHA1 Message Date
vvlevchenko 4dcfc7e37e Merge pull request #15 from JetBrains/gradle-tests
gradle replacement for Makefile in tests
2016-10-26 13:12:36 +03:00
Vasily Levchenko a4dd4c241a gradle replacement for Makefile in tests 2016-10-26 13:12:22 +03:00
Vasily Levchenko 771be7bef8 attempt to fix mac build 2016-10-26 06:21:31 +03:00
Svyatoslav Scherbina a158d52f8c build: configure 'c' plugin to use clang toolchain from dependencies 2016-10-24 18:10:05 +03:00
Nikolay Igotti a938fcca6c Add very basic output, small refactoring. (#14)
Add very basic output, small refactoring.
2016-10-24 12:27:14 +03:00
Vasily Levchenko 3331cdbf94 kotlin-ir: sync 2016-10-23 12:13:17 +03:00
Vasily Levchenko e8dd179770 realization LazyClassReceiverParameterDescriptor 2016-10-22 09:37:45 +03:00
Vasily Levchenko 731361f2e9 added comment that thereis required check about shadowing 2016-10-22 09:36:23 +03:00
Vasily Levchenko 1b97973dc8 constructor should initialize fields of object basing on comparizon with storage structure 2016-10-22 09:35:03 +03:00
Vasily Levchenko 64acd9d894 field acces test (when there're no storage in object for contructor parameter) (not runnable yet) 2016-10-22 09:32:48 +03:00
vvlevchenko 7f41a35d07 Merge pull request #12 from JetBrains/object-initialization
Object initialization and field access
2016-10-21 22:14:05 +03:00
Vasily Levchenko 09ee81b7a3 object initialization and properties access 2016-10-21 20:21:54 +03:00
Vasily Levchenko 0523505354 Runtime: export function to import own functionality to target module (perhaps it's frontend task) 2016-10-21 20:21:54 +03:00
Vasily Levchenko 7d243378cd TEST:object initialization 2016-10-21 20:21:54 +03:00
Nikolay Igotti 5a30a0f2f9 More array types, bind to native. (#13)
More array types, bind to native implementations.
2016-10-21 17:50:16 +03:00
Vasily Levchenko 639c4f9786 frontend: prints compilation error 2016-10-20 23:03:10 +03:00
Vasily Levchenko 14025047a6 dependencies: do not download if file already exists 2016-10-20 21:23:54 +03:00
Nikolay Igotti 09cb649c32 Very basic string support. (#10)
String, ByteArray support, type declarations.
2016-10-20 16:04:28 +03:00
Vasily Levchenko badcccac58 tests now can use runtime infrostructure 2016-10-20 12:34:49 +03:00
SvyatoslavScherbina 767acbda1a Merge pull request #11 from JetBrains/some-stupid-coding-1
Various fixes and and improvements
2016-10-19 21:59:19 +03:00
Svyatoslav Scherbina 25403723be backend.native: improve memory management using mem scopes 2016-10-19 13:45:40 +03:00
Svyatoslav Scherbina a1593c86f1 backend.native: support external functions
also implement changing external function symbol name with the annotation
2016-10-19 13:45:40 +03:00
Svyatoslav Scherbina 61e1d91c03 backend.native: use common/hash to compute hashes for RTTI 2016-10-19 13:42:53 +03:00
Svyatoslav Scherbina 9f5f2eecfc backend.native: add minor improvements to code for compile time values 2016-10-19 13:33:51 +03:00
Svyatoslav Scherbina d43b0f62bc Interop/Runtime: implement trivial lexical mem scopes 2016-10-19 13:33:51 +03:00
Svyatoslav Scherbina 5bb5cb70ee build: trivially support runtime sources written in Kotlin 2016-10-19 13:33:50 +03:00
Svyatoslav Scherbina 7350b4da37 backend-native: fix tests after reworking Gradle interop plugin 2016-10-19 13:33:50 +03:00
Svyatoslav Scherbina 68686bd577 runtime: move name hasing to common/hash 2016-10-19 13:33:45 +03:00
Svyatoslav Scherbina ba69ba7b5b common/hash: fix header compilation errors 2016-10-19 13:33:29 +03:00
Vasily Levchenko 4142ff8845 kotlin-ir: sync 2016-10-18 09:55:21 +03:00
Vasily Levchenko b756ddc067 switch kotlin-ir on master, see
https://jetbrains.slack.com/archives/kotlin-ir/p1476772444000204
for details.
2016-10-18 09:53:54 +03:00
SvyatoslavScherbina 11cfd5ac72 Update README.md 2016-10-17 18:52:11 +03:00
SvyatoslavScherbina ddf9625ad3 Merge pull request #9 from JetBrains/download-deps
Download some deps from the JFrog repo
2016-10-17 18:30:45 +03:00
Svyatoslav Scherbina 2835ddb7f2 build: add "LD_LIBRARY_PATH=llvmDir/lib" for Linux 2016-10-17 18:25:31 +03:00
Svyatoslav Scherbina b0998fe56e dependencies: update libffi to 3.2.1-2
(trying to fix Linux build)
2016-10-17 18:05:00 +03:00
Svyatoslav Scherbina 3d350cf40d dependencies: add minor code improvement 2016-10-17 18:00:45 +03:00
Svyatoslav Scherbina e4bc19b145 build: download llvm and libffi from the JFrog repo 2016-10-17 17:35:57 +03:00
Svyatoslav Scherbina 7ed9d9c633 build: implement downloading (native) dependencies from the JFrog repo 2016-10-17 17:35:57 +03:00
Vasily Levchenko ddae560ffe support new interface for jvm frontend 2016-10-17 14:03:25 +03:00
Vasily Levchenko a2b1f028c8 kotlin-ir: sync 2016-10-17 14:02:35 +03:00
Nikolay Igotti acca9e0eb8 FFI on iOS test. 2016-10-17 13:59:33 +03:00
Vasily Levchenko 5790787840 kotlin-ir sync 2016-10-17 05:28:05 +03:00
SvyatoslavScherbina 7c22d4e1c0 Merge pull request #8 from JetBrains/callbacks-strike-back
Fix bugs after supporting callbacks in Interop
2016-10-14 17:40:02 +03:00
Svyatoslav Scherbina e6351a3446 Interop/Indexer: improve memory management 2016-10-14 17:11:46 +03:00
Svyatoslav Scherbina bdcb7fb33c Interop/Indexer: update prebuilt interop stubs
after fixing bugs in stub generation
2016-10-14 16:28:14 +03:00
Svyatoslav Scherbina 32c6e62297 Interop/Indexer: unions don't have natural layout 2016-10-14 16:28:14 +03:00
Svyatoslav Scherbina 6d04320471 Interop/StubGenerator: fix regressions after refactoring
performed to support callbacks
2016-10-14 16:28:14 +03:00
Svyatoslav Scherbina 2d2c79c54c Interop/StubGenerator: do not treat array-typed fields as pointers
when passing structs by value through libffi
2016-10-14 16:28:14 +03:00
Svyatoslav Scherbina bd449b2ac3 Interop/Runtime: properly initialize ffi_type for structs 2016-10-14 16:28:14 +03:00
Svyatoslav Scherbina b4db26f846 Interop/Runtime: do not reuse JNI local ref globally 2016-10-14 16:28:14 +03:00