Commit Graph

23537 Commits

Author SHA1 Message Date
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
Natalia Ukhorskaya c2a1dc4c90 Fix compilation errors 2015-06-23 15:59:22 +03:00
Natalia Ukhorskaya aaa4e747db Fix tests: type for string isn't now rendered by default 2015-06-23 15:59:19 +03:00
Natalia Ukhorskaya ba6b378378 Fix tests: register JavaClassSupers service in WebDemoTest 2015-06-23 15:59:17 +03:00
Nikolay Krasko 757b963731 Register JavaClassSupers service 2015-06-23 15:59:14 +03:00
Alexey Sedunov 73b2de95ab Create from Usage: Do not delete temporary file as this operation is not supported by IDEA anymore 2015-06-23 15:59:12 +03:00
Nikolay Krasko 8e51f1aadd Idea moved to junit-4.12 2015-06-23 15:59:10 +03:00
Nikolay Krasko 2ebdd32267 Make compatible with 142 idea branch 2015-06-23 15:59:08 +03:00
Nikolay Krasko 2536648e60 Update to Idea 15 eap (142.2491.1) 2015-06-23 15:59:06 +03:00
Pavel V. Talanov 16ffdc0713 ModuleResolverProvider: ResolveSessionForBodies are created lazily 2015-06-23 15:19:40 +03:00
Pavel V. Talanov f454b7d15e AnalyzerFacade: resolvers for modules are created lazily 2015-06-23 15:19:31 +03:00
Pavel V. Talanov 96199ecc1f Refactor AnalyzerFacade: move module.initialize() outside of createResolverForModule() 2015-06-23 15:19:22 +03:00
Pavel V. Talanov 997a6f1381 Fix import resolution for some cases of malformed imports ("import some.")
Fix parsing import directives in case of non-identifier after "import"
Add diagnostics test for malformed imports
2015-06-23 15:19:14 +03:00