Commit Graph

999 Commits

Author SHA1 Message Date
Maxim Shafirov 73db26f5f3 Clean up deprecation 2013-11-07 13:03:03 +04:00
Mohammad Shamsi 0c447c81ca KT-4153 Fixed. 2013-11-05 18:37:13 +08:00
Mohammad Shamsi d3eb23f233 KT-4139 FIXED
KT-4139 add "map" and "mapTo" methods in to "String" class.
2013-10-27 23:35:09 +08:00
Natalia Ukhorskaya 97b35ed8ea Remove duplicated Delegated properties classes from stdlib 2013-10-18 11:52:08 +04:00
Zalim Bashorov 31a4d91122 CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes 2013-10-16 17:39:49 +04:00
Zalim Bashorov 0901c98ff8 CLI: move *CompilerArguments classes to cli-common module. 2013-10-16 17:39:48 +04:00
Zalim Bashorov 5d84abb34c CLI: move the compilerPlugins property from CompilerArguments to CLICompiler. 2013-10-16 17:39:47 +04:00
Andrey Breslav 60c9aa559b Fix compilation in KDoc tests 2013-10-15 17:37:53 +04:00
Andrey Breslav 5175b8444f Build a special compiler jar for maven that contains the runtime as well 2013-10-14 14:42:26 +04:00
Andrey Breslav d4a89d04d7 Each module carries its output directory 2013-10-10 17:49:17 +04:00
Sergey Mashkov 391c892a21 String.replaceAll variant that handles each match using closure 2013-10-07 19:52:13 +04:00
Evgeny Gerashchenko 2ae1a2c81b Added copyToArray intrinsic method.
#KT-3352 fixed
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko 48625dd7b6 Disallowed using type parameter as reified type argument.
#KT-3050 fixed
2013-10-01 15:06:57 +04:00
Svetlana Isakova a3f9cef354 fixed bug: 'isStatement' for function body == 'hasBlockBody'
not vice versa
2013-09-30 21:06:05 +04:00
Andrey Breslav 62607c2494 Fix compilation in KDoc 2013-09-24 08:41:41 -07:00
Nikita Skvortsov aaf31945de Fix std lib generator: allow executing from command line. 2013-09-22 11:41:07 +04:00
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