Commit Graph

1844 Commits

Author SHA1 Message Date
Mikhail Glukhikh 86833c1a74 Migration to new backing field syntax 2015-09-22 10:15:52 +03:00
Dmitry Petrov 80cbee83ee JvmName should have @Retention(AnnotationRetention.BINARY)
(TODO: fix JVM BE)
2015-09-21 14:24:09 +03:00
Dmitry Petrov eba9f0f0ad Change JvmName retention to SOURCE 2015-09-21 12:10:46 +03:00
Ilya Gorbunov ab88d49567 Drop deprecated stuff 2015-09-19 05:04:53 +03:00
Ilya Gorbunov 439d1026bf Fix deprecations in js and java tests. 2015-09-19 05:04:41 +03:00
Ilya Gorbunov 4d8977ea32 Provide required imports for deprecation replacement of Delegates.mapVal and mapVar. 2015-09-18 22:00:03 +03:00
Stanislav Erokhin 8efbf4fc32 Fixed testdata -- removed package import 2015-09-18 21:00:20 +03:00
Stanislav Erokhin 2af5b24db2 Fix maven build compilation 2015-09-18 21:00:17 +03:00
Denis Zharkov 53bccec50d Capitalize copies of JVM annotations for js stdlib 2015-09-18 10:14:35 +03:00
Denis Zharkov 05eaf37123 Get rid of deprecated annotations and modifiers in js-stdlib 2015-09-18 10:14:30 +03:00
Denis Zharkov 5cecaa6f87 Get rid of deprecated annotations and modifiers in stdlib (besides JS) 2015-09-18 10:14:28 +03:00
Ilya Gorbunov e95be9096e Revert unification of operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver.
Leave sortedArray, reversedArray and sliceArray only for covariant projection of array as the receiver.
2015-09-17 21:15:11 +03:00
Ilya Gorbunov 909cbc6817 Eliminate deprecated language constructions from the generated code. 2015-09-17 02:41:01 +03:00
Dmitry Jemerov 6f902823d5 Merge branch 'rr/yole/verify-ignore-perf' 2015-09-15 17:18:48 +02:00
Dmitry Jemerov 81d0b6c109 verify.groovy: ignore PERF output 2015-09-15 16:24:18 +02:00
Alexander Udalov 90cef6553c Delete all references to removed package 'kotlin.modules' 2015-09-15 15:55:19 +03:00
Mikhail Glukhikh b4399b8b8b AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step) 2015-09-14 12:51:11 +03:00
Dmitry Petrov 1586a2df8e Make stdlib work with -Xmultifile-package-facades.
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Rodrigo Quesada 69038ba6c0 KT-9003 FileNotFoundException when Kapt is unable to find corresponding annotations.txt
#KT-9003 Fixed
2015-09-11 22:41:58 +03:00
Dmitry Jemerov 8ca54f4dbb minor doc corrections 2015-09-11 11:43:55 +02:00
Yan Zhulanow a2096ab0be Check supportv4 library presence on the spot 2015-09-11 04:30:04 +03:00
Ilya Gorbunov 017db3d36c Correct reference to withDefault method in documentation. 2015-09-10 21:32:41 +03:00
Denis Zharkov df97496a16 Deprecate 'kotlin.throws' in favor of 'kotlin.jvm.Throws' 2015-09-10 20:39:05 +03:00
Natalia Ukhorskaya bb17724f96 Gradle: workaround the problem that getVariantDataManager is internal 2015-09-10 15:23:46 +03:00
Natalia Ukhorskaya b1dbc89a2a Gradle: add bintray to repository list 2015-09-10 15:23:45 +03:00
Denis Zharkov 04483eb826 Report custom diagnostic instead of symbol deprecation
For annotations that should be replaced with modifiers
2015-09-10 10:04:59 +03:00
Dmitry Petrov a00346a141 MultifileClassCodegen
- initial implementation
- new Kotlin file kinds + stub builder
2015-09-09 19:08:17 +03:00
Ilya Gorbunov 5a0cd4f6fb Clarify documentation for asReversed. 2015-09-09 17:56:34 +03:00
Michael Bogdanov 0f6bf80c0a Fix kotlin module name for gradle plugin 2015-09-09 13:32:40 +03:00
Michael Bogdanov 4d871ef2c6 Added tests for moduleName to maven plugin 2015-09-09 13:32:40 +03:00
Ilya Gorbunov 52f3e9ca06 Accept in-projection of Comparator as a parameter when possible. 2015-09-08 17:11:12 +03:00
Ilya Gorbunov a63341b901 Some tests for assertion messages. 2015-09-08 10:28:15 +03:00
Ilya Gorbunov f7c2f034b3 Remove usages of deprecated failsWith 2015-09-08 10:28:03 +03:00
Ilya Gorbunov c14f376d21 Deprecate precondition checks with non-lazy message.
Make precondition checks with lazy message inline.
Use require with lazy message in stdlib.
#KT-8253 Fixed
2015-09-08 10:27:46 +03:00
Ilya Gorbunov e9901e7351 Deprecate assert with non-lazy message.
#KT-8253
2015-09-08 10:27:20 +03:00
Ilya Gorbunov 470fcc977c Drop test DSL experiments. 2015-09-08 10:27:08 +03:00
Ilya Gorbunov 44f7b6d699 Unit testing API: better mapping on JUnit, proper formatting assertion details when message is not specified
#KT-8929 Fixed
Sensible default message for assertion methods.
#KT-8314 Fixed
Provide assertFailsWith also with KClass and reified type argument.
2015-09-08 10:26:07 +03:00
Ilya Gorbunov f6c9d63c46 Simplify asserter implementations.
Do not use inline functions in unit tests API.
2015-09-08 10:23:59 +03:00
Ilya Gorbunov 267aad3926 Simplify asserter acquisition. 2015-09-08 10:23:46 +03:00
Michael Nedzelsky 44691018ce add explicit types for some top-level public val/var declarations in MapDelegationTest due KT-9072 2015-09-08 02:06:34 +03:00
Ilya Gorbunov 67d1cc80f6 Exclude kotlin-jdbc and kotlin-swing from maven deployment. 2015-09-07 19:36:29 +03:00
Ilya Gorbunov dcf490d533 Update deprecation replacement. 2015-09-07 19:36:27 +03:00
Ilya Gorbunov b5af83cb36 Drop deprecated StringTemplate from StdLib and move it to kotlin-jdbc, which is using it. 2015-09-07 19:36:25 +03:00
Ilya Gorbunov 3c5de56e83 Improve diagnostics when test cleanup fails. 2015-09-07 16:45:06 +03:00
Michael Bogdanov 225cbb417c Gradle support 2015-09-07 16:29:15 +03:00
Michael Bogdanov 2ca9b3ae0e Code clean 2015-09-07 16:29:10 +03:00
Michael Bogdanov 25234f672a Maven plugin fixes 2015-09-07 16:29:05 +03:00
Dmitry Petrov 0fa6e0730a jvmName should be applicable to FILE.
Get jvmName from Annotations
(JetFile is not Annotated, since it is a part of AST hierarchy, and there is no corresponding descriptor;
however, there is a standard way to obtain Annotations for JetFile, which is exactly what we need, and what Annotated provides).
2015-09-07 16:28:54 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00