Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
using System;
using System.Security;
namespace System.Windows.Interop {
public static class ComponentDispatcher
{
public static MSG CurrentKeyboardMessage {
[SecurityCritical]
get { throw new NotImplementedException (); }
}
public static bool IsThreadModal {
[SecurityCritical]
get { throw new NotImplementedException (); }
}
public static event EventHandler EnterThreadModal;
public static event EventHandler LeaveThreadModal;
public static event ThreadMessageEventHandler ThreadFilterMessage;
public static event EventHandler ThreadIdle;
public static event ThreadMessageEventHandler ThreadPreprocessMessage;
[SecurityCritical]
public static void PopModal()
{
throw new NotImplementedException ();
}
[SecurityCritical]
public static void PushModal()
{
throw new NotImplementedException ();
}
[SecurityCritical]
public static void RaiseIdle()
{
throw new NotImplementedException ();
}
[SecurityCritical]
public static bool RaiseThreadMessage (ref MSG msg)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,55 @@
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
using System;
using System.Security;
using System.Windows.Input;
namespace System.Windows.Interop {
public interface IKeyboardInputSink
{
IKeyboardInputSite KeyboardInputSite {
get;
[SecurityCritical]
set;
}
bool TabInto (TraversalRequest request);
bool HasFocusWithin ();
[SecurityCritical]
bool OnMnemonic (ref MSG msg, ModifierKeys modifiers);
[SecurityCritical]
IKeyboardInputSite RegisterKeyboardInputSink (IKeyboardInputSink sink);
[SecurityCritical]
bool TranslateAccelerator (ref MSG msg, ModifierKeys modifiers);
[SecurityCritical]
bool TranslateChar (ref MSG msg, ModifierKeys modifiers);
}
}

View File

@@ -0,0 +1,42 @@
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
using System;
using System.Security;
using System.Windows.Input;
namespace System.Windows.Interop {
public interface IKeyboardInputSite
{
IKeyboardInputSink Sink { get; }
bool OnNoMoreTabStops (TraversalRequest request);
[SecurityCritical]
void Unregister ();
}
}

View File

@@ -0,0 +1,84 @@
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
using System;
using System.Security;
namespace System.Windows.Interop {
[Serializable]
public struct MSG
{
public IntPtr hwnd {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public IntPtr lParam {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public IntPtr wParam {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public int message {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public int pt_x {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public int pt_y {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
public int time {
[SecurityCritical]
get { throw new NotImplementedException (); }
[SecurityCritical]
set { throw new NotImplementedException (); }
}
}
}

View File

@@ -0,0 +1,32 @@
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
using System;
namespace System.Windows.Interop {
public delegate void ThreadMessageEventHandler (ref MSG msg, ref bool handled);
}