Alexander Gorshenev
eae130e246
He says make it an extension property.
2017-12-18 15:04:02 +03:00
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
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
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
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
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
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
807fae110f
[stage][link][mac] returns dsymutil execution under debug umbrella
2017-12-14 16:47:54 +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
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
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
Vasily Levchenko
4baeb5cb45
[wasm32] linux & mingw support
2017-12-11 12:00:35 +03:00
Nikolay Igotti
93a3444a70
Python extension sample. ( #1123 )
2017-12-08 12:38:19 +03:00
Svyatoslav Scherbina
0d082d6730
Improve kotlin.Unit support in produced framework
...
Make the Objective-C wrapper unique, and provide the method to get it
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
cf076ffff0
Don't expose special classes when producing frameworks
...
* Kotlin annotation classes;
* Enum entry classes;
* Interop types.
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
8b6d3c0a69
Add dynamic and framework to -produce CLI description
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
b705fa9656
Guard Kotlin code from foreign exceptions when producing framework
2017-12-07 18:56:26 +03:00
Igor Chevdar
03ef9e4855
Added test on special bridges
2017-12-07 17:06:13 +03:00
Igor Chevdar
c3a6ea4946
Special bridge building fix
2017-12-07 17:06:13 +03:00
Alexander Gorshenev
c30d30c96c
Don't #include C Adapter header into its cpp.
...
Just textually concatenate.
2017-12-07 05:10:24 +03:00
Alexander Gorshenev
63aff3eded
Compile the C Adaptor with clang and link it to the final binary.
2017-12-07 05:10:24 +03:00
Igor Chevdar
86e221ed58
Added tests on workers's bridges
2017-12-06 18:32:22 +03:00
Igor Chevdar
8df6ff5215
Added bridges building for workers
2017-12-06 18:32:22 +03:00
Svyatoslav Scherbina
d51e0e0a30
Improve produced framework layout on mac
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
b5e81a8008
Improve package class naming for -produce framework
...
Don't include common package to the name
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
5ade7505b3
Implement Info.plist generation for produced frameworks
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
954caf836a
Add -install_name to produced frameworks
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
85103a455b
Add dynamic linker flags for ios and ios_sim targets
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina
0279cee371
Remove workarounds for LLVM bug 33220
2017-12-06 09:25:18 +03:00