Commit Graph

17924 Commits

Author SHA1 Message Date
Pavel V. Talanov 92faee3fd7 Do not reuse other caches when analyzing synthetic files inside libraries classes
This is no longer correct since libraries have dependencies
2014-09-30 21:59:02 +04:00
Pavel V. Talanov b7dbd7a68d Minor: readable toString for LibraryInfo and LibrarySourceInfo 2014-09-30 21:59:01 +04:00
Pavel V. Talanov a8d77887af Introduce HighlightingWithDependentLibrariesTest
This tests that LibraryInfo dependencies affect source files highlighting
2014-09-30 21:59:01 +04:00
Pavel V. Talanov e25cbcd961 Test for LibraryInfo dependencies 2014-09-30 21:59:00 +04:00
Pavel V. Talanov 23a45ae689 Provide heuristic dependencies for LibraryInfo
This is not and cannot be (with current IDEA model) accurate
For now we use the following approximation:
    If a module dependends on library 'a' and among module's dependencies (including this module)
	there is a module that depends on library 'b' then
	we assume that library 'a' depends on library 'b'
2014-09-30 21:59:00 +04:00
Pavel V. Talanov 691068c0c2 Implement LibraryDependenciesCache 2014-09-30 21:58:59 +04:00
Nikolay Krasko f7c1802fb7 Can't call Kotlin built-in Throwable 2014-09-30 20:44:57 +04:00
Alexey Sedunov 4ca39e8f9a Create From Usage: Quick-fix for local variables 2014-09-30 19:55:46 +04:00
Alexey Sedunov e85d34b445 Create From Usage: Add ability to select val/var when creating property 2014-09-30 19:55:45 +04:00
Alexey Sedunov e9b16f3e1b Create Function From Usage: Use Any if error type is inferred 2014-09-30 19:55:44 +04:00
Alexey Sedunov 854962a139 Create Function From Usage: Fix availability condition 2014-09-30 19:55:43 +04:00
Alexey Sedunov a6ba3a569d Create From Usage: Move "Create function"-related tests to separate directory 2014-09-30 19:55:43 +04:00
Alexey Sedunov 0f43d4d07c Create From Usage: Move callable builder to separate package 2014-09-30 19:55:41 +04:00
Alexey Sedunov be211d7cda Create From Usage: Generalize function builder for both functions and properties 2014-09-30 19:55:40 +04:00
Natalia Ukhorskaya 9032a6166e Fix Android tests 2014-09-30 17:48:40 +04:00
Valentin Kipyatkov 35ebbab733 Fixed smart completion not working when parameter has default value 2014-09-30 15:29:10 +04:00
Valentin Kipyatkov 267aabae12 Smart completion: multiple arguments at once 2014-09-30 15:29:10 +04:00
Natalia Ukhorskaya a04efad059 Fix error message for missing propertyDelegated method in IDE 2014-09-30 15:00:30 +04:00
Natalia Ukhorskaya 6179b4889b Debugger: fix className for properties in class objects 2014-09-30 15:00:29 +04:00
Natalia Ukhorskaya 4994e771d0 Evaluate expression: support EE for shared vars 2014-09-30 15:00:28 +04:00
Natalia Ukhorskaya 8ad18df3fa Evaluate expression: switch off breakpoints during eval4j run 2014-09-30 15:00:27 +04:00
Nikolay Krasko e1c7ad50d6 More changes after replacing config directory
- Plugin auto-enable script updated
 - Don't drop configured folder in update-dependencies
 - Drop test config and system folders in update-dependencies
2014-09-30 13:02:02 +04:00
Alexey Tsvetkov 0af291091e KT-5673: always write val property to backing field 2014-09-29 21:35:30 +04:00
Alexey Tsvetkov b70466f9f3 KT-5673: added tests 2014-09-29 21:35:30 +04:00
Alexey Tsvetkov ed14f86957 KT-4773: use receiver for delegated extension property 2014-09-29 21:35:30 +04:00
Alexey Tsvetkov 3424142b65 KT-4773: added tests 2014-09-29 21:35:30 +04:00
Alexey Tsvetkov f8968c2f77 JS backend minor: added @NotNull annotation to getArguments() 2014-09-29 21:35:30 +04:00
Zalim Bashorov 916cfb7051 Regenerate testData for reservedWords after take was fixed. 2014-09-29 19:47:49 +04:00
Zalim Bashorov 2352085391 Improve testData generator for reserved words.
Cashing iterator in CyclicStream.
Detect generating unexpected testdata file(e.g. may caused because of bug in stdlib).
2014-09-29 19:47:49 +04:00
Michael Nedzelsky 098b4c170f JS backend: fix KT-4297 PrimitiveHashMap returns wrong keys (string instead of original type) 2014-09-29 17:46:33 +04:00
Denis Zharkov f1d9d11590 Store stack values before inlines. #KT-5634 Fixed
Inlining code violates JIT assumptions for OSR in Java 8 in case of
starting with non-empty and containing cycles.

Fix is to mark each inlined block with markers and then store/restore
stack state before and after inlined body.
2014-09-29 17:16:58 +04:00
Michael Bogdanov 469db95662 Inline markers added 2014-09-29 17:16:57 +04:00
Nikolay Krasko e035fc3219 Minor: fix some dictionary suggestions 2014-09-29 14:03:09 +04:00
Nikolay Krasko b79b7554ff Refactoring: move application utility methods from refactoring utility to common place 2014-09-29 14:03:02 +04:00
Nikolay Krasko 89f0c8dc87 Rewrite ApplicationUtils.java to Kotlin 2014-09-29 13:55:47 +04:00
Nikolay Krasko 0a97469ff4 Make special config folder for IDEA to keep separate settings for tests 2014-09-29 13:55:46 +04:00
Alexey Sedunov ff29e581db Create Function From Usage: Add empty lines when inserting new function 2014-09-29 01:27:28 +04:00
Alexey Sedunov afd8809ff5 Create Function From Usage: Wrap build() function in try-finally 2014-09-29 01:27:26 +04:00
Alexey Sedunov 6043c6d0a7 Create Function From Usage: Quick-fix for functions invoked via call expressions 2014-09-29 01:27:25 +04:00
Alexey Sedunov 22e3557895 Extract utility functions from ExtractKotlinFunctionHandler 2014-09-29 01:27:24 +04:00
Alexey Sedunov 67df2b448f Create Function From Usage: Quick-fix for invoke convention 2014-09-29 01:27:23 +04:00
Alexey Sedunov cf59af6c7a Create Function From Usage: Quick-fix for unary operations 2014-09-29 01:27:22 +04:00
Alexey Sedunov 0582cf5db1 Create Function From Usage: Quick-fix for binary operations 2014-09-29 01:27:20 +04:00
Alexey Sedunov ae69bea543 Create Function From Usage: Refactor the function builder 2014-09-29 01:27:19 +04:00
Alexey Sedunov d9318fdc57 Create Function From Usage: Make ClassCandidateListCellRenderer nested class 2014-09-29 01:27:18 +04:00
Alexey Sedunov 06ab4e1c9a Name Validator: Add filtering to collecting validator 2014-09-29 01:27:17 +04:00
Alexey Sedunov 2c3f0f8c29 Name Validator: Translate JetNameValidator to Kotlin 2014-09-29 01:27:16 +04:00
Alexey Sedunov 8ec2b5a973 Name Validator: Remove unused fields and parameters 2014-09-29 01:27:15 +04:00
Alexey Sedunov 5d7a07456d Create Function From Usage: Move type utilities to separate file 2014-09-29 01:27:14 +04:00
Alexey Sedunov 34632f46f6 Create Function From Usage: Translate ClassCandidateListCellRenderer to Kotlin 2014-09-29 01:27:13 +04:00