Commit Graph

27381 Commits

Author SHA1 Message Date
Pavel V. Talanov b5dfbcdde8 Repl, minor: extract function 2015-10-26 20:17:40 +03:00
Pavel V. Talanov b07fb88a22 Repl, minor: more meaningful method names 2015-10-26 20:17:40 +03:00
Pavel V. Talanov e08ce5545e Repl test: increase waiting time
Hoping to prevent failing on slow teamcity agents
2015-10-26 20:17:39 +03:00
Alexander Udalov d021821db5 Minor, add constructors with messages and causes to KotlinReflectionNotSupportedError 2015-10-26 19:40:04 +03:00
Dmitry Petrov 09f0b3fe87 KT-9721:
- Kotlin/JS still uses package facades.
Handle them properly in StubClassBuilder parentStack.
- Generate backend-related diagnostics in IDE
using light class generation for file facades.
- Drop PackageFacadeStubCache.
2015-10-26 19:37:52 +03:00
Valentin Kipyatkov 4fcd35a5a9 Introduced LexicalScope for file top-level to obtain ownerDescriptor 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov 7a33a16481 Removed one more usage of asKtScope() 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov c239e84aa0 Removed hack for package directive completion 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov a5982281af Temporary fix for problem with ownerDescriptor in ImportingScope 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov 03f18e1ac1 Extraction refactorings tests: do not generate conflict files in case of any exception from code 2015-10-26 19:30:05 +03:00
Valentin Kipyatkov c44dc41431 Fixed getting ownerDescriptor from ImportingScope 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov 95a0372b43 Using PsiElement.getResolutionScope instead of LEXICAL_SCOPE from BindingContext 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov 6af71caaa9 Moved PsiElement.getResolutionScope utliity into ide-common 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov a6165f4690 Got rid of two getContributedDescriptors calling each other 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov ed6f845377 Added utility functions for synthetic extensions in scope 2015-10-26 19:30:04 +03:00
Valentin Kipyatkov c09cf63424 Added utility functions for functions and variables in scope 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov 5f06f53bfd Renames 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov e1b8b21abb Minor 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov 6b85bf24a0 One usage of asLexicalScope removed 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov b4dbb666fc More usages of asKtScope() removed 2015-10-26 19:30:03 +03:00
Valentin Kipyatkov 9a99559b12 No getFileKtScope 2015-10-26 19:30:02 +03:00
Valentin Kipyatkov 2ddaa15036 Removed more usages of asKtScope() 2015-10-26 19:30:02 +03:00
Valentin Kipyatkov 2b325327f4 Dropped one usage of asKtScope() 2015-10-26 19:30:02 +03:00
Valentin Kipyatkov 0b34fecf94 Fixed test data but template macro "kotlinSuggestVariableName()" must be completely rewritten 2015-10-26 19:30:02 +03:00
Valentin Kipyatkov 470e9ba776 Fixed 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 6ca6718271 Dropped BindingContext.RESOLUTION_SCOPE 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 44415cf321 Less use of RESOLUTUON_SCOPE from BindingContext 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 961ffee8ee Converted to Kotlin 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov 3eb1cff36a Less use of KtScope 2015-10-26 19:30:00 +03:00
Valentin Kipyatkov c93de93332 FileScopeProvider.AdditionalScopes return ImportingScope's 2015-10-26 19:30:00 +03:00
Valentin Kipyatkov 99aeb305db Less conversion between KtScope and ImportingScope 2015-10-26 19:30:00 +03:00
Valentin Kipyatkov 3471667aa0 Minor refactoring 2015-10-26 19:30:00 +03:00
Valentin Kipyatkov 6252fb04c4 Fixing replaceFileScope and other stuff 2015-10-26 19:29:59 +03:00
Valentin Kipyatkov 9eeb051bd4 Refactoring FileScope into a chain of ImportingScope's (all compiler tests pass) 2015-10-26 19:29:59 +03:00
Valentin Kipyatkov 712e294eac Renamed FileScope to ImportingScope and it now may have parent. But all implementations currently have parent == null 2015-10-26 19:29:59 +03:00
Alexey Tsvetkov 294559a94f Overridable val should not be treated as constant
#KT-9443 fixed
2015-10-26 19:23:09 +03:00
Alexey Tsvetkov 0a69cca066 Box primitive types in position of generic receiver
#KT-9469 fixed
2015-10-26 18:36:59 +03:00
Alexey Tsvetkov 7c54024a22 Fix private setter visibility for generic class
#KT-8888 fixed
2015-10-26 18:36:59 +03:00
Ilya Chernikov 7dbb0dff2c Placing forced shutdown timeout into daemon options, setting default to 10s, removing appropriate property as obsolete 2015-10-26 15:59:11 +01:00
Ilya Chernikov 80fb9b8473 Removing try/catch in the lock file acquiring algo, to avoid hanging like in case described here - https://devnet.jetbrains.com/message/5561306
it should now fail and fallback to in-process compilation
2015-10-26 15:59:10 +01:00
Ilya Chernikov 2fa0988c85 Increasing socket backlog size in attempt to solve problems like EA-74493 (connection refused) 2015-10-26 15:59:09 +01:00
Denis Zharkov 881fe640e7 Create non-default getter for Enum.values property
#KT-9687 Fixed
2015-10-26 17:32:15 +03:00
Nikolay Krasko 234360a471 Fix compilation in KotlinFrameExtractVariablesProvider
(cherry picked from commit ed06e05)
2015-10-26 17:16:52 +03:00
Natalia Ukhorskaya 15531d0bb7 Update since for plugin due to compilation error in KotlinFrameExtractVariablesProvider 2015-10-26 17:16:51 +03:00
Natalia Ukhorskaya 4f64661db0 Update to IDEA 143.379.11 2015-10-26 17:16:50 +03:00
Mikhail Glukhikh 4b6cb3ebce A new kind of synthetic accessors for backing fields, if accessed inside lambda / object literal / local class #KT-9657 Fixed
A set of tests provided
Also #KT-4867 Fixed
Also #KT-8750 Fixed
Slight codegen refactoring
2015-10-26 16:37:32 +03:00
Dmitry Petrov ccad435850 KT-9644: override default behavior for non-local return in FixStackAnalyzer 2015-10-26 15:56:57 +03:00
Nikolay Krasko 5d1bcbf2be Try to cancel jar processing if some thread do it already 2015-10-26 15:08:54 +03:00
Mikhail Glukhikh d0e01153ec Effective visibility: java package-private is now considered as equivalent to Kotlin internal #KT-9755 Fixed 2015-10-26 15:00:14 +03:00
Mikhail Glukhikh 994feafd6e Lookup fixed to search for SyntheticFieldDescriptor inside MethodContext 2015-10-26 13:36:34 +03:00