Commit Graph

120 Commits

Author SHA1 Message Date
Nikolay Igotti 32fe05afa2 Copyright update. (#1944) 2018-08-27 14:55:51 +03:00
Dmitriy Dolovov dcb423a3ce KLIB reader: uniform API for obtaining module descriptors from Kotlin/Native libraries (#1932) 2018-08-25 18:24:07 +03:00
Dmitriy Dolovov 076f6a7c99 KLIB reader: separate library reading from dependency resolving (#1925) 2018-08-24 10:29:13 +03:00
Dmitriy Dolovov 314cd0993b KLIB reader: better isolation of implementation details (#1917)
KLIB reader:
- better isolation of implementation details
- rename entities closer to their meaning: KonanLibrary -> KonanLibraryLayout, KonanLibraryReader -> KonanLibrary
2018-08-23 10:46:58 +03:00
Dmitriy Dolovov f0cfbb9918 move Kotlin/Native metadata deserialization and KLIB reader to a separate module (#1908)
1. move Kotlin/Native metadata deserialization and KLIB reader to a separate module
2. decouple KLIB reader from ModuleDescriptor creation
2018-08-22 14:01:20 +03:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
Dmitriy Dolovov d613f12328 move Kotlin/Native metadata (.proto file + generated classes) to a separate module (#1890)
* move Kotlin/Native metadata (.proto file + generated classes) to a separate module
2018-08-17 09:42:42 +03:00
Dmitriy Dolovov a4a235be42 Move KonanBuiltIns to a separate module (#1860)
1. Separate (temporary) modules for the code to be moved to https://github.com/JetBrains/kotlin repo
2. KonanBuiltIns, functions for creation of module descriptors and interop descriptors and moved to "konan.descriptors" module 
3. Re-organizing KonanModuleOrigin and it's inheritors to better naming/understanding
2018-08-14 13:20:28 +03:00
Ilya Matveev 301af84358 [libraries] Move SearchPathResolver into shared 2018-05-11 16:08:47 +07:00
Ilya Matveev 50a8ff25a5 [klib] Fix klib printer tests 2018-05-10 11:46:28 +07:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
Ilya Matveev c9c9f7a6a3 Convert line separators in klib tests 2018-04-24 11:38:58 +07:00
Ilya Matveev 772c48e61e Make some test tasks depending on dist 2018-04-24 11:38:58 +07:00
Sergey Mashkov 420ef4f221 Introduce environment variable to .konan parent dir 2018-04-05 19:58:18 +07:00
Vasily Levchenko 62a7c2d2a4 [kotlin compiler][update] 1.2.40-dev-1038 2018-03-22 14:13:23 +03:00
Ilya Matveev 08a5fdaaf7 [klib] Add copyright into test data 2018-02-22 15:00:29 +03:00
Ilya Matveev 2e958f0219 [klib] Print accessors 2018-02-22 15:00:29 +03:00
Ilya Matveev ba56d17cec [klib] Don't print 'final' modality 2018-02-22 15:00:29 +03:00
Ilya Matveev ad9babfec6 [klib] Use DescriptorRenderer instead of PrettyPrinter 2018-02-22 15:00:29 +03:00
ilmat192 5e11c61ffb [klib] Fix printing type parameters in methods (#1319) 2018-02-13 09:26:49 +03:00
Ilya Matveev 3c4d99557e [klib] Fix annotation printing 2018-02-12 22:40:50 +07:00
Ilya Matveev 07b2ff3c18 [klib] Print package fq-name 2018-02-12 22:40:50 +07:00
Ilya Matveev f156c4a368 [klib] Support consts in pretty-printer 2018-02-12 22:40:50 +07:00
Ilya Matveev 709fe7b0af [klib] Support externals in pretty-printer 2018-02-12 22:40:50 +07:00
Ilya Matveev cbee66dcbe [klib] Support inner classes in pretty-printer 2018-02-12 22:40:50 +07:00
Ilya Matveev 83ce6142a1 [klib] Don't print 'abstract' in interface declaration
Also support modality for functions.
2018-02-12 22:40:50 +07:00
Ilya Matveev a18935088d [klib] Refactor enum printing and support nested classes 2018-02-12 22:40:50 +07:00
Ilya Matveev ba15ca9998 [klib] Don't print names of companion objects 2018-02-12 22:40:50 +07:00
Ilya Matveev 4c9e679180 [klib] Fix stack overflow during type parameters printing 2018-02-12 22:40:50 +07:00
Ilya Matveev f4cb918a1c [klib] Fix printing classes without a primary constructor 2018-02-12 22:40:50 +07:00
Ilya Matveev fa21659c80 [klib] Don't print val/var for all constructor parameters 2018-02-12 22:40:50 +07:00
Ilya Matveev 3d84f862b6 [klib] Fix enum printing 2018-02-12 22:40:50 +07:00
Konstantin Anisimov 829feb7375 Pretty printer for users 2018-02-12 22:40:50 +07:00
Konstantin Anisimov e0d4978760 Do not print enum entries as objects 2018-02-12 22:40:50 +07:00
Alexander Gorshenev 9789420ed3 A configurable zephyr board support. 2018-02-12 16:00:58 +03:00
Alexander Gorshenev d4b47ac709 Splitted KonanProperties into Configurables hierarchy.
Untangled Platfrom classes from the LinkStage and Distribution.
Simplified clang management a little.
2018-01-26 16:38:27 +03:00
Ilya Matveev 0fdca87a0b [build] Move platform libs into a separate project 2018-01-17 16:58:44 +07:00
Svyatoslav Scherbina 07fce11780 Use Xcode-bundled SDKs for macOS, iOS and iOS simulator targets
Also
* Update macOS SDK to 10.13
* Update iOS SDK to 11.2
* Enable iOS simulator support
* Disable tetris on iOS as we don't provide SDL2 in sysroot anymore
2017-12-15 14:38:22 +03:00
Ilya Matveev 1c16fc1166 build: Rename kotlin version properties
kotlin_version -> buildKotlinVersion
kotlinVersion -> kotlinCompilerVersion
2017-12-01 13:01:08 +07:00
Ilya Matveev f8b6519864 Fix platform lib build on TeamCity 2017-12-01 13:01:08 +07:00
Nikolay Igotti 1c8616541e Ensure Linux exposes recent enough POSIX (#1030) 2017-11-13 16:41:20 +03:00
Vasily Levchenko 18a09235ad [platform lib][osx][buid][debug] exclude openat (#1019) 2017-11-08 13:29:47 +03:00
Svyatoslav Scherbina 273c74a05e Add quickfix for inconsistent Windows platform libs 2017-11-03 18:07:05 +03:00
Svyatoslav Scherbina 4acf83be68 Enable platform lib dependencies purging 2017-11-03 18:07:05 +03:00
Ilya Matveev d7795bb207 tests: Support custom konan.home for platform lib tests
* Move testLibrary tasks from klib into backend.native/tests
 * Support konan.home property in them
2017-11-02 17:40:27 +03:00
Svyatoslav Scherbina 4760c60ddb Enable CloudKit on iOS 2017-11-02 15:14:02 +03:00
Mike Sinkovsky 1c8885415f MinGW POSIX fixes (#998)
* mingw posix: more headers

* mingw posix: #define windows types for winsock

* mingw posix: upgrade winsock to winsock2
2017-11-02 14:47:46 +03:00
Ilya Matveev 5f1dc68efc Fix clean task after dependencies path change 2017-11-02 12:35:45 +03:00
Nikolay Igotti 043e6c54ca Reorder Windows platform defs. 2017-10-25 14:58:42 +03:00
Nikolay Igotti 1ce4e722e8 Fix Windows platform libs 2017-10-24 14:27:10 +03:00