Alexander Udalov
de54f7d732
JavaClass, JavaPackage, JavaAnnotation
...
Create dumb wrappers over PSI elements, will be used for loading descriptors
from JVM reflection later (instead of PSI)
2013-09-04 21:55:00 +04:00
Andrey Breslav
9fa8ee10dc
Tests for navigation to property delegates' accessors
2013-08-28 13:49:52 +04:00
Andrey Breslav
c02f0a7d04
Intention to convert a member to an extension
2013-08-27 15:03:27 +04:00
Pavel V. Talanov
e4988f9dba
Use VirtualFileFinder in JavaClassResolver
...
HACK: determine whether fqname is a name for class contained in class or namespace based on virtual file name
This commit introduces code duplication which is hard to avoid without major refactoring
2013-08-26 17:58:48 +04:00
Alexander Udalov
c5e37cc3de
Move classes around in frontend.java
...
Move Java<->Kotlin class mapping to 'mapping' package, move method mapping to
'kotlinSignature' (and make it package local), delete unused methods
2013-08-26 16:00:08 +04:00
Alexander Udalov
2d7a5ebf36
Simplify injectors for frontend.java
...
- delete InjectorForJavaSemanticServices, replace its usages with
InjectorForJavaDescriptorResolver
- delete unneeded fields and parameters of InjectorForJavaDescriptorResolver
2013-08-26 15:59:57 +04:00
Alexander Udalov
eff99e563b
Write ProtoBuf.Package to .kotlin_package
...
Instead of a delimited list of callables. Also some minor refactorings
2013-08-23 17:39:26 +04:00
Alexander Udalov
9ae9870d44
Don't test annotations in DescriptorSerializationTest
2013-08-23 17:39:25 +04:00
Alexander Udalov
132f77d3c4
Minor, delete SerializerProvider
2013-08-23 17:39:24 +04:00
Alexander Udalov
047ed18901
Change .kotlin_class_names format a little
...
Before writing a list of indexes of built-in classes' names, write the length
of such a list. It helps to read this list normally (not until an exception
happens)
2013-08-23 17:39:23 +04:00
Alexander Udalov
548a2853aa
Create an extension point to DescriptorSerializer
...
Extract the existing predicate logic into it
2013-08-23 17:39:18 +04:00
Pavel V. Talanov
c3a44e37ba
Remove various getClassId methods
2013-08-23 17:39:14 +04:00
Alexander Udalov
f9ad6827d4
Simplify class object naming madness
...
- get rid of DescriptorNamer, always use descriptor.getName() instead
- delete AbstractClassResolver.getClassObjectName(), always use
"<class-object-for-...>", except for the case of built-ins serialization
(class object names should be replaced by "object" when writing files with
serialized data for built-ins)
- delete NestedClassResolver.resolveClassObject(), always use the other method
of this class instead
2013-08-23 17:39:14 +04:00
Alexander Udalov
5db2ecd1fc
Regenerate built-ins serialized data
...
After changes to protobuf binary format
2013-08-23 17:39:14 +04:00
Andrey Breslav
5492c8875e
Proper names for class objects upon serialization of built-ins
2013-08-23 17:39:05 +04:00
Andrey Breslav
3ebd7d4e1d
Validate built-ins before serializing
2013-08-23 17:39:05 +04:00
Andrey Breslav
14058f7aed
Any and Nothing have no supertypes
2013-08-23 17:39:02 +04:00
Andrey Breslav
d1d52086d7
Do not add pre-loaded built-ins when serializing
2013-08-23 17:39:02 +04:00
Andrey Breslav
c04ecbc1cb
Writing all built-in class names into a separate file
2013-08-23 17:39:02 +04:00
Andrey Breslav
de1f114b27
Deterministic order of descriptors preserves name indexing for different serializer runs
2013-08-23 17:39:01 +04:00
Andrey Breslav
696b627cf4
Saving name table into a separate file
2013-08-23 17:39:01 +04:00
Andrey Breslav
2446d0d003
Common functionality for (de)serializing built-ons moved to a separate class
2013-08-23 17:39:00 +04:00
Andrey Breslav
bcab329195
Serializing builtins as individual files
2013-08-23 17:39:00 +04:00
Andrey Breslav
99d1a9b7d7
Serialization tests reuse test data from loadKotlin
2013-08-23 17:38:55 +04:00
Andrey Breslav
9e9916df6e
GenerateTests uses headless mode
2013-08-21 20:12:04 +04:00
Nikolay Krasko
b4c7122528
Move built-in files out of source directory
2013-08-21 19:52:42 +04:00
Alexey Sedunov
497d3c6706
Simplify "Find Usages" test data, Move configuration options to test files
2013-08-13 15:26:24 +04:00
Alexey Sedunov
76c81aa3f0
Add support of extension search
2013-08-13 15:26:08 +04:00
Alexey Sedunov
ced288452c
Implement "Find usages with options" for kotlin functions
2013-08-13 15:25:04 +04:00
Alexey Sedunov
ea7a377bea
Find usages test: Move test data out of code
2013-08-13 14:53:50 +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
Alexey Sedunov
0b53ffe4d8
Restructure "Safe Delete" test data directories
...
Conflicts:
generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-07-29 19:24:27 +04:00
Alexey Sedunov
639336b2f5
Implement "Safe Delete" refactoring for properties
2013-07-29 19:24:13 +04:00
Nikolay Krasko
2621df3243
Auto generate reference tests
2013-07-27 03:57:13 +04:00
Zalim Bashorov
b14a5f3ea1
Migrate to IDEA 130.1335
2013-07-26 21:33:08 +04:00
Evgeny Gerashchenko
a9a960fd38
Basic local val inlining support.
...
#KT-2637 in progress
2013-07-23 21:43:04 +04:00
Evgeny Gerashchenko
ca3e093e1b
Made test generation silent.
2013-07-23 21:43:04 +04:00
Alexey Sedunov
cd6b6e4934
Implement "Safe Delete" refactoring for named functions
...
Conflicts:
idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java
2013-07-19 19:53:50 +04:00
Alexey Sedunov
f2dd8a6b60
Implement "Safe Delete" refactoring for classes and objects
2013-07-12 21:06:05 +04:00
Nikolay Krasko
141c544775
KT-3729 Quick documentation support
...
#KT-3729 Fixed
2013-07-04 20:48:26 +04:00
Alexey Sedunov
d019c23395
Implement general expresion remover
2013-06-21 19:32:14 +04:00
Alexey Sedunov
0b634cc918
Implement Unwrap/Remove for try expressions
2013-06-21 19:32:09 +04:00
Alexey Sedunov
9d46c90165
Implement Unwrap/Remove for lambdas
2013-06-21 19:32:03 +04:00
Alexey Sedunov
8964e0e152
Implement Unwrap/Remove for conditionals and loops
2013-06-21 18:18:08 +04:00
Alexander Udalov
ee80e0b8ca
Fix loops over progressions near to MAX_VALUE/MIN_VALUE
...
#KT-492 Fixed
For Byte, Char and Short ranges, promote the type of the loop parameter to int
to avoid overflows. For Int and Long ranges at the end of the loop over a
progression we now check if the new (incremented) value of the loop parameter
is greater than the old value iff increment > 0
2013-06-20 16:03:00 +04:00
Alexander Udalov
33d6347876
Fix loop over a range literal up to MAX_VALUE
...
#KT-492 In Progress
For Byte, Char and Short explicit casting from Int is removed -- loop parameter
is already stored in an Int anyway. For Int and Long comparison "i < end" at
the beginning of the loop is replaced to "i != end" at the end of the loop + a
special check for an empty loop
2013-06-20 16:02:59 +04:00
Alexander Udalov
f1a6d27d35
Minor, prevent infinite loops in range tests
2013-06-20 16:02:59 +04:00
Nikolay Krasko
935c5ec16d
Add folding doc and multiline comments
2013-06-18 17:46:02 +04:00
Mikhael Bogdanov
47fe81471a
Synthetic accessors for class object private members
...
#KT-3338 Fixed
2013-06-17 15:20:34 +04:00