Commit Graph

9408 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 9c83a2f85f Renamed parameters of contains() in ranges. 2013-01-30 19:23:50 +04:00
Evgeny Gerashchenko 6877722f81 Extracted progressions to separate source file. 2013-01-30 19:23:50 +04:00
Andrey Breslav fd6cb970e4 Correctly return existing provider if it is there 2013-01-30 18:18:52 +04:00
Andrey Breslav 5eb173e8dd Protecting the trace with a lock 2013-01-30 18:02:05 +04:00
Andrey Breslav c2822fdad7 Declaration providers and resolve session are protected by a storage manager 2013-01-30 18:02:04 +04:00
Andrey Breslav 222c237cbc Using PsiBasedClassMemberDeclarationProvider in StubDeclarationProviderFactory 2013-01-30 18:02:04 +04:00
Andrey Breslav 4cf5bc536c Using project and search scope for stub-based declaration providers
+ using indices for getAllPackages and isPackageDeclared()
2013-01-30 18:02:04 +04:00
Andrey Breslav ae48edfb5f Unused abstraction removed 2013-01-30 18:02:04 +04:00
Andrey Breslav 9c9599d65f Unused class removed 2013-01-30 18:02:04 +04:00
Andrey Breslav d4058a8a31 Commented code removed 2013-01-30 18:02:04 +04:00
Andrey Breslav 7404105247 Storage manager introduced
Will be used to make lazily computed data thread-safe
2013-01-30 18:02:04 +04:00
Andrey Breslav e7ea3d9667 LazyValue renamed to avoid confusion 2013-01-30 18:02:04 +04:00
Andrey Breslav 17b4a5a15c EA-43240 - AIOOBE: ClassReader.a
Index out of bounds from ASM
2013-01-30 18:02:03 +04:00
Andrey Breslav d633dd7bb7 EA-43239 - assert: JavaFileManagerBase.findClass
Moved the check to a post-startup activity
2013-01-30 18:01:12 +04:00
Andrey Breslav d31e53fa59 EA-41207 - IAE: NameUtils.requireIdentifier
Test data files renamed
2013-01-30 12:28:45 +04:00
Andrey Breslav cd56b2f401 File extension filtering cleaned up in tests 2013-01-30 12:28:45 +04:00
Evgeny Gerashchenko 58f37f38f4 Renamed NumberSequence to Progression. 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko dd4b508213 Adapted usage of failsWith(). 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko 719ed4c795 failsWith is really checking for exception class. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 66ce736a81 Moved failsWith to TestJVM. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 63484e28e0 Renamed Iterable.contains to containsItem, to avoid puzzling.
Otherwise, you could accidentally look for Double in List<Int>, or even for Int in ShortSequence (by stupid iterating).
2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 2fd1430329 Tests for all kinds of ranges and sequences. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko b7c4b9e263 Added primitive contains() to float and double ranges. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 111dd13d39 Moved error checking of built-ins to more direct place. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 18d1d31042 Removed compiling builtins in ant script. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 6c70c6c32a Removed compiling builtins from tests. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 0660dfb84c Made N type parameter not Number.
Otherwise it fails with NoSuchMethodError in runtime.
2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 3eac3cc38c Removed unnecessary methods. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko a24bf67688 Dropped unnecessary primitive iterable traits. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 72b8c4b3c8 Refactored structure of ranges in JS backend. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 4a19cd758c Changed JS ranges test so it will fail now. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko 88c304b85f Regenerated serialized builtins. 2013-01-29 22:55:08 +04:00
Evgeny Gerashchenko ac7477a6c1 Reformatted. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 6d41697af0 Added ComparableRange. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko cec0389a8a Added equals, hashCode and toString to sequences. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko a947633bec Inlined getter calls. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 0539be1b1c Rearranged methods in ranges. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 90e474ca75 Subclassed ranges from sequence. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 79d3440c92 Subclassed Float/DoubleRange from iterable (for uniformity). 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko 000fc55035 Added intrinsic properties of ranges and sequences. 2013-01-29 22:55:06 +04:00
Evgeny Gerashchenko b2e74b1473 Adapted code to new structure of ranges. 2013-01-29 22:55:06 +04:00
Evgeny Gerashchenko 9fa3e47b65 Added start and end property to generic range. 2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 0e0c048074 New structure of range classes. 2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 8c4abd4d9c Simpler toString() in ranges. 2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 0ff3589bb9 Moved *Range.step() functions to stdlib. 2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 9b866b2e12 Implemented reversed() in proper way.
- converted it into function
- return sequence values
- implemented for sequences as well
2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 0051cb9553 downTo functions return sequence instead of range now. 2013-01-29 22:55:04 +04:00
Evgeny Gerashchenko 4736b8d6e7 Introduced sequence classes. 2013-01-29 22:55:04 +04:00
Evgeny Gerashchenko abe7ca21bf Moved primitive iterators to upper level. 2013-01-29 22:55:04 +04:00
Evgeny Gerashchenko 88a6cffb34 Simplified primitive iterators. 2013-01-29 22:55:04 +04:00