Commit Graph

8010 Commits

Author SHA1 Message Date
Alex Tkachman edc0bf0b15 returnTypeNullable in flags duplicates info in returnType annotation field 2012-09-23 12:22:57 +02:00
Alex Tkachman 1ec32810f4 - small optimizations of JavaDescriptorResolver
- kind of method encoded in flags
- nullable return type encoded in flags
2012-09-23 12:08:55 +02:00
Alex Tkachman 56232266fd removed duplicating implementation of isCollective 2012-09-22 18:31:09 +03:00
James Strachan be44702145 fixes KT-2091 allowing fold() and foldRight() to take different types of initial value and return the same typed result 2012-09-21 16:31:04 +01:00
James Strachan e129b43a7c disabled the helper method on JCheckBox as this either compiles or not depending on if JDK6/7 and whether a type argument must or must not be specified 2012-09-21 16:16:08 +01:00
James Strachan b4f4927133 fix compile error 2012-09-21 15:48:15 +01:00
James Strachan 962a3d29f5 deal with null events being fired (a common way to just fire actions) and allow optional description and icon parameters to be specified 2012-09-21 15:48:01 +01:00
James Strachan a9a7d599ca minor rename to avoid being hidden by add method on JMenu 2012-09-21 15:47:05 +01:00
James Strachan c325c6239d Merge branch 'master' of github.com:JetBrains/kotlin 2012-09-21 15:24:02 +01:00
Alex Tkachman 95489c4444 common superclass introduced for (Namespace/ClassBody/Script)Codegen 2012-09-21 16:41:50 +03:00
Nikolay Krasko 726e6be076 Fix getting fqn for JetObject 2012-09-21 13:41:18 +04:00
Andrey Breslav e091d9cfe2 Annotations for java.util.Locale 2012-09-21 12:55:34 +04:00
Andrey Breslav d8c53dc7d7 Annotations for java.util.GregorianCalendar 2012-09-21 12:49:43 +04:00
Andrey Breslav 35beac7acf Annotations for java.util.Calendar 2012-09-21 12:41:41 +04:00
Nikolay Krasko bed1d0e7a6 Refactoring. Add some self-documented functions 2012-09-21 12:18:25 +04:00
Nikolay Krasko 9dfb9c883f Annotations for java.io Reader and Writer classes 2012-09-21 11:50:08 +04:00
Nikolay Krasko 94050c7604 Fix since-until build versions 2012-09-21 10:51:59 +04:00
Andrey Breslav 5dc20e687f Nullability fix for StringsJVM 2012-09-21 10:37:24 +04:00
Andrey Breslav 6fd764b311 Annotations for java.lang.String 2012-09-21 00:53:38 +04:00
Andrey Breslav 3c766c9f11 Annotations for java.lang.Thread 2012-09-21 00:33:22 +04:00
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