Commit Graph

3193 Commits

Author SHA1 Message Date
Maxim Shafirov 27d3148252 KT-1308 Tests are compiled into production folder 2012-02-17 20:37:21 +04:00
Maxim Shafirov 91da410829 Kotlin files can now depend on java, again 2012-02-17 19:39:53 +04:00
Maxim Shafirov 72b2dbe728 proper zip 2012-02-17 18:48:06 +04:00
Maxim Shafirov fd641eeafd this isn't used anymore 2012-02-17 18:40:39 +04:00
Alex Tkachman 252cd63d1c KT-633 test for obsolete issue 2012-02-17 09:36:09 -05:00
Maxim Shafirov f8008d85fe Refactor TC build 2012-02-17 18:34:50 +04:00
Alex Tkachman fac424c574 KT-725 test for obsolete issue 2012-02-17 09:12:48 -05:00
Alex Tkachman 082fdebaae KT-723 optional boxing after call to .inc() 2012-02-17 09:08:41 -05:00
Alex Tkachman 614c5018f6 inspection suppressed 2012-02-17 08:26:21 -05:00
Maxim Shafirov 47e649dd9f leftover 2012-02-17 17:04:39 +04:00
Maxim Shafirov b8ee1a90a7 Re-use artifacts we do already have configured for local plugin build 2012-02-17 16:59:31 +04:00
Andrey Breslav 6c30aca340 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-17 12:39:20 +04:00
Andrey Breslav 3daccc13b0 Update ReadMe.md 2012-02-17 12:37:58 +04:00
Andrey Breslav cf8c8f7563 Add "run build.xml" to the build instructions 2012-02-17 12:37:58 +04:00
Andrey Breslav e2494a235d README for idea_runner 2012-02-16 21:11:43 +04:00
Evgeny Gerashchenko 0d477c2e44 Added file templates for new class/trait/enum.
#KT-1010 fixed
2012-02-16 20:25:29 +04:00
Maxim Shafirov fccc991c19 Running JUnit tests, initial. 2012-02-16 20:21:46 +04:00
Evgeny Gerashchenko c41a186f81 Automatically adding "package ..." when creating kt file in package in Project explorer
#KT-1013 fixed
2012-02-16 17:32:13 +04:00
Nikolay Krasko 795b30e7b0 KT-1259 Parameter info fails to extract parameter names from java method 2012-02-16 17:10:45 +04:00
Nikolay Krasko 56fa9b29f2 KT-1229 Packages should be showed in package derictive - more files 2012-02-16 16:05:38 +04:00
Nikolay Krasko d63e6c139c KT-1229 Packages should be showed in package derictive - forgotten files 2012-02-16 15:56:15 +04:00
Nikolay Krasko e4cefd000a KT-1229 Packages should be showed in package derictive 2012-02-16 15:35:54 +04:00
Evgeny Goldin 504beac0fa Ant task - longer examples update; Maze doesn't compile, HtmlBuilder doesn't run; Ivy configuration files updated to use public TeamCity; Wiki update 2012-02-15 20:45:46 +02:00
Alefas c643b1cf45 Fixed KT-1295, first part of removing 'println'. Undo part is still not working. 2012-02-15 19:38:42 +04:00
Alefas 4ef61d331b Project View for Kotlin. 2012-02-15 18:22:21 +04:00
Dmitry Jemerov 18c480ba98 Merge branch 'master' of git.labs.intellij.net:jet 2012-02-15 14:55:46 +01:00
Stepan Koltsov 356ad9bd0b fix Read*BinaryClassTest test on windows 2012-02-15 17:11:03 +04:00
Stepan Koltsov cf7be620a7 Read*BinaryClassTest: compare serialized namespace with hardcopy 2012-02-15 16:15:31 +04:00
Alefas 94402c5f3f Name validator for introduce variable action. 2012-02-15 15:51:23 +04:00
Nikolay Krasko 2ec05429b8 Fix test 2012-02-15 14:35:55 +04:00
Stepan Koltsov cbdeb23935 cleanup in JavaDescriptorResolver 2012-02-15 00:34:28 +04:00
Stepan Koltsov 274406b72b cleanup in JavaDescriptorResolver 2012-02-15 00:22:02 +04:00
Stepan Koltsov 81cf9b36ff cleanup in JavaDescriptorResovler 2012-02-15 00:13:33 +04:00
Stepan Koltsov b67bb356bd fix inner classes in JavaDescriptorResolver, kill type variable by psi resolver 2012-02-15 00:02:06 +04:00
Stepan Koltsov 9248cf9659 Important JavaDescriptorResolver refactoring
This patch implement own member filling with supertype scope. Before this patch JDR relied on
Idea hierarchy resolver.

This patch does two things:

* copies FunctionDescriptors from supertype scopes
* rewrites containingDeclaration similary to how it is done in previous patch

Patch is incomplete, in particular properties are not yet initialized properly, code needs cleanup,
however the most important part of refactoring is done, and tests pass.
2012-02-15 00:02:03 +04:00
Stepan Koltsov 0f52f2a5f8 fail early on syntax errors in ReadJavaBinaryClassTest 2012-02-14 23:40:21 +04:00
Stepan Koltsov 9a41ab3dd6 properly create JavaNamespaceDescriptor for java.lang 2012-02-14 23:40:03 +04:00
Stepan Koltsov 5979cd774c minor diag in JavaDescriptorResolver 2012-02-14 23:39:31 +04:00
Alefas 39d442b04f Declare Variable, Add type annotation action for Introduce Variable feature. 2012-02-14 21:32:13 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Stepan Koltsov 3c714b1178 DECLARATION_TO_DESCRIPTOR may fail on fake overrides
see 4b94eb5e2b
2012-02-14 17:34:37 +04:00
Stepan Koltsov 1d2e02afb4 use MutableClassDescriptorLite instead of MutableClassDescriptor
where MutableClassDescriptor is not necessary
2012-02-14 17:34:29 +04:00
Evgeny Gerashchenko 2565684563 Added checking traversal in live template tests. 2012-02-14 14:42:08 +04:00
Dmitry Jemerov 7332476427 Merge branch 'master' of git.labs.intellij.net:jet 2012-02-14 11:32:59 +01:00
Evgeny Gerashchenko 7ce86a138e Added simple IDE templates test which checks that folding worked normally. 2012-02-14 14:21:17 +04:00
Andrey Breslav d32cc7992a Update ReadMe.md 2012-02-14 00:10:32 +01:00
Andrey Breslav 191c01668f Add "run build.xml" to the build instructions 2012-02-14 00:09:54 +01:00
Stepan Koltsov e3fdc5d595 fix a case of fake override of abstract and non-abstract function
===
open class Ccc() {
    fun foo() = 1
}

trait Ttt {
    fun foo(): Int
}

class Zzz() : Ccc(), Ttt // there must not be an error here
===

Reported by Andrey Breslav as a bug of Comparator implementation:

===
fun comparator<T>(f: (T, T) -> Int): Comparator<T> = object : Comparator<T>, Object() {
    override fun compare(o1: T, o2: T): Int = f(o1, o2)
}
===
2012-02-13 23:34:01 +04:00
Evgeny Gerashchenko 37eb7d7e63 Removed trailing newline characters in test cases for 'interface' and 'main' live templates. 2012-02-13 22:28:51 +04:00
Evgeny Gerashchenko 8c75c408c1 Added tests for anonymous template 2012-02-13 22:04:41 +04:00