Commit Graph

46 Commits

Author SHA1 Message Date
Andrey Breslav 25a5025c58 Built-ins can now be initialized on demand 2013-08-23 17:39:06 +04:00
Andrey Breslav b7966179f5 Deserialize built-ins 2013-08-23 17:39:04 +04:00
Evgeny Gerashchenko f52338a582 Renamed Name.getName() and FqName.getFqName() to asString() 2013-05-30 13:07:28 +04:00
Natalia.Ukhorskaya c37a3713d3 Fix tests for j2converter 2013-05-30 12:12:52 +04:00
Andrey Breslav af5ee3acba forceResolveAll() is not called when compiler initializes built-ins 2013-04-17 13:49:47 +04:00
Evgeny Gerashchenko f181907b9c Got rid of code depending on Unit aliasing. 2013-03-22 16:38:24 +04:00
Evgeny Gerashchenko ec5331057a Removed unnecessary final on local variables. 2013-03-13 14:12:50 +04:00
Andrey Ponomarev e4a172946b KT-3368 J2K: converted enums contain name() method
#KT-3368 Fixed
2013-02-25 16:15:53 +01:00
Andrey Ponomarev 34c227b8ed J2K: enum constants are non-nullable 2013-02-21 14:24:26 +01:00
Andrey Ponomarev e4df4059d1 J2K: Detect @NotNull references in call chains 2013-02-21 14:24:25 +01:00
Andrey Ponomarev 514c7b553f J2K: Detect @NotNull fields 2013-02-21 14:24:25 +01: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
Natalia.Ukhorskaya ef52ce6b9b J2KTranslator: remove findRtJar method. Use PathUtil instead 2012-11-29 18:21:14 +04:00
Evgeny Gerashchenko 0c43e77ac0 Minor. Fixed references to KotlinBuiltIns.UNIT_ALIAS. 2012-10-23 18:06:16 +04:00
Andrey Breslav 10cf303133 BuiltIns initialization in J2K fixed 2012-10-17 17:40:06 +04:00
Andrey Breslav c719ae427a JetStandardClasses -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Evgeny Gerashchenko 789c8608e5 Replaced sure() invocation with '!!' operator in Java to Kotlin converter. 2012-09-17 18:00:20 +04:00
Andrey Breslav d8632f81aa J2K Translator migrated onto Leda 2012-07-25 12:07:20 +04:00
Nikolay Krasko 28b0eefe5d - KT-2353 convert a selection of Java code to Kotlin by copy paste (or context menu) - Apply patch from Sergey Ignatov
#KT-2353 fixed
2012-07-18 14:33:13 +04:00
Stepan Koltsov 33a59ff5fe Name class
In the most places in frontend identifier is stored in Name class, was in String.
Name has two advantages over String:
* validation: you cannot accidentally create identifier with dot, for example
* readability: if you see String, you don't now whether it is
  identifier, fq name, jvm class name or something else

Name's disadvantage is (small) performance overhead. We have no value types in JVM.
2012-05-23 02:52:32 +04:00
Evgeny Gerashchenko e294a8821f Introduced JetStandardClasses.UNIT_ALIAS constant, got rid of hard-coding it in all code except for tests. 2012-05-15 12:40:01 +04:00
Svetlana Isakova 8b45b26785 reordered modifiers order: visibility first in j2k converter 2012-03-30 14:37:15 +04:00
Svetlana Isakova 83426659f1 j2k tests fixed 2012-03-30 14:11:44 +04:00
Svetlana Isakova 167a9c444a Added 'public' annotation and specified return types for library functions 2012-03-30 13:38:35 +04:00
Nikolay Krasko cefbe090ba translateToKotlin method 2012-03-19 16:26:25 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Andrey Breslav ee3e7bb80f Fixing j2K tests 2012-02-20 21:58:33 +04:00
Andrey Breslav bff62484b1 KT-1306123.lng or 123.sht is not good name 2012-02-20 21:42:13 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Maxim Shafirov adf97c3c53 outofmemoryfix 2012-02-02 21:24:13 +04:00
Andrey Breslav b2a8348c36 Refactored most of the static state out 2012-02-01 13:30:25 +04:00
Andrey Breslav 5d6846bdd9 Using enum instead of string constants for J2K options 2012-02-01 13:30:25 +04:00
Andrey Breslav 8d39594b91 More general way of finding annotations.jar 2012-01-27 22:13:09 +04:00
Andrey Breslav 106b0c7072 More debug output 2012-01-27 21:44:10 +04:00
Andrey Breslav e161637e45 javaPath in assert message 2012-01-27 21:35:08 +04:00
Andrey Breslav 8e54d78884 Platform-neutral path separator 2012-01-27 21:23:02 +04:00
Andrey Breslav 9846d535f7 Better assertion message 2012-01-27 21:08:31 +04:00
Maxim Shafirov bd5a54e339 Those shall be provided 2012-01-27 20:09:10 +04:00
Andrey Breslav bb0ae8b594 J2K tests paths fixed 2012-01-27 18:39:38 +04:00
Andrey Breslav d74b79d9db Granular test configurations 2012-01-27 18:33:52 +04:00
Andrey Breslav 35889c08e9 Test data paths fixed 2012-01-27 17:46:13 +04:00
Andrey Breslav 6c5bfc3b8e Reformat code to use 4 spaces indent 2012-01-27 17:33:00 +04:00
Andrey Breslav e678e072f1 Initial include of the J2K Converter 2012-01-27 17:31:05 +04:00
Andrey Breslav ae6479a765 Move to another repo 2012-01-27 17:15:30 +04:00