Alexey Sedunov
2c707ec801
Reuse Java safe delete for non-local Kotlin properties
2014-01-24 13:10:24 +04:00
Alexey Sedunov
b9ddf3a992
Fix warnings
2014-01-24 13:10:23 +04:00
Alexey Sedunov
fffae7b6a4
Forbid "safe delete" for anonymous objects
2014-01-24 13:10:23 +04:00
Alexey Sedunov
5cfb07072c
Reuse Java safe delete for Kotlin classes and objects
2014-01-24 13:10:22 +04:00
Alexey Sedunov
d432c10251
Reuse Java safe delete for non-local functions in Kotlin
2014-01-24 13:10:20 +04:00
Alexey Sedunov
e70af5d372
Improvements in element description provider (proper treatment of light classes/methods, support of simple vs qualified names)
2014-01-24 13:10:19 +04:00
Alexey Sedunov
fc848ec263
Translate "Safe Delete" usage info classes to Kotlin
2014-01-24 13:10:18 +04:00
Alexander Udalov
c1777f28f9
Fix NPE in annotation deserializer
2014-01-23 22:02:59 +04:00
Valentin Kipyatkov
3e4b0d960a
Added missing intention description
2014-01-23 20:27:36 +04:00
Valentin Kipyatkov
020ea99220
Intention "Convert to expression body"
2014-01-23 18:50:26 +04:00
Valentin Kipyatkov
d01ff28212
Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions)
2014-01-23 18:46:27 +04:00
Valentin Kipyatkov
3028cec4cd
More correct code transformations: do not perform formatter's job on yourself
2014-01-23 18:46:26 +04:00
Andrey Breslav
ab7d8a7734
Tests for abstract functions with default arguments
2014-01-23 17:59:18 +04:00
Andrey Breslav
4ab0b00bd3
Support [throws] annotation
2014-01-23 17:59:18 +04:00
Andrey Breslav
b66a76e7d2
xxx$default() function should be visible from Java
2014-01-23 17:59:17 +04:00
Andrey Breslav
39234b4d3e
Delegated members should not be synthetic
...
Otherwise they are invisible to Java code
2014-01-23 17:59:17 +04:00
Andrey Breslav
ec3eee133f
Ant build requires 512M of heap
2014-01-23 17:59:17 +04:00
Alexander Udalov
0e352aa57a
Rename test functions to avoid clashing with JUnit
...
Android JVM tests run codegen test data with JUnit in classpath
2014-01-23 15:21:54 +04:00
Evgeny Gerashchenko
d3570153ef
Fixed mapping generic type with multiple bounds from Java to Kotlin.
...
#KT-3480 fixed
2014-01-23 12:33:58 +04:00
Zalim Bashorov
e47c84f40f
Update to IDEA 133.672 EAP
2014-01-23 12:33:57 +04:00
Alexander Udalov
09e772ff61
Make comparison with NaN consistent with javac
2014-01-22 21:20:09 +04:00
Alexander Udalov
db9d0e381b
Rework BuiltInsSerializer
...
BuiltInsSerializer will be distributed with Kotlin compiler from now on. This
will allow to serialize binary data of built-ins on 'ant dist', as opposed to
storing all *.kotlin_class files in the repository: ant dist will just invoke
this serializer from bootstrap-compiler.jar
2014-01-22 19:11:43 +04:00
Alexander Udalov
d4c98ec18c
Prevent annoying tooltip in Kotlin project
...
Module 'builtins' has no dependency on kotlin-runtime.jar, yet it has a lot of
Kotlin files. Add jet.Unit to the list of marker classes as an example of the
class not from the stdlib, but from built-ins. Since 'builtins' has jet.Unit in
its classpath, no tooltip is displayed
2014-01-22 19:11:42 +04:00
Andrey Breslav
f757881f22
[throws] annotation added to the standard library
2014-01-22 19:04:44 +04:00
Andrey Breslav
0f301e0d2a
Support force-resolving lazy annotations
2014-01-22 19:04:43 +04:00
Andrey Breslav
71dd3aaf86
Rename: LazyDescriptor -> LazyEntity
2014-01-22 19:04:43 +04:00
Andrey Breslav
04b47439bd
Use findAnnotation() instead of iterating through all annotations
2014-01-22 19:04:43 +04:00
Andrey Breslav
ca7d5a2988
Java annotation resolution made lazy
2014-01-22 19:04:43 +04:00
Andrey Breslav
7d10cfa4a5
Annotations.findAnnotation() added
2014-01-22 19:04:43 +04:00
Andrey Breslav
2ac0853225
Make room for laziness in the Annotations interface
2014-01-22 19:04:42 +04:00
Evgeny Gerashchenko
357fc55358
KT-4456 Generated wrong bytecode when Kotlin class inherited from Java Interface with method which have SAM type argument
...
#KT-4456 fixed
2014-01-22 16:09:03 +04:00
Andrey Breslav
7b61bdb9b1
Overload constructor of Composite iterator for lazy use cases
...
This time in the right file
2014-01-22 01:58:46 +04:00
Evgeny Gerashchenko
847d69ee2e
Added tests for class object and nested objects.
2014-01-21 18:32:59 +04:00
Evgeny Gerashchenko
8e442bc509
Moved test data.
2014-01-21 18:32:58 +04:00
Evgeny Gerashchenko
461b64e0e7
Removed old injava completion test (all cases are covered by common source/binary tests).
2014-01-21 18:32:57 +04:00
Evgeny Gerashchenko
d502c5af64
Moved injava handler test data.
2014-01-21 18:32:56 +04:00
Evgeny Gerashchenko
a75490803a
Test for completion of kotlin sources in java. Reused same test data.
2014-01-21 18:32:55 +04:00
Evgeny Gerashchenko
e4b9c7fd40
Test for completion of kotlin binaries in java.
2014-01-21 18:32:54 +04:00
Andrey Breslav
816e9975ad
Overload constructor of Composite iterator for lazy use cases
2014-01-21 16:20:19 +04:00
Alexey Sedunov
3e6f879571
Show call sites of overriden members in "Caller Hierarchy"
...
#KT-4395 Fixed
2014-01-21 13:53:22 +04:00
Alexey Sedunov
7ec21fc5ca
Reuse applicability criteria
2014-01-21 13:31:32 +04:00
Alexey Sedunov
c42e48ef21
Remove unnecessary overriding method
2014-01-21 13:31:32 +04:00
Andrey Breslav
ce1702d633
Replace a hack (Internals class) with a less-of-a-hack workaround
...
LockBasedLazyResolveStorageManager is put into the same package as LockBasedStorageManager
2014-01-20 23:01:19 +04:00
Andrey Breslav
4936b66626
Do not hide annotations on light classes
2014-01-20 22:35:01 +04:00
Andrey Breslav
b12b6c4080
Merge pull request #340 from Stebalien/fix-file-to_path-java7
...
Add annotation for `java.io.File.toPath()`
2014-01-20 08:37:57 -08:00
Andrey Breslav
2c61ff9085
Use Project SDK for jps-plugin
2014-01-20 20:12:17 +04:00
Steven Allen
b8d4d07b12
Add annotation for java.io.File.toPath()
2014-01-20 11:09:33 -05:00
Andrey Breslav
77c340d872
Always use Project SDK
2014-01-20 20:08:28 +04:00
Pavel V. Talanov
491e8f2edb
Formatter refactoring: move formatting rules to a separate file to avoid mixing up with helper code
2014-01-20 19:54:47 +04:00
Pavel V. Talanov
74dfac4bdb
Formatter settings: expand example to demonstrate some of the new options
2014-01-20 19:54:46 +04:00