Commit Graph

27360 Commits

Author SHA1 Message Date
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
Mikhail Glukhikh 98e0771ffa Abstract var setter visibilities: now only private setters are forbidden 2015-10-26 11:55:34 +03:00
Mikhail Glukhikh 5ebbdd9f58 Cleanup: implicit nothing return type is now an error 2015-10-26 11:55:30 +03:00
Alexander Udalov 9d7cc25228 Fix code style settings after language was renamed to Kotlin 2015-10-25 15:52:04 +03:00
Alexey Sedunov 3ba55914c1 Create Test: Postpone J2K conversion until smart mode (matters if the user decides to add library in the Create Test dialog) 2015-10-24 19:50:57 +03:00
Alexey Sedunov b6c01c0f94 Minor: Move DumpService-related functions to dumbUtils.kt 2015-10-24 19:50:56 +03:00
Alexey Sedunov 8d3296e08d Change Signature: Search & process as-property usages of Java methods (This ixes some muted tests on Change Signature for properties).
Improve test data
2015-10-24 19:50:55 +03:00
Alexey Sedunov ad0c12935b Find Usages: Include super declarations when highliting usages in the current file 2015-10-24 19:50:54 +03:00
Alexey Sedunov 9c360ef05a Find Usages: Look for as-property usages of Java methods 2015-10-24 19:50:53 +03:00
Alexey Sedunov 7e9222f70a Extraction Engine: Set default visibility to 'public' 2015-10-24 19:50:52 +03:00
Alexey Sedunov 3fd6864461 Extraction Engine: When extracting to enum class body, place new declaration after the last entry
#KT-9629 Fixed
2015-10-24 19:50:52 +03:00
Alexey Sedunov 40f2a983cc Formatter: Spacing before after semicolon in enum classes 2015-10-24 19:50:51 +03:00
Alexey Sedunov 98b3919824 J2K: KtClassBody 2015-10-24 19:50:50 +03:00
Alexey Sedunov d8864544d2 J2K: Rename KtClassBody (.java -> .kt) 2015-10-24 19:50:49 +03:00
Alexey Sedunov ca87e7933f Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Alexey Sedunov 5dc0e7f2d5 Extraction Engine: Use original topmost descriptors when validating extracted code (fixes 'mutablyFlexibleType' test which failed after migration to generic contains/remove/etc. members in collections) 2015-10-24 19:50:48 +03:00
Alexey Sedunov 07259fa090 Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass 2015-10-24 19:50:47 +03:00
Nikolay Krasko 3c07bc3df7 Import all components and delegates accessors if possible 2015-10-23 22:07:52 +03:00
Alexander Udalov 1517a099d0 Search for JvmName also among use-site targeted annotations
#KT-9699 Fixed
2015-10-23 19:03:50 +03:00
Alexander Udalov ae4c7b5a61 Minor, rename codegen tests on platformName and platformStatic 2015-10-23 19:03:49 +03:00
Michael Bogdanov 18f3eb87e4 INSTANCE field deprecated in companion object
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object

 #KT-9692 Fixed
2015-10-23 17:39:27 +03:00
Nikolay Krasko 7927185cc7 More fixes in version regexp and move override-version call to the place where compiler is downloaded 2015-10-23 13:17:08 +03:00