Alexey Sedunov
390f352e75
Pull Up: Implement conflict analysis
2015-07-28 18:48:32 +03:00
Alexey Sedunov
8493908710
Conflicts Dialog: Add handler for "Show conflicts" action
2015-07-28 18:48:30 +03:00
Alexey Sedunov
39ff3c3000
Pull Up: Initial support
...
#KT-7330 Fixed
2015-07-28 18:48:29 +03:00
Alexey Sedunov
e303a38f9e
Member Info: Extended implementation (for Pull Up/Push Down)
2015-07-28 18:48:27 +03:00
Alexey Sedunov
3c36795984
Refactoring: Extract JetClassOrObject.getOrCreateBody() function
2015-07-28 18:48:26 +03:00
Alexey Sedunov
83e28b360f
Refactoring: Move non-specific TypeSubstitutor factories to substitutionUtils.kt in compiler
...
Merge typeUtils.kt with changeSignatureUtils.kt
2015-07-28 18:48:24 +03:00
Alexey Sedunov
d23da408a8
Formatter: Add blank line before class/object declaration inside of declaration body
2015-07-28 18:48:23 +03:00
Sergey Mashkov
16ec066437
Maven: integration test should aomit downloading/downloaded messages even if they are printed with no log level
2015-07-28 18:24:21 +03:00
Sergey Mashkov
8b358558c9
Maven: integration test should escape compiler version
2015-07-28 18:04:00 +03:00
Sergey Mashkov
3c3e1a0a52
Maven: eliminate warning classpath entry doesn't exist. Fix integration test
2015-07-28 17:46:15 +03:00
Mikhail Glukhikh
a86857fbb5
Java Deprecated is mapped in accordance with Java Target / Retention, some diagnostic changed
2015-07-28 17:13:37 +03:00
Mikhail Glukhikh
219ffa4fb3
Dead code removed
2015-07-28 17:13:34 +03:00
Mikhail Glukhikh
d6406d8d4a
Annotation repetition checking with a pair of tests, some old tests changes
2015-07-28 17:13:32 +03:00
Mikhail Glukhikh
8beafe90a0
Retention / target for some standard annotations
2015-07-28 17:13:29 +03:00
Sergey Mashkov
82165d2a93
Maven: Introduce test for plugin output
...
Use mvn integration-test to run tests
2015-07-28 13:37:33 +03:00
Sergey Mashkov
015ac0cd5b
Maven: take logger every time
...
The root cause of problem is that we take logger at too early stage so there is initial bootstrap maven logger that is replaced by plexus container via injector at later initialization stage. We have to use injected logger rather than initial bootstrap logger. At the same time there is no actual performance advantage to have LOG field because of JIT inliner will inline getLog() body anyway.
#KT-8630 Fixed
2015-07-28 13:37:23 +03:00
Dmitry Jemerov
38151d4932
remove ReadMe.md with outdated information
2015-07-28 11:12:16 +02:00
Ilya Gorbunov
2f1c8a3dfa
Remove special case of generation for numeric and toPrimitiveArrays.
2015-07-27 19:02:49 +03:00
Ilya Gorbunov
dd71cbb96e
Accept more generic ranges in contains.
2015-07-27 19:02:47 +03:00
Ilya Gorbunov
e127e234f8
Stdlib Generators: add generic ranges, allow specify concrete primitive for generic, render types in receiver.
2015-07-27 19:02:45 +03:00
Alexey Sedunov
f4ebd895ca
Change Signature: Reduce JetChangeSignatureUsageProcessor state to prevent
...
memory leaks. JetMethodDescriptor is stored in UsageInfo list
2015-07-27 17:29:02 +03:00
Alexey Sedunov
4f12dcc069
Move: Make MoveKotlinFileHandler stateless to prevent memory leaks. MoveKotlinTopLevelDeclarationsProcessor is made part of transient state, PackageNameInfo is recomputed based on file user data and container
2015-07-27 17:29:01 +03:00
Dmitry Jemerov
978fb2c1cf
don't go outside of file when trying to find enclosing element for declaration
2015-07-27 11:43:12 +02:00
Natalia Ukhorskaya
47b94326ec
Add NotNull assertions at project.getComponent
...
(cherry picked from commit 9b1167c)
2015-07-27 12:06:01 +03:00
Natalia Ukhorskaya
728290f99e
Fix compilation error in tests
...
(cherry picked from commit ea5b532)
2015-07-27 12:06:01 +03:00
Natalia Ukhorskaya
71bf9b1b30
LightProjectDescriptor is no longer an interface
...
(cherry picked from commit b99235b)
2015-07-27 12:06:00 +03:00
Natalia Ukhorskaya
e66569c451
Update to IDEA 3371.3
2015-07-27 12:06:00 +03:00
Dmitry Petrov
a64f1a86c0
Fix KT-8608: Compiler crashes with assertion Restore stack is unavailable
...
- fix SAVE_STACK_BEFORE_TRY insertion:
TRYCATCHBLOCK LA, LB, LC
LA
NOP
try_body
LB
...
LC
handler_body
should be transformed into:
LA
{SAVE_STACK_BEFORE_TRY}
LA' // new TCB start label
NOP
try_body
LB
...
LC
handler_body
with all TCBs start labels remapped
- properly wrap exceptions from MandatoryMethodTransformer
#KT-8608 Fixed
2015-07-27 10:40:14 +03:00
Valentin Kipyatkov
a58f249a01
KT-8576 Parameter name&type completion: don't auto-popup for the second time
...
#KT-8576
2015-07-27 10:37:12 +03:00
Valentin Kipyatkov
b9a62d0acf
Fixed parameter name&type auto-popup completion to insert "dynamic" on typing ": "
2015-07-27 10:37:11 +03:00
Alexey Sedunov
acb8c54902
Move: Get rid of MoveKotlinTopLevelDeclarationsOptions.sourceFile
2015-07-24 21:03:07 +03:00
Alexey Sedunov
9219f2214e
Move: Fix ClassCastException on attempt to move several classes (located in different files) to the same file
...
#KT-8437 Fixed
2015-07-24 21:03:06 +03:00
Alexey Sedunov
e74749eea1
Move: Reinitialize move context as MoveFileHandler.findUsages() can be bypassed
...
#KT-8436 Fixed
2015-07-24 21:03:05 +03:00
Alexey Sedunov
5179c10b4c
Move: Disable "Update package directive" check box when moving separate declarations instead of entire file
...
#KT-8414 Fixed
2015-07-24 21:03:04 +03:00
Alexey Sedunov
05fd4b75dd
Move: NPE fix
...
#KT-8410 Fixed
2015-07-24 21:03:03 +03:00
Alexey Sedunov
fc885dedc5
Move: Do not use "Search references" Java options when silently invoking Move refactoring for entire file. Default to true instead
2015-07-24 21:03:02 +03:00
Alexey Sedunov
cc13c157f6
Move: Forbind moving to non-Kotlin file
...
#KT-8500 Fixed
2015-07-24 21:03:01 +03:00
Alexey Sedunov
82a47a0f2d
Move: Fix "Update package directive" label
...
#KT-8546 Fixed
2015-07-24 21:03:00 +03:00
Sergey Mashkov
0453368990
Better main function recognition and tests
...
fix vararg main
2015-07-24 17:20:40 +03:00
Sergey Mashkov
8457b53f8b
Better main function recognition and tests
2015-07-24 17:20:40 +03:00
Pavel V. Talanov
273e69c02c
Refactor: Pass buitlins into IntegerValueTypeConstant and IntegerValueTypeConstructor
2015-07-24 13:47:59 +03:00
Pavel V. Talanov
a1a38e2eba
Minor: CompileTimeConstant use utils instead of JetType#equals
2015-07-24 13:47:58 +03:00
Pavel V. Talanov
0bed8bb7d4
Minor: Inject builtins into OverloadingConflictResolver
2015-07-24 13:47:57 +03:00
Pavel V. Talanov
4599c962f0
Refactor: make OverloadingConflictResolver and ResolutionResultsHandler components instead of singletons
2015-07-24 13:47:57 +03:00
Pavel V. Talanov
1559c53007
Minor: Inject builtins into DataFlowAnalyzer
2015-07-24 13:47:56 +03:00
Pavel V. Talanov
78f55583f0
Minor: CompileTimeConstantUtils, builtins are not needed to check for string type
2015-07-24 13:47:55 +03:00
Pavel V. Talanov
7203a7833a
Minor: Inject builtins in ControlFlowAnalyzer
2015-07-24 13:47:55 +03:00
Pavel V. Talanov
0830e48029
Minor: FakePureImplementationsProvider does not need builtins, just fq names
2015-07-24 13:47:54 +03:00
Pavel V. Talanov
83503b66d2
Minor: get rid of minor KotlinBuiltins.getInstance usage
2015-07-24 13:47:53 +03:00
Pavel V. Talanov
99e8ba1947
Get rid of static function ConstantExpressionEvaluator.evaluateToConstant
2015-07-24 13:47:53 +03:00