Commit Graph

4515 Commits

Author SHA1 Message Date
Stepan Koltsov 3ee7bcee25 diag in DeclarationResolver 2012-03-30 02:35:09 +04:00
Stepan Koltsov 256a4bf5f7 properly check for anonymous namespace 2012-03-30 01:21:39 +04:00
Stepan Koltsov 87847fac85 unhardcode <root> identifiers 2012-03-30 01:11:03 +04:00
Stepan Koltsov 8526397338 rhino jar: add name, version, src 2012-03-30 00:31:06 +04:00
James Strachan 9d1a3873df added a basic working JS compiler maven plugin (though it doesn't currently let you specify any library files to compile) 2012-03-29 21:04:24 +01:00
James Strachan 04905c106a added a little sample maven project to test out the JS maven plugin (its not quite working yet :) 2012-03-29 20:50:36 +01:00
James Strachan abe72e5adc added a spike of a pure Java set of kotlin maven plugins which use the kotlin-compiler, build tools and associated dependencies from the Ant build. The kotlin-install module installs all the Ant build stuff into the local mvn repo, so they can be shaded and included into the plugin itself so it can be easily used from any mvn like build 2012-03-29 20:48:06 +01:00
Stepan Koltsov ec367a0bf0 merge copy-paste after excessive inline in e6fda5 2012-03-29 23:39:01 +04:00
Maxim Shafirov 060be0a8f8 Refactor dependencies, so jet-as-java might be used in cli. 2012-03-29 21:18:35 +04:00
James Strachan b29c31ad2d fixed up kdoc after Andrey's changes 2012-03-29 16:54:59 +01:00
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