Commit Graph

8906 Commits

Author SHA1 Message Date
Svetlana Isakova ee395bee1f Reporting the same diagnostic only once for copied instructions
(depends on whether it should be reported for all or only for one of the copies)

VariableContext introduced
2012-12-18 16:00:26 +04:00
Svetlana Isakova bb2e1c04ec updated allow dead instructions handling
Added labels collecting:
Allow dead instruction block can have several starters and
one stopper that knows all corresponding starters by labels
2012-12-18 16:00:26 +04:00
Svetlana Isakova 28f1d288cf Added optional custom names to labels in pseudocode 2012-12-18 16:00:26 +04:00
Svetlana Isakova 3ac45ecca7 store references to instruction copies
inside instruction
2012-12-18 16:00:26 +04:00
Svetlana Isakova d92e989c6e add assert to ControlFlowTest 2012-12-18 16:00:25 +04:00
Svetlana Isakova 8a123f8722 added copy() method to Instruction 2012-12-18 16:00:25 +04:00
Svetlana Isakova 8141229744 added edge from try start to error through finally block
KT-2845 Wrong cf-analysys for variable initialization in try..finally
 #KT-2845 fixed
todo: some errors now are reported for several times (each time when analyzing finally block)
2012-12-18 16:00:25 +04:00
Svetlana Isakova b01dc094db parameter removed from 'jumpToError' method 2012-12-18 16:00:25 +04:00
Natalia.Ukhorskaya fcc3a4d0ab Android tests: finish all processes 2012-12-17 17:48:14 +04:00
Natalia.Ukhorskaya 1824879dd0 Add JpsTests for inheritance (J-K-J, K-J-K) 2012-12-17 17:48:06 +04:00
Evgeny Gerashchenko 9d0a4155bb Got rid of unnecessary 'div' elements in table. 2012-12-17 16:36:01 +04:00
Evgeny Gerashchenko e9639ead91 Minor. Added static modifiers, removed unused method. 2012-12-17 16:36:01 +04:00
Evgeny Gerashchenko 520b16e065 Introduce default ValueParametersHandler. 2012-12-17 16:36:01 +04:00
Evgeny Gerashchenko 85b50aefda Simplified code in DescriptorRendererImpl. 2012-12-17 16:36:01 +04:00
Evgeny Gerashchenko 85337c3546 Arranged methods in DescriptorRendererImpl. 2012-12-17 16:36:00 +04:00
Evgeny Gerashchenko 9b05e0a540 Extracted all meaningful methods from visitor.
Inlined visitor field.
2012-12-17 16:36:00 +04:00
Evgeny Gerashchenko 2f545688eb Organized methods in DescriptorRendererImpl. 2012-12-17 16:36:00 +04:00
Evgeny Gerashchenko d27eb680e0 Inlined hasDefaultValue(). 2012-12-17 16:36:00 +04:00
Evgeny Gerashchenko ac24f366e2 Subclassed RenderDeclarationDescriptorVisitor from adapter
Removed redundant overrides.
2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko e04b946bf9 Got rid of subVisitor. 2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko 79cf8e60b8 Introduced DescriptorRendererBuilder.
Hid constructor of DescriptorRendererImpl.
2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko 1cfc5f366e Extracted DescriptorRenderer interface. 2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko b73ba148b6 Got rid of HTML subclass of DescriptorRendererImpl. 2012-12-17 16:35:58 +04:00
Evgeny Gerashchenko 7047267937 Got rid of all subclasses of DescriptorRenderer but HTML. 2012-12-17 16:35:58 +04:00
Evgeny Gerashchenko 204ba8b2f4 Typo. 2012-12-17 16:35:58 +04:00
Evgeny Gerashchenko f5b35e39ac Removed all but default constructors of DescriptorRendererImpl. 2012-12-17 16:35:58 +04:00
Evgeny Gerashchenko 9947bff2e1 Simplified HtmlTabledDescriptorRenderer.
Got rid of suspicious subclassing with overriding protected methods: passing ValueParametersHandler instead.
2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko 0f38e3f1fc Added test to settle format of HtmlTabledDescriptorRenderer. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko 542201f4ed Added VM option to avoid problem with duplicate JDK entries. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko f6e9b0e234 Removed renderTypeWithShortNames from API of DescriptorRenderer. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko cd2e619364 Removed renderMessage from API of DescriptorRenderer. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko fc14d98869 Removed code for rendering tuple types. 2012-12-17 16:35:56 +04:00
Evgeny Gerashchenko b09050bb18 Removed unused methods from DescriptorRendererImpl. 2012-12-17 16:35:56 +04:00
Evgeny Gerashchenko 8a946c6ef9 Renamed DescriptorRenderer and moved to 'renderer' package.
Moved DescriptorRendererTest to 'renderer' package, as well.
2012-12-17 16:35:56 +04:00
Evgeny Gerashchenko b07d6d56a0 Escaping keywords used as identifiers in DescriptorRenderer.
#KT-2810 fixed
2012-12-17 16:35:55 +04:00
Evgeny Gerashchenko f55e3ce681 Extracted method. 2012-12-17 16:35:55 +04:00
Leonid Shalupov de1c416859 website: better resources discovery 2012-12-14 20:04:46 +04:00
Leonid Shalupov f311f88b8d website: fix paths 2012-12-14 19:50:56 +04:00
Leonid Shalupov b69e36331a pack website with assembly plugin 2012-12-14 19:30:46 +04:00
Leonid Shalupov fb12605185 do website generation in pre-package step 2012-12-14 19:24:47 +04:00
Leonid Shalupov 9f0999c61e update_dependencies.xml: cache downloaded artifacts. do not use search.maven.org! 2012-12-14 18:45:52 +04:00
Leonid Shalupov 6778dda9db maven: report Kotlin Compiler version as INFO 2012-12-14 17:36:02 +04:00
Andrey Breslav 0ec4131231 KDoc compilation fixed 2012-12-14 15:28:22 +04:00
Andrey Breslav 947ab99f53 Tests fixed after default nullability for type arguments changed to NotNull 2012-12-14 15:28:22 +04:00
Andrey Breslav d4d713050a Fix for varargs vs arrays of boxed types 2012-12-14 15:28:22 +04:00
Andrey Breslav becd68b98d Nullability propagation with NotNull as default for type arguments 2012-12-14 15:28:22 +04:00
Andrey Breslav 3b39257f13 TypeUsage moved out of JavaTypeTransformer 2012-12-14 15:28:22 +04:00
Andrey Breslav f925bfccd0 Changing default nullability for type arguments to NotNull 2012-12-14 15:28:21 +04:00
Andrey Breslav f09054d1a0 Java compiler error reporting fixed 2012-12-14 15:28:21 +04:00
Andrey Breslav 4df4a91615 Report environment errors through messageCollector when available 2012-12-14 15:28:21 +04:00