Commit Graph

936 Commits

Author SHA1 Message Date
Michael Nedzelsky 6ebe0c30ec fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed
2015-10-30 14:40:46 +03:00
Michael Nedzelsky 190bab099c fix KT-9441 Unable to Access Internal Classes from Test Code within Same Module
#KT-9441 Fixed
2015-10-28 01:58:54 +03:00
Valentin Kipyatkov 3aa2a60dc1 Repl injects scope via own FileScopeProvider implementation instead of AdditionalScopes 2015-10-27 18:24:55 +03:00
Pavel V. Talanov bf6464ddcd Repl: clearer separation of ide and console logic
Fix a bug with redundant new lines printed in console mode
2015-10-26 20:17:45 +03:00
Pavel V. Talanov e10df1a05d Repl: notify about successfully executing lines 2015-10-26 20:17:41 +03:00
Pavel V. Talanov b07fb88a22 Repl, minor: more meaningful method names 2015-10-26 20:17:40 +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 6ca6718271 Dropped BindingContext.RESOLUTION_SCOPE 2015-10-26 19:30:01 +03:00
Valentin Kipyatkov c93de93332 FileScopeProvider.AdditionalScopes return ImportingScope's 2015-10-26 19:30:00 +03:00
Dmitry Jemerov d6a3870101 rename Kt to Kotlin in KtType, KtIcons 2015-10-20 16:23:31 +02:00
Dmitry Jemerov 49033e0002 rename Jet* classes to Kt* 2015-10-19 21:35:30 +02:00
Ilya Chernikov 25a128a8c6 Removing environment reuse diagnostics, because it breaks many tests
(cherry picked from commit 857488f)
2015-10-19 18:01:44 +02:00
Dmitry Jemerov 56735b3302 system property to keep application environment alive across multiple compilations
(cherry picked from commit a6b269c)
2015-10-19 18:01:43 +02:00
Dmitry Petrov 149e70aa07 Dropping package facades:
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Mikhail Glukhikh f61aa18a05 Code cleanup: get rid of _ (mostly renamed to arg) 2015-10-19 15:24:42 +03:00
Nikolay Krasko cf7f94a559 Process request for searching class with empty qualified name without errors 2015-10-16 16:28:02 +03:00
Alexander Udalov fb5d8de84b Use type table in DescriptorSerializer, add switch to enable/disable, test 2015-10-15 18:25:40 +03:00
Dmitry Petrov 8cd624a58a Drop package facades: code cleanup in Kotlin project. 2015-10-15 10:33:47 +03:00
Dmitry Jemerov 7e2c2ef678 restore compilation after rebase of dropping external annotations; fix affected tests 2015-10-09 11:52:02 +02:00
Alexander Udalov c41aefe2cb Drop JVMConfigurationKeys.ANNOTATIONS_PATH_KEY and external annotations in CLI
CoreExternalAnnotationsManager is moved to the only usage left, which is in the
test
2015-10-09 11:52:00 +02:00
Alexander Udalov 13c54a2678 Drop external annotations support in build tools
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Ilya Gorbunov fa491c8f1f Replace IoPackage legacy facade with corresponding package parts. 2015-10-07 22:36:31 +03:00
Ilya Gorbunov 90e5ee8a7e Replace KotlinPackage legacy facade with corresponding package parts. 2015-10-07 22:36:29 +03:00
Ilya Gorbunov 37a0347669 Replace sort with sorted. 2015-10-07 22:36:16 +03:00
Dmitry Jemerov c5d3673b6b change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage 2015-10-06 16:14:07 +02:00
Pavel V. Talanov b79881848f jvm-backend, cli: Replace some usages of KotlinBuiltIns.getInstance() by JvmPlatform.builtIns 2015-10-01 17:53:10 +03:00
Alexander Udalov 34d14939f9 Fix build after change in property accessor names 2015-10-01 02:14:25 +03:00
Valentin Kipyatkov 5afa91d4ec Restored back temporarily renamed properties 2015-09-30 22:50:27 +03:00
Dmitry Petrov 3dfe9951ef Incremental compilation support for multifile classes. 2015-09-30 09:56:05 +03:00
Valentin Kipyatkov 98da621ab3 Temporary rename of properties starting with "is" and used from java code (will revert back after changing accessor naming policy) 2015-09-29 18:32:23 +03:00
Stanislav Erokhin fd503d0367 Minor. Replaced TYPE_RESOLUTION_SCOPE to LEXICAL_SCOPE 2015-09-29 13:33:55 +03:00
Michael Nedzelsky 0035bbba7c fix check for internal from another module in imports and file level annotations 2015-09-27 20:37:41 +03:00
Yan Zhulanow b73f91d16b Fix "unresolved widget fqname" bug in Gradle 2015-09-25 20:47:54 +03:00
Alexey Tsvetkov 68437175f6 Enable disabling incremental compilation for tests 2015-09-25 20:11:57 +03:00
Michael Nedzelsky 15edbbb60c move service declaration to cli 2015-09-25 18:10:58 +03:00
Michael Nedzelsky b8ab8bcfca check for access to internal elements from another module in jps-plugin
hack for access from tests to internal declarations in production code

fix AbstractCompileKotlinAgainstKotinTest: add information about output directory in order to correct check for internal visibility.
2015-09-25 14:02:29 +03:00
Dmitry Kovanikov 87969f1660 Minor: change repl.ideMode property name to kotlin.repl.ideMode 2015-09-22 21:11:55 +03:00
Dmitry Kovanikov bfe01cccea Repl: fix bug in handling multiline commands 2015-09-22 21:11:54 +03:00
Pavel V. Talanov 6282a16013 Minor: remove duplicate registering of module name 2015-09-21 14:41:38 +03:00
Dmitry Kovanikov e4f44d7754 [cli-repl] Small refactoring
Add `flushHistory` to ReplCommandReader
Pass `WhatNextAfterOneLine` to `readLine`
2015-09-21 14:41:37 +03:00
Dmitry Kovanikov cc2e320228 [cli-repl] More accurate line breaks handling 2015-09-21 14:41:36 +03:00
Dmitry Kovanikov 18304c7d7b [cli-repl] Create wrapper for console reader 2015-09-21 14:41:35 +03:00
Dmitry Kovanikov 4aa5a90370 [cli-repl] Minor: change API to support ABI reporting 2015-09-21 14:41:35 +03:00
Pavel V. Talanov 8a944e099e Minor: use proper utility in ReplErrorLogger 2015-09-21 14:41:33 +03:00
Dmitry Kovanikov 3f44fe5955 [cli-repl] Optimize System.in to send "change indicator" message only when readLine is called 2015-09-21 14:41:32 +03:00
Dmitry Kovanikov 9bf0c8453d [cli-repl][ide-console] Add logging of internal errors
Rename `jvmStatic` to `@JvmStatic`
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov b4224bf9f3 [ide-console][cli-repl] Add more icons for readLine commands 2015-09-21 14:41:29 +03:00
Dmitry Kovanikov 42c0396308 [cli-repl] Support readLine() during repl session 2015-09-21 14:41:27 +03:00
Dmitry Kovanikov 48866fbeeb [ide-console] Remove INCOMPLETE support from ide console 2015-09-21 14:41:25 +03:00
Dmitry Kovanikov 058b539004 [ide-console][cli-repl] Decorations for smooth console view
Icons on history commands
Linebreaks between `command-result` blocks
Exceptions stacktrace and icons
Bold invitation
2015-09-21 14:41:24 +03:00