Commit Graph

151 Commits

Author SHA1 Message Date
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
Pavel V. Talanov 2a6facaef6 default -> companion: default object -> class object in project code, builtins and libs code 2015-03-17 15:46:48 +03:00
Alexander Udalov 2b089e0f39 Configure kotlin-reflect.jar in IDE as part of KotlinJavaRuntime library 2015-03-11 16:42:39 +03:00
Pavel V. Talanov 9ecf95532e Replace 'class object' with default object in project code 2015-03-10 18:07:46 +03:00
Alexey Tsvetkov b280e891e9 JS: read compiled js modules 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 7a96ca1dfb JS: LibraryUtils refactoring 2015-03-06 21:36:18 +03:00
Evgeny Gerashchenko e7796fbb58 Not trying to find declaration in both builtins and decompiled code (as it worked before). 2015-03-05 15:19:34 +03:00
Alexander Udalov 5903b8c4a7 Reorder and optimize dependencies between modules and libraries
- drop 'kotlin-runtime' and other dependencies which are exported by
  other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
  kotlin-runtime gets reflection, classes from core/ should have higher
  priority than their previous versions from kotlin-runtime.jar
2015-01-28 19:58:35 +03:00
Alexander Udalov 6a11983f9e Minor, delete unused deprecated method 2015-01-12 15:40:14 +03:00
Alexander Udalov 663d31709b Remove outdated code from compiler-tests 2015-01-11 18:01:48 +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
Andrey Breslav 93326d8643 Added centralized positioning for front-end exceptions 2014-12-23 18:37:40 +03:00
Nikolay Krasko db488ad295 Add utility function for getting text with context 2014-12-19 17:29:24 +03:00
Zalim Bashorov eae4cdbd8f Log error when cannot read properties. 2014-12-18 14:34:38 +03:00
Zalim Bashorov 465c4a397e Rename manifest.properties to kotlinManifest.properties to avoid clashing with other resources. 2014-12-18 14:34:37 +03:00
Michael Nedzelsky 1c9039d23b Rewrite to Kotlin: LibraryUtils 2014-12-12 03:04:24 +03:00
Michael Nedzelsky 5675da93f3 Rewrite to Kotlin: LibraryUtils. File rename 2014-12-12 03:04:22 +03:00
Michael Nedzelsky a026f6d25e add LibraryUtils.copyJsFilesFromLibraries 2014-12-12 03:03:32 +03:00
Michael Nedzelsky 103307432e update kotlin javascript stdlib if needed 2014-12-12 03:03:24 +03:00
Michael Nedzelsky 85a38e17de reuse for KotlinJS library common Library dialogs
remove unnecessary code for kotlin js library support

JS backend: simplify check isConfigured for kotlin js module
2014-12-12 03:03:22 +03:00
Michael Nedzelsky 61e9cbec66 K2JS: get kotlin js module name from Kotlin-JS-Module-Name attribute in manifest 2014-12-12 03:03:13 +03:00