Commit Graph

833 Commits

Author SHA1 Message Date
Erokhin Stanislav 4c57d70be9 JS backend: remove ECMA 3, but several tests is broken.
Main reason: overload extention property:

Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Nikita Skvortsov cc47f646a1 fix kotlin compiler logging level in Gradle 2013-09-16 16:48:31 +04:00
Nikita Skvortsov 96d6542e49 fix extra kotlin source set structure. 2013-09-16 16:48:31 +04:00
Natalia.Ukhorskaya fa4d771a94 Merge remote-tracking branch 'origin/pr/303' 2013-08-29 19:44:08 +04:00
Mohammad Shamsi 32c34a3740 KT-3893 Fixed
- Added modifier check for parameters in constructors.
- Added modifier check for parameters in functions.
- Added modifier check for parameters in try/catch
2013-08-29 22:08:26 +08:00
Alexander Udalov d49a2ed613 Move Intrinsic annotation to javaClass property from its getter
This is needed because the property, not its getter, is used as a key to the
intrinsics map when codegen decides how to generate a method call. Earlier it
worked because annotations on getters of properties loaded from bytecode were
mistakenly added to annotations on properties themselves
2013-08-23 17:39:23 +04:00
Nikita Skvortsov dd42b47d98 updated integration test for android library project 2013-08-21 15:44:37 +04:00
Nikita Skvortsov fa84783414 fix for http://youtrack.jetbrains.com/issue/KT-3911 2013-08-21 15:44:36 +04:00
Mohammad Shamsi 846de273a6 KT-3715 updated java-doc
"not" was missing in the java-doc for "notEmpty" property
2013-08-20 14:00:28 +08:00
Mohammad Shamsi 5584e6ce18 KT-3715 make Collection.notEmpty a property
Renamed "notEmpty()" methods to "isNotEmpty()" in following classes:
    - Collection
    - String
    - Array

Added "notEmpty" property to Collection class
2013-08-19 01:20:56 +08:00
Nikita Skvortsov f99f4bcf22 fix to handle empty kotlin compilation output 2013-08-14 14:01:24 +04:00
Nikita Skvortsov 4302cbd816 minor fix improvements and integration test 2013-08-13 17:28:17 +04:00
Natalia.Ukhorskaya 04e397b850 Small syntax improvement 2013-08-13 16:30:40 +04:00
Nikita Skvortsov 7cb8e76ed7 fix duplicates in classpath 2013-08-13 16:30:39 +04:00
Nikita Skvortsov 6ce92f6d0d code polishing 2013-08-09 14:36:07 +04:00
develar e786e62fd7 JS backend: fixed variable capturing in extension functions.
Fixed ClosureTest.testWrappedVariableInExtensionFun IteratorsTest.foldReducesTheFirstNElements and IteratorsTest.takeExtractsTheFirstNElements. All tests passed.

(cherry picked from commit f8f1895)
2013-08-09 14:29:55 +04:00
develar 4e07c60541 JS backend: fixed AbstractCollection#equals.
Disabled test IteratorsTest::takeExtractsTheFirstNElements
2013-08-09 14:29:53 +04:00
Natalia.Ukhorskaya e0a899902c Merge remote-tracking branch 'origin/pr/292' 2013-08-09 12:38:54 +04:00
Natalia.Ukhorskaya 2436ed1a17 Temporary change gradle output to show it in MessageView in Android-Studio 2013-08-09 12:24:09 +04:00
Nikita Skvortsov 405465fd25 Support kotlin-android-sdk-annotations in gradle plugin 2013-08-08 21:09:45 +04:00
Natalia.Ukhorskaya 6bb1474ee8 Publish android-sdk-annotations in Maven 2013-08-08 17:54:18 +04:00
Natalia.Ukhorskaya 42b8cb122b Add pom.xml android-sdk-annotations 2013-08-08 14:07:52 +04:00
Nikolay Krasko 2520f11bdc KT-3823 Standard sort function requires MutableIterable by no reason
#KT-3823 Fixed
2013-07-30 21:06:16 +04:00
Andrey Breslav 7662cbaeb4 Compilation fixed (after CompilerVersion was renamed to KotlinVersion) 2013-07-26 14:30:21 +04:00
Andrey Breslav c1318c2f72 Merge branch 'master' into idea13 2013-07-23 14:34:08 +04:00
Leonid Shalupov 9cc51d6db1 ignore gradle android tests for now (need to deliver Android SDK to agents) 2013-07-21 17:55:22 +04:00
Leonid Shalupov cdfd792681 Merge pull request #288 from nskvortsov/master
Kotlin plugin for Google's new android build system
2013-07-21 02:59:24 -07:00
develar 12d19dd9d8 JS backend: added wraping to object the local vars which captured in closure.
Moved local functions and function literals to class/namespace definition.

(cherry picked from commit 36c954b)
2013-07-18 16:04:42 +04:00
Leonid Shalupov 0ccb1d5f4a KT-1870 deploy to maven central 2013-07-13 14:25:29 +04:00
Leonid Shalupov d9a898330b fix maven-deploy-plugin version 2013-07-12 20:17:21 +04:00
Nikita Skvortsov 79e7c5bd7b test external annotations 2013-07-12 18:16:43 +04:00
Nikita Skvortsov 0308465b65 added details to test output 2013-07-12 17:53:53 +04:00
Nikita Skvortsov 6b955f1aef more complex test for android project 2013-07-12 17:53:52 +04:00
Nikita Skvortsov 6633cc28fb Added integration test with Kotlin-only project 2013-07-12 17:53:51 +04:00
Nikita Skvortsov 9bd3619fb8 Allow using Kotlin without explicit 'java' plugin 2013-07-12 17:53:50 +04:00
Nikita Skvortsov 0bb6dde60c delete extra repository. Required artifact is now available at local-repo during test exec 2013-07-12 17:53:50 +04:00
Nikita Skvortsov c10d4e8479 Code cleanup, remove extra logging 2013-07-12 17:53:49 +04:00
Nikita Skvortsov 17ae7c3544 fix android gradle test assertions 2013-07-12 17:53:48 +04:00
Nikita Skvortsov f6a834df2f fix compiler arguments leak 2013-07-12 17:53:47 +04:00
Nikita Skvortsov 3b66ff18b4 fix test 2013-07-12 17:53:46 +04:00
Nikita Skvortsov d5320adb02 Gradle Kotlin Android plugin first working variant 2013-07-12 17:53:45 +04:00
Nikita Skvortsov f5a88e851d better tests 2013-07-12 17:53:44 +04:00
Nikita Skvortsov 70e0352d38 kotlin android gradle plugin core initial revision 2013-07-12 17:53:43 +04:00
Nikita Skvortsov a0f5c4b6b0 kotlin-gradle-android plugin initial implementaion 2013-07-12 17:53:42 +04:00
Nikita Skvortsov 7ca1d41862 Android plugin stub and integration test 2013-07-12 17:53:41 +04:00
Nikita Skvortsov ad18e323b8 fix gradle plugin integration test 2013-07-12 17:53:39 +04:00
Nikita Skvortsov daa3b10e4d do not apply java plugin implicitly 2013-07-12 17:53:38 +04:00
Leonid Shalupov 9695ce70a6 KT-1870 maven profile to sign artifacts 2013-07-11 20:00:56 +04:00
Leonid Shalupov 4f6d09eaba KT-1870 skip deployment of docs, tests and examples 2013-07-10 15:54:36 +04:00
Erokhin Stanislav 79a9253b74 Merge branch 'master' into idea13 2013-07-09 19:52:06 +04:00