Commit Graph

603 Commits

Author SHA1 Message Date
Nikolay Krasko b84088e522 Small reformatting 2012-09-20 00:30:20 +04:00
Nikolay Krasko bffbe1dd38 KT-2710 Extend root JS package with standard scope
#KT-2710 In Progress
2012-09-20 00:30:19 +04:00
Nikolay Krasko fbe4e9f96e KT-2710 code completion doesn't work
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav 49933b8087 Tuple support removed from the JS back-end
#KT-2358 In progress
2012-09-18 20:51:12 +04:00
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Evgeny Gerashchenko c6a040a380 Removed sure() function from built-ins. 2012-09-17 18:00:22 +04:00
Evgeny Gerashchenko ffc4792071 Replaced sure() invocations with '!!' operator in JS tests. 2012-09-17 18:00:21 +04:00
Evgeny Gerashchenko 533cc5a04d Replaced sure() invocations with '!!' operator in js.libraries/src/core. 2012-09-17 18:00:21 +04:00
Svetlana Isakova bbc5869ed4 changes in Collection interfaces
MutableList returns MutableListIterator
MutableMap returns MutableSet as keySet(), values(), entrySet()
2012-09-13 17:28:30 +04:00
Natalia.Ukhorskaya 60bdae9d75 Prohibit body for annotation class
#KT-1886 Fixed
2012-09-13 16:27:48 +04:00
Andrey Breslav d6df227344 Fixing tests
This solution is in fact rather hackish, but the only way I see to fix it is to restructure the process of configuring test class paths altogether
2012-09-11 21:47:53 +04:00
Svetlana Isakova f987aa4faa removed JLang and LUtil from file named in stdlib 2012-09-10 20:15:19 +04:00
Andrey Breslav b4746ff53c Avoid having foo.kt.jet in error messages 2012-09-08 00:39:58 +04:00
Andrey Breslav d5f341aa91 Fix most of JS back-end tests after adding Pair and Triple 2012-09-08 00:39:36 +04:00
Andrey Breslav 89fd0526cf TupleN classes and their usages replaced by Pair and Triple
(KT-2358 Drop tuples)

 #KT-2358 In Progress
2012-09-07 21:26:42 +04:00
Andrey Breslav 8333448f10 Pair and Triple classes added 2012-09-07 21:26:12 +04:00
Svetlana Isakova 3bd79fa701 introduced interface PlatformToKotlinClassMap
changed method in ModuleConfiguration (now it returns PlatformToKotlinClassMap)
JavaToKotlinTypesMap implements PlatformToKotlinClassMap
'importAllUnderDeclaration' in Importer uses PlatformToKotlinClassMap
2012-09-07 19:03:06 +04:00
Svetlana Isakova e622be8a2d changed js tests/library after collections mapping 2012-09-05 18:55:17 +04:00
Svetlana Isakova 8bbb61a98c update js view on java.util library after collections mapping 2012-09-05 18:55:17 +04:00
Svetlana Isakova 6fe49398a6 added 'getKotlinAnalogsForJavaStandardClasses'
to most of module configurations
2012-09-05 18:55:16 +04:00
Svetlana Isakova a3194e9a46 removed unnecessary import jet.Iterator 2012-09-05 18:55:16 +04:00
Svetlana Isakova e70db866ad add 'getKotlinAnalogs' to ModuleConfiguration 2012-09-05 18:55:15 +04:00
Svetlana Isakova 7073b12d11 add ModuleConfiguration to injectors
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Andrey Breslav 1b65ba644e JS Back-end does not handle complex patterns any more
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Pavel V. Talanov 04da2f453a Test for KT-2281.
#KT-2281 fixed
2012-08-31 14:35:54 +04:00
Natalia.Ukhorskaya 92a782ce6c AnnotationDescriptor refactoring: contains map of ValueParameterDescriptor and CompileTimeConstant for valueArgument.
DescriptorUtils: add method to get a list of sorted value arguments from AnnotationDescriptor
2012-08-30 10:56:31 +04:00
Pavel V. Talanov e6e6f7e598 Object's constructor is private from frontend point of view.
Test data changed.
Js-backend test objectInObject turned off.
Public constructors for objects hard-coded in jvm-backend.
2012-08-29 15:58:27 +04:00
Andrey Breslav 784bf31a3e Store resolved calls for loop range's iterator(), next(), hasNext()
+ code duplication removed from expression typing visitor
2012-08-24 19:49:30 +04:00
James Strachan cbde1e1e46 added a little test case to see if using $ variables works in kotlin for JS generation (e.g. for angularjs support) 2012-08-22 16:17:40 +01:00
Pavel V. Talanov 0a044b18d5 Remove VariableDescriptor#isObjectDeclaration and usages.
Replace with BindingContext trace slice OBJECT_DECLARATION_CLASS.
Remove corresponding field from constructor.
Introduce hack in JavaDescriptorResolver which creates dummy class descriptors for enum entry objects.
2012-08-22 18:06:37 +04:00
Svetlana Isakova f817eba7aa removed check for 'hasNext' val in frontend 2012-08-20 16:05:16 +04:00
Pavel V. Talanov 52a933e179 Iterating over iterator. 2012-08-16 20:24:57 +04:00
Pavel V. Talanov e184bf7a8f Remove Iterator#get_hasNext since val hasNext convention is dropped. 2012-08-16 20:24:37 +04:00
Svetlana Isakova ec556e2abc val hasNext changed to fun in test 2012-08-16 18:39:24 +04:00
Svetlana Isakova 293452e375 removed not further generated file
from standard library
2012-08-16 18:39:24 +04:00
Svetlana Isakova f3146a9697 hasNext changes to fun in js tests 2012-08-16 18:39:24 +04:00
Svetlana Isakova a5aaa3dadc remove java's Iterator,Iterable
from java script mirror to java standard library
2012-08-16 18:39:24 +04:00
Svetlana Isakova 1b28604268 java Iterable/Iterator replaced to jet ones
in completion, js tests
2012-08-16 18:39:23 +04:00
Pavel V. Talanov ced3209170 Merge remote-tracking branch 'origin/master' 2012-08-16 13:21:49 +04:00
Andrey Breslav 00305ba920 Fixing interdependency between delegation and fake overrides
Main changes sit in OverrideResolver::generateOverridesAndDelegationInAClass()

Now fake overrides AND delegation are generated for supertypes before any processing is done for subclasses.
2012-08-15 16:15:04 +04:00
Pavel V. Talanov 758254a5b4 Attempt to fix mvn build. 2012-08-14 18:48:26 +04:00
Pavel V. Talanov b0856cb364 Do not translate library (marked by annotation) declarations. 2012-08-14 18:48:24 +04:00
Nikolay Krasko cf6787b798 Inject context for body resolve 2012-08-14 14:15:10 +04:00
Pavel V. Talanov 954c1ee29f Fix test file name. 2012-08-14 14:01:27 +04:00
Pavel V. Talanov 6845a8fbc0 Replace symbols preventing compilation on build server. 2012-08-14 13:10:28 +04:00
Pavel V. Talanov 298f1da9dd Fix logger in LibrarySourcesConfig. 2012-08-14 13:09:49 +04:00
Pavel V. Talanov 362a75bb9c Fix import after rebase. 2012-08-14 13:08:47 +04:00
Pavel V. Talanov 9dce8a9f33 Merge remote-tracking branch 'origin/master'
Conflicts:
	js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/factories/RangesFIF.java
	js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/patterns/NamePredicate.java
2012-08-14 13:04:38 +04:00
Pavel V. Talanov 71adfb57db Drop libraryDirectories CLI option. 2012-08-14 12:44:52 +04:00
Pavel V. Talanov 4320a5fb61 Don't generate code for javautilCode.kt. 2012-08-14 12:44:51 +04:00