Commit Graph

37833 Commits

Author SHA1 Message Date
Alexey Andreev 6b2f1ba4e4 JS: move couple of helper functions from TranslationUtils to JsDescriptorUtils 2017-01-25 13:52:17 +03:00
Alexey Andreev 115f6ced87 JS: fix support of throwable constructors without message and/or cause parameters 2017-01-25 13:52:16 +03:00
Alexey Andreev 6f4d8decc7 JS: add support of custom exceptions inherited from kotlin.Throwable that call super constructor from secondary constructor 2017-01-25 13:52:16 +03:00
Alexey Andreev f34093db9f JS: make kotlin.Throwable = Error. See KT-15312 2017-01-25 13:52:13 +03:00
Alexey Andreev c565697e77 JS: refactor FunctionIntrinsic 2017-01-25 13:51:54 +03:00
Alexey Andreev 0a9c536c01 JS: make defensive copy of argument list in JsInvocation and JsNew constructor 2017-01-25 13:51:53 +03:00
Alexey Andreev 51e5b5aac7 JS: allow to inherit external class from kotlin.Throwable. See KT-15336 2017-01-25 13:51:53 +03:00
Anton Bannykh 847ec9e550 JS: fixed subSequence in CharSequence descendants (KT-14035) + added support for function intrics in delegation 2017-01-25 12:59:53 +03:00
Vyacheslav Gerasimov 4fe040eeb9 Fixed several bugs in Android lint ApiDetector (KT-15002, KT-12024, KT-14737, KT-14825, KT-12023, KT-15018)
Merged IntelliJApiDetector to ApiDetector

#KT-15002 Fixed
#KT-12024 Fixed
#KT-14737 Fixed
#KT-14825 Fixed
#KT-12023 Fixed
#KT-15018 Fixed

(cherry picked from commit e830e8b55fa2e354303a6c604b3905285a05b9db)
2017-01-25 10:50:36 +03:00
Vyacheslav Gerasimov d0f1b81bfa Fixed bugs in Kotlin Android Lint CleanupDetector
#KT-14780 Fixed
#KT-14677 Fixed

(cherry picked from commit f591b4958e4a836d37d70c2ad8ff15e626c6342a)
2017-01-25 10:50:35 +03:00
Mikhail Zarechenskiy 68b223211c Fix bogus integer overflow warning for 'mod' operator
#KT-15875 Fixed
2017-01-25 02:24:28 +03:00
Ilya Gorbunov f9e552e3c2 Build kotlin-stdlib in addition to kotlin-runtime in ant build. 2017-01-24 22:38:05 +03:00
Ilya Gorbunov a2bd3bfc7b List artifacts explicitly for test. 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 43003cffbb Make kotlin-runtime dependency optional for kotlin script executor for maven, but still add if it's found. 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 070f9d9d17 Binary compatibility validation: dump public API of merged stdlib to another file 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 4da4de1104 Replace kotlin-runtime with kotlin-stdlib, where it was used as a dependency. 2017-01-24 22:04:46 +03:00
Ilya Gorbunov e025050dd9 Replace kotlin-runtime with kotlin-stdlib in kotlin-script-util and its tests 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 19dd7ee09e Build kotlin-test after kotlin-stdlib, build kotlin-test sources with kotlin-stdlib tests again 2017-01-24 22:04:46 +03:00
Ilya Gorbunov a0cfd8d35e Change builtins module name to kotlin-runtime to match that of maven built artifact. 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 7ccaa77c5b Shade kotlin-runtime into kotlin-stdlib 2017-01-24 22:04:46 +03:00
Ilya Gorbunov 8e9bbe276c JS: Make Date.getTime return Double instead of Int.
#KT-4141 Fixed
2017-01-24 21:55:48 +03:00
Alexey Andreev 46d251df1b JS: deprecate noImpl 2017-01-24 20:18:42 +03:00
Alexey Andreev 5243b451f7 JS: replace noImpl with definedExternally in hand-written stdlib 2017-01-24 20:18:42 +03:00
Alexey Andreev c05870b461 JS: regenerate stdlib 2017-01-24 20:15:22 +03:00
Alexey Andreev a9069d8973 JS: replace noImpl with definedExternally in stdlib generator 2017-01-24 20:15:21 +03:00
Alexey Andreev c9a190b405 JS: regenerate stdlib sources from IDL 2017-01-24 20:15:19 +03:00
Alexey Andreev e3da9066c4 JS: replace noImpl with definedExternally in IDL2K 2017-01-24 20:14:32 +03:00
Alexey Andreev 26abc19aa6 JS: replace noImpl with definedExternally in diagnostics and their messages 2017-01-24 20:14:32 +03:00
Alexey Andreev aedf8bd232 JS: replace noImpl with definedExternally in tests 2017-01-24 20:14:31 +03:00
Alexey Andreev 71a5d8a4ee JS: add definedExternally property as a replacement for noImpl, support it in checkers. See KT-15144 2017-01-24 20:14:31 +03:00
Alexey Andreev 26a3ac5a9b JS: fix translation of delegated local variables in coroutines. See KT-15834 2017-01-24 20:13:53 +03:00
Alexey Andreev 8040d781b4 JS: fix translation of suspend lambda when it's not passed to another function 2017-01-24 20:13:53 +03:00
Alexey Andreev 1a5e0e4b06 JS: improve performance of suspend function calling suspen function when no suspension ever occur. 2017-01-24 20:12:12 +03:00
Alexey Andreev bf55744e64 JS: fix translation of safe calls if suspend functions. See KT-15892 2017-01-24 20:11:55 +03:00
Alexey Andreev 2adaaf5e9f JS: recognize LANGUAGE_VERSION directive in testData 2017-01-24 20:11:30 +03:00
Alexey Andreev 9aeba1d5cf JS: fix names in stdlib and tests WRT to new mangling algorithm 2017-01-24 20:11:29 +03:00
Alexey Andreev 2ae46ceb4b JS: change how signature for mangling is generated, taking into account more information. See KT-15285 2017-01-24 20:10:17 +03:00
Alexey Andreev 119bf52adf JS: fix translation of callable reference to property of outer class with private setter 2017-01-24 20:09:32 +03:00
Alexey Andreev d35ddc1017 JS: unmute tests that now pass 2017-01-24 20:09:32 +03:00
Alexey Andreev d261f8eddf Move generation of fake call to common CodegenUtil to share between JS and JVM 2017-01-24 20:09:31 +03:00
Alexey Andreev c100826629 JS: reduce number of functions to create callable references 2017-01-24 20:09:31 +03:00
Alexey Andreev dcb8b7b92c JS: fix inlining of callable references 2017-01-24 20:09:30 +03:00
Alexey Andreev 7a0f75f164 JS: refactor generation of callable references to functions 2017-01-24 20:09:29 +03:00
Alexey Andreev 1b0648a926 JS: refactor generation of property callable references 2017-01-24 20:09:29 +03:00
Sergey Mashkov 66de78e82a kotlin-test: migrate multiplatform integration test to use common test module 2017-01-24 19:39:05 +03:00
Sergey Mashkov e500eba59f Maven: test js compiler test scope dependencies 2017-01-24 19:39:05 +03:00
Ilya Gorbunov 5a28e8cc20 Install kotlin-test artifacts to local repo when testing maven plugin 2017-01-24 19:39:05 +03:00
Ilya Gorbunov 609405b8d4 Add kotlin-test-js dependency where required. 2017-01-24 19:39:05 +03:00
Ilya Gorbunov 7d9554b6b8 Remove sources.xml and maven-assembly-plugin execution. 2017-01-24 19:39:05 +03:00
Ilya Gorbunov d3ed55549a Make dependency on kotlin-test-common optional, i.e. non-transitive. 2017-01-24 19:39:05 +03:00