Alexander Udalov
ee8df85bfe
Fix path duplication in "kotlin-for-upsource" in build.xml
2014-12-08 15:01:44 +03:00
Alexander Udalov
4d66ca88ee
Refactor building of kotlin-runtime.jar in build.xml
...
- use the "new-kotlinc" macro to compile Java sources (can be disabled via an
optional argument) as well as Kotlin
- bend over backwards not to repeat source paths passed to kotlinc and javac
- split "runtime" task into several smaller ones, which makes it possible to
rebuild (and repack the whole jar) constituent modules separately
2014-12-08 15:01:43 +03:00
Alexander Udalov
54b94e9e00
Adapt targets in build.xml to Ant naming conventions
...
Also reformat the section related to Upsource
2014-12-08 14:54:04 +03:00
Nikolay Krasko
7d32358bf8
Pair parenthesis before end of string template
...
#KT-6403 Fixed
2014-12-06 01:14:49 +03:00
Nikolay Krasko
3d7bbc0bde
Rewrite to Kotlin: TypedHandlerTest
2014-12-06 01:14:47 +03:00
Nikolay Krasko
f2cfbed9e3
Rewrite to Kotlin: TypedHandlerTest. File rename
2014-12-06 01:14:45 +03:00
Nikolay Krasko
936fdcf219
Update to Idea 139.658
2014-12-05 19:15:02 +03:00
Nikolay Krasko
e2bf8b2eee
Suppress warning to avoid spontaneous addition actions
2014-12-05 19:07:46 +03:00
Nikolay Krasko
5684ab69f5
Increase stub version
2014-12-05 16:42:29 +03:00
Andrey Breslav
ddd72e8582
Compilation fixed
2014-12-05 16:28:58 +03:00
Dmitry Jemerov
2b1727a61b
Cleanup the README text
2014-12-04 19:29:42 +01:00
Michael Nedzelsky
5db35125dd
JS backend: fix KT-3692: js translator: Ensure that we don't create backing fields for traits
...
#KT-3692 Fixed
2014-12-04 02:42:12 +03:00
Michael Nedzelsky
7c9ea16d8e
JS backend: fix translation for extension property
2014-12-04 02:42:07 +03:00
Michael Nedzelsky
5bf1d73199
JS backend: tests for translation for extension property
2014-12-04 02:42:04 +03:00
Valentin Kipyatkov
b8d1f115bf
Renamed JetType.isNullable() to isMarkedNullable()
2014-12-03 21:36:10 +03:00
Valentin Kipyatkov
c76e69af62
Removed check for classes in java.lang because it's not used by completion anymore and causes problems with importing of java.lang.String on paste
2014-12-03 21:21:55 +03:00
Valentin Kipyatkov
796a2b6e7c
Code refactoring
2014-12-03 21:15:13 +03:00
Valentin Kipyatkov
7ba11b0f2f
Fixed auto-import of operator functions broken before + fixed bug in its implementation
2014-12-03 21:09:29 +03:00
Valentin Kipyatkov
3161eb284b
Added comment
2014-12-03 20:12:44 +03:00
Valentin Kipyatkov
b8a0a1a313
Reflected API changes after rebase
2014-12-03 19:12:43 +03:00
Valentin Kipyatkov
3b51b5a51b
Replaced hard-coded gray color
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
de51948883
The test was not correct
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
132cb26e04
Code improvements after review
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
dfd5e773df
extensionsUtils.kt uses FuzzyType + more correct treatment of receiver nullability there
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
418b16e766
Moved FuzzyType and changed package for extensionUtils
2014-12-03 19:07:32 +03:00
Valentin Kipyatkov
856be73500
Smart completion: generic functions are correctly included into the list
...
#KT-6375 Fixed
2014-12-03 19:07:04 +03:00
Valentin Kipyatkov
a40db1e794
Completion: for extension functions unsubstituted receiver type shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
522ceee559
Optimizations
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
1d288e6dcc
Completion: multiple extension methods with different substitutions may be shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
2c08b3e229
Extension methods shown with type arguments substituted in completion list
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
3df3e57b05
Added tests
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
05bb32545f
Fixed all members are grayed in global context
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
e5e27d028d
Fixed smart completion at offset 0
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
cf35fc1fd5
Completion: immediate members get higher priority in the list
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
72ff719001
Completion: added package name for global functions/properties in the list
2014-12-03 19:01:48 +03:00
Valentin Kipyatkov
7c67566719
Completion: got rid of special LookupElementFactory implementation to highlight immediate members
2014-12-03 19:01:48 +03:00
Valentin Kipyatkov
66289f0b4a
Completion: our own lookup elements for java classes
2014-12-03 19:00:58 +03:00
Valentin Kipyatkov
77e1210bff
Completion: classes not to be used in Kotlin placed to the last place
2014-12-03 19:00:58 +03:00
Valentin Kipyatkov
6ddedb7825
Better imported/non-imported items sorting in completion
2014-12-03 19:00:58 +03:00
Valentin Kipyatkov
94b7945cd8
Added a test
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
48edd5f02a
Fixed completion list ordering for java classes
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
9dc6a82fef
More clear code + better test
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
6502c44928
Immediate extension members are correctly detected for platform types
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
acfd308a7e
Code completion: graying members after dot completion for nullable value
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
a60f32b919
More correct and simple code
2014-12-03 18:59:45 +03:00
Valentin Kipyatkov
79cfa1f84e
Code simplification
2014-12-03 18:59:45 +03:00
Alexander Udalov
07cfc173f9
Add ProtoBufConsistencyTest
...
This test checks that indices of all extensions on the same message type are
unique across different extension points (JVM, built-ins, ...)
2014-12-03 16:10:20 +03:00
Alexander Udalov
63bfa004fd
Introduce binary representation for annotations
...
Will be used where annotations can't be stored elsewhere: for example,
built-ins, JS, type annotations on JDK<8
2014-12-03 16:10:19 +03:00
Alexander Udalov
9a86318908
Introduce extension for built-ins serialization, drop .kotlin_class_names
2014-12-03 15:58:14 +03:00
Alexander Udalov
f19aa2290c
Minor, remove unnecessary NOTHING_TO_INLINE suppressions
2014-12-03 15:58:13 +03:00