Nikolay Igotti
2dde9eda55
Fix socket example on POSIX ( #966 )
2017-10-23 14:15:28 +03:00
Pavel Punegov
85a782cd7e
Disable test for wasm32 due to KT-20862
2017-10-20 18:25:05 +03:00
Pavel Punegov
9633a09c07
Exclude tests that could not be used with TestRunner automatically
2017-10-20 18:25:05 +03:00
Pavel Punegov
535e18fc20
Simplify dependence on buildKonanTests. Remove arguments from test
2017-10-20 18:25:05 +03:00
Pavel Punegov
a25b3bd19e
SilentTestLogger should print exception if test failed
2017-10-20 18:25:05 +03:00
Pavel Punegov
d56a4f8830
Fixes to tests: forgotten package names and tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
a6af8aa11c
Uncomment incorrectly commented out tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
35505007d2
TestRunner support in test's build.gradle
...
* Fixes to tests
* RunKonanTest runs tests build with TestRunner
* Standalone tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
9d077d7f4f
BC native tests port to Konan's TestRunner
2017-10-20 18:25:05 +03:00
Svyatoslav Scherbina
9b07fd61ce
Enable GameKit and dependencies
2017-10-20 18:13:18 +03:00
Svyatoslav Scherbina
ef1656f1ab
Disable CloudKit on iOS
...
As as workaround to forward declaration handling bug
2017-10-20 18:13:18 +03:00
Svyatoslav Scherbina
8a92545bed
Add more workarounds for unsupported types in interop
2017-10-20 18:13:18 +03:00
Ilya Matveev
df99d0677b
gradle-plugin: Update readme
2017-10-20 17:09:23 +03:00
Ilya Matveev
6a6b53ab0e
gradle-plugin: Add tests for the 'libraries' block
2017-10-20 17:09:23 +03:00
Ilya Matveev
2eac1d33ee
gradle-plugin: Improve test harness
2017-10-20 17:09:23 +03:00
Ilya Matveev
a04f9e423b
gradle-plugin: Make the 'target' property of tasks internal
...
* Rename target -> konanTarget
* Make konanTarget internal
* Add public property 'target: String'
* Add methods for task access by its target
2017-10-20 17:09:23 +03:00
Ilya Matveev
6809c6482c
gradle-plugin: Add project extension for global parameters
...
Add 'konan' project extension with the following properties:
* targets
* languageVersion
* apiVersion
Remove languageVersion and apiVersion compilation task parameters.
2017-10-20 17:09:23 +03:00
Ilya Matveev
f2b6b87f93
gradle-plugin: Minor naming fixes
...
* Rename: input{Files,Dir} -> src{Files,Dir}
* Rename: pkg -> packageName
* remove allLibrariesFrom(projectPath: String)
2017-10-20 17:09:23 +03:00
Ilya Matveev
9c31594441
gradle-plugin: Improve artifact naming in DSL
...
* Replace 'baseDir' task method with 'destinationDir' allowing
a user to set the full path to an artifact built
* Rename outputName -> artifactName
2017-10-20 17:09:23 +03:00
Ilya Matveev
be8456e6d5
gradle-plugin: Minor fixes in repo list generation
2017-10-20 17:09:23 +03:00
Ilya Matveev
6cc9ca211f
samples: Fix android sample after gradle plugin rework
2017-10-20 17:09:23 +03:00
Ilya Matveev
2f66ab1b67
perf: Build Ring using reworked Gradle DSL
2017-10-20 17:09:23 +03:00
Ilya Matveev
9d90784360
platform-libs: Use reworked DSL in gradle build
2017-10-20 17:09:23 +03:00
Ilya Matveev
eea0eb7e9f
samples: Use reworked DSL in gradle builds
2017-10-20 17:09:23 +03:00
Ilya Matveev
d3f9e335fb
gradle-plugin: Rework DSL
...
* Remove konanInterop block
* Use konanArtifact block for both compiler and interop artifacts
* Specify targets in a project-wide manner
* Autogenerate tasks for all targets specified for a project
* Add an ability to configure each target for an artifact separately
With this patch the following old DSL:
konanInterop {
fooMacbook { target 'macbook' ... }
fooLinux { target 'linux' ... }
}
konanArtifacts {
barMacbook { target 'macbook' }
barLinux { target 'linux' }
}
Transforms into:
konanTargets = ['macbook', 'linux']
konanArtifacts {
interop('foo') { ... }
program('bar') { ... }
}
2017-10-20 17:09:23 +03:00
Ilya Matveev
476bed32f8
gradle-plugin: Move tasks into a separate directory
2017-10-20 17:09:23 +03:00
Ilya Matveev
edfe593ea7
gradle-plugin: Implement library block
2017-10-20 17:09:23 +03:00
Vasily Levchenko
86ee37b7e8
[platform libs][linux][debug] fix debug build
2017-10-20 13:45:16 +03:00
Vasily Levchenko
ba2d4166f1
[platform libs][osx][debug] fix debug build
2017-10-20 13:45:16 +03:00
Vasily Levchenko
d405a87512
[interop] exludeFunctions should filter out the gloabls list too
2017-10-20 13:45:16 +03:00
Vasily Levchenko
d470df57c0
[tests][teaspot opengl] fix build
2017-10-19 10:06:08 +03:00
Alexander Gorshenev
e1cfb213a4
Removed unnecessary !! in a couple of places.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev
77eff75783
Swapped adding manifest addend properties and depends clause update.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev
e84ab4abfe
Change manifest 'dependencies' field for 'depends'.
...
To reduce user confusion on reading manifests.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev
6cab9a1038
Use the same 'package' field in manifest as in .def-file.
...
Eliminate pkg.
Use explicit 'interop = true' clause to distingush interop libraries.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev
9d8663a4fa
Relax whitespace requirements for lists in Property files.
2017-10-18 15:22:49 +03:00
Alexander Gorshenev
c7190141b1
Mandate to demonstrate a ModuleDescriptor as a proof that the resolve is over
...
for the recursive library resolution.
2017-10-18 12:11:01 +03:00
Alexander Gorshenev
bddada22e5
Rewritten unneeded library purge machinery.
2017-10-18 12:11:01 +03:00
Svyatoslav Scherbina
6382215b9d
Fix opengl sample on macOS and disable on Linux
2017-10-17 20:01:49 +03:00
Svyatoslav Scherbina
a16ddcef76
Add missing OpenGL and GLUT headers to macOS platform libs
2017-10-17 20:01:49 +03:00
Svyatoslav Scherbina
9ef7dcc91e
Fix some samples after adding platform libs:
...
* objc
* uikit
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
ffb0d0cfcb
Add quickfix for unsupported typedef NSFoo Bar.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
e8f97b0436
Represent Objective-C block pointers in methods as Kotlin functions
...
Also do some refactoring.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
caf6719fc4
Make linkage issues more understandable in Objective-C interop
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
a0dc2ecef2
Enable method signature checks when overriding Objective-C method
2017-10-17 13:23:21 +03:00
Alexander Gorshenev
11a11378ff
Treat empty property values as empty list, not as list of an empty string.
2017-10-17 10:56:41 +03:00
alexander-gorshenev
ddf8d4cc4d
A little more tweaks on gitchurn.
2017-10-16 19:06:13 +03:00
Alexander Gorshenev
a11071d55c
Adapted curl sample to platform libs.
2017-10-16 19:06:13 +03:00
Nikolay Igotti
1fc06629ff
Add socket types on OSX
2017-10-16 16:38:04 +03:00
Aleksey Kladov
3fb208cb9d
[debug] fix line info for artificial IrElements ( #941 )
...
Some IrElements have -1 as a startOffset (for example, generated methods
of data classes). To represent such offsets in debuginfo, we should use
0 instead of -1, because line/columns are one-based unsigneds.
closes KT-20443
2017-10-16 16:16:51 +03:00