Alexey Tsvetkov
c8c0c773fb
Report info message when JS IC is enabled in JPS
2018-07-23 15:43:17 +03:00
Alexey Tsvetkov
eef40a5940
Add setting to enable JS IC for JPS
...
#KT-25565 fixed
2018-07-23 15:43:17 +03:00
Alexey Tsvetkov
0b18380770
Use separate system properties to control IC for JVM and JS
...
Also this commit effectively disables JS IC by default
#KT-25563 fixed
2018-07-23 15:43:16 +03:00
Svyatoslav Kuzmich
625983b28a
[JS IR BE] Enum class lowering
2018-07-23 15:08:18 +03:00
Nikolay Krasko
668708170f
Add intention for replacing experimental coroutines usages to cleanup (KT-25251)
...
#KT-25251 In Progress
2018-07-23 13:43:35 +03:00
Denis Zharkov
56a87ec98e
Restore method broken in f72aa78eec
...
Otherwise plugin compatibility tests are failing
2018-07-23 10:36:31 +03:00
Denis Zharkov
01503a84d9
Partially revert 79e776e9d7
2018-07-23 10:36:31 +03:00
Yan Zhulanow
7803294546
PrePush hook (temporary): Do nothing on a download failure
2018-07-20 22:17:45 +03:00
Nikolay Krasko
8fc377b3b3
Do not spam for same compiler version during the session (KT-25546)
...
Otherwise it might be too distracting when auto-import feature is enabled.
2018-07-20 19:15:20 +03:00
Nikolay Krasko
94e5f25569
Guarantee max compiler version will be shown in popup (KT-25546)
2018-07-20 19:15:20 +03:00
Nikolay Krasko
4be5c395aa
Show popup about too old bundled compiler in Gradle and Maven (KT-25546)
2018-07-20 19:15:19 +03:00
Nikolay Krasko
d27002827e
Refactoring: move ModuleSourceRootMap.kt from idea-jvm to idea module
2018-07-20 19:15:19 +03:00
Nikolay Krasko
99e0b998cf
Minor: show class of the problem file in error
2018-07-20 19:15:19 +03:00
Simon Ogorodnik
b58e35a3e5
173: Revert changes for IDEA < 181
2018-07-20 18:41:24 +03:00
Simon Ogorodnik
c2e27a3c46
KT-22815: Rename parameter to match semantics
2018-07-20 18:41:21 +03:00
Simon Ogorodnik
ad6eac6ec6
KT-22815: Cleanup findKDoc logic
2018-07-20 18:41:18 +03:00
Simon Ogorodnik
1bd02472a2
KT-22815: Fix documentation for primary constructor params/props
2018-07-20 18:41:14 +03:00
Simon Ogorodnik
c608395c7c
KT-22815: Update testData
2018-07-20 18:41:11 +03:00
Simon Ogorodnik
9ec0ce6ec8
KT-22815: Show documentation for function value/type params
2018-07-20 18:41:08 +03:00
Simon Ogorodnik
e4d76382b8
KT-22815: Update testData for quick documentation
2018-07-20 18:41:04 +03:00
Simon Ogorodnik
0b9d4a93dd
KT-22815: Use 'Params' instead of 'Parameters' to save h-space
2018-07-20 18:41:01 +03:00
Simon Ogorodnik
6e95ae7393
KT-22815: Put colon after section names
2018-07-20 18:40:56 +03:00
Simon Ogorodnik
b237298c20
KT-22815: Position deprecated section between definition and description
2018-07-20 18:40:49 +03:00
Simon Ogorodnik
1918836340
KT-22815: Use gray color for filename
2018-07-20 18:40:38 +03:00
Simon Ogorodnik
84b299d7dc
KT-22815: Use bold for root identifier, and not for keywords
2018-07-20 18:40:30 +03:00
Simon Ogorodnik
33a6721270
KT-22815: Update quick-doc testData
2018-07-20 18:40:21 +03:00
Simon Ogorodnik
48d0493edb
Fix enum special function quick navigation behaviour
2018-07-20 18:40:15 +03:00
Simon Ogorodnik
9a34e91dec
KT-22815: Render annotations on separate lines
2018-07-20 18:40:10 +03:00
Simon Ogorodnik
831e7fdc06
KT-22815: Render definition file for top-level declarations
...
Do not show defined in for local declarations
2018-07-20 18:40:05 +03:00
Simon Ogorodnik
6255743148
KT-22815: Cleanup quick doc rendering
2018-07-20 18:40:00 +03:00
Simon Ogorodnik
1d0fc0e736
Copy template engine from ktor
2018-07-20 18:39:57 +03:00
Simon Ogorodnik
9283089397
Reformat
2018-07-20 18:39:54 +03:00
Simon Ogorodnik
bfa5afa564
KT-22815: Cut Java signatures off properly
2018-07-20 18:39:52 +03:00
Simon Ogorodnik
263ed47aac
KT-22815: Render sections properly
2018-07-20 18:39:48 +03:00
Simon Ogorodnik
39e72f4041
Reformat
2018-07-20 18:39:45 +03:00
Simon Ogorodnik
99f0a0368a
KT-22815: Wrap parameters and try new DocumentationMarkup
2018-07-20 18:39:42 +03:00
Dmitry Petrov
86e863951e
Compare FP numbers properly when determining if field initializer needed
2018-07-20 17:53:25 +03:00
Roman Elizarov
819ffe7117
Remove suspending function migration adapters for 1.3-M1
2018-07-20 16:57:42 +03:00
Dmitry Petrov
ae0704af9c
Generate singleton references as GET_OBJECT in nested classes
2018-07-20 16:46:18 +03:00
Dmitry Petrov
779cae7db5
Adjust receivers for possibly synthetic properties access
...
Synthetic property accessors are treated as extension functions on Java
classes by the front-end. However, underlying Java accessor methods are
proper members.
2018-07-20 16:46:18 +03:00
Denis Zharkov
73acc86785
Store computed library kind for jar in a file attribute
...
It should help to avoid visiting children of each jar in java projects
LibraryEffectiveKindProviderImpl has it's own in-memory cache
but it doesn't help when project is reopened
#KT-25129 Fixed
#KT-25034 Fixed
2018-07-20 15:35:58 +03:00
Alexander Udalov
ad326f7875
Fix assert on parameter type length for functions with big arity
...
In case of a bridge for a vararg invoke with big arity, the bridge only
has one parameter (array of parameters), and the delegate method has at
least 23 parameters. This assert was added in 77959247d2 and it didn't
cause any tests in master to fail because tests on functions with big
arity are disabled there
2018-07-20 14:01:09 +02:00
Dmitry Savvinov
6dacd1011f
Do not report warning if -XXLanguage turns on bugfix
...
KT-25554 Fixed
2018-07-20 14:24:42 +03:00
Alexander Udalov
e42017a468
Fix ISE in ReflectJavaMember.getValueParameters on Java 6
...
The exception was incorrectly introduced in 0f0602230a . We should not
fail when `names` is null, only when there's no element at the
corresponding index. On Java 6, `names` is always null. On Java 8,
`names` is never null (it's an empty list if the class was compiled
without "-parameters")
2018-07-20 13:11:11 +02:00
Mikhail Zarechenskiy
f8d19718c8
Fix exception on trying to evaluate red code with inline classes
...
#KT-25600 Fixed
2018-07-20 13:58:35 +03:00
Mikhail Zarechenskiy
17243c08c1
Forbid lateinit variables of inline class types
...
Proper support of lateinit inline class values will be added later,
see #KT-23814
#KT-25603 Fixed
2018-07-20 13:58:33 +03:00
Mikhail Zarechenskiy
045058c29a
Support inline class values inside string templates through boxing
...
#KT-25626 Fixed
#KT-25613 Open
2018-07-20 13:58:31 +03:00
Mikhail Zarechenskiy
9aa4247065
Do not box primitives in a single-entry string template expression
2018-07-20 13:46:11 +03:00
Mikhail Zarechenskiy
045e3f53b0
Propagate KotlinType into codegen methods where it's possible
2018-07-20 13:46:09 +03:00
Mikhail Zarechenskiy
ec9d8e580e
Leave boxing for compareTo/areEqual methods for inline classes
...
Inline classes can override methods and thus introduce side effects
2018-07-20 11:51:34 +03:00