Svetlana Isakova
72e9822d99
All RESOLVED_CALL getters replaced with util methods
...
JetElement.getResolvedCall(BindingContext)
JetElement.getResolvedCallForSure(BindingContext)
2014-07-08 14:57:37 +04:00
Svetlana Isakova
f24442b90e
Added ArgumentMatchStatus.MATCH_MODULO_UNINFERRED_TYPES
2014-07-08 14:48:17 +04:00
Alexander Udalov
b9fd52739f
Move around some descriptor implementations
...
- mutable class, mutable package fragment and their dependencies go to module
'frontend'
- ModuleDescriptorImpl and PackageFragmentDescriptorImpl are moved to the
package "impl" in their module
2014-07-07 18:15:31 +04:00
Evgeny Gerashchenko
6501066274
Added hacky checks for accessing compiled functions from our module via package part instead of facade.
...
#KT-4590 fixed
2014-07-07 17:41:34 +04:00
Michael Bogdanov
14788213a2
Annotation parameter processing util
2014-07-07 10:51:47 +04:00
Andrey Breslav
98e87f2f95
Removing unneeded "public override val" from constructors across the project
...
#KT-4295 Fixed
2014-07-05 18:31:55 +04:00
Andrey Breslav
06d060d5de
KT-4295 Wrong diagnostic about "weaken access privilege" when override properties in constructor
...
#KT-4295 Fixed
2014-07-05 17:47:00 +04:00
Pavel V. Talanov
23c9080ff3
Drop MigrateSureInProjectFix
2014-07-03 20:46:53 +04:00
Pavel V. Talanov
9c46f053b6
Change PluginJetFilesProvider.allFilesInProject to a simpler implementation
2014-07-03 20:46:52 +04:00
Pavel V. Talanov
0f5de48157
Drop JetFilesProvider service
2014-07-03 20:46:51 +04:00
Pavel V. Talanov
0a43c38bae
Change AnalyzerFacade#createSetup to accept a list of synthetic files and a scope for physical source files
...
Make DeclarationProviderFactory a project service
2014-07-03 20:46:50 +04:00
Pavel V. Talanov
f7351a72de
Simplify KotlinCacheService#isFileInScope()
2014-07-03 20:46:49 +04:00
Pavel V. Talanov
f4bd022907
Do not use JetFilesProvider in PositionManagerTestCase
2014-07-03 20:46:48 +04:00
Pavel V. Talanov
9b5f349e61
Drop JetFilesProvider#allPackageFiles() and sampleToAllFilesInModule()
2014-07-03 20:46:47 +04:00
Pavel V. Talanov
6e82a046e2
JetPositionManager#prepareTypeMapper() does not use JetFilesProvider
2014-07-03 20:46:46 +04:00
Pavel V. Talanov
9f9ddbebf4
DebuggerUtils#findSourceFileForClass() doesn't use JetFilesProvider
2014-07-03 20:46:46 +04:00
Pavel V. Talanov
b2c3a7d501
Rename: DescriptorDeserializersStorage -> DescriptorLoadersStorage
2014-07-03 20:46:45 +04:00
Pavel V. Talanov
123523d1dc
Drop ClassDataFinder#getClassNames()
2014-07-03 20:46:42 +04:00
Pavel V. Talanov
0c8956a36e
Refactor: DescriptorFinder -> ClassDataFinder
...
Deserialization subsystem only need to know about the way to obtain class data, it can construct descriptors itself (no need to call DeserializedClassDescriptor constructor from other modules)
2014-07-03 20:46:41 +04:00
Pavel V. Talanov
53337f793b
Move caching of deserialized classes to new component ClassDeserializer
...
Drop AbstractDescriptorFinder
2014-07-03 20:46:40 +04:00
Pavel V. Talanov
245919d691
Use module to resolve annotation classes in AnnotationDescriptorLoader
2014-07-03 20:46:36 +04:00
Pavel V. Talanov
d961d17cd4
Fix DeserializerForDecompiler: create package fragment provider for missing dependencies
2014-07-03 20:46:35 +04:00
Pavel V. Talanov
7ee7047753
Deserializer: use module to search for dependencies in TypeDeserializer
2014-07-03 20:46:33 +04:00
Alexander Udalov
c0fc5cfb53
Disallow named arguments for SAM adapters
...
SAM adapters are Java functions, and named arguments are not allowed for Java
functions
#KT-5022 Fixed
2014-07-02 20:35:31 +04:00
Andrey Breslav
6e1047685c
Fix EA-57538 - assert: IDELightClassGenerationSupport.getContextForPackage
2014-07-02 19:48:09 +04:00
Andrey Breslav
1d45d20099
Change inspections' level to "WEAK WARNING" + disable "Explicit 'get'" by default
2014-07-02 14:02:47 +04:00
Nikolay Krasko
465dd45eae
Merge remote-tracking branch 'origin/master' into idea14
2014-07-02 09:21:40 +04:00
Alexander Udalov
59777e7df6
Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class
...
Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
2014-07-02 01:26:18 +04:00
Nikolay Krasko
cab3161ad7
Add sdk field to Kotlin new project wizard step in Idea 14
...
#KT-5338 Fixed
2014-06-30 15:37:20 +04:00
Nikolay Krasko
3b02f0e422
Load default descriptor in debugger tests
2014-06-27 15:21:52 +04:00
Nikolay Krasko
e7a1cba1eb
Merge remote-tracking branch 'origin/master' into idea14
...
Conflicts:
update_dependencies.xml
2014-06-27 14:44:05 +04:00
Nikolay Krasko
6095faed14
Make debugger tests work with Idea 14
2014-06-27 14:42:14 +04:00
Alexander Udalov
c56f397f71
Don't fail when "deprecated" doesn't have a message
...
EA-57345
2014-06-26 22:03:00 +04:00
Alexander Udalov
eb11a7dc88
Move utilities out of runtime modules
...
DescriptorUtils & DescriptorSubstitutor contained a lot of utilities that were
used only in compiler & IDE. Move them closer to their usages
2014-06-26 22:02:59 +04:00
Alexander Udalov
ac8eb0f5e8
Add PackageClassUtils.getPackageClassInternalName()
2014-06-26 20:57:39 +04:00
Alexander Udalov
80b7f88c60
Regenerate tests
2014-06-26 20:57:39 +04:00
Nikolay Krasko
efa60fc1a4
Merge remote-tracking branch 'origin/HEAD' into idea14
...
Conflicts:
idea/tests/org/jetbrains/jet/plugin/compilerMessages/JetCompilerMessagingTest.java
idea/tests/org/jetbrains/jet/plugin/compilerMessages/K2JSCompilerMessagingTest.java
2014-06-26 16:46:09 +04:00
Alexander Udalov
2144088627
Don't output full compiler FQ name on -printArgs
2014-06-25 22:32:14 +04:00
Alexey Sedunov
cd44bc3fb0
Introduce Variable: Do not compare explicit receivers using ReceiverValue
...
#KT-5319 Fixed
2014-06-25 19:08:04 +04:00
Alexey Sedunov
1452ffec6d
Find Usages: Classify package usages
...
#KT-4882 Fixed
2014-06-25 19:08:03 +04:00
Alexey Sedunov
86c8bfc864
Find Usages: Add support of searching by reference in AbstractFindUsagesTest
2014-06-25 19:08:01 +04:00
Alexey Sedunov
4d075b5437
Extract Function: Make nameForRef extension property (so that it's not overriden by delegation and parameter rename works properly)
2014-06-25 19:08:00 +04:00
Alexey Sedunov
15611da98b
Extract Function: Add header to parameter table
2014-06-25 19:07:59 +04:00
Alexey Sedunov
103daa841f
Extract Function: Simplify computation of return type by pseudocode instruction
2014-06-25 19:07:58 +04:00
Nikolay Krasko
44e41c5d96
Smart enter for do-while fixed
...
- Do not brake code if some expression parsed as body for bare "do"
- Fix isStatement() check
2014-06-25 17:45:37 +04:00
Nikolay Krasko
a0e45e9a12
Merge master into idea14
...
Conflicts:
.idea/runConfigurations/All_Tests.xml
idea/src/org/jetbrains/jet/plugin/conversion/copy/ConvertJavaCopyPastePostProcessor.kt
idea/tests/org/jetbrains/jet/plugin/refactoring/introduce/introduceVariable/AbstractJetExtractionTest.kt
idea/tests/org/jetbrains/jet/shortenRefs/AbstractShortenRefsTest.kt
2014-06-25 16:26:01 +04:00
Nikolay Krasko
3f2d65762b
Revert temporary commit "-- Attempt to fix completion for extensions"
...
This reverts commit b70f9cd675 .
2014-06-25 14:52:41 +04:00
Nikolay Krasko
fd4aeb75fc
Smart enter for one line statements in for, while and do-while
...
#KT-3600 In Progress
2014-06-25 14:23:00 +04:00
Nikolay Krasko
431f3ad185
Smart enter in function literal expression
...
#KT-3600 In Progress
2014-06-25 14:23:00 +04:00
Nikolay Krasko
d4ac3454ce
Smart enter for fun declaration
...
#KT-3600 In Progress
2014-06-25 14:22:59 +04:00