Commit Graph

23475 Commits

Author SHA1 Message Date
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
Alexey Sedunov 5409b19abc Change Signature: Do not replace implicit receivers in calls with at least one explicit receiver
#KT-7988 Fixed
2015-06-18 19:28:05 +03:00
Alexey Sedunov d58112a32a Extract Function: Use intersection type to compute candidate types for parameters
#KT-8103 Fixed
2015-06-18 19:28:04 +03:00
Alexey Sedunov 1a9003c325 Copy: Fix Kotlin file copying. Drop useless JetCopyClassHandler
#KT-7515 Fixed
2015-06-18 19:28:03 +03:00
Alexey Sedunov 683a8895df Introduce Variable: Do not insert unused variable references
#KT-7227 Fixed
2015-06-18 19:28:02 +03:00
Alexey Sedunov 1506531e59 Rename: Fix class rename by constructor reference 2015-06-18 19:28:01 +03:00
dnpetrov 36ae8790a1 KT-8011 Compiler crashes on attempt to create local class inside lambda
- use StackValue from upper-level context if local lookup fails

 #KT-8011 Fixed
2015-06-18 17:40:24 +03:00
Michael Nedzelsky dba29fff0d fix KT-7932 plugin generates absolute path to kotlin-jslib.jar for JS module (in .iml files)
#KT-7932 Fixed
2015-06-18 16:54:35 +03:00