xiexed
c163e71662
Spring testAmbiguousBean formatting fix ( #1261 )
2017-08-24 19:19:36 +03:00
Nicolay Mitropolsky
1b2e28d467
SpringKotlinAutowiringInspection: workaround for nameless property (EA-104960)
2017-08-17 14:31:24 +03:00
Nicolay Mitropolsky
f7a1c71b54
Ultimate tests repair: SpringInspectionTestGenerated.testAutowiring_inspectionData_Inspections_test (KT-18847)
2017-08-17 14:31:24 +03:00
Dmitry Jemerov
5bd04a6d22
Fix ultimate tests: add idea-gradle to main project classpath
2017-08-16 11:01:12 +02:00
Nikolay Krasko
6d66fb35d6
Fix AbstractGenerateSpringDependencyActionTest.kt in branch 172
2017-08-10 22:05:49 +03:00
Nikolay Krasko
10bf49118a
Update spring test data for 172 idea
2017-08-10 22:05:49 +03:00
Nicolay Mitropolsky
62dc3c8da4
A check for AbstractSpringClassAnnotatorTest that ultimate plugin is properly set up
2017-08-10 22:05:48 +03:00
Nicolay Mitropolsky
384ae8d8b5
Ultimate tests repair (KT-18847)
...
Repaired all except:
GenerateSpringDependencyActionTestGenerated.testAutowiredDependencies_MultiplePropertiesAnnotationConfig - Not a Kotlin issue
SpringClassAnnotatorTestGenerated.testAutowiredBeanCandidates_AutowiredBeanCandidates - Bug with multiple light objects for same PSI element
SpringInspectionTestGenerated.testAutowiring_inspectionData_Inspections_test - Not a Kotlin issue (presumably IDEA-175971)
SpringQuickFixTestGenerated$AddQualifierAnnotation.testAmbiguousBean - Not a Kotlin issue (IDEA-175971)
2017-08-10 22:05:48 +03:00
Nicolay Mitropolsky
532560ef43
Spring dependency-generations actions: runWriteAction moved to the proper place (KT-18385)
2017-08-10 22:05:48 +03:00
Nicolay Mitropolsky
ca19ea8205
KotlinSpringClassAnnotator ignores duplicate gutter handlers (IDEA-173995, KT-18298)
2017-08-10 22:05:47 +03:00
Nicolay Mitropolsky
ce77751349
Spring Constructor Injection falling test
2017-08-10 22:05:47 +03:00
Nicolay Mitropolsky
6ae247ba61
"Final Kotlin class or function with Spring annotation" inspection deprecation and disabling by default (KT-18506)
2017-08-10 22:05:47 +03:00
Nikolay Krasko
a41e5fff6b
Regenerate ultimate tests - update copyright
2017-08-10 15:58:15 +03:00
Mikhael Bogdanov
d738633981
Switch jvm target to 1.8 in Ultimate plugin and missed version to core modules
2017-08-04 15:45:53 +02:00
Yan Zhulanow
e037cafe18
Use descriptor modality in IDE inspections/intentions
...
This fixes KT-18160, KT-18194, KT-18195, KT-18197 ~
2017-07-18 18:10:15 +03:00
Simon Ogorodnik
bc5872dd8f
Add completion benchmark to check completion speed
2017-07-17 16:03:02 +03:00
Nikolay Krasko
df393e18fe
Configure AbstractInspectionTest with project descriptors
...
Previous implements produced flaky tests when non-js tests were
executed after js.
2017-06-29 16:56:15 +03:00
Yan Zhulanow
04c09bedeb
SamWithReceiver, minor: Add missing module to Spring plugin classpath (fixes Spring tests)
2017-06-19 20:28:48 +03:00
xiexed
b8942c5f04
Readme for ultimate project ( #1070 )
2017-05-08 15:55:30 +03:00
Pavel V. Talanov
0571c62943
KtLightElements: make light annotations lazier
...
Allow to get annotation list and to invoke `findAnnotation` without building delegate
Introduce KtLightNullabilityAnnotation which holds nullability information and is built
before delegate is built
2017-05-02 15:40:17 +03:00
Pavel V. Talanov
8f4c969933
KtLightElement is no longer PsiNamedElement
2017-05-02 15:40:14 +03:00
Zalim Bashorov
51e84f7ce4
Move some script related part of frontend to separate module to avoid using kotlin-reflect.jar in frontend module
...
Main goal is get rid of kotlin-reflect.jar from modules what required for minimal compiler.jar which can compile Kotlin only to JS to make it smaller.
2017-04-17 18:18:35 +03:00
Denis Zharkov
5e449fdc02
Optimize control-flow analysis by use of persistent maps
...
The case that it's worth to optimize is functions
with a lot of variables.
After debugging it's recovered that control-flow works nearly
O(n * m) where n is pseudocode size and m is a number of variables:
the algorithm performs O(n) copies of hashmap of size O(m)
Persistent maps should help because we don't need to perform a
copy of them, so the expected performance after the change is applied
is O(n log m)
We've tried pcollections and javaslang, and the latter one has demonstrated
better results
See results before and after optimizations
before:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/3da7ba45a704969653d70b50995f730e968540d8/reports/benchmarks-many-vars-2017-03-14.txt
after with pcollections:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/3da7ba45a704969653d70b50995f730e968540d8/reports/benchmarks-many-vars-persistent-optimizations-2017-03-17.txt
after with javaslang:
https://github.com/dzharkov/kotlin-compiler-benchmarks/blob/d22a871b175b291fb337b51ef6465ba70bbfd96c/reports/benchmarks-many-vars-javaslang-2017-04-07.txt
2017-04-11 11:26:11 +03:00
Dmitry Jemerov
6febe1e8a2
Convert RenameTest to light fixture test case
...
Extract multi-module rename test to a separate class.
2017-03-28 15:48:38 +02:00
Dmitry Jemerov
e2f75463d7
Rewrite AbstractQuickFixTest based on light fixture test case
...
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00
Alexander Udalov
6d69e37fe9
Update to ASM 6-alpha from intellij 171
...
Will be needed to read module-info files
2017-03-24 19:46:35 +03:00
Alexander Udalov
2d1b15b6fb
Drop usages of '-XX:MaxPermSize' in run configurations on JDK 8
2017-03-21 16:09:18 +03:00
Alexey Sedunov
2e3617adbb
Spring Support: Fix tests in IDEA 2017.1
...
Filter out duplicate reference targets.
Fix test data as directory references are available
inside of string literals.
Fix test data as Spring @Autowired inspection
no more reports parameterless methods.
Fix gutter checking as configuration bean references now resolve
to @ComponentScan annotation
2017-03-20 18:46:12 +01:00
Nikolay Krasko
9f51b12193
Update guava 19.0 sources jar
2017-03-20 18:45:32 +01:00
Dmitry Jemerov
036bfed984
Add resources_en.jar to properties plugin classpath
2017-03-20 18:45:18 +01:00
Mikhail Glukhikh
607e205ad4
Resolve to descriptor: call safe version in background (~ isApplicable) #KT-12261 Fixed
...
Also #KT-11010 Fixed
Also #KT-12881 Fixed
Also #KT-16162 Fixed
2017-02-08 13:55:34 +03:00
Alexey Sedunov
60edc46d8c
Spring Support: Consider declaration open if it's supplemented with a preconfigured annotation in corresponding compiler plugin
...
#KT-15444 Fixed
2017-01-30 17:54:53 +03:00
Mikhail Glukhikh
a78694e9be
Test fix: spring test for gutter
2016-12-22 15:03:09 +03:00
Nikolay Krasko
2bb48fc802
Allow empty single-line bodies in property accessors
2016-12-14 13:40:44 +03:00
Nikolay Krasko
2841931ffa
Do not force new line in body for empty functions and function expressions (KT-10828)
...
#KT-10828 Fixed
2016-12-14 13:35:31 +03:00
Yan Zhulanow
de15003706
Minor: Add sam-with-receiver to Ultimate project classpath, fix cli plugin path in build.xml
2016-12-09 20:26:41 +03:00
Yan Zhulanow
0a2b52c1ed
Minor: Add allopen-ide and allopen-noarg to "idea" module test classpath
2016-12-09 20:01:16 +03:00
Zalim Bashorov
4c8f5e4540
Regenerate ultimate tests
2016-11-09 21:41:12 +03:00
Ilya Chernikov
d335aea682
Add script runtime to ultimate project
2016-10-12 15:38:52 +02:00
Alexey Sedunov
3adbe5515e
Minor: Get rid of deprecated (as of IDEA 2016.2) method calls
2016-09-27 13:27:53 +03:00
Nikolay Krasko
63943c60d3
Patch ThreadTracker during Kotlin plugin init
2016-09-22 15:19:18 +03:00
Nikolay Krasko
d69e7c7aec
Problem: fix thread leaking check fail on teamcity for ultimate rename tests
2016-09-20 15:27:10 +03:00
Pavel V. Talanov
3bb1ce7e1d
Sync code in 'idea-ultimate'
2016-07-28 18:01:01 +03:00
Alexander Udalov
4c8e8b099a
Update protobuf from 2.5.0 to 2.6.1
2016-06-27 20:14:00 +03:00
Nikolay Krasko
5e7d007e75
Build output parser in separate module under 1.6 (KT-12159)
...
KotlinOutputParser accessed from gradle execution environment that can be started under Java 1.6.
#KT-12159 Fixed
2016-06-14 20:58:07 +03:00
Alexander Udalov
7e38b93d80
Use protobuf with renamed packages, pack to IDEA plugin
...
Update GenerateProtoBuf.kt to also regexp-replace com.google.protobuf with
org.jetbrains.kotlin.protobuf in generated Java sources
#KT-12581 Fixed
2016-06-14 14:17:22 +03:00
Alexey Sedunov
ec0f21c887
Spring Support: Fixed rename of custom-named beans specified with Kotlin annotation
...
#KT-12096 Fixed
2016-05-26 20:59:09 +03:00
Alexey Sedunov
076e31c0f8
Spring Support: Automatic configuration by @Import and @ComponentScan ("basePackages"/"basePackageClasses")
...
#KT-12135 Fixed
#KT-12139 Fixed
2016-05-26 20:59:07 +03:00
Alexey Sedunov
781a1e0694
Spring Support: Implement @ComponentScan inspection
...
#KT-12465 Fixed
2016-05-26 20:59:05 +03:00
Alexey Sedunov
d69140b7fe
Code Insight: Implement package references inside of string literals
...
#KT-12136 In Progress
2016-05-26 20:59:03 +03:00