hisaaki.sioiri
f1cc7cecce
Escaping quotes in live-templates (KT-2387)
...
#KT-2387 Fixed
2019-02-19 11:18:13 +03:00
Toshiaki Kameyama
7149d4cd1c
Group by file structure: show groups on text search (KT-28838)
...
#KT-28838 Fixed
2019-02-19 11:18:13 +03:00
Stanislav Erokhin
76f2430e7c
Code of Conduct for Kotlin project
2019-02-19 11:04:37 +03:00
Toshiaki Kameyama
5f7dee4194
Convert to scope function: enable on single function call
...
#KT-29099 Fixed
2019-02-19 10:41:20 +03:00
Dmitry Petrov
e1fdf0aa43
KT-29959 fix IR generation for 'd.m = e'
2019-02-19 09:59:42 +03:00
Mikhail Glukhikh
7f9b3a98b4
Fix corner cases (no expression, not resolved label) in raw FIR builder
2019-02-19 09:54:39 +03:00
Mikhail Glukhikh
552b137852
FIR: get rid of fictitious function symbols
2019-02-19 09:54:37 +03:00
Mikhail Glukhikh
74d89b1be2
JavaSymbolProvider: support different kinds of literals in annotations
...
Constants, enum entries, class references, arrays are covered here
Related to KT-29218
2019-02-19 09:54:34 +03:00
Mikhail Glukhikh
f8e165dbe4
Integrate nullability into cone types, add & use FIR flexible type
...
FIR fake overrides are rendered now more precisely to test this process
2019-02-19 09:54:32 +03:00
Mikhail Glukhikh
3d77f3d129
Fix rendering of ConeClassErrorType
...
This commit fixes total kotlin resolve test
2019-02-19 09:54:30 +03:00
Simon Ogorodnik
9ebefa3ba6
FIR: make FunctionType class-like, refactor built-ins resolution
...
This breaks total kotlin resolve test because of incorrect rendering
of ConeClassErrorType (we are trying to read its symbol)
2019-02-19 09:54:28 +03:00
Simon Ogorodnik
3edd82b602
FIR: make JavaSymbolProvider return error-type on not found symbols
2019-02-19 09:54:26 +03:00
Simon Ogorodnik
5afb0a6f4a
FIR rename: FirType -> FirTypeRef and related
2019-02-19 09:54:24 +03:00
Mikhail Glukhikh
1c76a612f9
FIR rename: isNullable -> isMarkedNullable
2019-02-19 09:54:21 +03:00
Simon Ogorodnik
3a237416c9
Implement FIR loading for Java (classes, supertypes, parameters, funs)
...
Properties aren't implemented yet
FIR symbol provider functions return more specialized types now
Related to KT-28918, KT-29636, KT-29218
#KT-28788 Fixed
2019-02-19 09:54:20 +03:00
Mikhail Glukhikh
4ea3df53cc
Implement FIR loading for libraries (classes, supertypes, parameters)
...
Members aren't implemented yet
Related to KT-28788, KT-28918
2019-02-19 09:54:18 +03:00
Mikhail Glukhikh
0bef9f2afe
Rename in FIR provider: getSymbolByFqName -> getClassLikeSymbolByFqName
2019-02-19 09:54:17 +03:00
Simon Ogorodnik
bd769f8fd7
Add multiplatform test with substitution, fix deep supertypes
...
This commit fixes ambiguity problems introduced before
in MPP tests with deep supertypes
#KT-29636 Fixed
2019-02-19 09:54:16 +03:00
Simon Ogorodnik
0e3fecf614
Implement fake override mapping for functions
...
Related to KT-29636
2019-02-19 09:53:33 +03:00
Mikhail Glukhikh
1f5e89cd32
Disable JavaElementFinder in FIR tests to avoid old FE
2019-02-19 09:52:20 +03:00
Simon Ogorodnik
840750ee40
Implement basic use-site scopes and override mapping
...
This commit also introduces separate scope processors:
processFunctionsByName and processPropertiesByName, in addition to
existing processClassifiersByName
Ad-hock call resolver starts to discover ambiguities, which leads
to some ambiguity problems in MPP tests with deep supertype hierarchy
Related to KT-29636
2019-02-19 09:52:20 +03:00
Mikhail Glukhikh
6ea2abfc46
FIR override resolve: lookup also interfaces
2019-02-19 09:52:20 +03:00
Mikhail Glukhikh
b3c8e83c58
FIR: make override resolve in use-site session (and module)
...
Related to KT-24078
2019-02-19 09:52:19 +03:00
Mikhail Glukhikh
84b3a17e2b
Type resolve transformer: reorder tower scope
...
This commit prioritizes inner scopes above outer scopes
(before this commit, inner scopes had lowest priority).
NB: really it's not precise enough too,
because explicit importing scope should have higher priority
than inner scopes.
Also fixes problem with total Kotlin resolve test introduced
in previous commit.
2019-02-19 09:52:19 +03:00
Mikhail Glukhikh
bec62acf5b
FIR: introduce callable member symbols & initial member scopes
...
Initial member scopes cover top-level, class-level, and supers
Ad-hock version of call resolve was introduced to test them
NB: after this commit, total Kotlin resolve test cannot finish
because of scope problems in type resolve transformer
Related to KT-24078
#KT-24083 Fixed
2019-02-19 09:52:19 +03:00
Mikhail Glukhikh
95678a4d64
Extract FirAbstractTreeTransformer and *WithSuperTypes
2019-02-19 09:52:19 +03:00
Mikhail Glukhikh
0e179f6b44
Extract FirAbstractProviderBasedScope & fix potential KNPE
2019-02-19 09:52:19 +03:00
Dmitriy Dolovov
83cb2cb99e
CIDR: Patch LLDB pretty printers for K/N < 1.1.1
...
Issue #KT-29625 Fixed
2019-02-19 10:49:08 +07:00
Ilya Gorbunov
ce577ac06b
Minor: remove redundant imports in sample
2019-02-18 21:09:18 +03:00
Kevin Peek
565727e302
KT-20357 - Add sample for Regex.findAll()
2019-02-18 21:05:46 +03:00
Kirill Shmakov
a8777a8bb3
Add forgoten file
2019-02-18 20:57:28 +03:00
Kirill Shmakov
478c18f194
Move data of handmade test from auto-generated tests data dir
...
KT-29187
2019-02-18 20:36:26 +03:00
Vyacheslav Gerasimov
2bec617446
Build: Fix npmInstall task inputs validation problem
...
NpmInstall task adds $nodeModulesDir/package.json to input and fails validation with:
"File '.../package.json' specified for property '$1' does not exist."
2019-02-18 20:00:05 +03:00
Vyacheslav Gerasimov
333eb9701c
Build: Fix JPS importer (DistModelBuilder) for Gradle 5.0
2019-02-18 20:00:05 +03:00
Vyacheslav Gerasimov
3d0cd57e31
Build: Drop testDistProjects, root :dist task was already in list
2019-02-18 20:00:05 +03:00
Vyacheslav Gerasimov
a4cfd37203
Minor: Reformat dependencies.kt
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
294ba51d0b
Build: Drop obsolete dependency handlers
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
25128f07f2
Build: Reformat artifacts.kt & fix some warnings, drop some dead code
2019-02-18 19:59:37 +03:00
Vyacheslav Gerasimov
14d9ec9fb2
Build: Use javadocJar helper to specify artifact explicitly
...
Creating javadocJar task for every project produces lots of unnecessary
tasks, some project don't even have code. Jar task without outDir
property set fails idea import with gradle 5.0+
2019-02-18 19:59:36 +03:00
Vyacheslav Gerasimov
e09802289d
Build: Workaround SOE in kotlin-stdlib-common-sources
...
Probably gradle bug
2019-02-18 19:58:57 +03:00
Sergey Igushkin
2a14301c75
Fix Gradle plugin build with Gradle 5.0
...
* Due to 'improved POM support' introduced in 5.0, runtime dependencies
of the `compileOnly 'com.android.tools.build:gradle:...'` dependency
were no more transitively available. Add them manually;
* Add `!!` to usages of `resourcesDir`, which became nullable;
* Replace the dropped `classesDir` method usages with reflection;
2019-02-18 19:58:57 +03:00
Vyacheslav Gerasimov
e8f1e2d022
Build: Use latest version of build-scan plugin
2019-02-18 19:58:57 +03:00
Vyacheslav Gerasimov
7e1f64b712
Build: Fix generateVisitors task outputs
2019-02-18 19:58:56 +03:00
Vyacheslav Gerasimov
d32f6fb382
Build: Fix compatibility with shadow plugin
...
Apply java-base plugin since shadow task requires sourcesets
2019-02-18 19:58:56 +03:00
Vyacheslav Gerasimov
df9ca1b6d9
Build: Update shadow plugin version to 4.0.3
2019-02-18 19:58:56 +03:00
Vyacheslav Gerasimov
f2bf33fe2a
Build: Update gradle version to 5.0
2019-02-18 19:58:56 +03:00
Ilya Gorbunov
5cc2215338
Extend compileOnly configuration from builtins
...
to avoid adding builtins configuration to classpath manually
2019-02-18 19:30:24 +03:00
Ilya Gorbunov
441e7cc15d
Always use singleFile when passing a configuration as a zipTree parameter
2019-02-18 19:30:24 +03:00
Ilya Gorbunov
6bcd112062
Drop obsolete artifact kotlin-runtime
...
Remove suppresses used to compile some parts of stdlib
as a non-multiplatform project.
2019-02-18 19:20:30 +03:00
Ilya Gorbunov
8ed2facc8c
Remove integration test involving kotlin-stdlib-jre7/8
2019-02-18 18:45:20 +03:00