Commit Graph

20048 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 3a03cb48df Debugger Tests: create context in onBreakpoint method 2015-02-06 11:21:16 +03:00
Alexey Sedunov 03e076aba3 Intentions: function <-> property conversion 2015-02-05 23:12:38 +03:00
Alexey Sedunov 15ebbdb349 Refactoring: Extract callable hierarchy logic from JetChangeSignature 2015-02-05 23:12:35 +03:00
asedunov 3ca51a516e Merge pull request #564 from JetBrains/rr/yole/kdoc-completion
completion in kdoc
2015-02-05 23:10:02 +03:00
Dmitry Jemerov 49cecc35fd completion in kdoc 2015-02-05 18:30:02 +01:00
Dmitry Jemerov f450ff8ece quick test for unresolved reference inspection 2015-02-05 16:28:34 +01:00
Dmitry Jemerov 66887db42e highlight unresolved references in KDoc 2015-02-05 16:28:34 +01:00
Dmitry Jemerov 56d85c2033 don't parse links which aren't Kotlin identifiers and have an explicitly specified destination 2015-02-05 16:27:37 +01:00
Natalia Ukhorskaya 1ab51a08aa Optimize search of package part files for JetPositionManager 2015-02-05 16:42:23 +03:00
Natalia Ukhorskaya 360a496724 Gradle plugin: update to 1.1.0-rc1
#KT-6729 Fixed
2015-02-05 16:42:22 +03:00
Evgeny Gerashchenko 97a54e88af Merge pull request #563 from JetBrains/kdoc-render-package
as a workaround for KT-4502, wrap KDoc rendering functions in an object
2015-02-05 16:26:33 +04:00
Dmitry Jemerov 2bdb222516 as a workaround for KT-4502, wrap KDoc rendering functions in an object 2015-02-05 12:44:26 +01:00
Evgeny Gerashchenko 6eead1b1a1 Merge pull request #559 from JetBrains/rr/yole/template-context-comments
live template context type for comments in Kotlin; disable other context...
2015-02-05 12:32:45 +04:00
Alexey Sedunov 11b60f6604 Light Classes: Delegate getUseScope() to original elements
#KT-6699 Fixed
2015-02-04 23:38:18 +03:00
Alexey Sedunov 25ef47a450 Change Signature: Do not render qualified names of parameter types by default
#KT-6725 Fixed
2015-02-04 23:38:17 +03:00
Alexey Sedunov 57763e10e0 Create from usage: make new member function/property private by default
#KT-6689 Fixed
2015-02-04 23:38:16 +03:00
Alexey Sedunov eac735e91a Change parameter type: Make parameter type nullable (instead of Nothing?) if null is passed as an argument
#KT-6634 Fixed
2015-02-04 23:38:14 +03:00
Alexey Sedunov 1e9f95d896 Create from usage: Place caret in the declaration body/at the identifier
and select function body
 #KT-6613 Fixed
 #KT-6688 Fixed
2015-02-04 23:38:13 +03:00
Dmitry Jemerov 26dd9a8c6a test for live template context type; fix a couple of bugs in existing context types 2015-02-04 19:57:58 +01:00
Dmitry Jemerov 621276aafe live template context type for comments in Kotlin; disable other contexts inside doc comments
#KT-6735 fixed
2015-02-04 18:37:44 +01:00
Dmitry Jemerov 3253754395 code review 2015-02-04 17:26:48 +01:00
Dmitry Jemerov c0e7d1faf2 add references to kdoc; support resolve and rename 2015-02-04 17:26:47 +01:00
Dmitry Jemerov 40f459306a parse qualified names in kdoc 2015-02-04 17:26:46 +01:00
Dmitry Jemerov 223882d292 correctly parse tag in the beginning of doc comment 2015-02-04 17:26:46 +01:00
Alexander Udalov 1c87464695 Change properties to methods in light class hierarchy
There's a Kotlin-Java-Kotlin hierarchy with an abstract property in a
superclass and its implementation (as a get-method) in the Java subclass, which
caused problems because Kotlin subclass can't have both (different symbols,
same JVM signatures)
2015-02-04 14:57:49 +03:00
Alexander Udalov cafc1ea24d Fix resolution of inherited Kotlin properties in Java classes
#KT-6720 Fixed
2015-02-04 14:57:47 +03:00
Alexander Udalov 5170ab3588 Fix Intrinsics.sanitizeStackTrace for depth > 1 2015-02-03 21:40:40 +03:00
Alexander Udalov 5c2d0c6173 Generate not-null assertions on extension receiver parameters 2015-02-03 21:40:39 +03:00
Alexander Udalov 39c9216edc Fix shameful assertion message error introduced after extracting method 2015-02-03 21:20:25 +03:00
Evgeny Gerashchenko 0d0222e1aa Expanded workaround for EA-64030 (IDEA doesn't allow keywords in cls annotations). 2015-02-03 17:31:25 +03:00
Dmitry Jemerov 71dbe671fa rename tag value to link 2015-02-03 13:24:58 +01:00
Dmitry Jemerov 31d6ca8731 highlight links in KDoc; correctly highlight first word following tag name 2015-02-03 13:24:58 +01:00
Michael Nedzelsky df8fed096c add support for compile time constant serialization 2015-02-03 14:41:24 +03:00
Natalia Ukhorskaya d45a1f3e44 Implement getFqName for KotlinLightClassForCompiledDeclaration 2015-02-03 14:35:57 +03:00
Andrey Breslav 0f0f205248 Serializing information about star projections 2015-02-02 19:52:02 +03:00
Andrey Breslav fecf6f9fdf Star projection information preserved in substitutions
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Andrey Breslav da639039bd KT-6698 Bad class file when using a star-projection on a Java's recursive generic parameter
#KT-6698 Fixed
2015-02-02 19:52:00 +03:00
Alexander Udalov 8d5a6d729e build.xml: use preloader to serialize built-ins to improve performance 2015-02-02 16:46:53 +03:00
Alexander Udalov 5b70995ce1 build.xml: simplify new-kotlinc macro
- passing sources to "-classpath" is no longer needed because the logic was
  implemented in K2JVMCompiler
- skipping javac2 for stdlib is no longer needed because the corresponding
  error is no longer reproducible since "skip" was added to javac2
- get rid of unneeded properties in favor of Ant's toString feature
2015-02-02 16:46:49 +03:00
Nikolay Krasko e802044c60 Additional cache for not-found packages 2015-02-02 14:15:04 +03:00
Nikolay Krasko a8557180f1 Register KotlinJavaPsiFacade as component 2015-02-02 14:15:01 +03:00
Nikolay Krasko c8de43f93e findPackage() parametrize with scope 2015-02-02 14:14:59 +03:00
Nikolay Krasko 07e74f3179 Refactoring: rename class 2015-02-02 14:14:57 +03:00
Nikolay Krasko aff9ac65cf Remove unnecessary intermediate class 2015-02-02 14:14:55 +03:00
Nikolay Krasko f5da351e8a Move KotlinPsiElementFinderImpl and add wrapper interface to avoid creating many unsupported methods 2015-02-02 14:14:54 +03:00
Nikolay Krasko 4a0e7489dd Remove all unused code from JavaPsiFacadeImpl 2015-02-02 14:14:52 +03:00
Nikolay Krasko f9f6ae4625 Fight with "File accessed outside allowed roots" 2015-02-02 14:14:50 +03:00
Alexey Sedunov 2dbfd1fc4c Move Statement: Fix comma placement for class parameter
#KT-6672 Fixed
2015-01-30 21:16:27 +03:00
Alexander Udalov 6235741f7f Merge pull request #555 from JetBrains/rr/yole/putfield-null
Don't generate redundant initializers for 'var' properties.
2015-01-30 19:19:35 +03:00
Dmitry Jemerov 37651ae886 use temporary binding trace 2015-01-30 16:00:59 +01:00