Pavel V. Talanov
6bdb35ff23
Fix project code
...
This would no longer compile with the new imports resolution
2015-06-23 14:15:27 +03:00
Pavel V. Talanov
c5e6dea8b0
Minor: Inline and remove JetModuleUtil
2015-06-23 14:15:17 +03:00
Pavel V. Talanov
ade898775c
Minor: remove unused parameter
2015-06-23 14:14:35 +03:00
Pavel V. Talanov
257b8f31e7
Change import resolution algorithm
...
The new algorithm: move from right to left, trying to find package, (new code) when found go right resolving descriptors (uses old code)
This allows to avoid unnecessary computations (matters in IDE moslty) for resolving root packages
This changes semantics of imports resolution: when package clashes with any declaration package is preffered
2015-06-23 14:14:25 +03:00
Natalia Ukhorskaya
7b0458f1a9
Debugger: Navigate to first line when source file for mapping (inline) not found
2015-06-23 10:58:45 +03:00
Valentin Kipyatkov
3c16e455f7
Removed unused field
2015-06-22 17:28:44 +03:00
Karol Depka
033f2668d5
KT-7615 workaround for crash on Android ART caused by "private constructor" in DescriptorBasedProperty #KT-7615 Fixed
...
Tested on Android 5.1.0 API 22 in Genymotion
2015-06-22 15:57:04 +03:00
Sergey Mashkov
0e518e46bb
JS and IDL2K: make dictionary builder functions public
2015-06-22 12:57:23 +03:00
Natalia Ukhorskaya
3caeddd8dc
Minor: log error if we couldn't insert an expression during debug
2015-06-22 10:40:15 +03:00
Natalia Ukhorskaya
0ea65491aa
Disable all jdi request during evaluation
2015-06-22 10:40:13 +03:00
Natalia Ukhorskaya
8bb33f0df5
Support labels evaluation in debugger
2015-06-22 10:40:12 +03:00
Natalia Ukhorskaya
0f108eee2f
Extract function for debugger: add block code fragment as list of statement, not as block expression
2015-06-22 10:40:11 +03:00
Natalia Ukhorskaya
9a09a25df5
Refactoring: extract class for parameter in debugger
2015-06-22 10:40:09 +03:00
Ilya Gorbunov
346ea28337
lazyOf to create already initialized lazy value.
2015-06-19 23:08:17 +03:00
Ilya Gorbunov
b71fe4cd25
Lazy: Rename valueCreated property to isInitialized() function.
...
Notes about behavior of Lazy when initializer throws an exception.
2015-06-19 23:08:15 +03:00
Ilya Gorbunov
ecd131a7a1
Lazy made serializable.
2015-06-19 23:08:14 +03:00
Ilya Gorbunov
bfdb200cc7
Lazy: Use UNINITIALIZED_VALUE instead of null to indicate that value was not initialized. Remove escape and unescape methods.
2015-06-19 23:08:12 +03:00
Ilya Gorbunov
59ff9dc3cf
Document lazy interface and methods.
2015-06-19 23:08:11 +03:00
Ilya Gorbunov
536e669023
Provide Lazy<T> in kotlin package — an interface that represents lazily computed value. Read-only properties can be delegated to lazy with the extension getter. Delegates.lazy and blockingLazy are deprecated.
2015-06-19 23:08:09 +03:00
Ilya Gorbunov
f2788d53c0
Refactor: rename PropertyMetadata parameter from 'desc' to 'property'.
...
Correct test data after parameter has been renamed.
2015-06-19 23:08:08 +03:00
Ilya Gorbunov
6b747cf6f8
Move delegate property interfaces to a separate file.
2015-06-19 23:00:03 +03:00
Ilya Gorbunov
fb6c7e20de
Use identity equals in lazy unescape.
...
#KT-7474 Fixed
2015-06-19 23:00:01 +03:00
Alexey Sedunov
3266d8c29a
Parser: Disable joining complex tokens while parsing type references
...
#KT-8141 Fixed
2015-06-19 21:45:13 +03:00
Alexey Sedunov
0e9bcee0bc
Move: Specify file name in command description
2015-06-19 21:45:12 +03:00
Alexey Sedunov
6376420970
Move: UI Fixed
2015-06-19 21:45:11 +03:00
Alexey Sedunov
96a50f46c2
Move: Fix dialog mnemonics
2015-06-19 21:45:10 +03:00
Alexey Sedunov
dd3ba8675d
Move: Fix handler selection when moving Java class with Kotlin file/class
2015-06-19 21:45:09 +03:00
Alexey Sedunov
cd550ed5ba
Move: Suggest empty package when moving to source root
2015-06-19 21:45:08 +03:00
Alexey Sedunov
aef2443528
Move: Add "Update package directive" option to dialog
...
#KT-6084 Fixed
2015-06-19 21:45:07 +03:00
Alexey Sedunov
111a4a5cbc
Move: Disable "File name" field when switching to "Move to file" mode
2015-06-19 21:45:06 +03:00
Alexey Sedunov
77f2c5d5b9
Move: Fix file rename on undo/redo
2015-06-19 21:45:05 +03:00
Ilya Gorbunov
a80f65cfd9
Do not create empty list when reversing empty collection or array — use singleton empty list instead.
...
#KT-8099 Fixed
2015-06-19 19:41:10 +03:00
Michael Nedzelsky
8a3182d1e7
Update source roots for idea libraries
2015-06-19 15:51:53 +03:00
Nikolay Krasko
d1e7e184b6
Do psi-only checks to avoid unnessasary resolve in creating recursion markers
2015-06-19 14:15:17 +03:00
Mikhail Glukhikh
065db07e1c
More accurate check on an enum entry deprecated super constructor #EA-69735 Fixed
2015-06-19 13:50:49 +03:00
Yan Zhulanow
d0897193e8
kapt: Use actual classpath in the second Kotlin task as well
2015-06-19 02:29:13 +03:00
Yan Zhulanow
5f85a028ae
kapt: Fix ConcurrentModificationException in Gradle
2015-06-19 02:29:13 +03:00
Yan Zhulanow
d9ac8c9d22
kapt: Pass annotation declarations options via Java APT options
2015-06-19 02:29:12 +03:00
Yan Zhulanow
205585c63e
kapt: Support lazy evaluation of additional kapt arguments in test
2015-06-19 02:26:21 +03:00
Yan Zhulanow
8a10de3a26
Add Gradle test for additional kapt arguments
2015-06-19 02:26:20 +03:00
Yan Zhulanow
7f2bd5b9d4
Add basic kapt tests
2015-06-19 02:26:19 +03:00
Yan Zhulanow
fee1726dfb
Write annotations with RetensionPolicy(SOURCE) to light classes
2015-06-19 02:25:41 +03:00
Yan Zhulanow
17e6b8f014
kapt: Lazy evaluation of additional arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
f158b5b0c4
Support additional compiler arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
3ea4306eb9
kapt: Generate stub source file just after Kotlin compile
2015-06-19 02:25:40 +03:00
Yan Zhulanow
37d52501c8
Add simple annotation processor for tests
2015-06-19 02:25:39 +03:00
Michael Nedzelsky
eda7f49b61
fix KT-7879 KotlinJS - Cannot browse jslib sources
...
#KT-7879 Fixed
2015-06-18 19:47:56 +03:00
Alexey Sedunov
17ca0d2c2c
Minor: Extract Preview class
2015-06-18 19:28:08 +03:00
Alexey Sedunov
7ac02d751a
Minor: Use MultiMap
2015-06-18 19:28:07 +03:00
Alexey Sedunov
378c1744cb
Introduce Parameter: Suggest removing extension receiver which becomes unused after new parameter is added
2015-06-18 19:28:06 +03:00