Commit Graph

11265 Commits

Author SHA1 Message Date
develar 995f898116 JS backend: added String.isEmpty
(cherry picked from commit 6cf1761)
2013-08-09 14:29:52 +04:00
develar 7c18ab3ca8 JS backend: cleanup strings code.
Added String.size and String.length().
2013-08-09 14:29:52 +04:00
develar 678f6601dd JS backend: made as intrinsic map accessing methods and fixed accessing to native map. 2013-08-09 14:29:52 +04:00
develar be4e1b7599 JS backend: translate invoke function as intrinsic. 2013-08-09 14:29:52 +04:00
develar 7b67c47594 JS backend: descriptor parameter of DescriptorPredicate#apply marked as @NotNull. 2013-08-09 14:29:51 +04:00
Zalim Bashorov 9b09d5f6df JS backend: fixed String.split for the case when using regexp.
Added(overload) String.split with limit parameter.
2013-08-09 14:29:51 +04:00
develar 0341d875a9 JS backend: cleanup code.
Drop Kotlin.toString and jet.sure.
2013-08-09 14:29:51 +04:00
develar f1c258f601 JS backend: make MutableMap.set as function intrinsic.
Fixed test WebDemoExamples2Test#builder.
2013-08-09 14:29:51 +04:00
develar 63a72b1095 JS backend: performance optimization for CompositeFIF -- we don't need hash map.
(cherry picked from commit 7b29a01)
2013-08-09 14:29:51 +04:00
develar 8302879991 JS backend: added reviver parameter to JSON.parse.
Fixed code style in json.kt.

(cherry picked from commit b3bf97c)
2013-08-09 14:29:51 +04:00
develar ddbea17e0f JS backend: improve js readability which generated in the Dangerous translator -- initialize temporary vars in declaration.
(cherry picked from commit 4d8355c)
2013-08-09 14:29:50 +04:00
Zalim Bashorov d4bf98de97 JS backend: fixed intrinsic of the typed array factory methods(intArray etc). 2013-08-09 14:29:50 +04:00
develar 1af35a6aff JS backend: make intrinsic array factory methods.
#KT-2511 fixed

(cherry picked from commit 31843c5)
2013-08-09 14:29:50 +04:00
Natalia.Ukhorskaya e0a899902c Merge remote-tracking branch 'origin/pr/292' 2013-08-09 12:38:54 +04:00
Natalia.Ukhorskaya 2436ed1a17 Temporary change gradle output to show it in MessageView in Android-Studio 2013-08-09 12:24:09 +04:00
Evgeny Gerashchenko 3f7627120b KT-3853 ISE on resolving function implementation from trait from Java
The fix is simple and dirty, because the related code will be removed soon anyways. Fix is necessary for compiling Kara.

 #KT-3853 fixed
2013-08-08 21:39:25 +04:00
Nikita Skvortsov 405465fd25 Support kotlin-android-sdk-annotations in gradle plugin 2013-08-08 21:09:45 +04:00
Natalia.Ukhorskaya 6bb1474ee8 Publish android-sdk-annotations in Maven 2013-08-08 17:54:18 +04:00
Natalia.Ukhorskaya aec1fa8697 Implement method from super class 2013-08-08 16:03:03 +04:00
Natalia.Ukhorskaya bc9af296a5 Check is JavaBuilder.IS_ENABLED public 2013-08-08 16:02:58 +04:00
Natalia.Ukhorskaya 42b8cb122b Add pom.xml android-sdk-annotations 2013-08-08 14:07:52 +04:00
Natalia.Ukhorskaya 2cc4638b09 Disable kotlin-jps-plugin when java-jps-plugin is disabled 2013-08-08 14:07:50 +04:00
Nikolay Krasko 9205c0251e Cache result of resolveElement requests 2013-08-08 00:37:46 +04:00
Nikolay Krasko 8d06a72157 Store exception caught during computation as a result and rethrow it 2013-08-08 00:37:45 +04:00
Nikolay Krasko ca675290a8 Allow to monitor only thread name 2013-08-08 00:37:45 +04:00
Nikolay Krasko bee3295f34 Fix tracking slices 2013-08-08 00:37:44 +04:00
Nikolay Krasko 585cd15a03 Remove YourKit profile settings
New idea remove them each time it gets focus
2013-08-08 00:37:43 +04:00
Nikolay Krasko e402c4d527 Guard creation of LazyClassDescriptor with lock to avoid getting 'this' in invalid state 2013-08-08 00:37:42 +04:00
Nikolay Krasko 70ae9e589c Generate only final fields for injectors - make the access thread-safe 2013-08-08 00:37:42 +04:00
Nikolay Krasko 14247ea2ab Guard construction of imports index under common lock 2013-08-08 00:37:41 +04:00
Nikolay Krasko fbe1491ad4 Lock based binding context 2013-08-08 00:37:40 +04:00
Andrey Breslav 39b091ddaf Trying to fix weird issues on TeamCity: Flushing code cache in the AllTests launch configuration 2013-08-07 20:41:10 +04:00
Andrey Breslav 8230d7ed94 Update to IDEA 13 EAP - 130.1486 2013-08-07 20:41:09 +04:00
Andrey Breslav 4f6e7ad39b Setting up continuous integration 2013-08-07 20:34:47 +04:00
Natalia.Ukhorskaya 609c4b3b28 Add notification panel for kotlin files that aren't in 'kotlin' folder (for gradle-android project) 2013-08-07 15:42:09 +04:00
Natalia.Ukhorskaya 5919968dc5 Disable analysis for kotlin files that aren't in 'kotlin' folder (for Gradle-Android project) 2013-08-07 15:42:08 +04:00
Mikhael Bogdanov 8a4b01d9c6 KT-3702: Inner class constructor cannot be invoked in override function with receiver
KT-3532: NoSuchMethodError when constructing Java inner class
KT-3847: Class is not recognized as inner when loaded from binaries

 #KT-3702 Fixed
 #KT-3532 Fixed
 #KT-3847 Fixed
2013-08-06 10:58:27 +04:00
Natalia.Ukhorskaya 8e45bb7657 Fix wrong generated class name invoking inner objects from another module 2013-08-06 10:17:25 +04:00
Andrey Breslav e3643fd222 Proguard does not print notes any more
There are too many notes in our logs, we never read them, and logs get very tedious to scroll through.
2013-08-05 18:37:46 +04:00
Natalia.Ukhorskaya acf8c88cfc Java property as annotation parameter 2013-08-02 18:59:29 +04:00
Natalia.Ukhorskaya e792238cbe Boolean as annotation parameter (java) 2013-08-02 18:59:27 +04:00
Natalia.Ukhorskaya 064f114b25 Allow top-level properties or properties from class object as annotation parameters 2013-08-02 18:59:26 +04:00
Natalia.Ukhorskaya 27801d5351 Add test: primitive values as annotation parameter 2013-08-02 18:59:25 +04:00
Alexey Sedunov 41c98508b6 SafeDeleteProcessor: Add nullability annotations
Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java
2013-08-01 15:52:08 +04:00
Alexey Sedunov 2704328160 Implement "Safe Delete" refactoring for value parameters 2013-08-01 15:41:34 +04:00
Alexey Sedunov 6ef8f04a01 Generate tests for type parameters
Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-08-01 13:18:46 +04:00
Evgeny Gerashchenko 7f62b9259c KT-3820 VerifyError when invoking intrinsic for range obtained from collection
#KT-3820 fixed
2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko aafa492c95 Disabled hierarchy viewing for alien files. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko b14ee4c52f Disabled hint calculation for alien files. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko 6b66de5e83 Moved method to more general place. 2013-07-31 15:54:45 -07:00