Nikolay Krasko
f14f2c19a8
Fix goto class action in Idea 13.1
2014-02-18 14:39:19 +04:00
Nikolay Krasko
bd859efb39
Generator for goto symbols test
2014-02-17 22:12:09 +04:00
Andrey Breslav
85e5b4e205
JDK layout fixed for Mac
2014-02-17 17:08:17 +04:00
Andrey Breslav
b67c125f6d
More memory for the Ant build
2014-02-17 17:08:17 +04:00
max-kammerer
1c7bb85193
Merge pull request #372 from pk382/replace-dot-qualified-call-intention
...
New Intention Action: Replace a dot-qualified function call with an infix function call.
2014-02-17 13:20:02 +03:00
Nikolay Krasko
86767c2349
Remove write action for paste for better idea actual behaviour emulation
2014-02-17 10:45:48 +04:00
Natalia Ukhorskaya
9f3b73986a
Update to IDEA 13.1 (134.1007)
2014-02-17 10:45:48 +04:00
Pavel V. Talanov
4c57aa9f23
Generate Injectors: minor, remove redundant GenerateInjectors class
2014-02-14 16:47:23 +04:00
Pavel V. Talanov
f8a8bbe9b0
Generate Injectors: add ability to specify that a field is a context
...
Context field's properties can injected into other components
Use it in GenerateInjectors.kt
2014-02-14 16:47:22 +04:00
Pavel V. Talanov
6c77ea91c5
Generate Injectors: simplify and remove redundancy
2014-02-14 16:47:21 +04:00
Pavel V. Talanov
00cbd11b84
Share "Generate Injectors" run configurations
2014-02-14 16:47:20 +04:00
Pavel V. Talanov
1ab4c2763f
Generate Injectors: rewrite facade to Kotlin
2014-02-14 16:47:19 +04:00
Pavel V. Talanov
73dd8a051a
Remove useless InjectorForJvmCodegen
2014-02-14 16:47:18 +04:00
Pavel V. Talanov
b37c57cf2b
Minor: remove redundant implementations of ResolutionContext#self
2014-02-14 16:47:17 +04:00
Pradyoth Kukkapalli
44234c7c0a
New Intention Action: Replace a dot-qualified function call with an infix function call.
2014-02-14 00:18:09 -05:00
Evgeny Gerashchenko
5a1f98041e
Simplified kotlinc tests.
2014-02-13 20:46:29 +04:00
Evgeny Gerashchenko
aeade9e68d
Regenerated default protobuf.
2014-02-13 20:46:28 +04:00
Evgeny Gerashchenko
846ee2c8ac
Introduced protobuf generating script.
...
It generates two variants: lite (for runtime usage) and debug (for
tests).
2014-02-13 20:46:28 +04:00
Alexander Udalov
8b918ef1aa
Add regression tests for obsolete issues
...
#KT-1291 Obsolete
#KT-2895 Obsolete
#KT-3060 Obsolete
#KT-3298 Obsolete
#KT-3613 Obsolete
#KT-3862 Obsolete
2014-02-13 04:43:53 +04:00
Natalia Ukhorskaya
320c23494f
Add method to MockPsiDocumentManager to update kotlin plugin to IDEA 13.1 (134.1007)
2014-02-12 22:10:42 +04:00
Alexander Udalov
0b08d03bd6
Minor refactorings in codegen contexts
...
Add assertions, nullability annotations, fix formatting, etc.
2014-02-12 19:32:59 +04:00
Alexander Udalov
a98434263b
Add regression test for outdated issue
...
#KT-3738 Obsolete
2014-02-12 19:17:55 +04:00
Alexander Udalov
35c7c4afd8
Fix capturing outer this in some cases in JVM codegen
...
When property initializer of some inner entity (e.g. anonymous object) contains
a reference to some outer entity (say, a property of the outer class), we need
to make sure we called "lookupInContext" on this entity's owner class, so that
"setCaptureThis" was called on the appropriate closure
#KT-4176 Fixed
2014-02-12 19:17:55 +04:00
Natalia Ukhorskaya
7bf26283b2
Add implementation of PsiDocumentManager to update kotlin plugin to IDEA 13.1 (134.1007)
2014-02-12 18:00:44 +04:00
Svetlana Isakova
70374ea9be
KT-4529 Lambdas are analyzed improperly in an infix call nested inside a println
...
#KT-4529 Fixed
2014-02-12 14:47:10 +04:00
Svetlana Isakova
2ebe8fd6a2
improvements after review in constraint system tests
2014-02-12 12:48:15 +04:00
Svetlana Isakova
4c1c9f8407
do not record smart cast to not nullable type separately
2014-02-12 12:48:14 +04:00
Svetlana Isakova
9063b3803e
record smartcast to the most specific type
2014-02-12 12:48:14 +04:00
Svetlana Isakova
9832676701
generate constraint system tests
...
more tests added
2014-02-12 12:48:13 +04:00
Svetlana Isakova
791fa22abb
KT-4405 Control-flow analysis is not performed for some local declarations #KT-4405 Fixed
2014-02-12 12:48:13 +04:00
Svetlana Isakova
aa713ef1f6
generate pseudocode for property accessor only if the property is local
...
otherwise check it independently like a function
2014-02-12 12:48:12 +04:00
Svetlana Isakova
1c4db84d92
do not try properties named 'invoke' when resolve 'invoke'
2014-02-12 12:48:12 +04:00
Svetlana Isakova
b51e3dc464
added ConstraintSystemTest
2014-02-12 12:48:11 +04:00
Svetlana Isakova
9d493b6f7b
generate CHECK_CAST for smartcasted 'this'
2014-02-12 12:48:11 +04:00
Svetlana Isakova
9ed57a5767
removed AutoCastReceiver
...
check subtype for receiver by AutoCastUtils.isSubTypeByAutoCast directly
#KT-4403 Fixed
#KT-4415 Fixed
2014-02-12 12:48:10 +04:00
Svetlana Isakova
5ef320173c
generate pseudocode for functions in local classes
...
#KT-4405 In progress
#KT-3501 Fixed
2014-02-11 21:07:10 +04:00
Svetlana Isakova
f74fbf9f8b
added readme file about diagnostic tests directives
2014-02-11 21:07:09 +04:00
Svetlana Isakova
1446feff20
removed unnecessary more accept(JetVisitorVoid) methods
2014-02-11 21:07:09 +04:00
Svetlana Isakova
cfb97bf0b9
made JetVisitorVoid extends JetVisitor<Void, Void>
2014-02-11 21:07:09 +04:00
Svetlana Isakova
64e13114e2
store unsubstituted descriptor as REFERENCE_TARGET
2014-02-11 21:07:09 +04:00
Svetlana Isakova
8868da8c5f
KT-4372 Invalid error position and failing to resolve invoke with receiver from other module #KT-4372 Fixed
2014-02-11 21:07:09 +04:00
Svetlana Isakova
e95e505b5d
asserts changed to LOG.error
2014-02-11 21:07:08 +04:00
Svetlana Isakova
c5d9757b94
added renderers for constraint system and type bounds
...
moved classes
2014-02-11 21:07:08 +04:00
Svetlana Isakova
45abab2a2c
KT-4341 No resolved call for right-hand side of equals expression
...
#KT-4341 Fixed
2014-02-11 21:07:08 +04:00
Svetlana Isakova
aca21f78d5
check incomplete equality
2014-02-11 21:07:08 +04:00
Pavel V. Talanov
80183c88cf
Do not normalize visibilities for fake overrides
...
#KT-4525 Fixed
2014-02-11 20:13:11 +04:00
Mikhael Bogdanov
eab7f5539b
Fixed dependency to kotlin runtime (dist version)
2014-02-11 17:36:01 +04:00
Pavel V. Talanov
4a3ccc4eac
JDR: do not create package fragment for class statics if class cannot be resolved
...
This keeps behaviour consistent in rare cases when JavaClass can be found but not resolved
As of now this can happen in IDE if we take PsiClass from index but file structure is wrong so we can't resolve the class
Add test which documents this case
2014-02-11 17:17:34 +04:00
Pavel V. Talanov
4501adf5f1
AbstractInsertImportOnPasteTest: use test framework to create correct file structure for java files
2014-02-11 17:17:33 +04:00
Pavel V. Talanov
e3ae7afac3
Add validation for binding between java classes and corresponding package fragments
2014-02-11 17:17:06 +04:00