Stepan Koltsov
e6fda5b3d3
minor codegen refactoring
...
* cleanup after yesterday
* remove BindingContext stack in GenerationState
* use more power and strength of di
TODO: also initialize GenerationState by DI
2012-03-29 19:47:50 +04:00
James Strachan
d76454ce08
merged with Andrey's changes
2012-03-29 16:40:44 +01:00
James Strachan
beedd36456
refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment)
2012-03-29 16:37:36 +01:00
Andrey Breslav
ed04839901
renaming/code moving to meet the code style
2012-03-29 19:22:55 +04:00
Maxim Shafirov
752949687d
local JB updates fixed
2012-03-29 18:38:43 +04:00
Stepan Koltsov
54cb05f295
di: do not use tmpfile on windows
2012-03-29 17:45:02 +04:00
James Strachan
2f1ceba317
Merge pull request #33 from franckrasolo/stdlib
...
#KT-1650 Fixed
2012-03-29 06:18:06 -07:00
Andrey Breslav
320241d107
Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
...
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +04:00
Andrey Breslav
0ae59df0b1
A little renaming to make code more clear
2012-03-29 16:17:43 +04:00
Andrey Breslav
8442521c64
Fixing the order of tasks to have the code compiled after the version is put there
2012-03-29 15:44:34 +04:00
Leonid Shalupov
daa0963fbe
plugin-publisher: get IDEA 11.1
2012-03-29 14:35:29 +04:00
James Strachan
a970fd24f3
include the j2k in the build tools jar
2012-03-29 09:51:51 +01:00
James Strachan
338638d4f5
first spike of fix for KT-1668 to help github syntax highlighter; will rename more when Franck is done with his patches on the collection stuff
2012-03-29 09:32:56 +01:00
James Strachan
89038227d8
first spike attempting to implement KT-1453 though hit a compiler error
2012-03-29 08:58:58 +01:00
James Strachan
316372f8b5
minor change to allow CompilerPlugins to be registered programatically
2012-03-29 08:48:28 +01:00
Stepan Koltsov
5bef29870d
more di in jvm.codegen
2012-03-29 01:37:02 +04:00
Stepan Koltsov
1e330fe0a0
jvm.backend: get JetStandardLibrary from analyzer
...
This is a big step towards removal of JetStandardLibrary.getInstance()
2012-03-29 01:03:44 +04:00
Stepan Koltsov
12c27d42c2
remove outdated comment
2012-03-28 23:56:37 +04:00
Stepan Koltsov
ca30e7b67b
rename class
2012-03-28 23:56:34 +04:00
Stepan Koltsov
6488d65259
rename method
2012-03-28 23:56:33 +04:00
Stepan Koltsov
231a4d9940
injector for JVM codegen
2012-03-28 23:39:03 +04:00
Stepan Koltsov
182f6d9897
di: objects of generic types
2012-03-28 23:38:59 +04:00
Franck Rasolo
834c624f2c
KT-1650 Made map and all variations of filter return List<T> for Java iterables, implemented take/takeWhile, and tidied up KDoc comments accordingly, #KT-1650 Fixed
2012-03-28 19:46:12 +01:00
Stepan Koltsov
e73b3621e7
fix resolution of ArrayList.add in some environments
2012-03-28 22:12:25 +04:00
Stepan Koltsov
4f009ff24c
prohibit empty named member group
2012-03-28 22:12:22 +04:00
James Strachan
9b434490c5
Merge pull request #32 from franckrasolo/master
...
#KT-1653 Fixed
2012-03-28 11:03:07 -07:00
Nikolay Krasko
77652a9df8
KT-1254 "Implement members" gives strange result when implementing a method returning function type
...
#KT-1254 fixed
2012-03-28 21:34:22 +04:00
Pavel V. Talanov
befe3246cc
Add some TODOs based on code coverage.
...
Fix some typos and minor code issues.
2012-03-28 21:20:38 +04:00
Pavel V. Talanov
87381a06a7
Test for inline dangerous expressions.
...
Better FindPreviousVisitor#hasDangerous implementation.
2012-03-28 21:20:38 +04:00
Nikolay Krasko
31ceb1e7df
KT-1636 Idea consumes the whole heap with Kotlin plugin
...
#KT-1636 fixed
2012-03-28 20:58:36 +04:00
Pavel V. Talanov
e9f78b6fe2
Add test for another case.
2012-03-28 19:44:50 +04:00
Pavel V. Talanov
fd1d6e8dfc
Support inline for simple extension function case.
2012-03-28 19:42:57 +04:00
Pavel V. Talanov
b80b7a9050
Eliminate references of the callee in CallTranslator.
2012-03-28 19:42:56 +04:00
Pavel V. Talanov
003182f499
Big refactoring of CallTranslator.
2012-03-28 19:42:56 +04:00
Pavel V. Talanov
9b2dc6f584
More cases supported for inline functions: namespace level functions with parameters (not blocks)
2012-03-28 19:42:55 +04:00
Pavel V. Talanov
8843bac989
First stab at inline functions.
2012-03-28 19:42:54 +04:00
Andrey Breslav
0a42abc7c9
KT-1152 Only allow annotation classes to be instantiated as annotations
...
#KT-1152 Fixed
2012-03-28 19:40:45 +04:00
Andrey Breslav
25a972cd80
Removing the unnecessary class
2012-03-28 19:04:17 +04:00
Andrey Breslav
5776fec84c
EA-34595 - ISE: MutableClassDescriptorLite.addSupertype
2012-03-28 18:58:09 +04:00
Andrey Breslav
a89f6a2710
Fixing EA-35207 - assert: JetCompiler$CompilerProcessListener$CompilerMessage.reportTo
2012-03-28 18:58:09 +04:00
Franck Rasolo
ca4f552245
KT-1653 Implemented map, flatMap, take, takeWhile, join, and toString for iterators, #KT-1653 Fixed
2012-03-28 15:55:27 +01:00
Stepan Koltsov
c68d9c62f6
Do not show fake overrides in decompiler
...
#KT-1658 Fixed
No test, sorry
2012-03-28 18:28:16 +04:00
Andrey Breslav
7714f84dd8
KT-222 Grammar Docu of objectLiteral slightly wrong
...
#KT-222 Fixed
2012-03-28 16:48:31 +04:00
Andrey Breslav
32e1018ace
KT-219 Grammar issue in delegationSpecifier
...
#KT-219 Fixed
2012-03-28 16:42:16 +04:00
Evgeny Gerashchenko
eacb89171e
Added navigation to class object members.
2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko
d0751b5c11
Added LibrariesWithSourcesTest.
2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko
0aee30f92f
Implemented optional adding library sources in AbstractLibrariesTest.setUp()
2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko
a314fc929e
Extracted AbstractLibrariesTest from LibrariesTest, renamed it to LibrariesWithoutSourcesTest.
2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko
e0f8521f1e
Moved decompiled files in testdata of LibrariesTest to separate folder.
2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko
46e748fce5
Added overloaded and extension functions to LibrariesTest.
2012-03-28 15:02:24 +04:00