Ilya Gorbunov
86f4a1b6e4
Compiler&plugin deprecations cleanup: replace streams with sequences.
2015-06-29 17:06:40 +03:00
Valentin Kipyatkov
8210d3091f
Initial implementation of KT-6427 Completion to use Java name suggestion to complete function parameters
...
(+ filtered out synthetic Kotlin classes from completion)
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov
483da9607c
KT-4893 Code completion should not show multiple functions with the same signature
...
#KT-4893 Fixed
2015-06-15 18:27:21 +03:00
Alexander Udalov
48b18f18d3
Restore explicit imports of Kotlin function types in Java
...
This is a follow-up to 738a84e259 and
d4965a4f3e . Optimize imports in all files
affected in those commits, drop temporary _.kt
2015-05-26 18:46:27 +03:00
Alexander Udalov
738a84e259
Temporary hack to migrate functions to package kotlin.jvm.functions
...
Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
2015-05-26 15:04:34 +03:00
Alexander Udalov
44e35cad29
Make 'sure' an inline function with a lazy parameter
...
Also replace some other non-lazy stdlib function usages with the new lazy
'sure'
2015-04-16 13:55:06 +03:00
Valentin Kipyatkov
7a414336c1
Do not run partial body resolve if full body resolve already cached
2015-04-01 23:21:21 +03:00
Denis Zharkov
111a138a2a
Serialize secondary constructors
2015-03-11 17:45:27 +03:00
Alexander Udalov
ed022f892b
Drop JavaTypeParameter#getIndex
2015-03-07 02:32:14 +03:00
Ilya Ryzhenkov
95d4accda7
stdlib: add flatten()
2015-01-20 22:39:24 +03:00
Alexander Udalov
f447a860b1
Rename package jet -> kotlin in util.runtime (StorageManager)
...
org.jetbrains.jet.storage -> org.jetbrains.kotlin.storage
2015-01-08 23:32:08 +03:00
Alexander Udalov
f37e2f173d
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
2015-01-08 23:32:08 +03:00
Stanislav Erokhin
a5c0dda10f
Add TypeBinding.
2014-12-02 13:48:44 +03:00
Nikolay Krasko
a456f9d22e
Add ability to create memoized functions with custom maps
...
- Remove cast in ResolveSession class
2014-11-24 19:19:14 +03:00
Andrey Breslav
1b8c7aaf3d
Memory optimization. Do not put sets into caches
2014-11-05 08:30:32 +02:00
Nikolay Krasko
7e1546d3e7
Merge stored empty lists and sets to singe object
2014-11-02 14:55:00 +03:00
Andrey Breslav
87d372aad5
Memory optimization: Fewer ConcurrentHashMap.Segment instances
2014-11-01 13:40:13 +02:00
Andrey Breslav
9bd3ac26e3
toString() for easier debugging
2014-10-22 00:41:19 +04:00
Alexander Udalov
bc9aa9e34f
Don't output trailing spaces in Printer
...
Also don't output trailing empty lines in TestGenerator
2014-10-21 00:16:07 +04:00
Nikolay Krasko
555119f59a
Exceptions during 'compute' in storage manager must be processed with exception strategy
...
#KT-5134 Fixed
2014-10-02 23:37:49 +04:00
Pavel V. Talanov
8d89ac897a
Create composite exception tracker when delegating ModuleResolverProvider
...
Avoid dropping delegate caches when exception (i.e. ProcessCancelled) is thrown in delegating provider
2014-09-23 15:56:36 +04:00
Alexander Udalov
e9ae06a53e
Straighten out MemberIndex calculation in LazyJavaStaticScope
...
Also delete confusing "inn" function
2014-09-15 19:30:50 +04:00
Alexander Udalov
2055d4d72c
Remove dependency of "descriptors" on Maps/Sets
2014-08-19 12:10:28 +04:00
Alexander Udalov
aff7619206
Remove dependency of "descriptors" on StringUtil
2014-08-19 12:10:25 +04:00
Alexander Udalov
df554e7c53
Remove dependency of "descriptors" on Function/Condition/Processor
2014-08-19 12:10:24 +04:00
Pavel V. Talanov
6588310736
Add missing public modifiers in project code
2014-08-12 21:13:46 +04:00
Alexey Sedunov
96557e6d3f
DFS: Terminate traversal if node handler returns false
2014-06-23 19:32:36 +04:00
Alexey Sedunov
5e2c2b4eca
Pseudocode: Implement computation of expected type predicates
2014-06-23 19:32:25 +04:00
Andrey Breslav
42aa9e2378
Minor. Utility moved to a common place
2014-06-19 22:10:56 +04:00
Alexey Sedunov
5fc1725b33
Extract Function: Type parameters inference
2014-05-12 12:55:02 +04:00
Andrey Breslav
c6bd4a22ef
Iterators replaced with streams where appropriate
2014-04-29 19:11:47 +04:00
Andrey Breslav
19719f9747
Deprecated _tmp functions replaced by library ones
2014-04-29 19:11:47 +04:00
Alexander Udalov
4a60c59f39
Minor, fix KotlinSignature of DFS methods
2014-04-14 16:02:10 +04:00
Alexander Udalov
b0db6a4526
Rewrite bridge generation to Kotlin, make it abstract
2014-04-11 21:57:46 +04:00
Alexander Udalov
59c04f5aff
Module 'util.runtime' doesn't depend on intellij-core anymore
2014-03-28 21:44:07 +04:00
Alexander Udalov
d719222bc4
Delete CommonSuppliers, use Guava directly
2014-03-28 21:44:07 +04:00
Ilya Ryzhenkov
a3b45b919c
Temporarily replace usages of extension on iterators in compiler by _tmp() calls
2014-03-19 20:25:16 +04:00
Ilya Ryzhenkov
f07b7cc58d
Functions on iterators are deprecated
2014-03-19 20:25:16 +04:00
Andrey Breslav
aa00862425
Double-checked locking fixed in LockBasedStorageManager
...
There were two problems here:
* a volatile field was read and then a local variable used, i.e. the field might have been changed in between the check and the return;
* this volatile read was unnecessary, because the whole purpose of `_value` local variable is to avoid it.
2014-03-12 13:55:24 +04:00
Alexander Udalov
d04ee09636
Rename "import jet" to "import kotlin" in Java sources
2014-03-02 21:33:22 +04:00
Alexander Udalov
ebd0ce597c
Minor, fix typo in filename
2014-02-21 20:49:13 +04:00
Alexander Udalov
4117d04742
Don't use FileUtil in BuiltInsSerializer
...
See the comment
2014-02-21 20:49:12 +04:00
Andrey Breslav
e60bd514fa
StorageManager&ExceptionTracker delivered where needed
...
- GlobalContext introduced to group the two
- Caches track exceptions
2014-02-04 15:24:27 +04:00
Andrey Breslav
a90dbc48ef
Information about LockBasedStorageManager instances added to assertions
2014-02-04 15:23:14 +04:00
Andrey Breslav
0f4994f8b0
Created LockBasedStorageManagerWithExceptionTracking
2014-01-30 21:03:53 +04:00
Andrey Breslav
210827b1d5
ExceptionUtils rewritten in Kotlin
2014-01-30 21:03:53 +04:00
Andrey Breslav
d0787795b6
StorageManager supports centralized exception handling
2014-01-30 21:03:52 +04:00
Andrey Breslav
5378bded1e
Minor: reorder methods and constructors
2014-01-30 21:03:52 +04:00
Andrey Breslav
707255eef6
Automatic toString() for LockBasedStorageManager
2014-01-29 15:34:50 +04:00
Andrey Breslav
ce1702d633
Replace a hack (Internals class) with a less-of-a-hack workaround
...
LockBasedLazyResolveStorageManager is put into the same package as LockBasedStorageManager
2014-01-20 23:01:19 +04:00