Commit Graph

10220 Commits

Author SHA1 Message Date
Evgeny Gerashchenko b1ea79113f Replaced hard exception with LOG.error. 2013-04-04 17:51:51 +04:00
Evgeny Gerashchenko 50b2f79b2e Removed tooltip for variable as function(-like) call. 2013-04-04 17:33:59 +04:00
Evgeny Gerashchenko 73d44fb18b Removed leading "/" to avoid tests failing. 2013-04-04 17:33:59 +04:00
Evgeny Gerashchenko db003347dd Refactored JetHighlightingColors to IDEA 12.1+ colors API. 2013-04-04 17:33:59 +04:00
Evgeny Gerashchenko 3c31620f5a Removed commented out code from color settings.
When we implement actual highlighting for KDoc highlighting, returning these lines would be easy.
2013-04-04 17:33:58 +04:00
Evgeny Gerashchenko f53af70ad6 Added separate highlighting keys for variables invoked as function and function-like. 2013-04-04 17:33:58 +04:00
Evgeny Gerashchenko a6293e10d9 Removed green color for variable as function.
#KT-3296 in progress
2013-04-04 17:33:57 +04:00
Alexey Sedunov af8c3792f6 Tests for code transformation: if statement with assignments <-> assignment with if expression 2013-04-04 15:52:17 +04:00
Alexey Sedunov 9f828b8f41 Code transformation: if statement with assignments <-> assignment with if expression 2013-04-04 15:51:41 +04:00
Svetlana Isakova d843608298 'checkType' for qualified properties as function arguments 2013-04-03 20:44:47 +04:00
Nikolay Krasko bab6fd570d Remove illegal assert 2013-04-03 18:18:05 +04:00
Nikolay Krasko 965bfe682c Check found fqnames for validness before searching for descriptors 2013-04-03 18:18:05 +04:00
Nikolay Krasko 7885e48eaf Setup handlers at the place where lookup elements are created 2013-04-03 18:18:04 +04:00
Nikolay Krasko e94843b7b3 JS checker tests 2013-04-03 18:18:03 +04:00
Evgeny Gerashchenko 6e43b78deb KT-3459 "import java.util.*" is removed by optimize imports if the only usage is a SAM constructor
#KT-3459 fixed
2013-04-03 17:44:01 +04:00
Svetlana Isakova 8f1b728a08 try to use bounds in type inference
if some parameters are unknown
2013-04-03 15:51:17 +04:00
Svetlana Isakova 2a36da9549 small refactoring
removed unnecessary variable
added annotation
2013-04-03 15:51:17 +04:00
Evgeny Gerashchenko 0de4b6890e Fixed compilation. 2013-04-03 15:37:06 +04:00
Evgeny Gerashchenko c4f2740074 KT-3469 AssertionError: Couldn't find super type for super function
Class descriptor for Java class was recreated in KotlinSignatureInJavaMarkerProvider.

 #KT-3469 fixed
2013-04-03 15:13:10 +04:00
Evgeny Gerashchenko 8c45d50a86 Extracted method for creating injector.
Using delegating binding trace instead of original binding context.
2013-04-03 15:12:52 +04:00
Nikolay Krasko f59701a6c4 Extract caching providers 2013-04-03 02:34:35 +04:00
Nikolay Krasko 61986c2d65 Make caching headers work for JS projects 2013-04-03 02:34:33 +04:00
Nikolay Krasko 307d9b1661 Refactoring: extract detecting platform functions to separate class 2013-04-03 02:34:30 +04:00
Nikolay Krasko a13d61e618 Introduce project descriptor for testing js configuration 2013-04-03 02:34:27 +04:00
Nikolay Krasko 84627700a2 Refactoring: fix warning 2013-04-03 02:34:25 +04:00
Nikolay Krasko c12d160438 Refactoring: optimize imports 2013-04-03 02:34:22 +04:00
Nikolay Krasko d24b390966 Refactoring: use Computable in JS std library search 2013-04-03 02:34:20 +04:00
Nikolay Krasko 957e97a3b7 Reformatting 2013-04-03 02:34:17 +04:00
Zalim Bashorov a665fa2049 Rewrote nonLiteralFilenameFilter and filenameFilter tests without working with FS.
Removed filenameFilter test from excludes for AndroidTests.
2013-04-02 22:11:57 +04:00
Evgeny Gerashchenko 1ddf074052 Compacted serialized versions of methods and functions in JavaToKotlinMethodMapGenerated. 2013-04-02 22:04:22 +04:00
Evgeny Gerashchenko 9bccb98a7d KT-3468 Kotlin can't understand compareTo was overridden in Java
Never using parameter names when serializing methods. They were added to external name if JDK sources were present and not added if JDK sources were absent.

 #KT-3468 fixed
2013-04-02 22:04:22 +04:00
Natalia.Ukhorskaya d84cf971c1 Do not fold imports if there is only one
#KT-3410 Fixed
2013-04-02 17:49:55 +04:00
Andrey Breslav 0985b124df Compilation fixed 2013-04-02 13:14:06 +04:00
Andrey Breslav ffeb73beb5 EA-43573 - assert: KotlinJavaFileStubProvider$.generate
The problem was that KotlinJavaFileStubProvider instances remembered information that changed between their invocation:
 e.g. when a package gets renamed the qualified name in a java file stub does not get updated
2013-04-02 13:11:55 +04:00
Svetlana Isakova d57003dece added ? as type argument to avoid raw types
to CallResolutionContext
2013-04-01 20:02:08 +04:00
Svetlana Isakova 12c0a2cb77 KT-3461 Nullable argument allowed where shouldn't be
#KT-3461 Fixed
2013-04-01 19:07:36 +04:00
Leonid Shalupov dd0acf6013 gradle: fix test 2013-04-01 18:58:59 +04:00
Leonid Shalupov 7b0e3465c2 gradle: handling of noJdkAnnotations argument 2013-04-01 18:58:56 +04:00
Leonid Shalupov f81e3f6881 Merge pull request #236 from nskvortsov/master
Fix kotlin class injection to javac classpath
2013-04-01 07:48:39 -07:00
Nikita Skvortsov b93f7f3202 inject Kotlin classes to javac classpath carefully 2013-04-01 18:38:21 +04:00
Mikhael Bogdanov 16aa4153e4 KT-3457 fix: added missed spread operator and receiver became format template 2013-04-01 14:50:20 +04:00
Andrey Breslav a0e9f4ea01 Copyright added 2013-04-01 13:39:44 +04:00
Andrey Breslav d42a9f37a3 Proper checking for a qualified name
When i18n plugin is enabled, it looks for classes like "java.lang.Object...)" while highlighting annotations.xml

EA-43709 - IAE: NameUtils.requireIdentifier
2013-04-01 13:37:02 +04:00
Leonid Shalupov 4c3f8ff633 move maven examples to https://github.com/JetBrains/kotlin-examples 2013-03-30 15:42:46 +04:00
Leonid Shalupov bbb526476e maven plugin: get jdk annotations from plugin's classpath 2013-03-30 15:42:44 +04:00
Leonid Shalupov 5ee5c841cb generators: don't write to files if content is not changed 2013-03-30 15:42:41 +04:00
Agnieszka Paszek 7bac3c5db6 Generated changes 2013-03-29 20:40:26 +04:00
Agnieszka Paszek da2880f985 Added quckfix for PROJECTION_IN_IMMEDIATE_ARGUMENT_TO_SUPERTYPE 2013-03-29 20:39:18 +04:00
Agnieszka Paszek 7c041d5c94 Added quickfix for PROJECTION_ON_NON_CLASS_TYPE_ARGUMENT 2013-03-29 20:39:00 +04:00
Agnieszka Paszek 50f8948706 Added quickfix for CONFLICTING_PROJECTION 2013-03-29 20:38:40 +04:00