Commit Graph

4526 Commits

Author SHA1 Message Date
Svetlana Isakova b0e301ae9f Invisible call candidates removed from consideration 2012-03-30 13:38:35 +04:00
Svetlana Isakova 13173f75b5 Added 'local' visibility to local descriptors 2012-03-30 13:38:35 +04:00
Svetlana Isakova 3c5d4f6857 'isVisible' strategy added to Visibility interface 2012-03-30 13:38:35 +04:00
Svetlana Isakova 7df4e6728b 'isSubClass' method moved to DescriptorUtils 2012-03-30 13:38:35 +04:00
Pavel V. Talanov 2650e9f6b0 Support when without expression.
#KT-1666 Fixed
2012-03-30 13:28:05 +04:00
Pavel V. Talanov fd19c9fae8 Add safeParseInt and safeParseDouble to standard library. 2012-03-30 13:28:05 +04:00
Pavel V. Talanov 36e242a9e6 Add test for uncovered case. 2012-03-30 13:28:04 +04:00
James Strachan fbd1279cc9 removed Iterator.toString() as it changes the iterator state, the default is fine and folks should be explicit about iterating over an iterator. Also disabled the default limit on the iterator on join(); if folks want to limit the join they should be explicit 2012-03-30 10:24:27 +01:00
James Strachan 25c0ed3279 enabled the js example project 2012-03-30 09:43:05 +01:00
Stepan Koltsov 4c41e0bb47 fix js backend broken recently 2012-03-30 03:55:02 +04:00
Stepan Koltsov 2c4094f4d4 proper environment when compiling special things
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
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