Commit Graph

937 Commits

Author SHA1 Message Date
Alexander Udalov 93db022059 Minor, fix wrong string template in KAnnotation.toString() 2014-03-17 19:09:08 +04:00
Alexander Udalov 00170357fd Clean code in KDoc
Fix warnings, outdated TODOs, formatting, etc.
2014-03-17 19:09:08 +04:00
Alexander Udalov 0dfacd8b20 Make KDoc generate documentation on red code
KDoc is not a compiler, so it should not care whether or not the code is valid.
Therefore suppress the compiler's exit code, errors and warnings in KDoc plugin
2014-03-17 19:09:08 +04:00
Mikhael Bogdanov b1d76d6ab0 Maven inline option support 2014-03-17 17:28:46 +04:00
Mikhael Bogdanov 0b11c717c6 Gradle inline option support 2014-03-17 17:28:46 +04:00
Nikita Skvortsov 0b6947b722 Test common Gradle property for kotlin version 2014-03-17 15:26:25 +04:00
Natalia Ukhorskaya 904217d793 Gradle: set output directory to tmp/kotlin-classes to exclude it in IDE.
This is a temporary workaround: should be removed when Android Studio will get excluded output directories from Gradle Model (see AndroidContentRoot.java:35)
 #KT-4507 Fixed
2014-03-13 17:32:13 +04:00
Natalia Ukhorskaya 53e41e94d9 Fix maven tests 2014-03-13 13:56:28 +04:00
Natalia Ukhorskaya 0340aba2ce Tools: add new gradle-test module to root pom.xml 2014-03-13 13:56:27 +04:00
Natalia Ukhorskaya 3f2c43bab1 Remove unused resources 2014-03-12 11:31:09 +04:00
Natalia Ukhorskaya 94ccd8b2f2 Merge remote-tracking branch 'origin/pr/401'
Conflicts:
	libraries/tools/kotlin-gradle-plugin-core/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPlugin.kt
	libraries/tools/kotlin-gradle-plugin/src/test/kotlin/org/jetbrains/kotlin/gradle/KotlinGradlePluginIT.kt
2014-03-12 11:28:23 +04:00
Natalia Ukhorskaya f1d2c2de0b Merge pull request #402 from nskvortsov/KT-4612
#KT-4612 Fixed
2014-03-12 06:59:43 +00:00
Zalim Bashorov 5f847bc7e7 JS backend: fixes after rename testFiles -> testData 2014-03-11 20:04:01 +04:00
Zalim Bashorov 33360c2528 Dropped some TODOs
#KT-2564 Obsolete. Looks like, it's fixed in dcddd04.
2014-03-11 20:03:58 +04:00
Zalim Bashorov ffa2a84170 Stdlib: remove a workaround which related to KT-2028 2014-03-11 20:03:57 +04:00
Natalia Ukhorskaya 36387c533f Fix kotlin-android plugin for android-gradle:0.9+
#KT-4667 Fixed
2014-03-11 17:21:37 +04:00
Nikita Skvortsov 856e35cdf9 refactor tests, use common gradle integration tests module, deduplicate gradle binaries in test data 2014-03-08 18:57:38 +04:00
Nikita Skvortsov 84e832604d Add message about general gradle failure 2014-03-08 18:56:12 +04:00
Nikita Skvortsov 5bfaf75978 Extract Gradle wrapper to avoid duplicating binary resources 2014-03-08 16:46:35 +04:00
Nikita Skvortsov e5df62d78b use gradle integration tests module 2014-03-08 16:45:44 +04:00
Nikita Skvortsov 1ba842d47f fix test data 2014-03-08 16:44:48 +04:00
Nikita Skvortsov 6bdb37d745 Move Gradle Integration test classes to separate module for better re-use 2014-03-08 16:43:40 +04:00
Nikita Skvortsov b700296620 Fix KT-4168 use proper buildscript classpath 2014-03-07 14:38:25 +04:00
Mikhael Bogdanov 629a07c748 Removing inlines annotation from properties 2014-03-03 15:43:38 +04:00
Alexander Udalov a6a31878a7 Delete Annotations.kt, move "annotationType" to JVM stdlib 2014-03-02 19:55:28 +04:00
Alexander Udalov f63cbcfd6a Delete wrong toString() extension, fix StringJVMTest 2014-03-02 19:55:28 +04:00
Alexander Udalov 11cc7f46f4 Remove "Iterator.iterator()" intrinsic, add stdlib function 2014-03-02 19:55:24 +04:00
Alexander Udalov 6b0fce8cd5 Unsorted replacements "jet" -> "kotlin"
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Alexander Udalov ac71911720 Get rid of "jet" in comments, assertions, READMEs, etc.
Replace with "kotlin"

 #KT-2896 Fixed
2014-03-02 19:55:11 +04:00
Alexander Udalov 19acc8c6c4 Move jet.runtime.ArrayIterator to package "kotlin.jvm.internal" 2014-03-02 19:54:57 +04:00
Alexander Udalov 6acce0f930 Move jet.runtime.Intrinsic to kotlin.jvm.internal.Intrinsic 2014-03-02 19:54:56 +04:00
Alexander Udalov b68e47f705 Move JVM-specific annotations out of built-ins
Move 'volatile' and 'synchronized' to package 'kotlin' in stdlib. Also delete
'atomic', since its support was never implemented
2014-03-02 19:54:55 +04:00
Alexander Udalov 774e5f0535 Sort out JVM intrinsics for equals, hashCode, toString 2014-03-02 19:54:55 +04:00
Alexander Udalov 3dcd85bdb4 Add toString() to Any, fix all tests
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Alexander Udalov 004c289a0b Use kotlin.modules.* instead of jet.modules.* 2014-02-28 21:48:25 +04:00
Nikita Skvortsov 9362bbcf1f fix KT-4612 properly implement KDoc compiler, added integration test. 2014-02-28 16:28:43 +04:00
Nikita Skvortsov 98779cba2d add new annotations 2014-02-28 16:28:43 +04:00
Nikita Skvortsov ab4815c020 new test to highlight an issue 2014-02-28 16:28:42 +04:00
Andrey Breslav 7c8910bef6 Wrokaround for import clash 2014-02-25 15:12:20 +04:00
Alexander Udalov 391da33c01 Don't use "jet" prefix in stdlib sources 2014-02-21 20:38:02 +04:00
Andrey Breslav ff762a4467 Use JDK annotations downloaded from a KAnnotator build 2014-02-21 19:23:41 +04:00
Alexander Udalov 4605a8f1f9 Copy jet.modules.* to kotlin.modules.*
The next step will be to use the new "kotlin.modules" package and drop the old
"jet" one
2014-02-19 17:44:19 +04:00
Zalim Bashorov 2d31d62163 JS lib: drop es5 shims. 2014-02-06 12:21:12 +04:00
Zalim Bashorov 529d7374b8 Stdlib: enabled test List::withIndices. 2014-02-03 13:31:23 +04:00
Zalim Bashorov edb930fd76 JS stdlib: added missed tests for Set and fixed HashSet implementations. Implemented Set::iterator, AbstractCollection::removeAll, AbstractCollection::retainAll, AbstractCollection::containsAll.
#KT-4390 fixed
2014-02-03 13:31:23 +04:00
Zalim Bashorov ceab4347ec JS stdlib: added missed tests for Map and fix HashMap implementation. 2014-02-03 13:31:23 +04:00
Evgeny Gerashchenko 15bba63dc1 Removed obsolete workaround for KT-1752. 2014-01-28 00:51:10 +04:00
Alexander Udalov dc66561ca5 Create module 'builtins', move 'runtime' -> 'runtime.jvm'
'builtins' will be used for platform-independent core built-in definitions,
'runtime.jvm' for things that should be present at runtime in order for Kotlin
code to execute correctly on JVM

ProgressionUtil goes to 'builtins' right now because progression iterators
depend on it, but should be rewritten to Kotlin later
2014-01-27 18:33:47 +04:00
Alexander Udalov ca565b9c19 Move toString() from primitive ranges to Range
The same can't be done with progressions, because its toString() checks if an
increment is greater than zero, but Progression.increment is of type Number,
which is not Comparable<Int>
2014-01-27 18:33:47 +04:00
Alexander Udalov a59565bfa8 Rewrite PropertyMetadata to Kotlin 2014-01-27 18:33:44 +04:00