Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/frameworkelement.cpp b/src/frameworkelement.cpp
index 6f685c0..45b7a0e 100644
--- a/src/frameworkelement.cpp
+++ b/src/frameworkelement.cpp
@@ -419,10 +419,6 @@ FrameworkElement::HitTest (cairo_t *cr, Point p, List *uielement_list)
if (!GetHitTestVisible ())
return;
- // first a quick bounds check
- if (!GetSubtreeBounds().PointInside (p.x, p.y))
[Asynchronous]
[MoonlightBug ("Moonlight fails to break the inheritance chain here")]
public void PropertyInheritance_FlowDirection ()
{
var stack = new StackPanel ();
var image = new Image ();
var border = new Border ();
stack.Children.Add (image);
stack.Children.Add (border);
TestPanel.Children.Add (stack);
diff --git a/class/System.Windows/Mono/MoonlightTypeConverter.cs b/class/System.Windows/Mono/MoonlightTypeConverter.cs
index 94e7325..fda9247 100644
--- a/class/System.Windows/Mono/MoonlightTypeConverter.cs
+++ b/class/System.Windows/Mono/MoonlightTypeConverter.cs
@@ -115,8 +115,11 @@ namespace Mono {
if (destinationType == typeof (double) && str_val == "Auto")
return Double.NaN;
- if (destinationType == typeof (TimeSpan))
- return TimeSpan.Parse (str_val);
diff --git a/class/System.Windows/Mono.Xaml/XamlParser.cs b/class/System.Windows
/Mono.Xaml/XamlParser.cs
index 22a5994..68a07da 100644
--- a/class/System.Windows/Mono.Xaml/XamlParser.cs
+++ b/class/System.Windows/Mono.Xaml/XamlParser.cs
@@ -128,15 +128,21 @@ namespace Mono.Xaml {
try {
res = ParseReader (new StringReader (str));
+ } catch (XamlParseException pe) {
diff --git a/class/System.Windows/System.Windows/DependencyProperty.cs b/class/System.Windows/System.Windows/DependencyProperty.cs
index e88c491..7c5d6aa 100644
--- a/class/System.Windows/System.Windows/DependencyProperty.cs
+++ b/class/System.Windows/System.Windows/DependencyProperty.cs
@@ -34,6 +34,9 @@ using System.Collections.Generic;
namespace System.Windows {
internal delegate void ValueValidator (DependencyObject target, DependencyProperty property, object value);
+ internal class CoreDependencyProperty : DependencyProperty {
+ internal CoreDependencyProperty (IntPtr handle, string name, Type property_type, Type declaring_type) : base (handle, name, property_type, declaring_type) {}
@lewing
lewing / results
Created September 24, 2010 17:14
make: Entering directory `/home/lewing/Desktop/Source/silverlight4/Moonlight/website'
make: Leaving directory `/home/lewing/Desktop/Source/silverlight4/Moonlight/website'
make: Entering directory `/home/lewing/Desktop/Source/silverlight4/Moonlight/Moonlight.Harness'
make: `Moonlight.Harness.exe' is up to date.
make: Leaving directory `/home/lewing/Desktop/Source/silverlight4/Moonlight/Moonlight.Harness'
Setup firefox profiles
Setting up firefox to use the profile 'Moonlight.Builder'
Name=Moonlight.Builder
Path=ticxq2ky.Moonlight.Builder
Kill any existing firefoxes
diff --git a/src/runtime.cpp b/src/runtime.cpp
index 63b0d17..a7fc292 100644
--- a/src/runtime.cpp
+++ b/src/runtime.cpp
@@ -1865,6 +1865,7 @@ Surface::HandleMouseEvent (int event_id, bool emit_leave, bool emit_enter, bool
}
else {
// FIXME this should probably use mouse event args
+ time_manager->InvokeTickCalls();
ProcessDirtyElements();
@lewing
lewing / b
Created October 19, 2010 18:32
Thread 1 (Thread 0xb7538900 (LWP 7913)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb76dc12b in read () from /lib/libpthread.so.0
#2 0xa4fc5c4f in print_gdb_trace () at debug.cpp:816
#3 0xa4fc5dbd in moonlight_handle_native_sigsegv (signal=11) at debug.cpp:874
#4 0xa5304395 in mono_chain_signal (_dummy=11, info=0xa9f41c8c, context=
0xa9f41d0c) at mini-posix.c:173
#5 0xa523b253 in mono_sigsegv_signal_handler (_dummy=11, info=0xa9f41c8c,
context=0xa9f41d0c) at mini.c:5494
#6 <signal handler called>
System.ArgumentException: Operation 'GetFileCacheBlock' not found in the service contract 'ILoginService' in namespace 'http://tempuri.org/'
at System.ServiceModel.ClientBase`1+ChannelBase`1[TChannel,T].BeginInvoke (System.String methodName, System.Object[] args, System.AsyncCallback callback, System.Object state) [0x0003c] in ClientBase.cs:441
at DynamicSoapProxy.ServiceClientBase`1+ClientChannelBase[Dynamic.WCFClientProxy.Silverlight.Proxy.ILoginService].Invoke[Byte[]] (System.String methodName, DynamicSoapProxy.OnCompletion`1 completionCallback, System.Object UserState, Boolean WaitForCompletion, System.Object[] parameters) [0x00000] in <filename unknown>:0
at DynamicSoapProxy.ServiceClientBase`1[Dynamic.WCFClientProxy.Silverlight.Proxy.ILoginService].Invoke[Byte[]] (System.String methodName, DynamicSoapProxy.OnCompletion`1 completionCallback, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Dynamic.WCFClientProxy.Silverlight.Proxy.LoginServiceClient.GetFileCacheBlock (DynamicSoa
Thread 1 (Thread 0xb5ff5aa0 (LWP 4399)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb6c4c12b in read () from /lib/libpthread.so.0
#2 0xb4e55699 in print_gdb_trace () at debug.cpp:844
#3 0xb4e55807 in moonlight_handle_native_sigsegv (signal=6) at debug.cpp:902
#4 0xb51ad1a5 in mono_chain_signal (_dummy=6, info=0xbfc9ea2c, context=
0xbfc9eaac) at mini-posix.c:173
#5 0xb51ad526 in sigabrt_signal_handler (_dummy=6, info=0xbfc9ea2c, context=
0xbfc9eaac) at mini-posix.c:193
#6 <signal handler called>