Commit Graph

7989 Commits

Author SHA1 Message Date
Andrey Breslav ed1f84eabe Annotations for java.math.RoundingMode 2012-09-21 00:20:45 +04:00
Andrey Breslav 30496db184 Annotations for java.util.regex.* 2012-09-21 00:18:26 +04:00
Andrey Breslav 6cddfc585b Annotations for java.math.MathContext 2012-09-21 00:06:42 +04:00
Andrey Breslav 80fb21011c Alterative signature for an array-returning method from java.math.BigInteger 2012-09-21 00:02:43 +04:00
Andrey Breslav 3c6aad6314 Annotations for java.math.BigDecimal 2012-09-21 00:01:27 +04:00
Alex Tkachman bc1a4a1fe9 massive refactoring of CodegenUtil
- generation method names standartized on genXXX
- many methods moved to newly created AsmUtil
- some methods moved to CodegenContext
- got rid of almost trivial StubCodegen
2012-09-20 20:19:26 +03:00
Andrey Breslav c355e182e8 Annotations for java.math.BigInteger 2012-09-20 21:15:21 +04:00
Andrey Breslav d6d96d1fd0 Annotations for java.util.Currency 2012-09-20 21:02:37 +04:00
Andrey Breslav 348b641fe6 Annotations for java.util.BitSet 2012-09-20 20:55:42 +04:00
Andrey Breslav 73531159a6 Annotations for java.io.FileInputStream and java.io.FileOutputStream 2012-09-20 20:52:07 +04:00
Andrey Breslav 536f48575a Annotations for java.util.Scanner 2012-09-20 20:47:59 +04:00
Andrey Breslav a750101310 Annotations for java.lang.Readable 2012-09-20 20:36:16 +04:00
Andrey Breslav 5276e8e9ed Annotations for java.util.Random 2012-09-20 20:33:40 +04:00
Andrey Breslav 671679641d Annotations for java.util.Timer 2012-09-20 20:31:45 +04:00
Andrey Breslav 1a44599d7c @Nullable/@NotNull annotations for Input/Outoput Streams and Data Input/Output 2012-09-20 20:27:37 +04:00
Alex Tkachman a2ebc27a6a noClassObjectForJavaClass excluded from android build 2012-09-20 19:11:32 +03:00
Alex Tkachman be09227569 generation of inner classes inside object literal. #KT-2607 fixed
on the way ClassCodegen and MemberCodegen refactored out and injectors regenerated
2012-09-20 17:57:07 +03:00
Alex Tkachman 00d7a0a8ae test case for KT-2655 which duplicates KT-2786 2012-09-20 17:54:40 +03:00
Alex Tkachman 242ee38606 generic signatures for properties #KT2677 fixed 2012-09-20 17:54:40 +03:00
Alex Tkachman eaf9a79420 correct handling of delegate properties #KT-2786 fixed 2012-09-20 17:54:40 +03:00
Andrey Breslav 936f53fcbf Don't complain about compareTo returning ERROR type instead of Int 2012-09-20 18:12:57 +04:00
Andrey Breslav 2abe2e581d AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull 2012-09-20 18:12:57 +04:00
Alexander Udalov dadc97d29f Fix maven build
Do not create class objects for classes which come from Java.
2012-09-20 18:10:19 +04:00
Nikolay Krasko 8c50b0ce9d KT-2424 Invoking completion adds unnecessary FQ name
#KT-2424 Obsolete
2012-09-20 16:50:16 +04:00
Nikolay Krasko c7af6de16b KT-1187 Wrong unnecessary completion
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko b301bbe1f9 Don't activate top level completion in user types after dot 2012-09-20 16:50:08 +04:00
Nikolay Krasko f1059271b2 Udate test framework for confidence tests. Move type directive to test files 2012-09-20 16:49:36 +04:00
Alexander Udalov bce5cb9034 Support inner enums from binaries
#KT-2771 Fixed
2012-09-20 15:02:58 +04:00
Alexander Udalov 83fb970066 Write correct inner enum info in codegen
#KT-2771 In Progress

writeInnerClasses() now writes correct InnerClasses attribute with respect to
inner enums (see comments in the code).
2012-09-20 15:02:57 +04:00
Alexander Udalov 5af90c2a83 Extract some methods in codegen
Introduce DescriptorUtils#getInnerClasses(), which gets all descriptors from
inner classes scope and asserts that they are classes.

Inner/outer classes attributes are generated in separate methods.
2012-09-20 15:02:54 +04:00
Alexander Udalov 37fd9cea08 Place inner enum into its parent's class object
#KT-2771 In Progress

ClassifierCollector now collects all enum declarations inside non-static
classes. After all declarations are done, it processes these enums: creates
a class object if it's not present, reports errors on each enum if a class
object is not allowed, and puts every enum into this class object otherwise,
recording this fact to trace.
2012-09-20 15:02:13 +04:00
Alexander Udalov c4da7f8eb2 Extract some methods in ClassifierCollector 2012-09-20 15:02:09 +04:00
Alexander Udalov 7ca22acd1f Extract anonymous class from collectNamespacesAndClassifiers() 2012-09-20 15:02:08 +04:00
Nikolay Krasko 1ba4e5aee0 KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
#KT-2128 Fixed
2012-09-20 14:53:08 +04:00
Svetlana Isakova b081615e59 added tests for collections 2012-09-20 14:42:39 +04:00
Svetlana Isakova 45dbf36b53 added tests for kotlin signature for Map.Entry 2012-09-20 14:42:39 +04:00
Alex Tkachman b022eec0fa call correct methods String.valueOf/StringBuilder.append in case of byte/short. #KT-2794 fixed 2012-09-20 11:46:40 +03:00
Nikolay Krasko a163236713 KT-2128 Code completion after number with dot - no tests for now
#KT-2128 In Progress
2012-09-20 00:30:22 +04:00
Nikolay Krasko b84088e522 Small reformatting 2012-09-20 00:30:20 +04:00
Nikolay Krasko a37f2e9d2d Cache constructed scopes for files 2012-09-20 00:30:19 +04:00
Nikolay Krasko bffbe1dd38 KT-2710 Extend root JS package with standard scope
#KT-2710 In Progress
2012-09-20 00:30:19 +04:00
Nikolay Krasko fbe4e9f96e KT-2710 code completion doesn't work
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav bd0eab5202 Tuple migration quick fix now appears only on tupels shorter than 4
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Svetlana Isakova 0ccdf79051 no report 'UNNECESSARY_NOT_NULL_ASSERTION' on error types 2012-09-19 15:31:17 +04:00
Svetlana Isakova 0ff9d95704 made Map covariant on second parameter 2012-09-19 15:31:16 +04:00
Alex Tkachman 3dd9c6ab10 {} replaced by () in data classes toString 2012-09-19 13:50:50 +03:00
Svetlana Isakova 4bdeaffa04 use "JvmClassName.byFqNameWithoutInnerClasses" instead of "replace('.', '/')" 2012-09-19 13:06:25 +04:00
Svetlana Isakova 618f1b377b added signatureName format to JvmClassName 2012-09-19 13:06:25 +04:00
Svetlana Isakova 47769ed638 tests changed after KT-2745
Write exact Kotlin type (if it's mapped) in signature while generating bytecode
 #KT-2745 fixed
2012-09-19 13:06:25 +04:00
Svetlana Isakova 290343ed02 refactoring 2012-09-19 13:06:25 +04:00