Ilya Gorbunov
47b3859641
Deprecate monitorEnter and monitorExit not to be used from user code.
2015-11-21 00:54:23 +03:00
Ilya Gorbunov
9d24f1d1cf
Delegates.mapVal and mapVar preserve type of the receiver to when calling default value lambda.
2015-11-21 00:54:22 +03:00
Ilya Gorbunov
0f70def3db
StdLib: Rename method parameters (generated code)
2015-11-21 00:54:20 +03:00
Ilya Gorbunov
7e7a55bbe4
StdLib: Rename method parameters (Strings)
2015-11-21 00:54:19 +03:00
Ilya Gorbunov
bbe6a3c7ca
StdLib: Rename method parameters (Maps)
2015-11-21 00:54:18 +03:00
Ilya Gorbunov
a3cd86d2cd
StdLib: Rename method parameters (Collections)
2015-11-21 00:54:16 +03:00
Ilya Gorbunov
c3190bbae3
Migrate type parameter list syntax.
2015-11-21 00:54:15 +03:00
Ilya Gorbunov
16c5289e6c
Stdlib generators DSL: allow to use documentation family extensions inside doc { } without importing them first.
2015-11-21 00:54:13 +03:00
Ilya Gorbunov
a426c7879f
Apply infix modifier on functions from stdlib where appropriate.
2015-11-21 00:54:12 +03:00
Ilya Gorbunov
794819cea2
StdLib cleanup: make calls non-infix
2015-11-21 00:54:10 +03:00
Ilya Gorbunov
88e48380af
StdLib cleanup, deprecated symbol usage: Throwable.getMessage
2015-11-21 00:54:09 +03:00
Ilya Gorbunov
dadcdb5771
StdLib cleanup, deprecated symbol usage: List and Map members
2015-11-21 00:54:08 +03:00
Ilya Gorbunov
838109c302
StdLib cleanup, deprecated symbol usage: replace end with endInclusive
2015-11-21 00:54:06 +03:00
Ilya Gorbunov
07654eb82b
StdLib cleanup, deprecated symbol usage: size() and length()
2015-11-21 00:54:05 +03:00
Ilya Gorbunov
21e2e68ed4
Replace reversed() with apply { reverse() } or asReversed()
2015-11-21 00:54:03 +03:00
Ilya Gorbunov
32151c077e
Replace map { ... }.filterNotNull() with mapNotNull { ... }
2015-11-21 00:54:01 +03:00
Ilya Gorbunov
5b02a59cb7
Fix JvmStatic applicability diagnostics test after COMPANION_OBJECT became distinct KotlinTarget
2015-11-21 00:43:35 +03:00
Dmitry Jemerov
f20f15ec46
resolve KDoc references to members of companion object
2015-11-20 18:22:08 +01:00
Dmitry Jemerov
6adfb96154
AbstractJetReference -> AbstractKtReference
2015-11-20 18:22:07 +01:00
Dmitry Jemerov
bfca85db52
don't highlight multi-resolved references in KDoc as unresolved
...
#KT-9413 Fixed
2015-11-20 18:22:07 +01:00
Dmitry Jemerov
742830f815
resolve KDoc references in static scope of classes as well
...
#KT-9946 Fixed
2015-11-20 18:22:06 +01:00
Dmitry Jemerov
d709aa7db7
don't check for Kotlin plugin updates if IDEA update checks are turned off in the settings
2015-11-20 18:22:06 +01:00
Dmitry Jemerov
a80930bf15
code cleanup can replace infix calls to library functions with ordinary calls
...
#KT-9976 Fixed
2015-11-20 18:22:05 +01:00
Yan Zhulanow
efa2e98541
Do not launch Android Extensions JPS plugin if the Android IDEA plugin is disabled, or the module is not an Android JPS module
2015-11-20 18:33:18 +03:00
Mikhail Glukhikh
f81a5c06ea
Protected in allowed in companion objects but forbidden in other objects, relevant test fixes
2015-11-20 16:32:59 +03:00
Valentin Kipyatkov
fdc7c75f5b
Fixed "Import member" intention shown in the wrong place
2015-11-20 16:06:34 +03:00
Valentin Kipyatkov
bf99f91d83
Fixed EA-75877
2015-11-20 16:06:34 +03:00
Dmitry Jemerov
30084dff9d
ensure that the short name of the Kotlin unused import inspection does not clash with Java (KT-10046)
2015-11-20 13:54:40 +01:00
Mikhail Glukhikh
c84b22396b
Diagnostic 'final function with no body' deleted because it's redundant
2015-11-20 15:43:25 +03:00
Mikhail Glukhikh
b5610eebae
Diagnostic 'final property in interface' deleted because it's redundant
2015-11-20 15:43:22 +03:00
Mikhail Glukhikh
cd1b58f2eb
Final in interfaces: deprecation ---> error + relevant test fixes
2015-11-20 15:43:19 +03:00
Pavel V. Talanov
56af3a0af4
Increase stub version after changes to parser (script refactoring)
...
better late than never :(
2015-11-20 15:38:40 +03:00
Valentin Kipyatkov
603bcaa039
KT-10006 Parameter Info does not work for smart cast receiver
...
#KT-10006 Fixed
2015-11-20 15:36:31 +03:00
Mikhail Glukhikh
4e44466cf9
Exposed visibility deprecation warnings made errors + relevant test fixes
2015-11-20 15:21:01 +03:00
Mikhail Glukhikh
e8e5d700d2
Effective visibility source code fix: frond-end
2015-11-20 15:20:38 +03:00
Mikhail Glukhikh
e43a45755e
Source code fix: no protected in object
2015-11-20 09:56:23 +03:00
Mikhail Glukhikh
3d75ebb859
Effective visibility source code fix: jps plugin
2015-11-20 09:56:19 +03:00
Pavel V. Talanov
dbd49c37c1
Psi: Introduce KtScriptInitializer, a separate entity for script initializers which are quite a bit different from class initializers
2015-11-19 22:57:07 +03:00
Pavel V. Talanov
321364102a
KtAnonymousInitializer: make it an interface with KtClassInitializer inheritor
2015-11-19 22:57:06 +03:00
Pavel V. Talanov
bc2a65b2ea
J2K KtAnonymousInitializer in one go
...
Rip history
2015-11-19 22:57:05 +03:00
Pavel V. Talanov
6bb89021dd
Rename: KtClassInitializer -> KtAnonymousInitializer
2015-11-19 22:57:05 +03:00
Pavel V. Talanov
917b8bfe66
Minor, repl: clean up code
2015-11-19 22:57:04 +03:00
Pavel V. Talanov
bdc64f322c
Add script codegen tests with package statements
...
Tests codegen annotating visitor
2015-11-19 22:57:03 +03:00
Pavel V. Talanov
ae5c95038b
Place repl specific stuff of GenerationState into a separate entity
...
Add even more hacks to tell if the line has useful result to display
2015-11-19 22:57:03 +03:00
Pavel V. Talanov
405cfa439d
Repl test: behave closer to real repl
2015-11-19 22:57:02 +03:00
Pavel V. Talanov
ad58617753
Script refactoring, codegen tests: change test data according to semantics change
...
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00
Pavel V. Talanov
6563830584
Script refactoring, backend: scripts are classes now, remove/refactor 'special code' dealing with scripts
2015-11-19 22:57:01 +03:00
Pavel V. Talanov
d037068bba
Turn off duplicateJvmSignature reporting for scripts until light classes are implemented
2015-11-19 22:56:58 +03:00
Pavel V. Talanov
2b955bc6ec
Script refactoring, frontend tests: changes according to semantic changes in scripts
...
Add checker tests for scripts
2015-11-19 22:56:57 +03:00
Pavel V. Talanov
efa4bf1d74
Script refactoring, frontend: Treat scripts as classes (as opposed to function bodies)
...
ScriptDescriptor implements ClassDescriptor
Scripts are accessible in IDE via stub index
Replace special treatment of scripts with generic mechanism in several cases
Scripts to longer generate 'rv' property for storing result value (changes in repl required)
2015-11-19 22:56:57 +03:00