Commit Graph

19152 Commits

Author SHA1 Message Date
Evgeny Gerashchenko fbb4ed181a Minor. Computing package FQ later. 2014-12-10 15:27:43 +03:00
Andrey Breslav a4df1ec7ae Merge pull request #532 from yole/coverage-jacoco
add missing jars to coverage agent library
2014-12-10 15:06:47 +03:00
Dmitry Jemerov 074e284ea4 add missing jars to coverage agent library 2014-12-10 12:55:17 +01:00
Evgeny Gerashchenko 4e702e34f0 Fixed incremental compilation, when removing all callables from file. 2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko d126a9711c KT-6409 Do not create empty PersistentHashMap instances for modules without kotlin files during build
#KT-6409 fixed
2014-12-10 14:28:21 +03:00
Natalia Ukhorskaya 0ca811d7ae Rename test 2014-12-10 13:45:30 +03:00
Natalia Ukhorskaya 9338b27bcd Update to IDEA 14.0.2 (139.659.2) 2014-12-10 12:47:42 +03:00
Natalia Ukhorskaya 64dac7a19d Fix line separators in JsLibrarySourceConfig 2014-12-10 12:41:15 +03:00
Natalia Ukhorskaya c807cebfe6 Merge pull request #530 from yole/coverage
Initial implementation of coverage support in IntelliJ IDEA plugin.
2014-12-10 12:35:10 +03:00
Dmitry Jemerov 274e529b90 code review 2014-12-09 12:36:44 +01:00
Evgeny Gerashchenko 153272a189 Updated test data for tests according to change in JPS.
These tests were not deterministic. Now they are. When package facade's sources change (files added to package, etc), all package gets recompiled now. Behavior is tolerable, but not very desirable.
2014-12-09 12:08:03 +03:00
Denis Zharkov 9910f7cfbd Added test demonstrating usage of reified TP for dependency injection 2014-12-08 21:30:54 +03:00
Denis Zharkov 010af19fe9 Delegated Properties: allowing type parameters for get/set methods
#KT-6253 Fixed
2014-12-08 21:30:54 +03:00
Nikolay Krasko 3677881e18 Change parser error for when (KT-6420)
#KT-6420 Fixed
2014-12-08 20:42:48 +03:00
Nikolay Krasko 34eb9e9cd4 Fix build version in jb-update 2014-12-08 20:42:47 +03:00
Stanislav Erokhin d334f3b31c Fix completion for private_to_this. 2014-12-08 18:24:30 +03:00
Stanislav Erokhin f9afdf7540 Use Visibilities.isVisible with ReceiverValue. 2014-12-08 18:24:30 +03:00
Stanislav Erokhin f640f82ed0 Add serialization for PRIVATE_TO_THIS 2014-12-08 18:24:30 +03:00
Stanislav Erokhin fc8cec9509 Create PRIVATE_TO_THIS visibility 2014-12-08 18:24:30 +03:00
Stanislav Erokhin d59031fdcc Skip check variance for irrelevant classes 2014-12-08 18:24:30 +03:00
Stanislav Erokhin fced4756bb Add variance test for nullable and function types. 2014-12-08 18:24:30 +03:00
Stanislav Erokhin 365c8a4787 Rename TaskPrioritizer.java -> .kt 2014-12-08 18:24:30 +03:00
Stanislav Erokhin 09250c89ed Convert TaskPrioritizer to kotlin. 2014-12-08 18:24:30 +03:00
Dmitry Jemerov f31ea8bd0e in order to avoid misleading suggestions to run 'ant dist', calculate the paths to SDK annotations relatively to the home directory 2014-12-08 17:30:49 +03:00
Evgeny Gerashchenko a94f7f10b0 Testing highlight type for all "unused" diagnostics. 2014-12-08 17:30:48 +03:00
Evgeny Gerashchenko a3fdce8131 Highlighting "as Foo" for useless casts in gray.
#KT-6070 fixed
2014-12-08 17:30:47 +03:00
Evgeny Gerashchenko 20ee59c1e5 Simplified positioning strategy for unreachable code. 2014-12-08 17:30:47 +03:00
Evgeny Gerashchenko cd197b9ff9 Convert PositioningStrategy to Kotlin. Cleanup. 2014-12-08 17:30:46 +03:00
Evgeny Gerashchenko 52549607f9 Convert PositioningStrategy to Kotlin. Auto-convert. 2014-12-08 17:30:45 +03:00
Evgeny Gerashchenko d4a8aa4eaa Convert PositioningStrategy to Kotlin. Rename files. 2014-12-08 17:30:45 +03:00
Evgeny Gerashchenko 8b329fcada Highlighting "unused function literal" as other unused (gray) 2014-12-08 17:30:44 +03:00
Evgeny Gerashchenko f8197c6b70 KT-4016 Support "Copy Reference" action on class, method, etc
#KT-4016 fixed
2014-12-08 17:30:43 +03:00
Evgeny Gerashchenko d29cc61d42 Fixed description for "Simplify Binary Negation" inspection. 2014-12-08 17:30:42 +03:00
Evgeny Gerashchenko 858fda20b7 VARIABLE_WITH_REDUNDANT_INITIALIZER is highlighted as unused (gray) 2014-12-08 17:30:42 +03:00
Evgeny Gerashchenko cbebb17eca Converted JetPsiChecker to Kotlin. 2014-12-08 17:30:41 +03:00
Evgeny Gerashchenko 2f283da7dd Converted JetPsiChecker to Kotlin. 2014-12-08 17:30:41 +03:00
Evgeny Gerashchenko bf150c8dde Disabling Kotlin builder on Android Studio only for Java. 2014-12-08 17:30:40 +03:00
Evgeny Gerashchenko 7c1bc432db Removed reflection-based hack for IDEA 12. 2014-12-08 17:30:40 +03:00
Alexey Sedunov c917459926 Change Signature: Add support of type parameter substitutions in overriding members 2014-12-08 16:30:07 +03:00
Alexey Sedunov 250940c824 Change Signature: Propagate nullability annotations to overriding methods in Java 2014-12-08 16:30:05 +03:00
Alexey Sedunov c9873428de Change Signature: Update signatures of lambdas passed to SAM constructors 2014-12-08 16:30:04 +03:00
Alexey Sedunov 8f2c543f7e Formatter: Add wrapping support for parameter/argument lists
#KT-6032 Fixed
2014-12-08 16:30:03 +03:00
Alexey Sedunov c6541ccc6f Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level) 2014-12-08 16:30:02 +03:00
Alexey Sedunov 57cb125ab8 Change Signature: Do not invoke our usage processor recursively 2014-12-08 16:30:01 +03:00
Alexey Sedunov 74cdecd829 Find Usages: Restrict search scope of class object private declarations to
the containing class
2014-12-08 16:30:00 +03:00
Alexander Udalov c012efe64e Drop compilation of built-ins/stdlib from ForTestCompileRuntime
Because the process of building kotlin-runtime.jar will likely get more
complicated soon, and that logic will already be present in build.xml.

Run "ant compiler-quick runtime" instead before All Tests
2014-12-08 15:06:35 +03:00
Alexander Udalov ee8df85bfe Fix path duplication in "kotlin-for-upsource" in build.xml 2014-12-08 15:01:44 +03:00
Alexander Udalov 4d66ca88ee Refactor building of kotlin-runtime.jar in build.xml
- use the "new-kotlinc" macro to compile Java sources (can be disabled via an
  optional argument) as well as Kotlin
- bend over backwards not to repeat source paths passed to kotlinc and javac
- split "runtime" task into several smaller ones, which makes it possible to
  rebuild (and repack the whole jar) constituent modules separately
2014-12-08 15:01:43 +03:00
Alexander Udalov 54b94e9e00 Adapt targets in build.xml to Ant naming conventions
Also reformat the section related to Upsource
2014-12-08 14:54:04 +03:00
Dmitry Jemerov 0512b8ce1a add test to verify output files; correctly handle lambdas 2014-12-08 12:51:08 +01:00