Commit Graph

2972 Commits

Author SHA1 Message Date
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
Mike Sinkovsky 86a4c65f32 update platform.windows to include most modern WIN32 APIs (#947) 2017-10-16 16:16:36 +03:00
Nikolay Igotti 8ea91a771a Add OSX platform libs (#948) 2017-10-16 15:39:01 +03:00
Alexander Gorshenev 778ffed37d Added a dependence between objc.def and osx.def. 2017-10-13 23:13:37 +03:00
Alexander Gorshenev dc9a1ac76c Renamed objc klib in the sample to objective_c to eliminate naming
conflict woth objc platform lib.
Made objc sample compile with the platform libs.
2017-10-13 23:13:37 +03:00
alexander-gorshenev c4e45baa61 The time.h header belongs to posix.def, rather than linux.def 2017-10-13 23:10:38 +03:00
Alexander Gorshenev 1fe308370c Moved gitchurn to platform libs. 2017-10-13 23:10:38 +03:00
Alexander Gorshenev 28b748f382 Moved Tetris to platform libs. 2017-10-13 23:09:33 +03:00
Mike Sinkovsky f4c90e1a86 fix gradle 4.2 warning on windows (#937) 2017-10-13 12:54:22 +03:00
Mike Sinkovsky 83f798d5c4 win32 sample uses platform.windows (#940) 2017-10-13 12:51:48 +03:00
Vasily Levchenko a4d1be443d [samples][cmd][build] fix for command line build (build.sh): csvparser, socket, nonBlockingEchoServer 2017-10-12 15:23:53 +03:00
Vasily Levchenko 1109163fd8 [samples] feedback review 2017-10-12 15:17:06 +03:00
Vasily Levchenko fbb0c35d08 [samples][androidNativeActivity] drop usage internal pointerSize 2017-10-12 15:17:06 +03:00
Vasily Levchenko 43f351d3e3 [sample][polyhedron] use platform libs 2017-10-12 15:17:06 +03:00
Vasily Levchenko 3cdb101df6 [sample][polyhedron][doc] prerequisites 2017-10-12 15:17:06 +03:00
Vasily Levchenko 6457e97364 [kotlin compiler][update] 1.1-20171004.235336-906
kotlin-script-runtime: 1.1-20171004.235353-597
kotlin-stdlib: 1.1-20171004.235357-905
kotlin-reflect: 1.1-20171004.235348-905
kotlin-stlib-jdk8: 1.1-20171004.235402-815
kotlin-gradle-plugin: 1.1-20171004.235345-884
2017-10-12 15:16:30 +03:00
Vasily Levchenko 596c8c086c [build] projet-report plugin added
for maintenence needs e.g.
./gradlew htmlDependencyReport
gitves nice reports of dependencies and helps in compiler update
2017-10-12 15:16:30 +03:00
Alexander Gorshenev 17ae2343d4 There is not platform.posix for wasm32. 2017-10-12 10:56:21 +03:00
Alexander Gorshenev 85abe28267 Added math.h into posix platform lib on Windows. 2017-10-12 03:00:18 +03:00
alexander-gorshenev a47c2dff41 Allow all cross platform libs to be built within the bundle target. 2017-10-12 03:00:18 +03:00
alexander-gorshenev f75adb30a3 Temporarily disable zlib.klib on raspberrypi and mipses. 2017-10-12 03:00:18 +03:00
alexander-gorshenev 989d9efab9 A little more tweaks for linux.def to work on MIPS and RaspberryPi. 2017-10-12 03:00:18 +03:00
Vasily Levchenko abf30a45b9 Revert "[platformlibs][build] bundle build does cross build of platform libraries"
This reverts commit ba28e98eca.
2017-10-11 23:53:01 +03:00
Vasily Levchenko ba28e98eca [platformlibs][build] bundle build does cross build of platform libraries 2017-10-11 23:52:21 +03:00
Nikolay Igotti e714b4e134 Fix Linux platform dependencies 2017-10-11 18:17:08 +03:00
Alexander Gorshenev 2445357166 A test to check we don't throw away a library dependency only because it
it a default lib not needed in the main program.
2017-10-11 17:05:12 +03:00
Alexander Gorshenev e7286998aa If we get a defaultly linked library again from a library dependency
it should not be purged anymore for the final binary.
2017-10-11 17:05:12 +03:00
Svyatoslav Scherbina ea802dfcdf Don't touch dependencies when serializing the module
Otherwise dependencies would seem as needed.
2017-10-11 16:48:33 +03:00
Svyatoslav Scherbina 081b990863 Don't mark library needed if it was touched while looking for cnames.*
Also do minor refactoring.
2017-10-11 16:48:33 +03:00