Commit Graph

365 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 7511b5bafe If KotlinBuilder throws exception, user can see its stacktrace and report by one-click. 2015-06-17 13:14:06 +03:00
Alexander Udalov 54dfd626ab CLI: improve diagnostic message format
- render the whole line where the error/warning points to, if any, and another
  line with '^', like other compilers do
- lowercase diagnostic severity
- decapitalize the message if it doesn't start with a proper name
2015-06-15 15:42:41 +03:00
Alexander Udalov 6083a18ce1 Convert CompilerMessageLocation to Kotlin 2015-06-15 15:42:40 +03:00
Denis Zharkov eb7114bd53 Add 'constructor' keyword in whole project where needed 2015-06-12 09:55:15 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Evgeny Gerashchenko 0ddfedba49 Allowed accessing private members from same package, but different package fragment instance. 2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko 4461687ae3 Incremented cache format version: package part hashes changed. 2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko e6bb501c1a Enabled rebuilding when enabling/disabling incremental compilation in IDEA. 2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko c48378260e Path hash code is case-agnostic. This is to avoid changing it if e.g. path to project is reconfigured from C:\Work to c:\work 2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko 959364aa77 Fixed sticking of incremental cache data when case of file path is changed. 2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko 0bf249d6ae Do not recompile module when anonymous object or local class is changed. 2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko cab8f583a8 Minor. Renamed test. 2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko b94665e948 Updated Kannotator JPS build test for new incremental compilation.
Now it only invokes make for each changed file (much faster). And for each source target, it also checks that out directories are the same as after full rebuild.
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko bd8e907809 Minor. Moved file to separate package to avoid clashing between tests and sources 2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko 36915bf846 Enabled incremental compilation by default. 2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko fe3437e8a1 Fixed iml files in test data. Order entry for own sources is obligatory. 2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko 7de531fe09 Fixed package proto for circular dependencies. Case when package is present in different modules which depend on each other. We should generate separate package facades for this case. 2015-06-01 19:02:11 +03:00
Evgeny Gerashchenko 37d6c9bf25 Minor. Fixed typo in test data. 2015-06-01 19:02:11 +03:00
Dmitry Jemerov 1188e57597 rename @overloads annotation to @jvmOverloads 2015-05-27 12:23:08 +02:00
Michael Nedzelsky 0a6c6e35b5 JS: JpsJsModuleUtils: do not include urls with kotlin-js-meta protocol 2015-05-26 05:03:31 +03:00
Ilya Gorbunov 79a5e0607d Fix deprecated replaceAll and replaceFirst usages. 2015-05-22 16:13:53 +03:00
Michael Nedzelsky d629271510 JS: make -meta-info cli option boolean 2015-05-21 02:30:54 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Evgeny Gerashchenko 0498bd7739 KT-7587 Overloads are not generated during partial compilation of package
#KT-7587 fixed
2015-05-14 21:51:08 +03:00
Nikolay Krasko 3c7e7ffda6 Place light classes finder before standard PsiElementFinderImpl
Source elements should have priority over libraries.
2015-05-13 21:32:09 +03:00
Nikolay Krasko 2d8dcaddd0 Compile modules with circular dependency as one module 2015-05-06 14:19:20 +03:00
Nikolay Krasko 3b18a44340 Allow to use Kotlin reflection in all modules with Kotlin 2015-05-06 14:18:27 +03:00
Pavel V. Talanov 94cc847c48 Drop module "ktm" scripts and support java source roots in "xml" modules
Drop kotlin.modules package from runtime
Move adapted classes into compiler
Unsupport files with "ktm" extension
Delete code for loading module scripts
Drop tests for module scripts
Separate section for java source roots in xml script generator/parser
2015-04-16 16:40:19 +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
Alexander Udalov 94df191f86 Regenerate tests 2015-04-10 20:26:34 +03:00
Michael Nedzelsky 563ab47502 JS: add jps build test for Kotlin/Javascript two-module project 2015-04-03 05:36:13 +03:00
Michael Nedzelsky 06aef3164c JS: use metadata in jps build process 2015-04-03 05:36:10 +03:00
Michael Nedzelsky 9a02db3e8b JpsJsModuleUtils.java -> JpsJsModuleUtils.kt 2015-04-03 05:36:07 +03:00
Michael Nedzelsky e779c8a2ae JpsJsModuleUtils: convert to kotlin 2015-04-03 05:36:05 +03:00
Michael Nedzelsky 5a73bd19c5 JS: move processing metaInfo to TranslationResult 2015-04-03 05:36:02 +03:00
Ilya Gorbunov 95c2a4fb29 Fix split method usage: split temporary replaced with splitBy. 2015-04-01 18:17:06 +03:00
Alexander Udalov 32c3bb8c7f Extract module 'deserialization' out of 'serialization'
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler
2015-03-30 19:44:17 +03:00
Alexander Udalov 085bc2197b Merge module 'serialization.jvm' into 'descriptor.loader.java'
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Pavel V. Talanov b2d0b2ebc9 Fix erroneous squash: isOnTeamcity check actually does something 2015-03-25 21:39:31 +03:00
Pavel V. Talanov 929d4644b5 Output compilation time as teamcity statistics in jps plugin 2015-03-25 20:01:23 +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
Dmitry Jemerov 20fbb814e4 remove abstraction which is no longer needed 2015-03-24 20:21:23 +03:00
Dmitry Jemerov d2634eb7eb remove obsolete module script generator from JPS 2015-03-24 20:21:22 +03:00
Denis Mekhanikov f560677b15 Kotlin I/O new features: relativeTo, copyTo, copyRecursively, deleteRecursively, file tree walkers,
file component iterators, file roots, startsWith, endsWith, subPath, normalize, replaceBytes, replaceTest,
additional tests and comments
2015-03-24 19:40:19 +03:00
Andrey Breslav c7ab333fa8 JPS test data fixed for JS 2015-03-18 21:19:15 +03:00
Michael Nedzelsky 977b743f3d JS: always generate metadata while compiling from idea 2015-03-18 19:43:02 +03:00
Evgeny Gerashchenko 2aeccc7011 Expanded incremental compilation tests with cache version change. 2015-03-18 15:20:45 +03:00
Michael Nedzelsky 0050c9888d fix KotlinJpsBuildTest 2015-03-18 09:39:02 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +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