Commit Graph

20084 Commits

Author SHA1 Message Date
Valentin Kipyatkov 22d805aede Fixed a bug in import insertion algorithm 2015-02-09 12:55:59 +03:00
Valentin Kipyatkov ef8be9560a Import insertion helper is not confused by inaccessible classes + check visibility of imported declarations through PackageViewDescriptor instead of PackageFragmentDescriptor 2015-02-09 12:55:59 +03:00
Valentin Kipyatkov dfe71ef7ae Import insertion algorithm 2015-02-09 12:55:59 +03:00
Valentin Kipyatkov 975b67ed29 Minor refactoring after conversion 2015-02-09 12:55:22 +03:00
Valentin Kipyatkov f6df6eaeea Converted to Kotlin (step 2) 2015-02-09 12:55:22 +03:00
Valentin Kipyatkov 98be4566d2 Converted to Kotlin (step 1) 2015-02-09 12:55:22 +03:00
Valentin Kipyatkov ca2a46e42f Auto-import popup to work for ambiguous class name 2015-02-09 12:55:22 +03:00
Valentin Kipyatkov 0686629e49 Code refactoring after conversion 2015-02-09 12:55:21 +03:00
Valentin Kipyatkov c8ecbcf088 Converted file to Kotlin (step 2) 2015-02-09 12:55:21 +03:00
Valentin Kipyatkov b9080d41d4 Converted file to Kotlin (step 1) 2015-02-09 12:55:21 +03:00
Valentin Kipyatkov 02e63196f8 Performance optimization 2015-02-09 12:55:21 +03:00
Alexander Udalov 720942b05f Temporary workaround for compilation errors in KotlinLightClassForPackage 2015-02-09 12:41:59 +03:00
Nikolay Krasko 6f6a65cb8d Convert to LinkedHashSet 2015-02-06 23:53:17 +03:00
Nikolay Krasko 9173c59969 Fix deprecated warning 2015-02-06 23:53:16 +03:00
Nikolay Krasko de22bfbde9 Refactoring: extract method createFakeClsFile 2015-02-06 23:53:16 +03:00
Nikolay Krasko 8dd910bd36 Convert to Kotlin KotlinLightClassForPackage: fixes for j2k converter 2015-02-06 23:53:15 +03:00
Nikolay Krasko a4e2c3b6fa Convert to Kotlin KotlinLightClassForPackage: j2k converter 2015-02-06 23:53:14 +03:00
Nikolay Krasko 082ac7a05f Convert to Kotlin KotlinLightClassForPackage: file rename 2015-02-06 23:53:13 +03:00
Nikolay Krasko c9c3a1c924 Get containing with deferred stub evaluation
Tested in org.jetbrains.kotlin.idea.quickfix.QuickFixMultiFileTestGenerated.CreateFromUsage.CreateVariable.Parameter#testPlatformType
Resolve of Java element triggers resolve for all classes in package in IDE. One of them is Kotlin light class for package. In case when
some declarations in that packages has references to Java class from current package, compiler goes to recursion.
2015-02-06 23:53:12 +03:00
Dmitry Jemerov c366da95ac move KDocFinder to plugin because it's not used in compiler; wrap it in an object to avoid package facade conflicts; add test to findKDoc() and fix it so that it actually works 2015-02-06 18:13:35 +01:00
Dmitry Jemerov fdfb843fdc add @sample known tag; handle @constructor tag in findKDoc() 2015-02-06 16:58:36 +01:00
Dmitry Jemerov 70cf3e9c60 KDoc link parsing rewrite.
Support qualified names immediately after tag (@see or @param). Detect whether a tag is followed by a reference immediately while lexing, remove TEXT_OR_LINK token type. Remove duplicate nested KDocLink nodes from the PSI structure.
2015-02-06 16:33:55 +01:00
Dmitry Jemerov cc5edc332d inherit documentation for properties as well as functions 2015-02-06 16:32:41 +01:00
Evgeny Gerashchenko 478118c12a Extracted common function getRecompilationDecision. 2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko e5fd6bc067 Minor. Inlined trivial functions. 2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko 432408e1a8 Checking source to output mapping after rebuild. 2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko c5593a5b80 Correctly processing disappeared protos, files with constants/inline function. 2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko 5b89f88447 Minor. Simplified getObsoletePackageParts() and similar functions. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko 89f3d21ba4 Clearing incremental cache for removed files without scanning output directory. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko 602642715c Checking incremental cache dump after make. Comparing it with dump after rebuild. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko f071802e19 Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.
Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko 512ea72e69 Minor. Green code and formatting. 2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko 84ca0a5b4e Minor. Green code. 2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko 5663383fea Minor. Removed unused property. 2015-02-06 15:56:33 +03:00
Natalia Ukhorskaya 12cdcc6e05 Minor: fix warnings 2015-02-06 11:21:17 +03:00
Natalia Ukhorskaya 2f931f36c8 Implement extra variables for debugger 2015-02-06 11:21:17 +03:00
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