Commit Graph

71 Commits

Author SHA1 Message Date
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
Evgeny Gerashchenko 942c1ee9d9 Reverted fix for KT-2042 Kotlin SDK must be explicitly specified for each module that uses Kotlin
#KT-2042 reopened
2012-07-31 18:19:40 +04:00
Evgeny Gerashchenko 42e00102f8 Removed redundant "final" keywords at variables and parameters. 2012-07-27 17:57:30 +04:00
Maxim Manuylov ada74af225 detect bundled SDK automatically 2012-07-26 20:08:58 +04:00
Maxim Manuylov b6258beb87 fix sdk finding 2012-07-26 20:08:58 +04:00
Maxim Manuylov 843fb8d7a9 refactor PathUtil - it is a big difference now, whether we find sdk home from plugin or from compiler 2012-07-26 20:08:58 +04:00
Evgeny Gerashchenko fb8d5d3903 Putting kotlin-jdk-annotations.jar into lib directory instead of lib/alt. 2012-07-23 17:24:05 +04:00
Evgeny Gerashchenko 1d2e80b157 Introduced PathUtil.JDK_ANNOTATIONS_JAR constant 2012-07-22 20:11:03 +04:00
Evgeny Gerashchenko c833ca251f Moved CompilerDependencies.findRtJar() method to PathUtil. 2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko 77df57c150 Replaced jdk-headers with jdk-annotations everywhere. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko cfc1d6d271 Added clarifying comment for ExceptionUtils.rethrow() 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko e26d7fb75e Added method converting int to BitSet to BitSetUtils. 2012-06-16 14:36:06 +04:00