Quick Search:

View detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

trunk 4808 2611

latest revision download trunk

4808 annotated / raw | Diffs: previous, other | Lines: 169 ( +29, -29 )

Created: 2008-12-18 23:16:35 -0800 (19 days ago) | Author: bothner | Changeset: 4808

Various fixes to handle all the "other" primitive types.
Rename them: JavaByte to Byte and so on, since they're now "first-class".
Plus Number is now float, rather than double.

Branch point for: franca

Tags: m8

4568 annotated / raw | Diffs: previous, other | Lines: 169 ( +1, -0 )

Created: 2008-11-05 17:13:21 -0800 (2 months 2 days ago) | Author: bothner | Changeset: 4568

Add test to avoid ClassCastException on function types.
This fixes JFXC-1425 "getAttributes(boolean) reflection method throws
ClassCastException with function type attr".

Also, map java.lang.Void in function return types to the Void primitive type.

Branch point for: perf-sandbox

Tags: trunk-checkpoint

4484 annotated / raw | Diffs: previous, other | Lines: 168 ( +1, -0 )

Created: 2008-10-22 14:50:36 -0700 (2 months 16 days ago) | Author: bothner | Changeset: 4484

Add test for reflection tolerating method with generic return type.

4440 annotated / raw | Diffs: previous, other | Lines: 167 ( +1, -0 )

Created: 2008-10-17 10:33:08 -0700 (2 months 21 days ago) | Author: bothner | Changeset: 4440

Let the ClassType.getFunction reflection method find script-level functions
(or more generally: static methods) in compound classes.
This fixes JFXC-2197 "javafx.reflect getFunction() method does
not correctly find Script level functions".
Also, add FXContext.getStringType() - for consistency, and to
simplify the test case that was added.

4366 annotated / raw | Diffs: previous, other | Lines: 166 ( +9, -0 )

Created: 2008-10-08 21:26:13 -0700 (2 months 29 days ago) | Author: bothner | Changeset: 4366

Add some tests for anonymous classes.
This tests the fix for RT-968 "Overriding vars causes (seemingly unrelated)
Stylesheet errors."
Note the output 'myAnonRectRef.super: [class MyRect, class java.lang.Object]'
indicated a performance bug: It should be [class MyRect].
(That is JFXC-2165 "compiled anonymous class should extend named class,
not Object".)

4275 annotated / raw | Diffs: previous, other | Lines: 157 ( +1, -0 )

Created: 2008-10-02 17:49:59 -0700 (3 months 5 days ago) | Author: bothner | Changeset: 4275

Copied to: branches/m7-release/trunk/test/features/F24-reflection/Main.fx.EXPECTED 4321

Added covariance test from Kenneth Russell.

Branch point for: m7-release tag:milestone-7

Tags: milestone-7

4024 annotated / raw | Diffs: previous, other | Lines: 156 ( +14, -14 )

Created: 2008-09-10 13:06:36 -0700 (3 months 27 days ago) | Author: bothner | Changeset: 4024

Implement missing support for Boolean primitive type.

Tags: milestone-6

3995 annotated / raw | Diffs: previous, other | Lines: 156 ( +2, -0 )

Created: 2008-09-06 14:02:43 -0700 (4 months 1 day ago) | Author: bothner | Changeset: 3995

Add basic support for object construction, specifically setting
"parts" of the new object, as in a object literal.

3989 annotated / raw | Diffs: previous, other | Lines: 154 ( +5, -3 )

Created: 2008-09-05 17:18:28 -0700 (4 months 2 days ago) | Author: bothner | Changeset: 3989

Implement FXLocal.VarMember.isStatic().

Add tests for accessing script-level (static) members.

3987 annotated / raw | Diffs: previous, other | Lines: 152 ( +34, -25 )

Created: 2008-09-05 15:30:33 -0700 (4 months 2 days ago) | Author: bothner | Changeset: 3987

Skip "javafx$run$" method.

In test-suite, check for object allocation.
That fails for non-public classes, so move the test classes
into deperate files, so we can make them public.  That's a
more realistic case, anyway.

Other cleanups in test-case, such as removing (most) "Attr" words.

3981 annotated / raw | Diffs: previous, other | Lines: 143 ( +56, -51 )

Created: 2008-09-05 12:38:09 -0700 (4 months 2 days ago) | Author: bothner | Changeset: 3981

Add minimal support for boolean primitive type.

Add support for Java array types.

Change FXMember.getDeclaringType to return a FXClassType,
and rename to getDeclaringClass.

Sort Members as returned by getFunctions, getVariables etc more
fully, not just by name.  This should make the results more repeatable.
(And hopefully fix the Hudson build.)

Fix some indentation (whitespace) mistakes.

3978 annotated / raw | Diffs: previous, other | Lines: 138 ( +95, -8 )

Created: 2008-09-05 08:56:18 -0700 (4 months 2 days ago) | Author: bothner | Changeset: 3978

New FXFunctionType.  Use it.  This fixes a bug where minArgs wasn't
getting set, and so parameter types weren't printed.

In makeTypeRef, treat a TypeVariable as Object.  This is a kludge,
but fixes a ClassCastException and is good enough for now.

3965 annotated / raw | Diffs: previous, other | Lines: 51 ( +5, -10 )

Created: 2008-09-03 21:38:45 -0700 (4 months 3 days ago) | Author: bothner | Changeset: 3965

Reflection classes renamed, various methods renamed,
plus a bunch of other cleanups.

3961 annotated / raw | Diffs: previous, other | Lines: 56 ( +2, -0 )

Created: 2008-09-03 17:06:43 -0700 (4 months 4 days ago) | Author: bothner | Changeset: 3961

Move anonymous FunctionTypeRef to named LocalFuntionValue class,
so it can implement LocalValueRef.

Implement setValue method, so we can set attributes.

3952 annotated / raw | Diffs: previous, other | Lines: 54 ( +7, -6 )

Created: 2008-08-31 16:00:02 -0700 (4 months 7 days ago) | Author: bothner | Changeset: 3952

Implement getAttribute(name) in a generic way.

Add test for getting a function-valued variable, and applying it.

3902 annotated / raw | Diffs: previous, other | Lines: 53 ( +8, -0 )

Created: 2008-08-26 19:15:30 -0700 (4 months 12 days ago) | Author: bothner | Changeset: 3902

Reflection: Support method enumeration, getting a named method,
and invoking a method.
Add tests.  Remove run method from test.

3876 annotated / raw | Diffs: previous, other | Lines: 45 ( +5, -0 )

Created: 2008-08-25 13:50:35 -0700 (4 months 13 days ago) | Author: bothner | Changeset: 3876

Handle reflectively getting var (field) values.
Hence improved support for mirroring values: primitives, objects, sequences.
Enhance test suite.

3526 annotated / raw | Diffs: previous, other | Lines: 40 ( +7, -2 )

Created: 2008-07-25 16:31:15 -0700 (5 months 13 days ago) | Author: bothner | Changeset: 3526

Skip "Inherited" methods.
When scanning for attributes, search Class's fields, rather than methods.
This has the advantage that it also handles non-compound classes.
It also matches what JavafxClassReader does current.
Update test cases to match improved functionality.

2713 annotated / raw | Diffs: previous, other | Lines: 35 ( +31, -3 )

Created: 2008-05-16 14:50:06 -0700 (7 months ago) | Author: bothner | Changeset: 2713

Implement enumeration of methods and attributes of a class.

This includes mapping Java Type objects to JavaFX TypeRef objects.

I also changed the API.  Most obviously MemberHandler (which
was responsible for "handling" the member) was replaced
by a MethodFilter (which normally has no side-effect).

Test the new functionality, and made the output more readable,
helped by recent support for 'for' on Iterable values.

Branch point for: technology-preview-1 uicontrols

Tags: 2008-05-19 2008-05-26 2008-06-02 2008-06-09 2008-06-16 2008-06-23 2008-06-30 2008-07-07

2611 new annotated / raw | Lines: 7 ( +7, -0 )

Created: 2008-04-19 17:27:23 -0700 (8 months ago) | Author: bothner | Changeset: 2611

New tests for javafx.reflect.

Branch point for: javaone-2008

Tags: 2008-04-21 2008-04-28 2008-05-05 2008-05-12

Crucible: Open Source License registered to Atlassian.
Atlassian Crucible, painless code review. (Version:1.6.1 Build:build-r20568 2008-09-30) - Administration - Page generated 2009-01-07 19:05 -0800