Commit Graph

5507 Commits

Author SHA1 Message Date
Stepan Koltsov ac1bf66251 remove obsolete code 2012-05-23 02:52:30 +04:00
Stepan Koltsov ecc4c484a6 move NameUtils, FqName into name subpackage 2012-05-23 02:52:30 +04:00
Stepan Koltsov 6063c01a1c command line script launcher
% ./bin/kotlin -script hello.ktscript
hello world

% cat hello.ktscript
fun hello(what: String) = println("hello $what")
hello("world")

Note it currently takes 8 seconds to evaluate hello world script.
2012-05-23 02:52:30 +04:00
Stepan Koltsov f4051f45ab generate bytecode for script
It is just prototype

* does not make top level symbols visible as class members yet
* does not take parameters
* Script class name is hardcoded now
2012-05-23 02:52:29 +04:00
Stepan Koltsov d6bf8876a3 analyze kotlin scripts 2012-05-23 02:52:29 +04:00
Stepan Koltsov 5fc73a4cd4 parse kotlin scripts
http://confluence.jetbrains.net/display/~stepan.koltsov/REPL
2012-05-23 02:52:29 +04:00
Stepan Koltsov a8bf3b6e10 utility to run stdlib test forever 2012-05-23 02:52:29 +04:00
Stepan Koltsov 5eb3a86c4d break CodegenTestCase : JetLiteFixture dependency
This is important because test base classes like JetLiteFixture has
a lot of unused code/state that hardens reading/debugging.
2012-05-23 02:52:28 +04:00
James Strachan a81e40fae2 added test case and bug fix for (next|previous)(Elements|Siblings) methods 2012-05-22 18:51:44 +01:00
Dmitry Jemerov 88c4778055 rename Kotlin methods used in Java code 2012-05-22 19:09:39 +02:00
Dmitry Jemerov fa1ecfaa93 find usages of Kotlin methods in Java code (KT-1819)
#KT-1819 fixed
2012-05-22 19:09:38 +02:00
Dmitry Jemerov 09cf7ac2aa find usages and rename work for Kotlin classes called from Java code (KT-1641)
#KT-1641 fixed
2012-05-22 19:09:38 +02:00
Alex Tkachman f15cb22809 patch from Natasha to fix local var table 0 for function literals 2012-05-22 19:10:59 +03:00
Svetlana Isakova b63d3905f9 KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
pTalanov 6a24d0cf6d Package .js library file into plugin 2012-05-22 17:20:50 +04:00
pTalanov c7c4a4bd39 SetUpJsModuleAction -> JsModuleSetUp and no longer is an action.
Fix spacing in build.xml
2012-05-22 16:29:01 +04:00
pTalanov 0cdf826342 SetUpJSModuleAction puts library jar under "lib" directory. Set up kotlin runtime notification suggests setting up JS module as well as JVM. 2012-05-22 16:03:54 +04:00
pTalanov 18ce0ac722 Introduce SetUpJsModuleAction
Refactor PathUtil
2012-05-22 13:51:48 +04:00
pTalanov 67491a224d Include packaging jslib into build 2012-05-22 13:49:15 +04:00
pTalanov ab8893ac69 Make K2JSRunConfiguration extend ModuleBasedConfiguration 2012-05-22 13:19:39 +04:00
Alexander.Podkhalyuzin 95360012cf "Show members" option for Project View is now fast (Fixed KT-2061) 2012-05-22 13:09:54 +04:00
Nikolay Krasko 8208489759 KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko a7b11d2b4e KT-1673 Respect formatter settings in the completion list - apply standard renderer
#KT-1673 fixed
2012-05-22 01:45:36 +04:00
Stepan Koltsov 8623fba01b cli: store unused arguments 2012-05-22 00:02:56 +04:00
Stepan Koltsov ea4a49764d fix bin/kotlin classpath again 2012-05-22 00:02:19 +04:00
Alexander.Podkhalyuzin 4886f45e0f Fixed KT-1847. 2012-05-21 19:40:57 +04:00
Evgeny Gerashchenko 87ce25d10e Added test case in LibraryNavigationRegressionTest to test references to library sources for functions with vararg parameter. 2012-05-21 19:21:04 +04:00
Evgeny Gerashchenko c23b9fc207 Extracted method in LibraryNavigationRegressionTest. 2012-05-21 19:21:04 +04:00
Stepan Koltsov fdb2b98b0c more di in jvm backend 2012-05-21 19:20:32 +04:00
Stepan Koltsov 99cc26866e jvm backend: use JvmClassName instead of String 2012-05-21 19:20:23 +04:00
Stepan Koltsov 724f69bced jvm backend: refactoring artifact 2012-05-21 19:18:22 +04:00
Svetlana Isakova c2385407e0 KT-1942 Package local members from Java are visible in subclasses
#KT-1942 fixed
2012-05-21 18:32:19 +04:00
Alexander.Podkhalyuzin 8db0546052 Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes). 2012-05-21 18:29:01 +04:00
Alexander.Podkhalyuzin 37fa4a1bb8 cleanup 2012-05-21 17:40:26 +04:00
Evgeny Gerashchenko 640fca42a4 Fixed navigation to library sources when function has vararg parameter. 2012-05-21 16:42:00 +04:00
Evgeny Gerashchenko c57dbb3895 Reformatted JetSourceNavigationHelper 2012-05-21 16:42:00 +04:00
Nikolay Krasko 91e150157a Merge pull request #57 from maxmanuylov/KT-2041
JetRunConfiguration should store its settings in the same format as Java...
2012-05-21 04:55:40 -07:00
Maxim Manuylov 8793dee390 JetRunConfiguration should store its settings in the same format as Java's ApplicationConfiguration to be able to reuse code in JPS #KT-2041 Fixed 2012-05-20 01:54:00 +02:00
Stepan Koltsov f9515e1619 exception messages to upper case 2012-05-19 19:52:53 +04:00
Stepan Koltsov 527ce1ad93 bring variable into narrower scope 2012-05-19 00:37:27 +04:00
Stepan Koltsov c9ff920f8a JetDiagnosticsTest: no hardcoded paths and .jet extension 2012-05-19 00:36:27 +04:00
Stepan Koltsov 4cf2e7bd3d ClassCodegen is stateless, put it into context 2012-05-19 00:23:59 +04:00
James Strachan 1da55747ff Merge branch 'master' of github.com:JetBrains/kotlin 2012-05-18 19:50:45 +01:00
James Strachan cf6622b4fa added workaround to maven compiler bug; we may want to throw an exception though if its really a problem 2012-05-18 19:50:27 +01:00
James Strachan 06f8e27d78 added better validation to throw more meaningful error message if a file is null 2012-05-18 19:48:47 +01:00
Evgeny Gerashchenko 93b8a5ed5e Fixed KT-2019 Unit test runner: navigation by double click from a test to source code does not work
#KT-2019 fixed
2012-05-18 20:55:56 +04:00
Evgeny Gerashchenko a6cdb263e2 Set valid sources for junit-plugin library. 2012-05-18 20:51:39 +04:00
James Strachan 08a45ef346 Merge branch 'master' of github.com:JetBrains/kotlin 2012-05-18 15:18:24 +01:00
Svetlana Isakova 9c9149d3e6 ExpressionTyping* refactoring
removed expectedReturnType
inlined unnecessary checkFunctionReturnType functions
2012-05-18 16:37:25 +04:00
Stepan Koltsov cfa2425f3d JetParsingTest: allow custom file extensions, simplify paths 2012-05-18 15:27:03 +04:00