Commit Graph

850 Commits

Author SHA1 Message Date
Vasily Levchenko a24c2fec33 attempt fix build on Ubuntu 14.04. 2016-10-05 10:08:39 +03:00
Vasily Levchenko a580af3a8c StubGenerator: detecting default os for case when traget os isn't set 2016-10-05 09:47:24 +03:00
Svyatoslav Scherbina 6f354a06c4 Interop/StubGenerator: attempt to handle anonymous enums 2016-10-05 08:29:23 +03:00
Svyatoslav Scherbina f94b48cbe0 Interop/Plugin: enable assertions when generating stubs 2016-10-05 08:29:11 +03:00
Svyatoslav Scherbina 38d0000242 backend.native: simplify build.gradle by making it more idiomatic 2016-10-05 08:28:47 +03:00
Vasily Levchenko deec80499c attempt to build linux build on team city.
it fails with message about missing noexecstack on load our library
2016-10-05 00:49:55 +03:00
Svyatoslav Scherbina e464989b1b backend.native: simplify build.gradle after improving Interop plugin 2016-10-04 16:32:15 +03:00
Svyatoslav Scherbina 33bfb2d063 Interop: improve support for multiple source sets in Gradle plugin 2016-10-04 16:25:18 +03:00
Svyatoslav Scherbina df6b4388a0 backend.native: add only overridable methods to vtable and lookup table 2016-10-04 14:08:36 +03:00
Svyatoslav Scherbina 3324527984 backend.native, runtime: add vtable to TypeInfo 2016-10-04 14:08:36 +03:00
Svyatoslav Scherbina 473816ea81 backend.native: make all RTTI constant 2016-10-04 14:08:36 +03:00
Svyatoslav Scherbina 5ea3c9521e backend.native: improve type mapping
including types of functions
2016-10-04 14:07:54 +03:00
Svyatoslav Scherbina ba69e02ea6 backend.native: enable assertions 2016-10-04 14:26:06 +07:00
Nikolay Igotti f92da32454 Add properties expansion. 2016-10-03 20:56:33 +03:00
Svyatoslav Scherbina 059f890a1e backend.native: support inheritance in RTTI
also
* distribute the code among several files
* use descriptors instead of IR (where it is possible)
* add other minor improvements
2016-10-03 16:28:51 +07:00
Vasily Levchenko fd2288c23f makes idea users more happy: fix dependencies to let idea build project correctly 2016-10-03 11:39:57 +03:00
Vasily Levchenko 43f10c9e8f g/c: removed unwanted patches 2016-10-03 09:58:00 +03:00
Vasily Levchenko 390e24352a no need debug print anymore.
Revert "to-revert: I need tp check what include flags values used by indexer build"

This reverts commit a3db6ea086.
2016-10-02 12:46:17 +03:00
Vasily Levchenko a3db6ea086 to-revert: I need tp check what include flags values used by indexer build 2016-10-02 12:16:35 +03:00
Vasily Levchenko d0590c778c replace ca-storage.sh with binary ca-storage 2016-10-01 14:56:03 +03:00
Vasily Levchenko 6906cc8b18 script to install CA storage for later run ant -f update_dependencies.xml 2016-10-01 14:41:34 +03:00
Nikolay Igotti 7b969532c7 Add jfrog binary. 2016-09-30 16:49:29 +03:00
Vasily Levchenko 6bb976b89c sync: kotlin-ir 2016-09-30 13:53:53 +03:00
Svyatoslav Scherbina 6d70bc4625 backend.native: add remaining info to RTTI
inheritance is not supported yet
2016-09-30 17:01:11 +07:00
Vasily Levchenko 6ffde7e12d kotlin-ir: submodule switched to https 2016-09-30 10:03:20 +03:00
Vasily Levchenko d61bb4a6e5 add dependency to generated classes 2016-09-29 17:55:43 +03:00
Vasily Levchenko b1e89a4d41 backend.native and generated dependencies resolving 2016-09-29 17:49:14 +03:00
Vasily Levchenko c5fe74cf3a NativeInteropPlugin: scan in every declared sourceSet in project for def file 2016-09-29 17:42:35 +03:00
Vasily Levchenko 0de37420f0 makes gradle build friendly to idea 2016-09-29 14:57:12 +03:00
Vasily Levchenko 20bfd25a99 g/c: compiler/build.gradle deleted 2016-09-29 14:51:29 +03:00
Svyatoslav Scherbina 277835fccb backend.native: add some dirty code to emit bitcode with RTTI for fields 2016-09-29 17:41:54 +07:00
Svyatoslav Scherbina 78a912f637 backend.native: tie compiler to runtime
to make compiler able to refer entities declared in runtime
2016-09-29 17:41:54 +07:00
Svyatoslav Scherbina 80ed5a2461 Interop: add minor improvements 2016-09-29 17:41:54 +07:00
Svyatoslav Scherbina 5dc871ec32 runtime: add TypeInfo struct definition
also add runtime as Gradle subproject producing bitcode
2016-09-29 17:41:54 +07:00
Vasily Levchenko 3b7af125f7 kotlin-ir: sync 2016-09-29 10:06:25 +03:00
Svyatoslav Scherbina 2ca6676674 backend.native: apply Interop and add LLVM bindings 2016-09-29 12:27:47 +07:00
Svyatoslav Scherbina a6f7500126 Interop: handle all main.kotlin.srcDirs in Gradle plugin
also fix minor bug with default package
2016-09-29 12:27:20 +07:00
Svyatoslav Scherbina d053fd9ed0 experiments/placer: fix hash bug
sizeof(array) is not equal to size of array
2016-09-29 11:45:18 +07:00
Nikolay Igotti 22bfd5ec27 Minor tweaks. 2016-09-28 19:19:52 +03:00
Nikolay Igotti 5aa2a44ccb More explicit assignments in placer test, cleaner refcounting delegation. 2016-09-28 18:56:39 +03:00
Nikolay Igotti fa838992e5 More explicit assignments in placer test. 2016-09-28 18:49:05 +03:00
Nikolay Igotti 5293abd3e9 Updated README.md 2016-09-28 18:42:43 +03:00
Nikolay Igotti 0db03c4025 Tweaks. 2016-09-28 18:42:43 +03:00
Vasily Levchenko 5304da3648 remove ant task 2016-09-28 18:11:40 +03:00
Vasily Levchenko f96884b60a build: llvmInstallPath becomes /opt/local/libexec/llvm-3.8
NOTE: if for some reasons you need to redefine this values,
please add it to local.property
2016-09-28 17:54:08 +03:00
Vasily Levchenko 3ca8133571 missed gradle.properties containing global configuration for otlin_version and so on 2016-09-28 17:17:38 +03:00
Nikolay Igotti cbdcd863d1 Modify placer to allow single object containers, use offset in container. 2016-09-28 16:39:48 +03:00
Vasily Levchenko 89d6c24f56 HEAD UP!
The gradle.property contains the version of the kotlin kotlin_version, previously it was used for holding llvmInstallPath, now this variable should be defined in local.property
2016-09-28 16:08:44 +03:00
Vasily Levchenko c6cf10b1e8 backend.native: use once initialized property (path to kotlin dist) to initialize dependencies 2016-09-28 16:06:05 +03:00
Vasily Levchenko 0eaaa58ed9 HEAD UPS! Global move: experiments -> kotlin-native 2016-09-28 13:22:36 +03:00