Commit Graph

1594 Commits

Author SHA1 Message Date
Vasily Levchenko f809fb3a06 STDLIB: default parameter marker object for constructors with default arguments (internal) 2017-02-15 14:48:28 +03:00
Nikolay Igotti a7bad9a950 Fix several tests by adding missing stdlib pieces. (#239) 2017-02-14 19:31:29 +03:00
Ilya Matveev 061a8a0b55 Remove main function from some external tests 2017-02-14 11:52:16 +03:00
Nikolay Igotti 57c899763d Switch runtime to UTF16 strings, sigh. (#236) 2017-02-14 11:03:20 +03:00
Nikolay Igotti 4978cecf7a Fix several tests. (#234) 2017-02-13 17:48:35 +03:00
Vasily Levchenko 661d66477c TEST: assertEquals msg paramter is optional 2017-02-13 13:39:38 +03:00
Vasily Levchenko 201ee72b15 reporting: teamcity integration some symbols required to be escaped in messages sent tp teamcity
see  buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy for details.
2017-02-13 13:39:38 +03:00
Svyatoslav Scherbina 8dc171aabb backend/tests: add interop_echo_server (doesn't check that it works yet) 2017-02-13 11:08:24 +07:00
Vasily Levchenko a93c382301 reporting: fix path to final test report. 2017-02-12 08:56:50 +03:00
Vasily Levchenko c8ed56b24a STDLIB: support for vararg of primitive types
- *Array.copyRangeTo for Byte,Short,Char,Long,Float,Double
- bunch of *ArrayOf(vararg elements:*) = elements and inlined
- small inhancement in  c++ part of Kotlin_*Array_copyImpl(...) refactored
2017-02-10 18:18:02 +03:00
Vasily Levchenko be75e1bce9 IR: make vararg lowering more specific in array type creation (e.g. instaed of Array<Int> use IntArray) 2017-02-10 18:18:02 +03:00
Vasily Levchenko 1eebae5c4e reporting: use final result instead traversing over all reports.json (including total report called reports.json too) 2017-02-10 11:29:16 +03:00
Vasily Levchenko ea75220792 reporting: added test report to slack message 2017-02-09 17:48:48 +03:00
Vasily Levchenko 65e4f69721 KonanTest: Teamcity integration. 2017-02-09 17:48:48 +03:00
Vasily Levchenko 3f0cea36c1 reporting: Use agent runtime variables to print build tab url. 2017-02-09 17:48:48 +03:00
Vasily Levchenko c78af84f90 TestKonan: comment reasoning generation of test box launcher 2017-02-09 17:48:48 +03:00
Nikolay Igotti 259da3531d Minor tweak in EA, do not pollute logging. (#228) 2017-02-09 16:04:04 +03:00
Igor Chevdar 5c8368847a Containing declaration elimination (#225)
* rewrote AbstractClosureAnnotator not using containingDeclaration

* bug fix

* bug fix

* review fixes + tests

* review fixes

* refactoring

* fix
2017-02-09 16:53:47 +05:00
Ilya Matveev 8c554aa4c7 backend: Remove workaround for IrSetterCallImpl problem 2017-02-09 10:39:35 +03:00
Ilya Matveev 369c4d1959 compiler: 1.1-20170208.143952-408 2017-02-09 10:39:35 +03:00
Alexander Gorshenev b9e2122497 Use the proper sorting order for statically generated ArrayList constants. 2017-02-09 02:21:36 +04:00
Alexander Gorshenev 0eb9007add Use localHash instead of hashCode for field ordering. 2017-02-09 02:21:36 +04:00
Alexander Gorshenev c0fdbd0e21 Sorted the fields of manually created ArrayList. 2017-02-09 02:21:36 +04:00
Alexander Gorshenev ca908ef4bd Sort fields for RTTI, so that the order of fields in IR and the order of fields in
the deserialized descriptors are the same.
2017-02-09 02:21:36 +04:00
Nikolay Igotti 4b27074979 Extremely conservative escape analysis. (#212) 2017-02-08 19:15:55 +03:00
Igor Chevdar a856e16d2f Local declarations and initializers fixes (#222)
* captured values are stored in corresponding fields before call to super constructor

* preserving the order of initializers

* tests

* refactoring

* - test fix
- workaround of IR bug

* refactoring

* review fix
2017-02-08 14:52:26 +05:00
Vasily Levchenko 7b0c0f5bfb TEST: report task. 2017-02-08 11:40:24 +03:00
Vasily Levchenko 3474f167c1 gradle: task parsing json reports and publish results. 2017-02-08 11:40:24 +03:00
Vasily Levchenko 16df5c4299 KonanTest: infrostructure enhancements.
- test status in enum.
- fails are bit different from errors.

it takes reports generated in output directory and sum statistics and publish
result on slack.
2017-02-08 11:40:24 +03:00
Svyatoslav Scherbina 19dbdf3137 backend/tests: add more interop tests 2017-02-08 11:57:55 +07:00
Svyatoslav Scherbina 59f65e9b3f Interop/Indexer: add workaround for incorrect __builtin_va_list 2017-02-08 11:57:55 +07:00
Svyatoslav Scherbina 50ba0c5c3e Interop/StubGenerator: fix array-typed parameters handling 2017-02-08 11:57:55 +07:00
Svyatoslav Scherbina 29968f81a2 Interop/StubGenerator: improve typedef handling 2017-02-08 11:57:55 +07:00
Svyatoslav Scherbina 5c90f6abc2 Interop/StubGenerator: support anonymous structs 2017-02-08 11:57:55 +07:00
Igor Chevdar a127f0f1ef moved initilizers lowering from code generation to lowering phase (#219)
* moved initilizers lowering from code generation to lowering phase

* bug fix

* bug fix

* permuted phases

* supported KFunction
2017-02-07 15:00:12 +05:00
Vasily Levchenko 80587b65ee compiler: 1.1-20170206.215253-402 2017-02-07 11:21:07 +03:00
Konstantin Anisimov 49f168a7f0 Inline tests are suspended 2017-02-06 20:32:59 +07:00
Ilya Matveev e0a1536c9b backend: Generalize createFunctionIrBuilder function. 2017-02-06 15:25:48 +03:00
Ilya Matveev 395b49e62b backend: Remove string concatenation from codegen 2017-02-06 15:25:48 +03:00
Ilya Matveev 51a63222b9 backend: String concatenation lowering 2017-02-06 15:25:48 +03:00
Ilya Matveev f251bd2b61 backend: Add IrLetSequence extension for IrBlockBuilder 2017-02-06 15:25:48 +03:00
Nikolay Igotti 4865a5dd60 Temporrary disable inline and restore interop lowering. 2017-02-06 14:58:43 +03:00
Nikolay Igotti 6c33db34da Assert type used in virtual dispatch. 2017-02-06 14:40:12 +03:00
KonstantinAnisimov f2a611d4d2 Merge pull request #216 from JetBrains/inline
Inline
2017-02-06 17:39:11 +07:00
KonstantinAnisimov dcb0a074da Merge branch 'master' into inline 2017-02-06 17:21:28 +07:00
Konstantin Anisimov 3359758ceb Merge 2017-02-06 16:53:26 +07:00
Konstantin Anisimov 17c3f9fd86 Typo fixed 2017-02-06 16:49:12 +07:00
Konstantin Anisimov 27de5850d9 Comments added. Variables renamed 2017-02-06 16:49:12 +07:00
Nikolay Igotti 84635b0eca Improve object arrays support. (#182)
Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
2017-02-06 16:45:17 +07:00
Nikolay Igotti 5808df477a Cycle collector. (#175) 2017-02-06 16:45:14 +07:00