Commit Graph

3259 Commits

Author SHA1 Message Date
Alexander Gorshenev dda43dd4a1 Renamed userName to visibleName. 2017-12-18 15:04:02 +03:00
Alexander Gorshenev ff49153e79 Get rid of explicit value case manipulations. 2017-12-18 15:04:02 +03:00
KonstantinAnisimov d237afdea5 Revert "Revert commits: (#1162) 2017-12-18 15:03:55 +03:00
Ilya Matveev 5d856665c8 samples: Add an aggregate task for samples 2017-12-18 18:48:53 +07:00
Ilya Matveev 13fcaefa00 samples: Remove 'for_bundle' version of gradle files 2017-12-18 18:48:53 +07:00
Ilya Matveev 92e666f023 stdlib: Enable assertFailsWith function
The function was disabled due to an issue with catch serialization.
Now the issue is fixed and the function can be re-enabled.
2017-12-18 18:48:53 +07:00
Nikolay Igotti bf67bc38fc Fix few compiler warnings. (#1158) 2017-12-18 14:45:52 +03:00
Pavel Punegov 65ceba0a35 Exclude failing tests 2017-12-18 14:37:34 +03:00
Igor Chevdar e941c404c4 Fixed warning + used common function 2017-12-18 14:31:38 +03:00
Igor Chevdar 05c6879010 Disabled escape analysis for now 2017-12-18 14:31:38 +03:00
Alexander Gorshenev d752d97dbd Get rid of some build warnings. 2017-12-18 12:31:08 +03:00
SvyatoslavScherbina 61dc49b4b7 Fix more -produce framework bugs (#1152)
* Support array constructors as factory methods when producing framework

 #KT-21802 Fixed

* Improve name mangling for produced framework

* Improve multi-inheritance handling when producing framework

 #KT-21817 Fixed
 #KT-21836 Fixed
2017-12-18 12:29:09 +03:00
SvyatoslavScherbina c194c89346 Implement simple heuristic to decide about using internal server (#1153) 2017-12-18 12:28:30 +03:00
Nikolay Igotti 2bbc7d6058 Escape special variable names in interop. 2017-12-18 11:49:21 +03:00
Vasily Levchenko 0ef6f2fa5b [kotlin compiler][update] 1.2-20171217.163053-69
kotlinScriptRuntimeVersion=1.2-20171217.163109-69
kotlinStdLibVersion=1.2-20171217.163113-69
kotlinReflectVersion=1.2-20171217.163105-69
kotlinStdLibJdk8Version=1.2-20171217.163118-69
kotlinGradlePluginVersion=1.2-20171217.163101-69
2017-12-18 11:44:55 +03:00
Pavel Punegov 59a64065da Don't walk through non-existing includes 2017-12-18 11:43:00 +03:00
Ilya Matveev 2cd5bfe015 Fix typos and remove some TODOs 2017-12-18 15:23:52 +07:00
Konstantin Anisimov 45efa2d0a1 Migrate to new lambda detection mechanism 2017-12-16 08:08:40 +03:00
Konstantin Anisimov 53b243c9f8 1) Do not inline in function declared as "inline"
2) Evaluate all arguments except lambdas
2017-12-16 08:08:40 +03:00
Svyatoslav Scherbina 9ca5f835f5 Add other minor improvements when producing framework 2017-12-15 17:58:38 +03:00
Svyatoslav Scherbina 4283b01535 Prevent exposing private super interfaces when producing framework
#KT-21819 Fixed
2017-12-15 17:58:38 +03:00
Svyatoslav Scherbina d7d0bcb92b Fix -produce framework broken by 9d14a29f 2017-12-15 17:58:38 +03:00
Sergey Bogolepov 9d14a29f49 Added a little hack that allows to enable runtime optimizations (#1147) 2017-12-15 16:46:31 +03:00
Svyatoslav Scherbina 83b595377b Enable iOS simulator support for 'calculator' and 'uikit' samples 2017-12-15 14:38:22 +03: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
Svyatoslav Scherbina 905390cd45 Improve support for Objective-C forward declarations 2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 91ab69b835 Support bool-typed bitfields in interop 2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 228ec9d286 Rework compiler dependency management
And support for searching them locally and
downloading from internal server if KONAN_USE_INTERNAL_SERVER is set

Also:
Allow sysroot to change version minorly.
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 257f156e97 Fix #1139
Generate declarations adopting multiple protocols correctly
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina a2c6325f23 Fix #1138
Import the entire Foundation framework when producing a framework
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina ed55fd1a44 Fix deprecation warnings during interop indexer compilation 2017-12-15 14:38:22 +03:00
Nikolay Igotti 5ad0643154 v0.5 preparations. (#1135) 2017-12-15 13:25:25 +03:00
alexander-gorshenev e2040f9b5d Disabled cross targets for the produce dynamic test.
MIPS and WASM32 need more attention.
2017-12-15 13:25:10 +03:00
Alexander Gorshenev bf612fdbdc A -produce dynamic test. 2017-12-15 13:25:10 +03:00
Vasily Levchenko ff4a0a03b2 [kotlin compiler][update] 1.2.20-dev-773 2017-12-15 11:06:42 +03:00
Vasily Levchenko 807fae110f [stage][link][mac] returns dsymutil execution under debug umbrella 2017-12-14 16:47:54 +03:00
Vasily Levchenko deaf52c77e [kotlin compiler][update] 1.2.20-dev-719 2017-12-14 14:11:41 +03:00
Vasily Levchenko 9d211e74c5 [stage][link] commmand reprisentation 2017-12-14 09:00:53 +03:00
Alexander Gorshenev dd42c63bd2 Moved production of windws dll .def file to CAdapterGenerator.kt. 2017-12-13 03:13:25 +03:00
Alexander Gorshenev 3984c4ff64 Produce windows .def files together with .dlls. 2017-12-13 03:13:25 +03:00
Nikolay Igotti 82755af754 Windows Python extension docs. 2017-12-12 19:29:30 +03:00
Vasily Levchenko 0e89083a8d [wasm32] remove unstable hack of executing hosts OS tool for file copying intead of wasm linker 2017-12-12 19:00:56 +03:00
Alexander Gorshenev bb47a28c15 Properly handle TLS for -produce dynamic.
In additon, changed konan.properties linkerDebugFlags to linkerNoDebugFlags to reflect reality.
2017-12-12 16:48:26 +03:00
Vasily Levchenko 33fb54e7a9 [config] use single llvmVersion for project 2017-12-12 14:21:43 +03:00
Vasily Levchenko dd39219ee4 [properties] naive prioritize suffixed keys against unsuffixed 2017-12-12 14:21:43 +03:00
Vasily Levchenko b6ca104bd0 [test][runner] use file lists as parameter to compiler. 2017-12-12 14:21:05 +03:00
Vasily Levchenko 846e091a5b [compiler] accepts options from file prefixed with '@' 2017-12-12 14:21:05 +03:00
ilmat192 cba7319e98 Fix utf8 conversion (#1121) 2017-12-12 13:30:50 +03:00
Alexander Sparkowsky 8fa8e2ebc8 fix minor typo in interop documentation
The configuration property to specify the library path in a definition file is `libraryPaths` instead of `libraryPath`.
2017-12-12 13:30:13 +03:00
Nikolay Igotti d0f1296c7e Rework deinit sequence to avoid bogus leak detector warnings. 2017-12-12 12:54:45 +03:00