Evgeny Gerashchenko
f81eaac347
Added extra logging in incremental cache and Kotlin Builder.
...
Original commit: 23eab73507
2015-06-24 18:01:51 +03:00
Evgeny Gerashchenko
d54b977c2c
If KotlinBuilder throws exception, user can see its stacktrace and report by one-click.
...
Original commit: 7511b5bafe
2015-06-17 13:14:06 +03:00
Alexander Udalov
8c5e706092
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
Original commit: 54dfd626ab
2015-06-15 15:42:41 +03:00
Alexander Udalov
b70bdc75cf
Convert CompilerMessageLocation to Kotlin
...
Original commit: 6083a18ce1
2015-06-15 15:42:40 +03:00
Denis Zharkov
9a0e5c9185
Add 'constructor' keyword in whole project where needed
...
Original commit: eb7114bd53
2015-06-12 09:55:15 +03:00
Denis Zharkov
2293c9852a
Adjust testData: get rid of obsolete annotations
...
Original commit: c9f79c2d05
2015-06-12 09:23:31 +03:00
Evgeny Gerashchenko
20622ebe51
Allowed accessing private members from same package, but different package fragment instance.
...
Original commit: 0ddfedba49
2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko
2c8e8c36cb
Incremented cache format version: package part hashes changed.
...
Original commit: 4461687ae3
2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko
1e0eff74ea
Enabled rebuilding when enabling/disabling incremental compilation in IDEA.
...
Original commit: e6bb501c1a
2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko
92f07e6281
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
...
Original commit: c48378260e
2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko
e352af9bb8
Fixed sticking of incremental cache data when case of file path is changed.
...
Original commit: 959364aa77
2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko
d422bb9827
Do not recompile module when anonymous object or local class is changed.
...
Original commit: 0bf249d6ae
2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko
f8faa92e0f
Minor. Renamed test.
...
Original commit: cab8f583a8
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko
fa97fd2b64
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.
Original commit: b94665e948
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko
bb9d74813b
Minor. Moved file to separate package to avoid clashing between tests and sources
...
Original commit: bd8e907809
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko
122b533076
Enabled incremental compilation by default.
...
Original commit: 36915bf846
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko
0994979f05
Fixed iml files in test data. Order entry for own sources is obligatory.
...
Original commit: fe3437e8a1
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko
daa16c768b
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.
...
Original commit: 7de531fe09
2015-06-01 19:02:11 +03:00
Evgeny Gerashchenko
4b08b13289
Minor. Fixed typo in test data.
...
Original commit: 37d6c9bf25
2015-06-01 19:02:11 +03:00
Dmitry Jemerov
a1cf175bb8
rename @overloads annotation to @jvmOverloads
...
Original commit: 1188e57597
2015-05-27 12:23:08 +02:00
Michael Nedzelsky
bc4f80bc36
JS: JpsJsModuleUtils: do not include urls with kotlin-js-meta protocol
...
Original commit: 0a6c6e35b5
2015-05-26 05:03:31 +03:00
Ilya Gorbunov
3bb8a1fd53
Fix deprecated replaceAll and replaceFirst usages.
...
Original commit: 79a5e0607d
2015-05-22 16:13:53 +03:00
Michael Nedzelsky
f198ac4b31
JS: make -meta-info cli option boolean
...
Original commit: d629271510
2015-05-21 02:30:54 +03:00
Mikhail Glukhikh
4c436ce7a2
Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
...
Original commit: fdf0ea5546
2015-05-18 16:08:16 +03:00
Evgeny Gerashchenko
c445089f21
KT-7587 Overloads are not generated during partial compilation of package
...
#KT-7587 fixed
Original commit: 0498bd7739
2015-05-14 21:51:08 +03:00
Nikolay Krasko
395e5446fb
Place light classes finder before standard PsiElementFinderImpl
...
Source elements should have priority over libraries.
Original commit: 3c7e7ffda6
2015-05-13 21:32:09 +03:00
Nikolay Krasko
1937ee3986
Compile modules with circular dependency as one module
...
Original commit: 2d8dcaddd0
2015-05-06 14:19:20 +03:00
Nikolay Krasko
a5d0547c1e
Allow to use Kotlin reflection in all modules with Kotlin
...
Original commit: 3b18a44340
2015-05-06 14:18:27 +03:00
Pavel V. Talanov
8f8b938060
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
Original commit: 94cc847c48
2015-04-16 16:40:19 +03:00
Alexander Udalov
e116bcc346
Make 'sure' an inline function with a lazy parameter
...
Also replace some other non-lazy stdlib function usages with the new lazy
'sure'
Original commit: 44e35cad29
2015-04-16 13:55:06 +03:00
Alexander Udalov
f600262671
Regenerate tests
...
Original commit: 94df191f86
2015-04-10 20:26:34 +03:00
Michael Nedzelsky
ee825b9cf3
JS: add jps build test for Kotlin/Javascript two-module project
...
Original commit: 563ab47502
2015-04-03 05:36:13 +03:00
Michael Nedzelsky
d6c1dc94b5
JS: use metadata in jps build process
...
Original commit: 06aef3164c
2015-04-03 05:36:10 +03:00
Michael Nedzelsky
d36720992e
JpsJsModuleUtils.java -> JpsJsModuleUtils.kt
...
Original commit: 9a02db3e8b
2015-04-03 05:36:07 +03:00
Michael Nedzelsky
d2d01914f5
JpsJsModuleUtils: convert to kotlin
...
Original commit: e779c8a2ae
2015-04-03 05:36:05 +03:00
Michael Nedzelsky
174da79fce
JS: move processing metaInfo to TranslationResult
...
Original commit: 5a73bd19c5
2015-04-03 05:36:02 +03:00
Ilya Gorbunov
4add263553
Fix split method usage: split temporary replaced with splitBy.
...
Original commit: 95c2a4fb29
2015-04-01 18:17:06 +03:00
Alexander Udalov
4d40114edc
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
Original commit: 32c3bb8c7f
2015-03-30 19:44:17 +03:00
Alexander Udalov
911313b084
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
Original commit: 085bc2197b
2015-03-30 17:22:06 +03:00
Pavel V. Talanov
94900a8b84
Fix erroneous squash: isOnTeamcity check actually does something
...
Original commit: b2d0b2ebc9
2015-03-25 21:39:31 +03:00
Pavel V. Talanov
00cc146d0a
Output compilation time as teamcity statistics in jps plugin
...
Original commit: 929d4644b5
2015-03-25 20:01:23 +03:00
Pavel V. Talanov
7b969d2c87
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
Original commit: ed218c473a
2015-03-25 18:28:00 +03:00
Dmitry Jemerov
3f59b7a6db
remove abstraction which is no longer needed
...
Original commit: 20fbb814e4
2015-03-24 20:21:23 +03:00
Dmitry Jemerov
117ecaa011
remove obsolete module script generator from JPS
...
Original commit: d2634eb7eb
2015-03-24 20:21:22 +03:00
Denis Mekhanikov
770eea4875
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
Original commit: f560677b15
2015-03-24 19:40:19 +03:00
Andrey Breslav
b042ef11f6
JPS test data fixed for JS
...
Original commit: c7ab333fa8
2015-03-18 21:19:15 +03:00
Michael Nedzelsky
9e6afeda99
JS: always generate metadata while compiling from idea
...
Original commit: 977b743f3d
2015-03-18 19:43:02 +03:00
Evgeny Gerashchenko
d56cbffbe0
Expanded incremental compilation tests with cache version change.
...
Original commit: 2aeccc7011
2015-03-18 15:20:45 +03:00
Michael Nedzelsky
b7c1279336
fix KotlinJpsBuildTest
...
Original commit: 0050c9888d
2015-03-18 09:39:02 +03:00
Pavel V. Talanov
24f63e82e1
default -> companion: replace all mentions of default and default object
...
Original commit: 06916d98c6
2015-03-17 15:47:39 +03:00