Commit Graph

82 Commits

Author SHA1 Message Date
Natalia Ukhorskaya f2f1a1313d Add jdk jars to kotlin classpath
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Nikolay Krasko d2b948dc2c Fix path util to return dist paths in tests 2013-12-06 13:15:14 +04:00
Andrey Breslav d9444fea09 printScopeStructure() introduced for debugging 2013-11-21 13:07:38 +04:00
Zalim Bashorov 1409dd7812 Refresh FS after compilation for js and sourcemap files. 2013-11-08 18:14:21 +04:00
Andrey Breslav 4f7e958a0b Profiler uses loggers
This allows us to leave profiler calls in production code
2013-10-17 18:15:52 +04:00
Andrey Breslav d5b08d4f1c Support building many modules "as one": merging all the paths etc
This is for a workaround implementation of support for mutually dependent modules
2013-10-14 14:42:24 +04:00
Zalim Bashorov 4f957eaf69 Extracted manifest values to manifest.properties file. 2013-10-04 19:21:25 +04:00
Zalim Bashorov dd553ef671 JPS plugin: refactoring:
- extract utility methods from KotlinBuilder;
- use StringUtil#join instead for iteration;
- add private constructor to LibraryUtils.
2013-10-04 19:18:19 +04:00
Zalim Bashorov 2b9b563efb JPS plugin: add support external compilation for JS modules. 2013-10-03 13:58:02 +04:00
Natalia.Ukhorskaya da17475ae6 Pack runtime sources to separate jar 2013-09-25 14:18:41 +04:00
Alexander Udalov 8e59e789dc Extract util.runtime module out of util
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.

Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Erokhin Stanislav 4c57d70be9 JS backend: remove ECMA 3, but several tests is broken.
Main reason: overload extention property:

Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Andrey Breslav c4052e1286 @ThreadSafe annotation to mark classes that must be thread-safe 2013-08-23 17:39:07 +04:00
Nikolay Krasko 8d06a72157 Store exception caught during computation as a result and rethrow it 2013-08-08 00:37:45 +04:00
Natalia.Ukhorskaya afa3ead160 Add kotlin annotations for android SDK 2013-06-07 11:05:57 +04:00
Evgeny Gerashchenko b08751f501 Fixed starting in profiler. 2013-05-30 12:53:53 +04:00
Andrey Breslav 7ff1885e8e The error message now tells the user about jps.kotlin.home
For TeamCity users
2013-05-29 21:39:36 +04:00
Andrey Breslav 1a5c943057 Support jps.kotlin.home 2013-05-27 13:55:33 +04:00
Andrey Breslav 3299957c0c Support jps.kotlin.home 2013-05-27 13:55:33 +04:00
Andrey Breslav ba4c012000 Profiler can be paused 2013-05-13 15:52:13 +04:00
Andrey Breslav 353693d291 Profiler: utility class for measuring performance 2013-04-29 18:35:12 +04:00
Alexander Udalov c4b4fa750c Resolve callable reference expressions
#KT-1183 In Progress
2013-04-22 17:59:31 +04:00
Andrey Breslav 125bfb2291 Simple (not thread-safe) memoized functions supported 2013-04-12 21:06:55 +04:00
Nikolay Krasko 86886b79c3 Drop search file with pattern 2013-03-14 15:27:11 +04:00
Nikolay Krasko 39e6abf5e9 Refactoring: Rename Adpater to Finder 2013-03-14 15:25:51 +04:00
goodwinnk eed215893f Add an ability to create libraries from standalone compiler 2013-03-14 15:25:48 +04:00
Nikolay Krasko 94d436d6c2 Better work with libraries names 2013-03-14 15:25:45 +04:00
Andrey Breslav e26efb4e4d Printer now supports any appendable + separated lists 2013-03-06 12:51:02 +04:00
develar bcbb87783c findRtJar - support Oracle JDK 1.7 Mac OS X 2013-02-21 14:15:07 +04:00
Nikolay Krasko 1aee735775 Search rt.jar even if compiler was run with jre
#KT-2599 Fixed
2013-02-15 17:19:53 +04:00
Evgeny Gerashchenko 52b7ee6447 Happy new year 2013! 2013-01-28 18:58:08 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Evgeny Gerashchenko 4eac6f0d27 Extracted LINE_SEPARATOR constant in Printer. 2012-12-27 20:47:00 +04:00
Evgeny Gerashchenko 46b848857e Made printer able to avoid extra blank lines. 2012-12-27 20:46:57 +04:00
Andrey Breslav 0ec4131231 KDoc compilation fixed 2012-12-14 15:28:22 +04:00
Andrey Breslav e324d3914f KT-3120 The compiler should not depend on the file directory of the libs
#KT-3120 In Progress
2012-12-12 17:37:32 +04:00
Evgeny Gerashchenko d349bca42c All methods of Printer return this (for chaining). 2012-12-07 14:41:58 +04:00
Natalia.Ukhorskaya 673eba662d System property kotlin.jps.test may be null 2012-11-27 16:48:36 +04:00
Natalia.Ukhorskaya 74ca357502 Add tests for jps plugin 2012-11-27 14:54:18 +04:00
Andrey Breslav 4ed07cd9ae Introducing KotlinPaths to impose some discipline on compiler/library location 2012-11-21 18:16:09 +04:00
Andrey Breslav 4ee76a6649 KT-3056 Kotlin: Cannot find kotlinc home. Make sure plugin is properly installed
#KT-3056 Fixed
2012-11-21 14:12:51 +04:00
Andrey Breslav cca21e96c1 Progress class moved to jvm backend 2012-11-13 13:45:44 +04:00
Andrey Breslav 7719df1002 Properly detect Kotlin built-ins:
Built-in classes like jet.Int and jet.Iterable are loaded from source
files by KotlinBuiltIns class. It makes no sense to create JetLightClass
instances for such classes, moreover, it causes runtime failures.
Now we check the location a file was loaded from before creating a light
class, and skip if it is a built-in.

We also assert this in teh actual generation of light class bodies, and
print out OS information if something fails, because our detection strategy
may depend on OS-specific behavior.
2012-10-18 19:57:18 +04:00
Andrey Breslav ab18b12165 DFS utility class factored out of CommonSupertypes 2012-09-11 20:52:10 +04:00
Alexander Udalov 34eade6f4f Rename println() method to prevent name collisions with the existing vararg method 2012-09-05 19:39:26 +04:00
Alexander Udalov 5aca16e65e Replace "\n" with System.getProperty("line.separator") 2012-09-05 18:52:15 +04:00
Pavel V. Talanov 9dce8a9f33 Merge remote-tracking branch 'origin/master'
Conflicts:
	js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/factories/RangesFIF.java
	js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/patterns/NamePredicate.java
2012-08-14 13:04:38 +04:00
Andrey Breslav e087d50a7f printlnWithNoIndent() added 2012-08-09 17:35:21 +04:00
Pavel V. Talanov 2eca6c836e Rename kotlinLib.js to kotlinEcma3.js and update build.xml accordingly.
Update paths to js-tests-lib in build.xml.

Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-08 15:43:18 +04:00
Andrey Breslav a98bc541f5 Printer class moved from tests to util 2012-08-07 16:44:14 +04:00