Commit Graph

3767 Commits

Author SHA1 Message Date
Ilya Matveev d2670b4921 [gradle-plugin] Create a separate run task for each executable 2018-05-25 18:38:41 +07:00
Nikolay Igotti 5b087ae04c Improve Android native sample, add basic Java bridge. (#1606) 2018-05-24 18:20:59 +03:00
Ilya Matveev 41ea12a4e7 [tetris] Support Windows resources in Gradle build 2018-05-24 11:16:07 +07:00
Max Medvedev 9b9f0412ce Rework Objective-C header generation (#1618)
Provide simple tree representation for generated header
to be used in IDE for cross-resolve.

Also do some cleanup.
2018-05-24 00:09:36 +03:00
Alexander Gorshenev 40a58a9a61 Eliminate stack protection from the runtime.
There is some positive performance effect:
before: Average Ring score: absolute = 177,5160 us +- 0,5352 us, ratio = 8,68 +- 0,10
after:  Average Ring score: absolute = 171,3093 us +- 2,3758 us, ratio = 8,72 +- 0,23
2018-05-23 13:50:00 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
Igor Chevdar 74e1783e2b Fixed bug in <when> codegen + test 2018-05-22 12:07:36 +03:00
Svyatoslav Scherbina b218a3a7a2 Add 'disableDesignatedInitializerChecks' .def file flag
When enabled for an Objective-C library, compiler would permit to call
a constructor of a class from this library as super-constructor even if
it is not marked as designated.

Fix #1539
2018-05-22 10:03:16 +03:00
Vasily Levchenko ec80b949e7 [kotlin compiler][update] 1.2.60-dev-188 2018-05-21 16:54:41 +03:00
Vasily Levchenko 361cde1ed1 [build][gradle] switch to gradle-4.7 2018-05-21 12:25:26 +03:00
Igor Chevdar 5ac3a160ca Implemented inlining of devirtualized bridges 2018-05-18 17:10:25 +03:00
Igor Chevdar 5212fd8189 DFG: Added function attributes to FunctionSymbol 2018-05-18 17:10:25 +03:00
Igor Chevdar e9622bd347 DFG: Refactored types representation 2018-05-18 17:10:25 +03:00
Igor Chevdar 1c2fa52eba DFG: Moved parameter & return types from body to symbol 2018-05-18 17:10:25 +03:00
Igor Chevdar e3857223eb DFG: Added Type.correspondingValueType 2018-05-18 17:10:25 +03:00
Igor Chevdar b46d19c1ac DFG: Added bridge target for bridge symbols 2018-05-18 17:10:25 +03:00
ilmat192 8e1caefea6 Small fix in MPP readme (#1603) 2018-05-17 19:30:32 +07:00
Igor Chevdar 54fa746813 Perf: implemented many attempts computation
Mean and standard deviation are computed as result
2018-05-16 17:00:29 +03:00
Igor Chevdar 876de88df2 Fixed bug in coroutines lowering
Removed unnecessary returns & blocks from suspend function with delegating tail call.
2018-05-16 16:57:53 +03:00
Igor Chevdar 7ded115ddd Fixed bug in Inliner + test 2018-05-16 16:57:53 +03:00
Vasily Levchenko 2b97610301 [kotlin compiler][update] 1.2.60-dev-89 2018-05-16 14:40:43 +03:00
Ilya Matveev 651bd7d1e0 Fix wrong script in MPP doc 2018-05-16 11:55:42 +07:00
Vasily Levchenko d43e600fdb [debug info][variables] do not generate debug info for temporal variables 2018-05-15 23:10:33 +03:00
Vasily Levchenko 5e786666e7 [kotlin compiler][update] 1.2.60-dev-4 2018-05-15 23:10:12 +03:00
ilmat192 b99836edff [gradle-plugin] Provide a simple tooling model for IDE (#1578) 2018-05-15 17:37:46 +03:00
Nikolay Igotti dff4ce98e9 Optimize important case of string appending to the builder. (#1591) 2018-05-15 16:00:36 +03:00
StefMa 7fe6d44231 Remove pluginMetadata left over 2018-05-15 16:54:26 +07:00
Nikolay Igotti 0c0446b56d Support Xcode 9.3.1, allow version check override (#1588) 2018-05-14 07:15:10 -07:00
StefMa f512b3b60a Remove konan.properties. Seems no one use it anymore 2018-05-14 17:31:46 +07:00
StefMa 7d122a83a2 Use the gradlePlugin block to automatically generates the konan.properties 2018-05-14 17:31:46 +07:00
StefMa 63d95a2675 Use java-gradle-plugin 2018-05-14 17:31:46 +07:00
SvyatoslavScherbina 5b0f587a2a Improve package name escaping in interop stubs (#1570) 2018-05-11 03:23:45 -07:00
Ilya Matveev 301af84358 [libraries] Move SearchPathResolver into shared 2018-05-11 16:08:47 +07:00
Nikolay Igotti f54f7bfde2 Add errno setters to platform libs. (#1576) 2018-05-10 23:41:34 -07:00
Ilya Matveev 680f15e11b [gradle-plugin] Fix enabling bintray publishing via a property 2018-05-10 15:40:33 +07:00
Vasily Levchenko 2985cc0b62 [kotlin compiler][update][fixup] adoption SharedVariablesLowering to new Shared Variable Manager 2018-05-10 11:34:20 +03:00
Igor Chevdar aa3cae7a4e Fixed SharedVariablesLowering 2018-05-10 11:34:20 +03:00
Mikhael Bogdanov 91f4606b99 Update KonanSharedVariablesManager to new SharedVariablesManager API
(cherry picked from commit 0f9f6d36955ed709a96624aaa422d5e0081a3a53)
2018-05-10 11:34:20 +03:00
Vasily Levchenko be8984ef81 [kotlin compiler][update] 1.2.50-dev-1148 2018-05-10 11:34:20 +03:00
Ilya Matveev 50a8ff25a5 [klib] Fix klib printer tests 2018-05-10 11:46:28 +07:00
Vasily Levchenko 8121e83400 [build][warning] enable GRADLE_METADATA to avoid konan gradle plugins warnings 2018-05-09 08:54:52 +03:00
Nikolay Igotti 93820ba5bb Additional RTTI for debugging. (#1568) 2018-05-09 03:36:57 +02:00
Sergey Bogolepov fff09927fd Add LLVM profiling reports to --time and --verbose object_files flags (#1566)
Added llvm reports to `--time` and `--verbose object_files`.
2018-05-08 17:53:05 +07:00
Ilya Matveev d525fea65c Pass konanVersion to TeamCity 2018-05-08 13:31:54 +07:00
Vasily Levchenko 2e33f5c0bc [gradle][plugin] checks if GRADLE_METADATA feature is enabled and enable publishing then 2018-05-08 06:53:33 +03:00
Vasily Levchenko fec885d260 [version] 0.8 2018-05-06 11:41:15 +03:00
Vasily Levchenko ef44a0dd7b [kotlin compiler][update] 1.2.50-dev-1070 2018-05-06 11:18:18 +03:00
Sergey Bogolepov ebbf86b42d Boolean type fix 2018-05-05 14:53:27 +07:00
Nikolay Igotti 762284359c Remove some leftovers. 2018-05-04 23:02:22 +03:00
Mike Sinkovsky f5090b1317 samples/videoplayer: migrate from libavresample to libswresample (#1551) 2018-05-03 16:01:53 +03:00