Valentin Kipyatkov
384183ad7b
Intention to convert raw string literal to ordinary one
...
#KT-5208 Fixed
2016-03-24 19:05:56 +03:00
Valentin Kipyatkov
ecebb80bbe
Added intention description
2016-03-24 19:05:55 +03:00
Valentin Kipyatkov
3d422b47cb
Intention action to convert string to raw string
...
(half of KT-5208)
2016-03-24 19:05:55 +03:00
Alexey Sedunov
86c551b27b
Misc: Сhangelog update
2016-03-24 18:23:34 +03:00
Michael Bogdanov
6547fa1d4c
Replace hashes in bytecode listing tests with 'HASH'
2016-03-24 16:17:58 +01:00
Alexey Sedunov
2692a7d35c
Spring Support: Inspection for Spring configuration
2016-03-24 17:42:13 +03:00
Alexey Sedunov
0eda1f3969
Spring Support: SpEL injections
...
#KT-11406 Fixed
2016-03-24 17:42:12 +03:00
Alexey Sedunov
28b8cfc3d5
Spring Support: Show Spring line markers for Kotlin classes
...
#KT-3741 Fixed
2016-03-24 17:42:11 +03:00
Alexey Sedunov
8c72b02c9b
Light Classes: Constant expression evaluator for light annotation arguments
2016-03-24 17:42:10 +03:00
Alexey Sedunov
0a71eb777e
Spring Support: Implement Spring-specific references
2016-03-24 17:42:08 +03:00
Alexey Sedunov
72a17b0671
Spring Support: Inspection for final Spring-annotated classes/functions
...
#KT-11098 Fixed
2016-03-24 17:42:07 +03:00
Alexey Sedunov
161d11d9ec
Spring Support: Test framework
2016-03-24 17:42:06 +03:00
Alexey Sedunov
d8a033e8a5
Misc: Configure dependency on Spring support and related plugins: J2EE,
...
JSP, persistence, database tools, CSS
2016-03-24 17:42:05 +03:00
Alexey Sedunov
8e7e3a3b99
Misc: Configure IDEA Ultimate dependencies
2016-03-24 17:42:04 +03:00
Alexey Sedunov
d76e8f2d67
Light Classes: Generate light wrappers for name identifiers
2016-03-24 17:42:01 +03:00
Alexey Sedunov
fefa0baeee
Light Classes: Generate light wrappers for annotation entries
2016-03-24 17:41:58 +03:00
Alexey Sedunov
4debf0cc45
Java To Kotlin: KtLightModifierList
2016-03-24 17:41:57 +03:00
Alexey Sedunov
19850ffb86
Java To Kotlin: KtLightModifierList.java (rename to .kt)
2016-03-24 17:41:56 +03:00
Michael Bogdanov
6737bc12f1
Fix for KT-11519: Version 1.0.1 fails with NPE in com.sun.beans.TypeResolver.resolve() where v1.0.0 works fine
...
#KT-11519 Fixed
2016-03-24 15:18:31 +01:00
Valentin Kipyatkov
f0ef04a6a8
Changed highlighting range for unresolved annotation name to not include '@'
...
#KT-11529 Fixed
2016-03-24 16:44:58 +03:00
Michael Bogdanov
0fdba49315
Test for KT-11514: Platform Double is converted to Int when comparing to Int literal
...
#KT-11514 Fixed
2016-03-24 14:11:25 +01:00
Michael Bogdanov
d0aac74e72
Fix for KT-11590: IllegalAccessError: SAM adapter generated with invalid accessibility for inline function
...
#KT-11590 Fixed
2016-03-24 14:11:25 +01:00
Alexey Tsvetkov
33cd661aad
Minor: removed experimental-ic-build.log duplicating build.log
2016-03-24 14:57:17 +03:00
Alexey Tsvetkov
f3ee255436
Normalize output for windows tests
2016-03-24 14:55:27 +03:00
Michael Bogdanov
a851bb0fff
Fix for KT-11584: Regression in 1.0.1: incorrect comparison of Long! with integer constant
...
#KT-11584 Fixed
2016-03-24 08:51:43 +01:00
Denis Zharkov
628f9050fb
Report UNUSED_EXPRESSION on anonymous functions
2016-03-23 20:11:51 +03:00
Denis Zharkov
16736e3a0e
Resolve anonymous functions in block as expression
...
#KT-7265 Fixed
2016-03-23 20:08:15 +03:00
Mikhail Glukhikh
77e37ff75d
Changelog from 1.0.1 added
2016-03-23 15:27:13 +03:00
Mikhail Glukhikh
46290798ca
Refactoring (same logic in ControlFlowInformationProvider / DataFlowValueFactory)
2016-03-23 15:04:13 +03:00
Mikhail Glukhikh
32e7f9e58f
Correct handling of local class / anonymous object cases for KT-10445 / KT-10042
2016-03-23 15:04:09 +03:00
Mikhail Glukhikh
b975b7d26e
More accurate CFG for local class constructors (now they are not considered unconditionally executed) #KT-10042 Fixed
2016-03-23 15:04:05 +03:00
Mikhail Glukhikh
8756cba2f5
Minor: test renamed
2016-03-23 15:04:01 +03:00
Mikhail Glukhikh
bc4ec97043
Captured value initialization is no more allowed #KT-10445 Fixed
2016-03-23 15:03:50 +03:00
Anton Sukhonosenko
e8b665f600
#KT-10883 Fixed
2016-03-22 17:23:16 +01:00
Alexander Udalov
348125acb3
Fix visibility of protected classes in bytecode
...
Protected should be translated to public as in Java so that everything would
work at runtime. The real visibility is still saved to an InnerClasses
attribute
#KT-8269 Fixed
#KT-9246 Fixed
#KT-10143 Fixed
2016-03-22 18:42:34 +03:00
Valentin Kipyatkov
28c5dde875
KT-7715 Highlight var's that can be replaced by val's
...
#KT-7715 Fixed
2016-03-22 18:01:52 +03:00
Ilya Chernikov
e5b5a8db42
Rollback partially a commit that dropped removePerfOutput functionality, fixes CompilerDaemonTest.testHelloApp
...
The commit was done by @yole in assumption that the function only affects PARF lines generated by compiler, but similar lines generated
by daemon infrastructure were affected as well, the mentioned test was failing since. CliBaseTest class was refactored, I place the removePerfOutput
function into AbstractCliTest class.
2016-03-22 11:15:38 +01:00
Michael Bogdanov
00cb2705da
Add a test verifying anonymous object transform is performed correctly with ClassBuilder.
2016-03-21 18:37:28 +03:00
Ilya Gorbunov
1ae0040ca3
Minor: make variables initialized in defineClass lateinit instead of nullable.
2016-03-21 18:37:27 +03:00
Ilya Gorbunov
d9329456b5
ClassBuilder-to-ClassVisitor adapters should invoke methods of adapted ClassBuilder.
...
Call classBuilder.defineClass instead of ClassVisitor.visit.
Call classBuilder.newField instead of ClassVisitor.visitField.
2016-03-21 18:37:27 +03:00
Kirill Rakhman
146dca2cd6
Formatter: Remove spaces between expression and parentheses
...
#KT-11476 Fixed
2016-03-21 17:56:04 +03:00
Denis Zharkov
56477f0af8
Fix loading container type from Java
...
Load immutable flexible upper bound for 'Iterable<? super T>'
We load 'Collection<? super CharSequence>' as 'MutableCollection<in CharSequence>'
instead of 'MutableCollection<in CharSequence>..Collection<*>'
because it's obviously not typesafe to use any 'Collection<*>'
as argument for such type.
But there'se nothing bad with loading 'Iterable<? super CharSequence>'
as 'MutableIterable<*>..Collection<*>'. Same for other declarations that have
covariant mutable representation (currently Iterator, ListIterator).
Also there are useful use-cases when it's neccessary to use 'Iterable<*>'
as an argument for parameter with type 'Iterable<? super T>' (see matchers.kt test).
NB: Star-projections appear in examples because types like 'Collection<in CharSequence>'
with conflicting use-site projections are invalid in Kotlin, but they are valid in Java.
2016-03-21 16:46:46 +03:00
Denis Zharkov
c3e44ec199
Fix loading Java type arguments
...
Type arguments with use variance in java contradicting to Kotlin declaration-site variance should be loaded as star-projections
#KT-11492 Fixed
2016-03-18 19:07:27 +03:00
Denis Zharkov
838fcf9a57
Load contavariantly projected collections in Java as mutable
...
#KT-3068 Fixed
2016-03-18 19:07:27 +03:00
Denis Zharkov
e54b25a35a
Fix StackOverflowError while mapping recursive intersection-type
...
#KT-10972 Fixed
2016-03-18 19:07:27 +03:00
Denis Zharkov
67b59fa72f
Prohibit nested intersection types in return position
...
#KT-11490 Fixed
2016-03-18 19:07:27 +03:00
Mikhail Glukhikh
90b5d3b9f5
Minor if-to-when refactoring
2016-03-18 18:54:01 +03:00
Mikhail Glukhikh
fa069214fd
if to when intention now detects effectively else branches in subsequent code + performs more accurate comment handling #KT-10750 Fixed
...
Also #KT-11424 Fixed
2016-03-18 18:47:32 +03:00
Michael Bogdanov
c3d450f050
Fix for KT-11479: 1.0.2 Snapshot: CompilationException: Back-end (JVM) Internal error: Couldn't inline method call
...
#KT-11479 Fixed
2016-03-18 15:43:18 +01:00
Natalia Ukhorskaya
dde11b7f50
Report more info for errors from jdi
2016-03-18 15:19:03 +03:00