Commit Graph

2891 Commits

Author SHA1 Message Date
Francis Lavoie 7a4aae5ff3 Fix issue for gtk sample where the default include dir for mac is incorrecly set. Added the possibility to pass a custom -I prefix to build.sh (#899) 2017-10-06 10:48:16 +03:00
Vasily Levchenko c90985ea8a [samples] samples uses platform libs 2017-10-06 06:29:08 +03:00
Vasily Levchenko 3777d86be2 [tests][interop] fix sockets.def placement closer to test (fix build) 2017-10-06 06:29:08 +03:00
Vasily Levchenko 96272aea96 [platform lib][posix][windows] base i/o support, w/o networking 2017-10-06 06:29:08 +03:00
Vasily Levchenko 1cbfefc6fd [platform lib][osx] order 2017-10-06 06:29:08 +03:00
Vasily Levchenko 7edfb56c39 [platform lib][linux] order 2017-10-06 06:29:08 +03:00
Vasily Levchenko c4b2d70535 [platform lib][linux][posix] config to build samples 2017-10-06 06:29:08 +03:00
Vasily Levchenko 9be904c171 [platform lib][osx][posix] missed declarations 2017-10-06 06:29:08 +03:00
Nikolay Igotti a9a405d5bb Logging remnants 2017-10-06 00:22:20 +03:00
Aleksey Kladov 555e68a19d [debug] fix off by one error in DebugObjectToUtf8Array
We've copied exactly `toCopy` bytes, so the byte after the last copied
has index `toCopy`. Note that if `toCopy` is exactly (bufferSize - 1),
the previous code would write to memory outside of the buffer.
2017-10-05 22:05:20 +03:00
Nikolay Igotti 3f951dbf60 Android launcher rework 2017-10-05 20:36:45 +03:00
Marcin Kraszewski 63b2d3b07a Update README.md
Fixed grammatical errors
2017-10-05 17:19:59 +03:00
Igor Chevdar fa21a260b1 Fixed coroutines for wasm
Replaced llvm indirectBr instruction with switch instruction.
2017-10-05 14:10:06 +03:00
Ilya Matveev 8f58111159 unit-tests: Remove unused object 2017-10-05 11:37:34 +03:00
Ilya Matveev a539c9251d unit-tests: Refactor filters in test runner 2017-10-05 11:37:34 +03:00
Ilya Matveev 8fcc4c4f30 unit-tests: Add tests for test runner 2017-10-05 11:37:34 +03:00
Ilya Matveev c8cd94c99f unit-tests: Allow user to run tests repeatedly. 2017-10-05 11:37:34 +03:00
Ilya Matveev 1b8fc1a40b unit-tests: Use file name as a suite name for top-level tests
The naming system used is the following. If there is a file
'foo.kt' with the following content:

// foo.kt
package bar.baz

@Test fun test() { ... }

Then 'bar.baz.fooKt' will be a test suite name and 'test' will be
a test name.
2017-10-05 11:37:34 +03:00
Ilya Matveev d5fe0862ac unit-tests: Allow user to set a custom entry point for test program 2017-10-05 11:37:34 +03:00
Ilya Matveev 7c906b74fc unit-tests: Rename some methods in TestListener 2017-10-05 11:37:34 +03:00
Ilya Matveev 9cd5e86dd9 unit-tests: Add TeamCity logger 2017-10-05 11:37:34 +03:00
Ilya Matveev 3e02eab4c9 unit-tests: Add runner parameters and refactor test runner 2017-10-05 11:37:34 +03:00
Ilya Matveev f3fd6579a0 unit-tests: Add gtest-like output 2017-10-05 11:37:34 +03:00
Ilya Matveev fbb9163abf build: Use Gradle 4.2 2017-10-04 14:40:08 +03:00
Igor Chevdar df3e114f31 Added phase RETURNS_INSERTION
Moved explicit insertion of return statement from code generator to a lowering
2017-10-04 13:31:30 +03:00
Vasily Levchenko 10cdd6de20 [buidSrc][tests] make source public to avoid warning in IDE inspections 2017-10-04 11:21:10 +03:00
Alexander Gorshenev b7dd5bd24d Eliminate duplicates of libraries acquired by rombic inclusions.
Allow repositories without /klib bottom level firectory.
2017-10-03 17:14:43 +03:00
Alexander Gorshenev 42cbf8428b Collect dependent libraries in the manifest.
Link dependencies recursively.
2017-10-02 17:13:49 +03:00
Alexander Gorshenev 3b1428597b A little more stubs for html demo.
Tweaked arena management a little.
2017-10-02 17:06:33 +03:00
Vasily Levchenko 6511340eb3 [build][performance] fix exeSuffix after recent refactoring 2017-10-02 09:54:37 +03:00
Nikolay Igotti 1912ab422b Imporve Android usability 2017-09-29 19:02:44 +03:00
Alexander Gorshenev 6118424ef7 Some IDEA code wants package files to have extensions.
So let's make IDE dudes happy.
2017-09-29 12:30:02 +03:00
Ilya Matveev 56afadfcb1 readme: Fix a typo 2017-09-29 11:58:28 +03:00
Ilya Matveev 622b1ae4ae gradle-plugin: Add tests for project library support 2017-09-29 11:58:28 +03:00
Jiaming Lu 87d3c791f8 Easier adding library project as dependency 2017-09-29 11:58:28 +03:00
Ilya Matveev e7bd89e263 stdlib: Implement equals function for AbstractMutableList 2017-09-28 13:57:52 +03:00
Alexander Gorshenev 373df0d006 Match konanc 3GB runner heap setting in Gradle Plugin. 2017-09-28 12:32:09 +03:00
Alexander Gorshenev 606f98f9d3 Added minimal posix.def for windows. 2017-09-28 12:32:09 +03:00
Vasily Levchenko 788d86bec4 [buildSrc] fix test with platform libs enhancements 2017-09-28 07:18:33 +03:00
Vasily Levchenko 910e79a482 [build][platform libs] order build of libraries in topological order 2017-09-28 06:14:18 +03:00
Vasily Levchenko f6c040ea3d [interop][shared] introduce depends field of DefFile for declaring library dependencies
diff --git a/klib/src/platform/osx/objc.def b/klib/src/platform/osx/objc.def
index 9631fe3b..510de838 100644
--- a/klib/src/platform/osx/objc.def
+++ b/klib/src/platform/osx/objc.def
@@ -7,6 +7,6 @@ headers = objc/List.h objc/NSObjCRuntime.h objc/NSObject.h objc/Object.h objc/Pr

 compilerOpts = -D_XOPEN_SOURCE
 linkerOpts = -lobjc
-
+depends = osx posix
 ---
 // objc-auto.h is excluded so far due to interop issues.
diff --git a/klib/src/platform/osx/osx.def b/klib/src/platform/osx/osx.def
index 8dfd8116..6573dc0c 100644
--- a/klib/src/platform/osx/osx.def
+++ b/klib/src/platform/osx/osx.def
@@ -28,6 +28,7 @@ headers = AppleTextureEncoder.h AssertMacros.h Availability.h AvailabilityIntern

 compilerOpts = -D_XOPEN_SOURCE
 linkerOpts = -ldl -lz
+depends = posix

 ---

diff --git a/klib/src/platform/osx/zlib.def b/klib/src/platform/osx/zlib.def
index 46ed691d..e3cab7ba 100644
--- a/klib/src/platform/osx/zlib.def
+++ b/klib/src/platform/osx/zlib.def
@@ -1,3 +1,4 @@
 package = platform.zlib
 headers = zconf.h zlib.h
 linkerOpts = -lz
+depends=posix
2017-09-28 06:14:18 +03:00
Vasily Levchenko 46e6d60749 [interop][shared] extract DefFile class for using in cinterop tool and gradle plugin 2017-09-28 06:14:18 +03:00
minamoto cc1f7aa5e0 [platform][libs] linux build fix 2017-09-27 15:08:04 +03:00
Aleksey Kladov e3611ca883 [debug] make lldb printes more robust
`GetValueAsUnsigned` return result as a Python `long`, while *some*
versions of lldb require that an `int` is passed to
`ReadCStringFromMemory` down the line. So let's cast result to `int`,
which is 64 bit wide on Python2 anyway.

Also use nicer accessors and a simpler rule to find Kotlin types.
2017-09-27 05:50:14 +03:00
Sergey Bogolepov 0fb788d580 Renamed targets. Added linux_ prefix
mips32   -> linux_mips32
mipsel32 -> linux_mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov b7978c3a1f Renamed targets.
mips -> mips32
mipsel -> mipsel32
2017-09-26 16:18:33 +03:00
Ilya Matveev 5304ff39f4 MIPS: Rename mips gcc toolchain 2017-09-26 16:18:33 +03:00
Sergey Bogolepov c1e412ce40 Updated konan.properties 2017-09-26 16:18:33 +03:00
Sergey Bogolepov 8746247d2d Moved qemu to the toolchain 2017-09-26 16:18:33 +03:00
Sergey Bogolepov 46eed4efbb Enabled disabled targets 2017-09-26 16:18:33 +03:00