Author: toshok Date: 2007-07-12 15:57:14 -0400 (Thu, 12 Jul 2007) New Revision: 81899
Modified: trunk/moon/demo-status.txt trunk/moon/test/xaml/test-animation-begintimes.xaml trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml trunk/moon/test/xaml/test-brush-linear.xaml trunk/moon/test/xaml/test-brush-radial.xaml trunk/moon/test/xaml/test-image.xaml trunk/moon/test/xaml/test-textblock.xaml Log: more updates demo-status.txt Modified: trunk/moon/demo-status.txt =================================================================== --- trunk/moon/demo-status.txt 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/demo-status.txt 2007-07-12 19:57:14 UTC (rev 81899) @@ -283,33 +283,14 @@ * Silverlight Rocks (http://www.junkship.org:8000/silverlightdemo/) - Although it seems to load the depending assembly now, it crashes now with: + Loads and the UI comes up. clicking either the clear or new search buttons results in: - System.ArgumentException: Couldn't bind to method 'Page_Loaded'. - at System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method, Boolean ignoreCase, Boolean throwOnBindFailure) [0x000e5] in /home/cvs/mcs/class/corlib/System/Delegate.cs:330 - at System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method, Boolean ignoreCase) [0x00000] in /home/cvs/mcs/class/corlib/System/Delegate.cs:333 - at System.Delegate.CreateDelegate (System.Type type, System.Object target, System.String method) [0x00000] in /home/cvs/mcs/class/corlib/System/Delegate.cs:230 - at Moonlight.DomainInstance.real_hookup_event (IntPtr target_ptr, System.String name, System.String value) [0x000b4] in /home/cvs/moon/plugin/moonlight.cs:477 - at Moonlight.DomainInstance.hookup_event (IntPtr target_ptr, System.String name, System.String value) [0x00000] in /home/cvs/moon/plugin/moonlight.cs:448 - Returning unhappily - real_create_element (Tarantula.Page;assembly=tarantula.dll, ) - asm_path=/home/miguel/.mozilla/firefox/faxlddi4.FireBug/Cache/2D75DF5Fd01 asm_name=tarantula.dll - attempting to hookup delegate Page_Loaded to event Loaded on object of type Tarantula.Page - Adding 0xb10fee48 - corlib: Callback is happening on domain: moonlight--1312249792 - Stacktrace: - - at (wrapper managed-to-native) Moonlight.Hosting.surface_attach (intptr,intptr) <0x00004> - at (wrapper managed-to-native) Moonlight.Hosting.surface_attach (intptr,intptr) <0xffffffff> - at Moonlight.DomainInstance.TryLoad (int&) [0x00139] in /home/cvs/moon/plugin/moonlight.cs:245 - at (wrapper remoting-invoke-with-check) Moonlight.DomainInstance.TryLoad (int&) <0xffffffff> - at (wrapper xdomain-dispatch) Moonlight.DomainInstance.TryLoad (object,byte[]&,byte[]&,int&) <0xffffffff> - at (wrapper xdomain-invoke) Moonlight.DomainInstance.TryLoad (int&) <0xffffffff> - at (wrapper remoting-invoke-with-check) Moonlight.DomainInstance.TryLoad (int&) <0xffffffff> - at Moonlight.Loader.TryLoad (int&) <0x00040> - at (wrapper runtime-invoke) Moonlight.Loader.runtime_invoke_string_int& (object,intptr,intptr,intptr) <0xffffffff> - - + Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object + at Tarantula.MVP.View.Controls.ButtonBase.OnMouseLeftButtonDown (System.Object sender, System.Windows.Input.MouseEventArgs e) [0x00000] + at System.Windows.UIElement.InvokeMouseButtonDown (System.Windows.Input.MouseEventArgs m) [0x0001c] in /home/toshok/src/mono/olive/class/agclr/System.Windows/UIElement.cs:350 + at Mono.Events.mouse_button_down_callback (IntPtr target, IntPtr calldata, IntPtr closure) [0x00014] in /home/toshok/src/mono/olive/class/agclr/Mono/Events.cs:109 + at (wrapper native-to-managed) Mono.Events:mouse_button_down_callback (intptr,intptr,intptr) + * SilverNibbles (http://www.wordandspirit.co.uk/SilverNibbles/SilverNibbles.html) Requires System.Xml.Core to be built manually from mcs/class. @@ -376,9 +357,9 @@ Loads up the background fine, but this shows up in the JS console: - Error: Error calling method on NPObject! - Source File: http://www.telerik.com/demos/aspnet/SilverLight/ScriptResource.axd?d=atmQ5J12kUyXdGdNj1t5gO7kyy-1mMyQjNxyHPJokCKIQumnkf1AgJ8PQEqAQ2aoMVJExFu6z-DxRj41Nq3qubpm5EI7FzULDQhpTQFdrJw1&t=633184475610000000 - Line: 639 + Error: Trying to get unsupported property on scriptable plugin object! + Source File: http://www.telerik.com/demos/aspnet/SilverLight/ScriptResource.axd?d=0Rf4uiCnTpeIPcFuMvqcel050Qxo7yElfFCjXGcGdhRxTRM6cgq_aDrdPO6rLtkbfBvUevHkxAadST9ZbqKnizmJzbofXGCk877_pn4IJ4Y1&t=633184475610000000 + Line: 666 * Windows Journal-to-Silverlight Converter (http://www.microsoft.com/downloads/details.aspx?FamilyID=4964cd5f-0dcb-4c22-9378-773100d8e89f&displaylang=en) @@ -434,10 +415,8 @@ This show up in the JS console: - Error: Trying to add unsupported property on scriptable plugin object! - Source File: http://www.ltbennett.com/Jumper.html.js - Line: 33 - Error: Trying to get unsupported property on scriptable plugin object! - Source File: http://www.ltbennett.com/Jumper.html.js - Line: 40 \ No newline at end of file + + It looks like it's doing the same + WebApplication.RegisterScriptable object stuff that + bubblemark is doing. Modified: trunk/moon/test/xaml/test-animation-begintimes.xaml =================================================================== --- trunk/moon/test/xaml/test-animation-begintimes.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-animation-begintimes.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -8,6 +8,7 @@ <BeginStoryboard> <Storyboard x:Name="animation"> <DoubleAnimation + x:Name="first" BeginTime="0:0:0" Storyboard.TargetName="BoxedBox" Storyboard.TargetProperty="Width" @@ -15,6 +16,7 @@ RepeatBehavior="1" AutoReverse="false" /> <DoubleAnimation + x:Name="second" BeginTime="0:0:4" Storyboard.TargetName="BoxedBox" Storyboard.TargetProperty="Height" @@ -34,14 +36,13 @@ Storyboard.TargetProperty="Height" From="300" To="100" Duration="0:0:4" RepeatBehavior="1" AutoReverse="false" /> - + <DoubleAnimation BeginTime="0:0:16" Storyboard.TargetName="BoxedBox" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:2" RepeatBehavior="1" AutoReverse="true" /> - </Storyboard> </BeginStoryboard> </EventTrigger> Modified: trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml =================================================================== --- trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-animation-ellipse-stroke.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -1,20 +1,22 @@ <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - <Ellipse x:Name="ellipse" Canvas.Left="83" Canvas.Top="135" Stroke="red" StrokeThickness="1" Width="300" Height="150" RenderTransformOrigin="0.5,0.5"> + <Canvas Canvas.Left="83" Canvas.Top="135" Width="200" Height="200" Background="Green"> + <Ellipse x:Name="ellipse" Stroke="red" StrokeThickness="1" Width="300" Height="150" RenderTransformOrigin="0.5,0.5"> - <Ellipse.Triggers> - <EventTrigger RoutedEvent="Ellipse.Loaded"> - <BeginStoryboard> - <Storyboard x:Name="animation"> - <DoubleAnimation - Storyboard.TargetName="ellipse" - Storyboard.TargetProperty="StrokeThickness" - To="10" Duration="0:0:3" - AutoReverse="True" RepeatBehavior="Forever" /> - </Storyboard> - </BeginStoryboard> - </EventTrigger> - </Ellipse.Triggers> - </Ellipse> + <Ellipse.Triggers> + <EventTrigger RoutedEvent="Ellipse.Loaded"> + <BeginStoryboard> + <Storyboard x:Name="animation"> + <DoubleAnimation + Storyboard.TargetName="ellipse" + Storyboard.TargetProperty="StrokeThickness" + To="10" Duration="0:0:3" + AutoReverse="True" RepeatBehavior="Forever" /> + </Storyboard> + </BeginStoryboard> + </EventTrigger> + </Ellipse.Triggers> + </Ellipse> + </Canvas> </Canvas> Modified: trunk/moon/test/xaml/test-brush-linear.xaml =================================================================== --- trunk/moon/test/xaml/test-brush-linear.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-brush-linear.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -1,4 +1,7 @@ -<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Width="500" Height="500"> + +<Canvas Width="150" Height="150"> + <Rectangle Width="100" Height="100"> <Rectangle.Fill> <LinearGradientBrush StartPoint="1,1" EndPoint="0,0"> @@ -43,5 +46,14 @@ </LinearGradientBrush> </Rectangle.Fill> </Rectangle> - +<Canvas.Background> + <LinearGradientBrush StartPoint="1,1" EndPoint="0,0"> + <LinearGradientBrush.GradientStops> + <GradientStop Color="Red" Offset="0" /> + <GradientStop Color="Green" Offset="0.5" /> + <GradientStop Color="Blue" Offset="1" /> + </LinearGradientBrush.GradientStops> + </LinearGradientBrush> +</Canvas.Background> </Canvas> +</Canvas> Modified: trunk/moon/test/xaml/test-brush-radial.xaml =================================================================== --- trunk/moon/test/xaml/test-brush-radial.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-brush-radial.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -1,4 +1,13 @@ -<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> +<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Width="500" Height="500"> +<Canvas.Background> + <RadialGradientBrush GradientOrigin="0.5,0.5" Center="0.5,0.5" RadiusX="0.5" RadiusY="0.5"> + <RadialGradientBrush.GradientStops> + <GradientStop Color="Red" Offset="0" /> + <GradientStop Color="Green" Offset="0.5" /> + <GradientStop Color="Blue" Offset="1" /> + </RadialGradientBrush.GradientStops> + </RadialGradientBrush> +</Canvas.Background> <Rectangle Width="200" Height="200"> <Rectangle.Fill> <RadialGradientBrush GradientOrigin="0.5,0.5" Center="0.5,0.5" RadiusX="0.5" RadiusY="0.5"> Modified: trunk/moon/test/xaml/test-image.xaml =================================================================== --- trunk/moon/test/xaml/test-image.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-image.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -1,3 +1,7 @@ <Canvas xmlns="http://schemas.microsoft.com/client/2007"> - <Image Source="/tmp/mono.png" /> + <Image Source="/tmp/mono.png" Cursor="IBeam"> + <Image.RenderTransform> + <RotateTransform Angle="45" /> + </Image.RenderTransform> + </Image> </Canvas> Modified: trunk/moon/test/xaml/test-textblock.xaml =================================================================== --- trunk/moon/test/xaml/test-textblock.xaml 2007-07-12 19:43:10 UTC (rev 81898) +++ trunk/moon/test/xaml/test-textblock.xaml 2007-07-12 19:57:14 UTC (rev 81899) @@ -1,5 +1,5 @@ <Canvas xmlns="http://schemas.microsoft.com/client/2007"> <TextBlock Canvas.Left="10" Text="I am a TextBlock!!" /> - <TextBlock Canvas.Left="10" Canvas.Top="100" Stroke="Red">I am the other textblock</TextBlock> + <TextBlock Cursor="IBeam" Canvas.Left="10" Canvas.Top="100" Stroke="Red">I am the other textblock</TextBlock> </Canvas> _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
