Ilya Gorbunov
d2feefbf3a
Document map delegation accessors and withDefault functionality.
2015-06-24 21:39:36 +03:00
Ilya Gorbunov
2f8a431a79
Change getOrElse and getOrPut implementations so that double lookup is made when map doesn't contain value, rather when does.
2015-06-24 21:39:34 +03:00
Ilya Gorbunov
5306e88425
Provide the way to specify implicit default for a readonly or mutable map.
...
Refactor: rename default key and value providers.
2015-06-24 21:39:33 +03:00
Ilya Gorbunov
d137a83471
Simple extensions to delegate readonly property to Map and read-write property to MutableMap without delegate wrappers.
...
Delegation to map with custom key selector by map accessors.
2015-06-24 21:39:31 +03:00
Ilya Gorbunov
2989586582
Change Lazy from an interface to an abstract class with internal constructor to prevent implementations violating its contract.
2015-06-24 21:39:30 +03:00
Evgeny Gerashchenko
55dad40650
Added reflect.jar as dependency for proguard. Fixed build.
2015-06-24 20:51:17 +03:00
Evgeny Gerashchenko
041df7fd15
Made it possible to easily enable debug logging in incremental compilation tests.
2015-06-24 18:01:51 +03:00
Evgeny Gerashchenko
23eab73507
Added extra logging in incremental cache and Kotlin Builder.
2015-06-24 18:01:51 +03:00
Mikhail Glukhikh
5fabb962ae
Private constructors are now accessed via synthetic constructor with DEFAULT_CONSTRUCTOR_MARKER as an additional argument #KT-6299 Fixed
...
A set of tests provided. Some external tests fixed accordingly.
Companion object creation changed accordingly.
Derived classes now can use base class with the private constructor.
Refactoring of AccessorForFunctionDescriptor.
2015-06-24 12:30:11 +03:00
Mikhail Glukhikh
83ce674a37
Warning message changed #KT-8143 Fixed
2015-06-24 12:30:08 +03:00
Michael Bogdanov
9ef00f0621
Code clean
2015-06-24 09:48:56 +03:00
Michael Bogdanov
b1c5002889
Remove finally marker at inlining
2015-06-24 09:48:55 +03:00
Michael Bogdanov
a018e4e12a
Updated exception table generation: support new exception table in non-local returns
2015-06-24 09:48:55 +03:00
Michael Bogdanov
93c5a52d13
Updated exception table generation: try block return moved to uncatched interval
...
#KT-8148 Fixed
2015-06-24 09:48:55 +03:00
Michael Bogdanov
11ab2148b2
Fixed scipt execution classpath
2015-06-24 09:48:55 +03:00
Michael Nedzelsky
71729031c1
fix maven build
2015-06-24 01:35:25 +03:00
Alexander Udalov
0593b833b5
Check extension receiver properly for property references
...
Without this, the unrelated type specified on the LHS of a property reference
literal was considered to be an extension receiver of the candidate, and the
resolution was erroneously successul. This is only reproducible for properties,
because if we're trying to resolve an extension, we consider all properties
from the scope, even non-extensions, because there may be a property of an
extension-functional type (T.() -> R). (We don't do this for functions.)
#KT-7430 Fixed
#KT-7945 Fixed
2015-06-23 23:35:17 +03:00
Natalia Ukhorskaya
25210c0c18
Merge pull request #707 from JetBrains/rr/yole/run-configurations
...
add missing UI for specifying alternative JRE path to Kotlin run configuration
2015-06-23 19:06:28 +03:00
Dmitry Jemerov
02211f1431
reorder fields to match Java
2015-06-23 18:02:15 +02:00
Dmitry Jemerov
a3b543a05a
change module chooser to look like in IDEA's Java run configuration
2015-06-23 17:48:34 +02:00
Dmitry Jemerov
e3846f0150
use PanelWithAnchor to align all labels and text fields in Kotlin run configuration
2015-06-23 17:16:32 +02:00
Dmitry Jemerov
1ddf87fa2e
validate some of the settings in KotlinRunConfiguration
2015-06-23 16:32:15 +02:00
Dmitry Jemerov
5b1d393d05
report JIT time
2015-06-23 16:24:49 +02:00
Dmitry Jemerov
2216ec1b68
report GC time
2015-06-23 16:24:48 +02:00
Dmitry Jemerov
6ca4dd32cf
include module names in analyze and generate perf reports
2015-06-23 16:24:48 +02:00
Dmitry Jemerov
ebcd7de26b
report meaningful init times for subsequent runs when -Xrepeat flag is used
2015-06-23 16:24:47 +02:00
Dmitry Jemerov
669cd9e514
environment variable for enabling perf
2015-06-23 16:24:47 +02:00
Dmitry Jemerov
7cfb91192f
K2JVMCompiler: cleanup after J2K
2015-06-23 16:24:46 +02:00
Dmitry Jemerov
0600abd6bd
K2JVMCompiler: J2K
2015-06-23 16:24:46 +02:00
Dmitry Jemerov
d84c9fa59e
K2JVMCompiler: rename to .kt
2015-06-23 16:24:45 +02:00
Sergey Mashkov
ab5d8d12ea
IDL2K declarations order stability
2015-06-23 17:21:13 +03:00
Denis Zharkov
8412984774
Delete IdeaJdkAnnotationsReflectedTest
...
Kotlin JDK annotations are empty now
2015-06-23 16:44:47 +03:00
Denis Zharkov
602a1c11ac
Fix testData: parameter names are dropped from annotations
2015-06-23 16:44:47 +03:00
Denis Zharkov
35fa4eadd8
Attach ideaSDK/jdkAnnotations.jar to external annotations for intention tests
...
As they're always attached to real SDKs in real projects
2015-06-23 16:44:47 +03:00
Denis Zharkov
ad99b079b9
Update intention tests: don't use java.util.Collections.*
...
Because their behaviour depends on annotations that we are going to drop
2015-06-23 16:44:46 +03:00
Denis Zharkov
d18c1ca32e
Update J2K behavior with empty jdk annotations
2015-06-23 16:44:46 +03:00
Denis Zharkov
80a7f79f12
Make jars with JDK/Android SDK annotations empty
...
- Compiler use them only for getting parameter names and we are OK to drop it
- IDE plugin can use jdkAnnotations from ideaSDK
2015-06-23 16:44:27 +03:00
Nikolay Krasko
8013cbe4ef
Fix forEach method in TrackingSlicedMap
2015-06-23 16:00:40 +03:00
Nikolay Krasko
237987fcc5
Workaround for non-thread-safe intentions text state
2015-06-23 16:00:38 +03:00
Nikolay Krasko
87f325c44b
Use common Kotlin test supertype to avoid invalid root access assert
2015-06-23 16:00:21 +03:00
Nikolay Krasko
ef7cc6ae10
Force openning project
2015-06-23 15:59:40 +03:00
Nikolay Krasko
3d8f04e4fe
Update test data: Idea can't parse description with "ctrl+ alt + b" promotion
2015-06-23 15:59:38 +03:00
Evgeny Gerashchenko
2820dbf181
Removed workaround for exception in IDEA.
2015-06-23 15:59:36 +03:00
Nikolay Krasko
66a4e0f299
Mute error about org.iq80.snappy.Snappy
2015-06-23 15:59:34 +03:00
Nikolay Krasko
549987b27f
Ignore actions with empty message
2015-06-23 15:59:33 +03:00
Nikolay Krasko
94db320f7a
Update hack for restore validity of builtins files
2015-06-23 15:59:31 +03:00
Nikolay Krasko
53ab02e877
Generate private constructors for enums in coverter
2015-06-23 15:59:29 +03:00
Nikolay Krasko
b64aff9f9a
Add actions with "Supress " prefix to irrelevant group
2015-06-23 15:59:27 +03:00
Nikolay Krasko
737ad5b9e0
Search in index under read action in tests
2015-06-23 15:59:25 +03:00
nik
3136e5eefd
removed registration of deprecated extensions points without implementations
2015-06-23 15:59:24 +03:00