Imported Upstream version 6.0.0.259
Former-commit-id: a2feb8469d8f23b4264831f7d8d4e51f47cd1948
This commit is contained in:
parent
03112dc19c
commit
3d63c66c1d
@ -1 +1 @@
|
||||
74abfccb776ba324a0275fcc0ddb2897bdf001d5
|
||||
ba1784f90767e3d03c6b54bf98772182d52e800b
|
@ -1 +1 @@
|
||||
445ee57c4662662a46c91f4416ed9da910fad8c3
|
||||
b47556c41715a88e1a5e14e5b839a3f1394745dd
|
@ -1 +1 @@
|
||||
abf6e68da54c68314fad4a41cfb7001569124eca
|
||||
44f13ddec9a8d9c04a955ae30eeba3a40f62c228
|
@ -41,7 +41,7 @@ static partial class Consts
|
||||
// Use these assembly version constants to make code more maintainable.
|
||||
//
|
||||
|
||||
public const string MonoVersion = "6.0.0.255";
|
||||
public const string MonoVersion = "6.0.0.259";
|
||||
public const string MonoCompany = "Mono development team";
|
||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||
public const string MonoCopyright = "(c) Various Mono authors";
|
||||
|
@ -49,7 +49,7 @@ namespace Cairo {
|
||||
|
||||
public class Context : IDisposable
|
||||
{
|
||||
IntPtr handle = IntPtr.Zero;
|
||||
IntPtr handle;
|
||||
|
||||
static int native_glyph_size, c_compiler_long_size;
|
||||
|
||||
@ -105,6 +105,12 @@ namespace Cairo {
|
||||
Dispose (false);
|
||||
}
|
||||
|
||||
private void ThrowIfDisposed()
|
||||
{
|
||||
if (handle == IntPtr.Zero)
|
||||
throw new ObjectDisposedException("Cairo.Context");
|
||||
}
|
||||
|
||||
public void Dispose ()
|
||||
{
|
||||
Dispose (true);
|
||||
@ -307,9 +313,14 @@ namespace Cairo {
|
||||
|
||||
public void SetTarget (Surface target)
|
||||
{
|
||||
IntPtr newHandle = NativeMethods.cairo_create (target.Handle);
|
||||
if (newHandle == IntPtr.Zero)
|
||||
throw new InvalidOperationException ("Surface had an invalid handle.");
|
||||
|
||||
if (handle != IntPtr.Zero)
|
||||
NativeMethods.cairo_destroy (handle);
|
||||
handle = NativeMethods.cairo_create (target.Handle);
|
||||
|
||||
handle = newHandle;
|
||||
}
|
||||
|
||||
[Obsolete("Use GetScaledFont/SetScaledFont")]
|
||||
@ -325,11 +336,13 @@ namespace Cairo {
|
||||
|
||||
public ScaledFont GetScaledFont ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
return new ScaledFont (NativeMethods.cairo_get_scaled_font (handle), false);
|
||||
}
|
||||
|
||||
public void SetScaledFont (ScaledFont font)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_scaled_font (handle, font.Handle);
|
||||
}
|
||||
|
||||
@ -339,32 +352,38 @@ namespace Cairo {
|
||||
|
||||
public void SetSourceColor (Color color)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_rgba (handle, color.R, color.G, color.B, color.A);
|
||||
}
|
||||
|
||||
public void SetSourceRGB (double r, double g, double b)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_rgb (handle, r, g, b);
|
||||
}
|
||||
|
||||
public void SetSourceRGBA (double r, double g, double b, double a)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_rgba (handle, r, g, b, a);
|
||||
}
|
||||
|
||||
//[Obsolete ("Use SetSource method (with double parameters)")]
|
||||
public void SetSourceSurface (Surface source, int x, int y)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_surface (handle, source.Handle, x, y);
|
||||
}
|
||||
|
||||
public void SetSource (Surface source, double x, double y)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_surface (handle, source.Handle, x, y);
|
||||
}
|
||||
|
||||
public void SetSource (Surface source)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_set_source_surface (handle, source.Handle, 0, 0);
|
||||
}
|
||||
|
||||
@ -372,116 +391,139 @@ namespace Cairo {
|
||||
|
||||
public void NewPath ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_new_path (handle);
|
||||
}
|
||||
|
||||
public void NewSubPath ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_new_sub_path (handle);
|
||||
}
|
||||
|
||||
public void MoveTo (PointD p)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
MoveTo (p.X, p.Y);
|
||||
}
|
||||
|
||||
public void MoveTo (double x, double y)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_move_to (handle, x, y);
|
||||
}
|
||||
|
||||
public void LineTo (PointD p)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
LineTo (p.X, p.Y);
|
||||
}
|
||||
|
||||
public void LineTo (double x, double y)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_line_to (handle, x, y);
|
||||
}
|
||||
|
||||
public void CurveTo (PointD p1, PointD p2, PointD p3)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
CurveTo (p1.X, p1.Y, p2.X, p2.Y, p3.X, p3.Y);
|
||||
}
|
||||
|
||||
public void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_curve_to (handle, x1, y1, x2, y2, x3, y3);
|
||||
}
|
||||
|
||||
public void RelMoveTo (Distance d)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
RelMoveTo (d.Dx, d.Dy);
|
||||
}
|
||||
|
||||
public void RelMoveTo (double dx, double dy)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_rel_move_to (handle, dx, dy);
|
||||
}
|
||||
|
||||
public void RelLineTo (Distance d)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
RelLineTo (d.Dx, d.Dy);
|
||||
}
|
||||
|
||||
public void RelLineTo (double dx, double dy)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_rel_line_to (handle, dx, dy);
|
||||
}
|
||||
|
||||
public void RelCurveTo (Distance d1, Distance d2, Distance d3)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
RelCurveTo (d1.Dx, d1.Dy, d2.Dx, d2.Dy, d3.Dx, d3.Dy);
|
||||
}
|
||||
|
||||
public void RelCurveTo (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_rel_curve_to (handle, dx1, dy1, dx2, dy2, dx3, dy3);
|
||||
}
|
||||
|
||||
public void Arc (double xc, double yc, double radius, double angle1, double angle2)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_arc (handle, xc, yc, radius, angle1, angle2);
|
||||
}
|
||||
|
||||
public void ArcNegative (double xc, double yc, double radius, double angle1, double angle2)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_arc_negative (handle, xc, yc, radius, angle1, angle2);
|
||||
}
|
||||
|
||||
public void Rectangle (Rectangle rectangle)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
Rectangle (rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
|
||||
}
|
||||
|
||||
public void Rectangle (PointD p, double width, double height)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
Rectangle (p.X, p.Y, width, height);
|
||||
}
|
||||
|
||||
public void Rectangle (double x, double y, double width, double height)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_rectangle (handle, x, y, width, height);
|
||||
}
|
||||
|
||||
public void ClosePath ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_close_path (handle);
|
||||
}
|
||||
|
||||
public Path CopyPath ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
return new Path (NativeMethods.cairo_copy_path (handle));
|
||||
}
|
||||
|
||||
public Path CopyPathFlat ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
return new Path (NativeMethods.cairo_copy_path_flat (handle));
|
||||
}
|
||||
|
||||
public void AppendPath (Path path)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_append_path (handle, path.Handle);
|
||||
}
|
||||
|
||||
@ -490,36 +532,43 @@ namespace Cairo {
|
||||
#region Painting Methods
|
||||
public void Paint ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_paint (handle);
|
||||
}
|
||||
|
||||
public void PaintWithAlpha (double alpha)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_paint_with_alpha (handle, alpha);
|
||||
}
|
||||
|
||||
public void Mask (Pattern pattern)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_mask (handle, pattern.Handle);
|
||||
}
|
||||
|
||||
public void MaskSurface (Surface surface, double surface_x, double surface_y)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_mask_surface (handle, surface.Handle, surface_x, surface_y);
|
||||
}
|
||||
|
||||
public void Stroke ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_stroke (handle);
|
||||
}
|
||||
|
||||
public void StrokePreserve ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_stroke_preserve (handle);
|
||||
}
|
||||
|
||||
public Rectangle StrokeExtents ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
double x1, y1, x2, y2;
|
||||
NativeMethods.cairo_stroke_extents (handle, out x1, out y1, out x2, out y2);
|
||||
return new Rectangle (x1, y1, x2 - x1, y2 - y1);
|
||||
@ -527,6 +576,7 @@ namespace Cairo {
|
||||
|
||||
public void Fill ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_fill (handle);
|
||||
}
|
||||
|
||||
@ -539,6 +589,7 @@ namespace Cairo {
|
||||
|
||||
public void FillPreserve ()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
NativeMethods.cairo_fill_preserve (handle);
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Reflection.Emit;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace System.Linq.Expressions {
|
||||
|
||||
public partial class LambdaExpression {
|
||||
|
||||
public void CompileToMethod (MethodBuilder method) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void CompileToMethod (MethodBuilder method, DebugInfoGenerator debugInfoGenerator) => throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Reflection.Emit;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace System.Runtime.CompilerServices {
|
||||
|
||||
public partial class RuntimeOps {
|
||||
|
||||
[Obsolete ("do not use this method")]
|
||||
public static IRuntimeVariables MergeRuntimeVariables (IRuntimeVariables first, IRuntimeVariables second, int[] indexes) => throw new PlatformNotSupportedException ();
|
||||
|
||||
[Obsolete ("do not use this method")]
|
||||
public static Expression Quote (Expression expression, object hoistedLocals, object[] locals) => throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
#include common_System.Core.dll.sources
|
||||
#include interpreter_System.Core.dll.sources
|
||||
#include pipes_pns.sources
|
||||
#include sre_pns.sources
|
||||
|
2
mcs/class/System.Core/sre_pns.sources
Normal file
2
mcs/class/System.Core/sre_pns.sources
Normal file
@ -0,0 +1,2 @@
|
||||
System.Linq.Expressions/LambdaExpression.NotSupported.cs
|
||||
System.Runtime.CompilerServices/RuntimeOps.NotSupported.cs
|
@ -1 +1 @@
|
||||
1645b18a9d8dda6529e3cdae726e1c21a2227ba7
|
||||
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
|
@ -1 +1 @@
|
||||
7a576bb41bd21859526feae7b08e48e9b31fa50c
|
||||
04f97c37b51e418ea1af197553131047499cab62
|
@ -1 +1 @@
|
||||
be39720ce0c5b32ef632aa70f2e4559d7c10b573
|
||||
296b6252413645b66b0b30a8113ce75b75c11cd9
|
Binary file not shown.
@ -1 +1 @@
|
||||
5594789749490508283bf82b09672da5f4310d25
|
||||
57ded3591080d30e69c5d29606e1f6791f91ce66
|
@ -1 +1 @@
|
||||
3793ea7f306407ceac890e0dc1f0048946374e59
|
||||
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
|
@ -1 +1 @@
|
||||
5dcca253494d6da57816a6e9c9702b3a3a4723e4
|
||||
aaee731cfa5a449be1adca8388869d1139f5fcc9
|
@ -1 +1 @@
|
||||
042d381ea6d1a6bc1d3ca453f46804a982a2bdbf
|
||||
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
|
@ -1 +1 @@
|
||||
1645b18a9d8dda6529e3cdae726e1c21a2227ba7
|
||||
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
|
@ -1 +1 @@
|
||||
7a576bb41bd21859526feae7b08e48e9b31fa50c
|
||||
04f97c37b51e418ea1af197553131047499cab62
|
@ -1 +1 @@
|
||||
be39720ce0c5b32ef632aa70f2e4559d7c10b573
|
||||
296b6252413645b66b0b30a8113ce75b75c11cd9
|
Binary file not shown.
@ -1 +1 @@
|
||||
5594789749490508283bf82b09672da5f4310d25
|
||||
57ded3591080d30e69c5d29606e1f6791f91ce66
|
@ -1 +1 @@
|
||||
3793ea7f306407ceac890e0dc1f0048946374e59
|
||||
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
|
@ -1 +1 @@
|
||||
5dcca253494d6da57816a6e9c9702b3a3a4723e4
|
||||
aaee731cfa5a449be1adca8388869d1139f5fcc9
|
@ -1 +1 @@
|
||||
042d381ea6d1a6bc1d3ca453f46804a982a2bdbf
|
||||
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
|
@ -1 +1 @@
|
||||
1645b18a9d8dda6529e3cdae726e1c21a2227ba7
|
||||
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
|
@ -1 +1 @@
|
||||
7a576bb41bd21859526feae7b08e48e9b31fa50c
|
||||
04f97c37b51e418ea1af197553131047499cab62
|
@ -1 +1 @@
|
||||
be39720ce0c5b32ef632aa70f2e4559d7c10b573
|
||||
296b6252413645b66b0b30a8113ce75b75c11cd9
|
Binary file not shown.
@ -1 +1 @@
|
||||
5594789749490508283bf82b09672da5f4310d25
|
||||
57ded3591080d30e69c5d29606e1f6791f91ce66
|
@ -1 +1 @@
|
||||
3793ea7f306407ceac890e0dc1f0048946374e59
|
||||
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
|
@ -1 +1 @@
|
||||
5dcca253494d6da57816a6e9c9702b3a3a4723e4
|
||||
aaee731cfa5a449be1adca8388869d1139f5fcc9
|
@ -1 +1 @@
|
||||
042d381ea6d1a6bc1d3ca453f46804a982a2bdbf
|
||||
819f1d6e5fa5d08eb07aec3b576abadfd5b04f19
|
@ -1 +1 @@
|
||||
1645b18a9d8dda6529e3cdae726e1c21a2227ba7
|
||||
9dc03b0dca3a091e4ac2ddd5d728e3d26a5d932e
|
@ -1 +1 @@
|
||||
7a576bb41bd21859526feae7b08e48e9b31fa50c
|
||||
04f97c37b51e418ea1af197553131047499cab62
|
@ -1 +1 @@
|
||||
83238e18a66e32663b31dfe6d990d92ee6e3315b
|
||||
5227c8dd888613f7417c6cb07fcf63e6eb8ac414
|
Binary file not shown.
@ -1 +1 @@
|
||||
5594789749490508283bf82b09672da5f4310d25
|
||||
57ded3591080d30e69c5d29606e1f6791f91ce66
|
@ -1 +1 @@
|
||||
3793ea7f306407ceac890e0dc1f0048946374e59
|
||||
3202e79921954dba22d63ecbf2f8fcddcbcb16a2
|
@ -1 +1 @@
|
||||
5dcca253494d6da57816a6e9c9702b3a3a4723e4
|
||||
aaee731cfa5a449be1adca8388869d1139f5fcc9
|
@ -1 +1 @@
|
||||
f7c944f681aba0e422c9307d78ccf79af7486a16
|
||||
959bead42951eae0826089d7f5f362c24d98b6aa
|
@ -1 +1 @@
|
||||
#define FULL_VERSION "explicit/3dc72cf"
|
||||
#define FULL_VERSION "explicit/86f0cac"
|
||||
|
@ -1442,10 +1442,10 @@ distclean-generic:
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
@CROSS_COMPILE_TRUE@test-local:
|
||||
@HOST_WIN32_TRUE@test-local:
|
||||
@CROSS_COMPILE_TRUE@clean-local:
|
||||
@HOST_WIN32_TRUE@clean-local:
|
||||
@CROSS_COMPILE_TRUE@test-local:
|
||||
@HOST_WIN32_TRUE@test-local:
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
|
||||
|
@ -515,8 +515,8 @@ distclean-generic:
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
@ENABLE_MSVC_FALSE@clean-local:
|
||||
@ENABLE_MSVC_FALSE@install-exec-local:
|
||||
@ENABLE_MSVC_FALSE@clean-local:
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
|
||||
|
BIN
po/mcs/de.gmo
BIN
po/mcs/de.gmo
Binary file not shown.
@ -1 +1 @@
|
||||
47c5a3a0dc1ec2a89eef681d8673760a7de8b2e9
|
||||
868e5e4c4e91160844ae8170d6f31d7d856bdc4d
|
BIN
po/mcs/es.gmo
BIN
po/mcs/es.gmo
Binary file not shown.
@ -1 +1 @@
|
||||
b01c6bed94f3c20d2d50a14aa169f1f0d426960b
|
||||
0c437bf63438c0de2fef22bea72de07f05866810
|
BIN
po/mcs/ja.gmo
BIN
po/mcs/ja.gmo
Binary file not shown.
@ -1 +1 @@
|
||||
9f73d81c97f48dac3ba0b234a9b334ceef540bee
|
||||
171550bdaf3f08ff32d2762958ea423a7a4e3c53
|
@ -6,9 +6,9 @@
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: mono 6.0.0.255\n"
|
||||
"Project-Id-Version: mono 6.0.0.259\n"
|
||||
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
|
||||
"POT-Creation-Date: 2019-05-24 08:03+0000\n"
|
||||
"POT-Creation-Date: 2019-05-25 08:09+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
BIN
po/mcs/pt_BR.gmo
BIN
po/mcs/pt_BR.gmo
Binary file not shown.
@ -1 +1 @@
|
||||
167beee473f717211b3d25f8f73968c2fbe1cba1
|
||||
3b0c031d6d068f82b69a288a27e8c284de07f4f2
|
Loading…
x
Reference in New Issue
Block a user