Commit Graph

171 Commits

Author SHA1 Message Date
Alexander Udalov fb5d8de84b Use type table in DescriptorSerializer, add switch to enable/disable, test 2015-10-15 18:25:40 +03:00
Alexander Udalov 556a169a5d Update stdlib usages of PropertyMetadata to KProperty<*> 2015-10-15 00:05:31 +03:00
Yan Zhulanow bc3d1ddda0 Remove old 'get' delegate convention in interfaces 2015-10-14 01:29:09 +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
Ilya Gorbunov 90e5ee8a7e Replace KotlinPackage legacy facade with corresponding package parts. 2015-10-07 22:36:29 +03:00
Valentin Kipyatkov 5afa91d4ec Restored back temporarily renamed properties 2015-09-30 22:50:27 +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
Alexey Tsvetkov 68437175f6 Enable disabling incremental compilation for tests 2015-09-25 20:11:57 +03:00
Alexander Udalov 4ca8a51234 Move Interner from deserialization to util
This class is not used in core and should not end up in kotlin-reflect.jar
2015-09-22 18:22:59 +03:00
Pavel V. Talanov 30d675d49f Repl: fix paths on windows 2015-09-21 14:41:34 +03:00
Michael Nedzelsky 4a67cde283 HashSetUtil: add symmetricDifference 2015-09-19 00:14:01 +03:00
Denis Zharkov 9c4564a5a6 Get rid of deprecated annotations and modifiers in project code 2015-09-18 09:34:27 +03:00
Ilya Chernikov c4719175f9 Refactoring startup and shutdown, refactoring service implementation, implementing error and info reporting to compiler output, idle autoshutdown mechanisms, fixing TargetId serializability, some other refactoring
Fixing stream to log handler (by removing non-working optimization), fixing idle time calculation, reporting refactorings
2015-09-10 22:30:56 +02:00
Alexey Tsvetkov 7e515e3820 Use simple data class TargetId instead of Module to get incremental cache 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov 18dc752c21 Implement hashCode and equals for Module 2015-09-08 05:49:32 +03:00
Alexey Tsvetkov 5f05f0d678 Move Module to util method 2015-09-08 05:49:32 +03:00
Denis Zharkov 4a3fbcc16e Make project compilable after fixes about generic nullability 2015-08-28 18:50:26 +03:00
Nikolay Krasko a2f30f9619 Add simple pattern pre-check in hasMetadata() 2015-08-27 15:49:18 +03:00
Nikolay Krasko e17908e5c6 Minor: rewrite with Kotlin stdlib 2015-08-20 15:28:26 +03:00
Evgeny Gerashchenko 8e3dd54477 Minor. Converted class with class object to object. 2015-07-01 21:21:35 +03:00
Pavel V. Talanov 15a4782a0c Move CompilationCanceledStatus and related utils to "util" module
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module
2015-07-01 21:21:35 +03:00
Nikolay Krasko 818bfce1f1 Minor: add method for printing thread name 2015-06-18 16:45:23 +03:00
Nikolay Krasko 6d7cc8bc02 Minor: Don't print end message if profiler was muted 2015-06-18 16:45:22 +03: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
Denis Zharkov eb7114bd53 Add 'constructor' keyword in whole project where needed 2015-06-12 09:55:15 +03:00
Denis Zharkov 200dee2761 Replace deprecated annotations in whole project 2015-06-12 09:23:32 +03:00
Valentin Kipyatkov 76e501c7ea Experimental framework for inline constants 2015-06-10 11:35:00 +03:00
Michael Nedzelsky 999c83240c JS: error message (not exception) for incompatible abi version during compilation 2015-06-10 05:37:57 +03:00
Zalim Bashorov 779a0373c7 JS backend: generate better code for secondary constructor calls -- don't generate undefined when it possible 2015-06-03 23:09:15 +03:00
Evgeny Gerashchenko 36915bf846 Enabled incremental compilation by default. 2015-06-01 19:02:12 +03:00
Alexey Sedunov 26c4efb587 Light Elements: Filter out nulls when converting Kotlin declarations to corresponding light elements
#EA-64403 Fixed
2015-05-30 18:16:25 +03:00
Michael Nedzelsky 06af6bbd82 JS: KotlinJavascriptSerializationUtil, KotlinJavascriptSerializedResourcePaths: add some useful functions 2015-05-26 05:03:14 +03:00
Alexey Tsvetkov 08df655dcc JS: simplify load metadata 2015-05-25 20:20:25 +03:00
Alexey Tsvetkov b2238c0ebf JS: search inline function in .js file corresponding to module's
.meta.js
2015-05-25 20:20:25 +03:00
Michael Nedzelsky d629271510 JS: make -meta-info cli option boolean 2015-05-21 02:30:54 +03:00
Valentin Kipyatkov d95b198da7 Refactored (and more correct) getOutermostLastBlockElement and its usages 2015-05-14 01:10:10 +03:00
Michael Nedzelsky d8ca5be29d JS: KotlinJavascriptMetadataUtils: ABI 1 -> 2 2015-05-12 19:30:23 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Michael Nedzelsky 61726fdcb7 JS: merge KotlinJavascriptSerializer into KotlinJavascriptSerializationUtil 2015-04-03 05:36:21 +03:00
Michael Nedzelsky 6d8fc1e035 JS: load metadata optimization in KotlinJavascriptMetadataUtils 2015-04-03 05:36:15 +03:00
Michael Nedzelsky dbe59190ed JS: add writeMetadataToString, serializeToString 2015-04-03 05:35:59 +03:00
Valentin Kipyatkov 176ba937ba Partial body resolve filter works more precisely for if-statements 2015-04-01 23:21:21 +03:00
Denis Zharkov a4018d9eae Run "Add 'init' keyword in whole project" quickfix 2015-03-31 20:20:23 +03:00
Alexander Udalov 485dce987c Fix byte array memory leak from MemoryBasedClassLoader
40 Mb of bytes of preloaded compiler classes during the compilation become 16
Mb after this change

This is a slightly reworked version of 58b033d (reverted in 3f05419). The
problem in that commit was that URLClassLoader did not work in the fashion
MemoryBasedClassLoader was designed to work (child first, parent last). So some
resource was found in an incorrect jar which was causing the compiler to break
2015-03-30 17:12:10 +03:00
Alexander Udalov 3f0541924f Revert "Fix byte array memory leak from MemoryBasedClassLoader"
This reverts commit 58b033d9fb.
2015-03-27 15:28:52 +03:00
Alexander Udalov 58b033d9fb Fix byte array memory leak from MemoryBasedClassLoader
40 Mb of bytes of preloaded compiler classes during the compilation become 16
Mb after this change
2015-03-26 21:42:05 +03:00
Michael Nedzelsky 2f7ebf677f JS: allow js-file in library-files for cli compiler 2015-03-26 00:22:19 +03:00
Pavel V. Talanov ed218c473a Get rid of 'class object' usages in code and builtins
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Michael Nedzelsky a6c21fbe85 JS backend: LibraryUtils: add support for load and write metadata 2015-03-18 09:38:36 +03:00