Commit Graph

4254 Commits

Author SHA1 Message Date
Stepan Koltsov fecc98af8c more DI in top down analysis 2012-03-14 21:47:29 +04:00
Stepan Koltsov 7a6f18c14a di: required parameters
* required parameters have @NotNull annotation generated
* parameters are required by default
2012-03-14 21:47:25 +04:00
Andrey Breslav e6020725fe Refactoring CallResolver to use context objects 2012-03-14 20:18:12 +04:00
James Strachan 7ef65c0099 moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA 2012-03-14 16:14:14 +00:00
James Strachan 9cd21d3a4d used Tuple0 as a better type parameter for the function on Tuple/StringTemplate 2012-03-14 16:14:14 +00:00
Stepan Koltsov 76e49f1865 more root ns 2012-03-14 20:13:55 +04:00
Stepan Koltsov 316010be37 fix typo 2012-03-14 20:02:57 +04:00
James Strachan d01d1d973d Merge branch 'master' of github.com:JetBrains/kotlin 2012-03-14 16:00:57 +00:00
James Strachan e2d85427ce removed the old experiments for templating; so we now just create a StringTemplate object that can be converted to html or used with JDBC queries/statements etc 2012-03-14 16:00:11 +00:00
Stepan Koltsov 5af4661c18 better root ns
* ModuleDescrpiptor now lives in context
* ns parent is module descriptor iff ns is root ns
* minor test enhancements
2012-03-14 19:43:22 +04:00
Stepan Koltsov 671b0ff7ee ... and rename 2012-03-14 18:01:21 +04:00
Stepan Koltsov 1127a23a1b NamespaceLikeBuilder instead of NamespaceLike 2012-03-14 18:01:18 +04:00
James Strachan 34c4808c76 #KT-1565 add a StringTemplate class which takes a Tuple - also add a Tuple so we can easily generically process all the items in a tuple 2012-03-14 12:51:04 +00:00
Maxim Shafirov 32264cd4a8 File name transforming is unnecessary and thus, removed. 2012-03-14 16:35:45 +04:00
Nikolay Krasko cd59e72350 Add ability to post exceptions during analyzing as errors from IDEA 2012-03-14 15:53:39 +04:00
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
Evgeny Gerashchenko af9f00c177 Merge branch 'decompiler'
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/NamespaceCodegen.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaPackageScope.java
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorUtils.java
2012-03-14 14:50:04 +04:00
Andrey Breslav fe26a1de9e Pdfs and binary data added 2012-03-14 13:50:05 +04:00
pTalanov f326359bfe KT-1550 Cannot use parenthesized array access expression. 2012-03-14 13:19:02 +04:00
pTalanov e30a22b778 Add a hacky solution to loop parameter capture problem. 2012-03-14 13:19:01 +04:00
pTalanov e331f27483 Introduce BackingFieldAccessTranslator.
Refactor AccessTranslationUtils, ReferenceTranslator.
Add test for namespace properties.
2012-03-14 13:19:01 +04:00
pTalanov b3e306ac32 KT-740
Turn on KT-740-3.kt test.
Fix a typo.
2012-03-14 13:19:00 +04:00
pTalanov af690fb02a KT-817 Wrong code on prefix increment operators. 2012-03-14 13:18:59 +04:00
James Strachan 515b701383 removed old guice dependencies 2012-03-14 08:52:50 +00:00
Andrey Breslav 8019357bd5 KT-555 Parse error for generic function invocation
#KT-555 Fixed
2012-03-14 12:51:39 +04:00
James Strachan 7adcecb634 removed IDEA project files from the maven build section 2012-03-14 08:42:41 +00:00
James Strachan a7ef7a2340 added Mark Petrovic's suggestion of the string encoding - thanks Mark! 2012-03-14 08:41:05 +00:00
Andrey Breslav 9441e57fa0 KT-627 Drop Predicate expression
The residuals removed
2012-03-14 12:40:28 +04:00
James Strachan 3c9990d97c added a section on contributing, forking and pull requests 2012-03-14 08:32:15 +00:00
Stepan Koltsov 511776234f fix k2js tests 2012-03-13 23:25:25 +04:00
Stepan Koltsov 9cdcc7b4f2 diagnostics 2012-03-13 23:25:07 +04:00
Stepan Koltsov 82d77560a2 FqName class
for type safety, to easier distinguish between:

* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
James Strachan 15078b1b70 removed old cruft now we can run Kotlin tests and scripts directly in IDEA 2012-03-13 16:58:24 +00:00
James Strachan b6a1572b24 added some extra dependencies that kinda should come from the kotlin compiler but at least it makes the tests run more reliably with maven with and without localKotlin profiles 2012-03-13 16:57:54 +00:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
Andrey Breslav ee2976d380 Unnecessary beans removed 2012-03-13 20:30:42 +04:00
Andrey Breslav 1dd4a2c463 Injector generation included into the build 2012-03-13 20:01:46 +04:00
Andrey Breslav c6e54b133c Deterministic order of setter calls 2012-03-13 20:00:54 +04:00
Andrey Breslav 93fcd7d1f2 Dependency Injection: GUICE replaced by custom code generation 2012-03-13 19:44:35 +04:00
James Strachan fb8269e6d1 removed old cruft from ant build 2012-03-13 15:03:10 +00:00
Andrey Breslav d6b24d39ea Absent source directories removed 2012-03-13 18:20:53 +04:00
Andrey Breslav 646334cc39 Qualified name in the exception messageˆ 2012-03-13 18:17:30 +04:00
James Strachan e00cc87576 Merge pull request #19 from chirino/master
Simplify the String.toRegex extension to a single function
2012-03-13 07:13:18 -07:00
Alex Tkachman 5bb7c2122d KT-1538 proper boolean invertion 2012-03-13 15:50:29 +02:00
Evgeny Gerashchenko 6a8dfc555e Made JetContentBasedFileSubstitutor.getDecompiledPsiFile @Nullable. 2012-03-13 16:37:27 +04:00
Evgeny Gerashchenko abee8262a7 JetPsiReference.isReferenceTo() also checks for compiled kotlin elements. 2012-03-13 16:34:40 +04:00
James Strachan e007ce8c62 fixed up readme to link to the example template implementations 2012-03-13 12:22:56 +00:00
James Strachan 8d47332cd9 refactored the template experiment1 implementation to add i18n support of numbers & dates 2012-03-13 12:18:37 +00:00
James Strachan 859bab0305 removed some noise from the fail() methods 2012-03-13 12:18:36 +00:00
pTalanov df2d9769fa KT-1359 Cannot declare object inheriting from a trait or class. 2012-03-13 15:50:09 +04:00