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
Pavel V. Talanov
37bcd455b5
Make ModuleDescriptor#getPackage() return not null lazy object with lazy scope
...
Refactor: no need to create package view in order to obtain its subpackages
LazyPackageViewDescriptorImpl to replace PackageViewDescriptorImpl
This allows to avoid computations when package views are requested but their contents not necessarily queried
For example: DescriptorResolver.resolvePackageHeader()
2015-06-23 15:19:06 +03:00
Pavel V. Talanov
1cf38e4799
Convert PackageViewDescriptor to Kotlin
2015-06-23 15:18:57 +03:00
Pavel V. Talanov
19cca8f930
Fix corner case in KotlinCopyPasteReferenceProcessor
2015-06-23 15:18:28 +03:00
Pavel V. Talanov
1ef125fa2c
Change testa data according to semantics change
2015-06-23 14:35:46 +03:00
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