Commit Graph

19124 Commits

Author SHA1 Message Date
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
Nikolay Krasko 7d32358bf8 Pair parenthesis before end of string template
#KT-6403 Fixed
2014-12-06 01:14:49 +03:00
Nikolay Krasko 3d7bbc0bde Rewrite to Kotlin: TypedHandlerTest 2014-12-06 01:14:47 +03:00
Nikolay Krasko f2cfbed9e3 Rewrite to Kotlin: TypedHandlerTest. File rename 2014-12-06 01:14:45 +03:00
Nikolay Krasko 936fdcf219 Update to Idea 139.658 2014-12-05 19:15:02 +03:00
Nikolay Krasko e2bf8b2eee Suppress warning to avoid spontaneous addition actions 2014-12-05 19:07:46 +03:00
Nikolay Krasko 5684ab69f5 Increase stub version 2014-12-05 16:42:29 +03:00
Andrey Breslav ddd72e8582 Compilation fixed 2014-12-05 16:28:58 +03:00
Dmitry Jemerov 2b1727a61b Cleanup the README text 2014-12-04 19:29:42 +01:00
Michael Nedzelsky 5db35125dd JS backend: fix KT-3692: js translator: Ensure that we don't create backing fields for traits
#KT-3692 Fixed
2014-12-04 02:42:12 +03:00
Michael Nedzelsky 7c9ea16d8e JS backend: fix translation for extension property 2014-12-04 02:42:07 +03:00
Michael Nedzelsky 5bf1d73199 JS backend: tests for translation for extension property 2014-12-04 02:42:04 +03:00
Valentin Kipyatkov b8d1f115bf Renamed JetType.isNullable() to isMarkedNullable() 2014-12-03 21:36:10 +03:00
Valentin Kipyatkov c76e69af62 Removed check for classes in java.lang because it's not used by completion anymore and causes problems with importing of java.lang.String on paste 2014-12-03 21:21:55 +03:00
Valentin Kipyatkov 796a2b6e7c Code refactoring 2014-12-03 21:15:13 +03:00
Valentin Kipyatkov 7ba11b0f2f Fixed auto-import of operator functions broken before + fixed bug in its implementation 2014-12-03 21:09:29 +03:00
Valentin Kipyatkov 3161eb284b Added comment 2014-12-03 20:12:44 +03:00
Valentin Kipyatkov b8a0a1a313 Reflected API changes after rebase 2014-12-03 19:12:43 +03:00
Valentin Kipyatkov 3b51b5a51b Replaced hard-coded gray color 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov de51948883 The test was not correct 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov 132cb26e04 Code improvements after review 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov dfd5e773df extensionsUtils.kt uses FuzzyType + more correct treatment of receiver nullability there 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov 418b16e766 Moved FuzzyType and changed package for extensionUtils 2014-12-03 19:07:32 +03:00
Valentin Kipyatkov 856be73500 Smart completion: generic functions are correctly included into the list
#KT-6375 Fixed
2014-12-03 19:07:04 +03:00
Valentin Kipyatkov a40db1e794 Completion: for extension functions unsubstituted receiver type shown 2014-12-03 19:03:02 +03:00