Commit Graph

15318 Commits

Author SHA1 Message Date
Andrey Breslav 6e597b0438 Unused variable removed 2013-10-06 22:39:13 +04:00
Andrey Breslav 7d7316a077 Reading static fields supported 2013-10-06 18:01:12 +04:00
Andrey Breslav 2e6d523966 Reading static fields supported 2013-10-06 17:59:06 +04:00
Andrey Breslav b7c169fc89 Support static method calls 2013-10-06 17:46:23 +04:00
Andrey Breslav cec2111c29 Coerce object types on return 2013-10-06 17:44:37 +04:00
Andrey Breslav 8d29047204 Run configuration for tests 2013-10-06 17:43:56 +04:00
Andrey Breslav d7936b7ea4 Do not fail when a class is not found 2013-10-06 17:01:40 +04:00
Andrey Breslav 9b2190e1b9 All objects should be loaded by Eval and not directly 2013-10-06 16:30:30 +04:00
Andrey Breslav c5cddd42cb .gitignore 2013-10-06 15:19:04 +04:00
Andrey Breslav 173e7157ab ReadMe 2013-10-06 15:17:59 +04:00
Andrey Breslav 632adb595c Some tests for loops 2013-10-06 15:17:59 +04:00
Andrey Breslav 55e861e503 Don't forget to pop the condition off the stack 2013-10-06 15:17:59 +04:00
Andrey Breslav c376619790 Allow omitting "public" and "test" 2013-10-06 15:17:59 +04:00
Andrey Breslav e85a6fda39 Support int coercions on return 2013-10-06 15:17:59 +04:00
Andrey Breslav 85ac477b2f assertEquals(): order fixed 2013-10-06 15:17:59 +04:00
Andrey Breslav 5a075b80d5 Testing infrastructure 2013-10-06 15:17:59 +04:00
Andrey Breslav ffca4dd5a0 Setting up equals()/hashCode() for values and results 2013-10-06 15:17:59 +04:00
Andrey Breslav a55c350c0c Added dependency on junit 2013-10-06 15:17:59 +04:00
Andrey Breslav b067b1abe4 toString() supported for values and results 2013-10-06 15:17:59 +04:00
Andrey Breslav 0aca17ce15 Do not evaluate label instructions and such 2013-10-06 15:17:59 +04:00
Andrey Breslav b926e79aac Support for interpreter events 2013-10-06 15:17:58 +04:00
Andrey Breslav 3bae3e25b5 Support for throwing exceptions from Eval 2013-10-06 15:17:58 +04:00
Andrey Breslav 7559c3bd94 Main interpreter loop implemented 2013-10-06 15:17:58 +04:00
Andrey Breslav 2e374df5a9 Formatting 2013-10-06 15:17:58 +04:00
Andrey Breslav f93d209b88 Control logic will be handled by interpreter loop 2013-10-06 15:17:58 +04:00
Andrey Breslav 21e0dabf87 Using LabelNode instead of bare Label 2013-10-06 15:17:58 +04:00
Andrey Breslav 8aad18e849 Class renamed 2013-10-06 12:31:15 +04:00
Andrey Breslav 2a24c00539 Unused methods removed 2013-10-06 12:25:21 +04:00
Andrey Breslav f1601b2da0 Eval and Control separated 2013-10-06 03:52:09 +04:00
Andrey Breslav a078727ea3 IINC treatment corrected 2013-10-06 03:47:16 +04:00
Andrey Breslav fcc3fae8e5 Interpreter completed 2013-10-06 03:34:37 +04:00
Andrey Breslav dae297d262 Nilary and unary operations supported 2013-10-06 02:00:18 +04:00
Andrey Breslav a6dee0fd3b Initial project structure 2013-10-06 00:06:06 +04:00
Andrey Breslav 00c3156b59 Use Unit instead of Void 2013-10-05 16:59:57 +04:00
Andrey Breslav 2e585f88a3 ReenteringLazyValueComputationException & co moved to frontend 2013-10-05 16:59:57 +04:00
Andrey Breslav 0765e89b19 Weakly retained memoized functions moved out of util.runtime 2013-10-05 16:59:57 +04:00
Andrey Breslav 5ebbe0d772 Get rid of dependency on guava in DFS 2013-10-05 16:59:57 +04:00
Andrey Breslav 239ca9728d StorageManager API does not use Computable and Function and more 2013-10-05 16:59:57 +04:00
Andrey Breslav 7d1c46ed2c Getting rid of Computable and Function in lazy values and memoized functions 2013-10-05 16:59:56 +04:00
Andrey Breslav 4d28dfada6 Lazy values and memoized functions conform to Kotlin's function interfaces 2013-10-05 16:59:56 +04:00
Evgeny Gerashchenko a1e4ca2871 Not building light class for local class (to fix exception in tests). 2013-10-04 20:40:55 +04:00
Evgeny Gerashchenko 8070f62764 Implemented abstract methods introduced in newer IDEA. 2013-10-04 20:38:02 +04:00
Zalim Bashorov 4f957eaf69 Extracted manifest values to manifest.properties file. 2013-10-04 19:21:25 +04:00
Zalim Bashorov dd553ef671 JPS plugin: refactoring:
- extract utility methods from KotlinBuilder;
- use StringUtil#join instead for iteration;
- add private constructor to LibraryUtils.
2013-10-04 19:18:19 +04:00
Alexander Udalov 9d7968457f JDR doesn't depend on intellij-core 2013-10-04 18:32:42 +04:00
Alexander Udalov 89dbafb6be Rename KotlinClassFileHeader and related classes 2013-10-04 18:32:42 +04:00
Alexander Udalov c3abd1c26f Delete LOG.error from ReadDataFromAnnotationVisitor
These conditions can happen on a broken binary data, no need to report an error
about it
2013-10-04 18:32:42 +04:00
Alexander Udalov 098d183a72 Remove Logger from AnnotationDescriptorDeserializer
Use abstract ErrorReporter instead
2013-10-04 18:32:42 +04:00
Alexander Udalov ef7bb0cdf4 Delete LOG.warn about number of type arguments from JDR
This can happen when loading symbols from incorrect Java sources, which is OK
2013-10-04 18:32:41 +04:00
Alexander Udalov f218877cf2 Get rid of dependency of PackageClassUtils on StringUtil 2013-10-04 18:32:41 +04:00