Commit Graph

3768 Commits

Author SHA1 Message Date
James Strachan fe78ac5e67 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-29 13:59:34 +00:00
pTalanov 35ea508f4c Fix tests to work in a clean environment.
Share javascript backend tests.
2012-02-29 17:32:23 +04:00
pTalanov 5862ea00f0 Fix name for tests. 2012-02-29 17:32:21 +04:00
pTalanov ee27415bf7 Make test create and delete out directories. 2012-02-29 17:32:19 +04:00
pTalanov f8673ceb79 TODO fix: Remove dead code.
Use util method in CallType
2012-02-29 17:32:18 +04:00
pTalanov d41515765e JsAstUtils.equals -> equality 2012-02-29 17:32:17 +04:00
Nikolay Krasko 84efd8536f KT-1151 Code completion for not imported extension functions - test for completion not-imported function on nullable type 2012-02-29 17:14:09 +04:00
Nikolay Krasko 1b67699240 Enable check for declaring collection with classes 2012-02-29 17:14:09 +04:00
Nikolay Krasko 8d1c3dc759 KT-1151 Code completion for not imported extension functions - refactorings:
- Don't touch call resolver
- Check only newly imported descriptors
- Use Stepa's wrapper for getting boolean attribute from annotation
2012-02-29 17:14:08 +04:00
Nikolay Krasko a086e3985e KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties 2012-02-29 17:14:07 +04:00
Nikolay Krasko 67dc9ba6e3 KT-1151 Code completion for not imported extension functions - ignore parameters 2012-02-29 17:14:06 +04:00
Nikolay Krasko 0a669b9c01 KT-1151 Code completion for not imported extension functions - test for completion extension function without params 2012-02-29 17:14:06 +04:00
Nikolay Krasko e6b79debb2 KT-1151 Code completion for not imported extension functions - completion for extension functions when function doesn't have parameters 2012-02-29 17:14:05 +04:00
Leonid Shalupov ebae3fca2b Enable plugin verifier in build 2012-02-29 17:12:55 +04:00
Stepan Koltsov 67acb4c1e2 toString in error message 2012-02-29 17:03:48 +04:00
pTalanov 71cb3cfde2 Add missing libs to js_libs.
Fix JsAstUtil using wrong Nullable annotation.
2012-02-29 16:03:12 +04:00
pTalanov b6add5b198 Merge remote-tracking branch 'origin/master' 2012-02-29 15:58:20 +04:00
pTalanov 0698da5775 Reorganised lib directory in js.translator. 2012-02-29 15:58:07 +04:00
Andrey Breslav 200b6fbd91 Better error reporting from the compiler to the IDE 2012-02-29 15:11:34 +04:00
James Strachan 821a127655 temporily remove the map function until the code geneartion is working again 2012-02-29 11:09:06 +00:00
pTalanov f72d74afff Rebuilt dart.jar. 2012-02-29 14:29:20 +04:00
James Strachan 7f4bc1a121 split the filter method into filter(predicate) and filterTo(result, predicate) for easier completion & avoid confusion - seems 2 methods is better than the default arguments approach 2012-02-29 09:51:38 +00:00
James Strachan 27ece9c765 split the filter method into filter(predicate) and filterTo(result, predicate) for easier completion & avoid confusion - seems 2 methods is better than the default arguments approach 2012-02-29 09:51:22 +00:00
James Strachan 91f531357c removed TODO and unnecessary verbosity 2012-02-29 09:21:43 +00:00
James Strachan 13ee00a5aa added test case demonstrating subscript operators on lists 2012-02-29 09:19:44 +00:00
James Strachan f1466449a8 made it easier to pass fails blocks 2012-02-29 09:19:23 +00:00
James Strachan 54a38127e1 made it easier to pass fails blocks 2012-02-29 09:19:10 +00:00
James Strachan 99269eca8e added helper test class 2012-02-29 09:17:50 +00:00
Leonid Shalupov 461c8d773d use full ASM library to satisfy plugin verifier 2012-02-29 13:08:16 +04:00
James Strachan 84f4783192 fixed up the attribute helper method 2012-02-29 09:07:59 +00:00
James Strachan ed5e61911e use nicer name for the css classes property, added classSet for contains/iteration support and an addClass/removeClass method to Element along with better tests of CSS class support 2012-02-29 09:00:42 +00:00
Evgeny Gerashchenko fd7397a1ce Got rid of auto-popuping of live templates
#KT-1459 fixed
2012-02-29 11:47:48 +04:00
Evgeny Gerashchenko ddd2b5b245 Got rid of live template macro name clashing with IDEA's.
#KT-1443 fixed
2012-02-29 10:06:37 +03:00
pTalanov 4945f8c9f5 TODO fixes
Analyzer -> Analyzer Facade
Refactor for translators.
Fix a bug with scopes.
2012-02-28 21:19:23 +04:00
pTalanov c6a90d79d3 Refactoring intrinsics. 2012-02-28 21:19:19 +04:00
pTalanov d7487eea82 Further remove duplication in intrinsics. 2012-02-28 21:19:18 +04:00
pTalanov 6bbc0d2a6e Refactoring duplication in array intrinsics. 2012-02-28 21:19:12 +04:00
pTalanov fe9bb67970 Refactor js.tests. 2012-02-28 21:19:10 +04:00
Andrey Breslav 56a49781bd Fix testlib tests 2012-02-28 19:31:48 +04:00
Stepan Koltsov 5a4391e8bc more asserts that we are not using JavaDescriptorResolver to resolve JetLightClass 2012-02-28 19:24:05 +04:00
Andrey Breslav 452d6f0b1e Fix the build: remove the testlib module from the project 2012-02-28 19:15:54 +04:00
Nikolay Krasko 2dcb7750b2 KT-1401 Introduce Variable: "Add type annotation" checkbox naming 2012-02-28 18:21:57 +04:00
James Strachan cf73c1f3e2 Merge branch 'master' of github.com:JetBrains/kotlin 2012-02-28 11:57:20 +00:00
James Strachan 949b2ce070 moved the common test helper methods into the kool.test package as a reusable library 2012-02-28 11:56:49 +00:00
Stepan Koltsov 4ea99fc6ca KotlinCompiler -stubs option
* do not fail on errors
* do not analyze function bodies
* generate "throw new RuntimeException()" in bytecode
2012-02-28 15:52:59 +04:00
pTalanov 64dc73fef2 KotlinPlugin artifact fix. 2012-02-28 15:40:09 +04:00
James Strachan a8435c0fe6 moved the useful test methods into the kotlin-test jar so its easy to reuse on other modules/projects 2012-02-28 11:21:45 +00:00
pTalanov 57c9de776e Move TestConfig to js.tests module. Remove K2JSTranslationUtils. Remove core.Dummy class. TestConfig references library files using project file structure instead of getResourceAsStream. 2012-02-28 15:18:16 +04:00
pTalanov 8c2d20f303 Remove js.libraries from the project 2012-02-28 13:59:30 +04:00
pTalanov d6572f8094 Merge remote-tracking branch 'origin/master' 2012-02-28 13:32:48 +04:00