Commit Graph

13771 Commits

Author SHA1 Message Date
Pavel V. Talanov ec22470062 Formatter refactoring: Rewrite spacing rules to kotlin, place all rules in one place 2014-01-20 19:54:28 +04:00
Pavel V. Talanov 745252c23e Formatter tests: Separate test model for tests with inverted settings 2014-01-20 19:54:27 +04:00
Pavel V. Talanov 586ac35c7b Formatter tests: Fix wrong test file extension (prevented a bunch of formatter tests from running) 2014-01-20 19:54:26 +04:00
Pavel V. Talanov 2d6f8aef4e Formatter: introduce "Put left brace on new line option", support this option for "if/else" expressions 2014-01-20 19:54:25 +04:00
Pavel V. Talanov dab3cf37eb Convert Java to Kotlin action: minor improvements
Do not show "Do you want to backup?" dialog if no java files are selected
Improve the code
Change dialog title to Convert Java to Kotlin
Actually cancel if user presses cancel
2014-01-20 19:54:24 +04:00
Andrey Breslav 6ce0b9b919 Annotations used instead of List<AnnotationDescriptor> 2014-01-20 16:17:54 +04:00
Andrey Breslav 314b1e371b Test for the case when annotation arguments contain null in Java
This is an error in Java, but it may be present in the source by mistake
2014-01-20 16:17:53 +04:00
Andrey Breslav 8f56283771 Same storage manager used by lazy resolve session in AnalyzerFacadeForJVM and the rest of the components 2014-01-20 16:17:53 +04:00
Andrey Breslav 1af71c4dbe Using common storage manager for all lazy services 2014-01-20 16:17:53 +04:00
Nikolay Krasko 559f212cfc Redeclaration for same file in different files 2014-01-17 17:28:13 +04:00
Nikolay Krasko 6e25582019 Refactoring: remove unused variable, invert if (move common case to general return, remove boolean invert operator) 2014-01-17 17:28:12 +04:00
Nikolay Krasko ff747c0e34 Refactoring: move inner class to package level 2014-01-17 17:28:11 +04:00
Nikolay Krasko 4d95a29590 Refactoring: remove local function 2014-01-17 17:28:10 +04:00
Nikolay Krasko b84c1a2113 Refactoring: remove warning 2014-01-17 17:28:08 +04:00
Nikolay Krasko 72d5513786 Add accessors to dictionary 2014-01-17 17:28:07 +04:00
Nikolay Krasko e937e3aa9c Fix syntax errors in test 2014-01-17 17:28:06 +04:00
Nikolay Krasko db57a7f085 Minor: remove outdated todo comments 2014-01-17 17:28:05 +04:00
Nikolay Krasko 15c5a58b3a Add assert messages 2014-01-17 17:28:03 +04:00
Evgeny Gerashchenko 79cab1f1b6 Updated test data. 2014-01-16 23:40:18 +04:00
Evgeny Gerashchenko 82af76fa85 Fixed file name case. 2014-01-16 22:57:25 +04:00
Evgeny Gerashchenko ae4c68830d Importing root scope without members. 2014-01-16 22:11:55 +04:00
Evgeny Gerashchenko 78e7cbb7fb Extracted SubpackagesScope. 2014-01-16 20:34:11 +04:00
Evgeny Gerashchenko 7c059e2ae8 Removed assertion since it could appear in normal situation. 2014-01-16 20:34:10 +04:00
Evgeny Gerashchenko 292f0e4a38 Introduced lazy type and some related optimizations. 2014-01-16 20:34:10 +04:00
Andrey Breslav 0155bf0189 Fix for KT-4413 Do not add error types to supertype lists
The list is not filtered upon creation because it would force lazy types to compute

#KT-4413 Fixed
2014-01-16 20:05:12 +04:00
Nikolay Krasko 72d3b46fc6 Revert "Add method for getting all classifiers with given name from the scope"
This reverts commit 97759f5bb7.
2014-01-15 22:01:04 +04:00
Nikolay Krasko 0d141d959a Add tests for EA-52767 and KT-4366: "java.lang.IllegalArgumentException: Could not find a classifier for "... 2014-01-15 22:01:03 +04:00
Nikolay Krasko 07229b23d9 Refactoring: extract methods 2014-01-15 22:01:03 +04:00
Alexander Udalov eb1f573d03 Update to IDEA 133.609 EAP 2014-01-15 20:16:51 +04:00
Natalia Ukhorskaya 14f4b6e4b4 Update android annotations. Do not add jdk annotations for android sdk 2014-01-15 18:00:46 +04:00
Alexey Sedunov 786e59bbfa Implement "Override hierarchy" view 2014-01-15 16:49:39 +04:00
Alexey Sedunov 4ba01ee1d5 Extract methods for conversion between Kotlin declarations and light
methods
2014-01-15 16:49:37 +04:00
Alexey Sedunov f30d4f042e Fix warnings 2014-01-15 16:49:36 +04:00
Alexey Sedunov b1c3dc9a48 Use overriders search in "Find Usages" 2014-01-15 16:49:35 +04:00
Alexey Sedunov 4c98cf1b2c Implement overriders search 2014-01-15 16:49:34 +04:00
Alexey Sedunov 8d2ac7c483 Implement hierarchical search 2014-01-15 16:49:33 +04:00
Alexey Sedunov fc79d34345 Drop class inheritors searcher as it became deprecated after light classes improvements 2014-01-15 16:49:33 +04:00
Alexey Sedunov 88bb5be260 Translate KotlinTypeParameterFindUsagesHandler to Kotlin 2014-01-15 16:49:32 +04:00
Alexey Sedunov f9f932eab0 Translate JetImportFilteringRule to Kotlin 2014-01-15 16:49:30 +04:00
Alexey Sedunov ff6456c609 Translate KotlinFindClassUsagesHandler to Kotlin 2014-01-15 16:49:29 +04:00
Alexey Sedunov e2118b7ae8 Tests for additional lazy resolve (local classes/objects in class initializers) 2014-01-15 16:49:29 +04:00
Alexey Sedunov adddb70e50 Add codegen tests for local classes/objects declated in class initializers or class parameter initializers 2014-01-15 16:49:28 +04:00
chashnikov cfd9431d50 Merge pull request #336 from christian-laakmann/patch-1
KT-4371 Add Char.plus(String) to standard library
2014-01-15 04:48:04 -08:00
Ilya Klyuchnikov 5fb81aaa8b filtering incorrect annotation from idea jdk annotations, filtering problematic class javax.management.openmbean.TabularDataSupport from ValidityTest 2014-01-15 16:40:45 +04:00
Andrey Breslav ca5cf6f3cc Infinite recursion broken for subpackage search 2014-01-15 16:16:22 +04:00
Andrey Breslav 6fe122e7db Correct nullability when loading annotations from Java 2014-01-15 16:16:22 +04:00
Andrey Breslav 8be8ab9c9b Useless method removed
Package fragments do not nest, do there's no need to account for subpackages in member scopes
2014-01-15 16:16:22 +04:00
Andrey Breslav ff6cbca797 Cryptic-looking functions (iif, eq, neq etc) removed 2014-01-15 16:16:21 +04:00
Andrey Breslav df88e3e625 Introducing dependency kinds to prioritize package fragments 2014-01-15 16:16:21 +04:00
Andrey Breslav 935fae70ea Prefer sources to binaries in JDR 2014-01-15 16:16:20 +04:00