Nikita Skvortsov
c67b4e4627
prepare pull request
2013-03-18 19:19:54 +04:00
Nikita Skvortsov
4b19adf4fd
initial stubs
2013-03-18 19:19:54 +04:00
Alexander Udalov
7cc1ed5cb1
Add regression test for KT-3413
2013-03-18 14:52:29 +04:00
Alexander Udalov
e2d60e939b
Rename some local variables in ImplBodyCodegen
2013-03-15 22:57:31 +04:00
Alexander Udalov
242b97febf
Fix mapGetterSignature/mapSetterSignature
...
In case of TRAIT_IMPL the incorrect this was written. Reuse the code from the
common mapSignature
#KT-3413 Fixed
2013-03-15 22:03:39 +04:00
Alexander Udalov
2518ba3353
Minor refactoring of TImpl codegen
...
jvmSignature.getAsmMethod() and functionOriginal are supposed to be the same
entity, so move jvmSignature out of the way to where it's needed
2013-03-15 21:24:41 +04:00
Alexander Udalov
d6129045ce
Minor, extract methods in TImpl codegen
2013-03-15 20:55:15 +04:00
Alexander Udalov
8afa46ed6d
Minor refactoring of TImpl codegen
...
Use early returns, rename some variables, etc
2013-03-15 20:30:51 +04:00
Alexander Udalov
905ea962d8
Minor refactoring of TImpl codegen
...
Extract some methods
2013-03-15 20:00:52 +04:00
Alexander Udalov
a9776016a9
Resolve static methods of enum in front-end
...
Up to this point, front-end did not suspect that there could be classes which
have both a class object and a package for static members. Since this became
possible for enums loaded from Java binaries (enum entries and valueOf()/
values() are placed into the class object, and every other static member into
the package), we adjust the corresponding scope to also include members from
the corresponding package
#KT-2990 Fixed
2013-03-15 16:00:57 +04:00
Alexander Udalov
7368ca09b9
Resolve static enum members from compiled Java
...
For static members, a corresponding package is now created for every enum, as
it's done for every other class. All static members of enum classes are
resolved into the package, EXCEPT its enum entries, valueOf() and values()
methods, which are put into the enum's class descriptor.
2013-03-15 16:00:56 +04:00
Alexander Udalov
68844131b0
Fix broken isEnumClassObject methods
...
Out of three methods, two were incorrect
2013-03-15 16:00:55 +04:00
Natalia.Ukhorskaya
c3a2f16624
Fix build: super.visitReferenceExpression in DebugInfoUtil should be called for all expressions
2013-03-15 14:58:24 +04:00
Natalia.Ukhorskaya
0a4eaad595
Do not remove import to component functions
2013-03-15 14:23:13 +04:00
Natalia.Ukhorskaya
5bdd52c65f
Do not remove import for iterator()
2013-03-15 14:23:12 +04:00
Natalia.Ukhorskaya
635f65e23d
Optimize import removes reference to invoke extension function. Add test.
...
#KT-3398 Fixed
2013-03-15 14:23:11 +04:00
Natalia.Ukhorskaya
37986891df
Add JetInvokeFunctionReference for JetCallExpression
2013-03-15 14:23:10 +04:00
Natalia.Ukhorskaya
4039202806
Optimize imports remove reference to get extension function
...
#KT-3397 Fixed
2013-03-15 14:23:09 +04:00
Evgeny Gerashchenko
fa5fcbbad1
Removed isVar field & constructor parameter from ValueParameterDescriptorImpl, since it's always false.
2013-03-14 20:49:44 +04:00
Evgeny Gerashchenko
82bff79c64
Adding nested classes in mock JDK automatically.
2013-03-14 20:49:44 +04:00
Evgeny Gerashchenko
ddd0c07c2d
Restored members which were present in mock JDK, but not in generation script.
2013-03-14 20:49:43 +04:00
Evgeny Gerashchenko
22fa239477
Removed entries which are missing in JDK 6.
2013-03-14 20:49:43 +04:00
Evgeny Gerashchenko
1e88d4ea2c
Providing paths to jars via VM options, some other minor stuff.
2013-03-14 20:49:42 +04:00
Evgeny Gerashchenko
53f775e98d
Test for KT-488 Implement members breaks in generic classes
...
#KT-488 obsolete
2013-03-14 20:49:42 +04:00
Evgeny Gerashchenko
735f06e78f
Added test for KT-334 Can't use java.lang.Comparable by the short name
...
#KT-334 obsolete
2013-03-14 20:49:41 +04:00
Evgeny Gerashchenko
be30716076
Test for KT-2017 Cannot sort list with no comparator
...
#KT-2017 obsolete
2013-03-14 20:49:41 +04:00
Nikolay Krasko
8fc5676c95
Fix test. Add not only JS libraries but also libraries that could be JS headers.
2013-03-14 15:28:15 +04:00
Nikolay Krasko
86886b79c3
Drop search file with pattern
2013-03-14 15:27:11 +04:00
Nikolay Krasko
5fe4e2f4ae
Introduce js header library concept
2013-03-14 15:27:10 +04:00
Nikolay Krasko
7c0be23416
Using intermediate variable for java module lookup
2013-03-14 15:27:10 +04:00
Nikolay Krasko
15fc21cf27
Refactor providers
2013-03-14 15:27:09 +04:00
Nikolay Krasko
c4bc984c94
Renames in FrameworkDetector
2013-03-14 15:27:08 +04:00
Nikolay Krasko
ecff401289
Assert we are don't perform copy into itself
2013-03-14 15:27:07 +04:00
Nikolay Krasko
3345ae8c96
Add vendor name and library version into manifest for JS stdlib
2013-03-14 15:27:06 +04:00
Nikolay Krasko
85c866418a
Remove ChooseCompilerSourcePanel
2013-03-14 15:27:05 +04:00
Nikolay Krasko
639f7c8762
Initial version of Kotlin compiler settings page
2013-03-14 15:27:04 +04:00
Nikolay Krasko
a6d5ad4155
Redesign dialogs
2013-03-14 15:27:03 +04:00
Nikolay Krasko
d5195382fa
Don't store library version in bundled runtime
2013-03-14 15:27:02 +04:00
Nikolay Krasko
70aeea0c8b
Remove unused class
2013-03-14 15:27:02 +04:00
Nikolay Krasko
2a9ad1b9c5
Store classes file for JS lib and getting library version
2013-03-14 15:25:55 +04:00
Nikolay Krasko
f98ae18596
Remove using standalone compiler option
2013-03-14 15:25:54 +04:00
Nikolay Krasko
f5955185ac
Refactoring: move file as configuring module is not a quickfix
2013-03-14 15:25:53 +04:00
Nikolay Krasko
39e6abf5e9
Refactoring: Rename Adpater to Finder
2013-03-14 15:25:51 +04:00
Nikolay Krasko
49a864846b
GUI for copy ecma 3 file
2013-03-14 15:25:51 +04:00
Nikolay Krasko
d73123f771
Don't allow copy into empty folders
2013-03-14 15:25:49 +04:00
goodwinnk
eed215893f
Add an ability to create libraries from standalone compiler
2013-03-14 15:25:48 +04:00
Nikolay Krasko
9b9f9a50d3
Temporary copy js kotlin runtime to the folder with the library. Need special gui.
2013-03-14 15:25:47 +04:00
Nikolay Krasko
52d8b0d616
Add library version to default library name
2013-03-14 15:25:46 +04:00
Nikolay Krasko
94d436d6c2
Better work with libraries names
2013-03-14 15:25:45 +04:00
Nikolay Krasko
8065bc4338
Make "copy to" dialog has default folder selected
2013-03-14 15:25:44 +04:00