Module: wine
Branch: master
Commit: c95877da42c2eb03085edf54a114cd0c766ad184
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c95877da42c2eb03085edf54a…
Author: Clemens Tamme <clemens.tamme(a)gmail.com>
Date: Thu Jun 22 18:47:42 2017 +0200
gdiplus: Write API documentation for GdipAddPathArc and GdipAddPathArcI.
Signed-off-by: Clemens Tamme <clemens.tamme(a)gmail.com>
Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdiplus/graphicspath.c | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 815ce34..5fedd07 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -166,6 +166,32 @@ static BOOL flatten_bezier(path_list_node_t *start, REAL x2, REAL y2, REAL x3, R
return TRUE;
}
+/*******************************************************************************
+ * GdipAddPathArc [GDIPLUS.1]
+ *
+ * Add an elliptical arc to the given path.
+ *
+ * PARAMS
+ * path [I/O] Path that the arc is appended to
+ * x1 [I] X coordinate of the boundary box
+ * y1 [I] Y coordinate of the boundary box
+ * x2 [I] Width of the boundary box
+ * y2 [I] Height of the boundary box
+ * startAngle [I] Starting angle of the arc, clockwise
+ * sweepAngle [I] Angle of the arc, clockwise
+ *
+ * RETURNS
+ * InvalidParameter If the given path is invalid
+ * OutOfMemory If memory allocation fails, i.e. the path cannot be lengthened
+ * Ok If everything works out as expected
+ *
+ * NOTES
+ * This functions takes the newfigure value of the given path into account,
+ * i.e. the arc is connected to the end of the given path if it was set to
+ * FALSE, otherwise the arc's first point gets the the PathPointTypeStart
+ * value. In both cases, the value of newfigure of the given path is FALSE
+ * afterwards.
+ */
GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2,
REAL y2, REAL startAngle, REAL sweepAngle)
{
@@ -200,6 +226,11 @@ GpStatus WINGDIPAPI GdipAddPathArc(GpPath *path, REAL x1, REAL y1, REAL x2,
return Ok;
}
+/*******************************************************************************
+ * GdipAddPathArcI [GDUPLUS.2]
+ *
+ * See GdipAddPathArc
+ */
GpStatus WINGDIPAPI GdipAddPathArcI(GpPath *path, INT x1, INT y1, INT x2,
INT y2, REAL startAngle, REAL sweepAngle)
{
Module: wine
Branch: master
Commit: f96e319ab5b890e0d174d617ee93c7b3ecc9dec9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f96e319ab5b890e0d174d617e…
Author: Clemens Tamme <clemens.tamme(a)gmail.com>
Date: Wed Jun 21 19:50:41 2017 +0200
gdiplus: Write API for GdipAddPathLine and GdipAddPathLineI.
Signed-off-by: Clemens Tamme <clemens.tamme(a)gmail.com>
Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdiplus/graphicspath.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index e34f4ed..90d15bb 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -646,6 +646,30 @@ GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath *path, GDIPCONST GpPoint *points, I
return stat;
}
+/*************************************************************************
+ * GdipAddPathLine [GDIPLUS.21]
+ *
+ * Add two points to the given path.
+ *
+ * PARAMS
+ * path [I/O] Path that the line is appended to
+ * x1 [I] X coordinate of the first point of the line
+ * y1 [I] Y coordinate of the first point of the line
+ * x2 [I] X coordinate of the second point of the line
+ * y2 [I] Y coordinate of the second point of the line
+ *
+ * RETURNS
+ * InvalidParameter If the first parameter is not a valid path
+ * OutOfMemory If the path cannot be lengthened, i.e. memory allocation fails
+ * Ok If everything works out as expected
+ *
+ * NOTES
+ * This functions takes the newfigure value of the given path into account,
+ * i.e. the two new points are connected to the end of the given path if it
+ * was set to FALSE, otherwise the first point is given the PathPointTypeStart
+ * value. In both cases, the value of newfigure of the given path is FALSE
+ * afterwards.
+ */
GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REAL y2)
{
INT old_count;
@@ -675,6 +699,11 @@ GpStatus WINGDIPAPI GdipAddPathLine(GpPath *path, REAL x1, REAL y1, REAL x2, REA
return Ok;
}
+/*************************************************************************
+ * GdipAddPathLineI [GDIPLUS.21]
+ *
+ * See GdipAddPathLine
+ */
GpStatus WINGDIPAPI GdipAddPathLineI(GpPath *path, INT x1, INT y1, INT x2, INT y2)
{
TRACE("(%p, %d, %d, %d, %d)\n", path, x1, y1, x2, y2);
Module: appdb
Branch: master
Commit: 9e07aab1b18a63c497de0bfbf251eacdba239a7a
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=9e07aab1b18a63c497de0bfb…
Author: Rosanne DiMesio <dimesio(a)earthlink.net>
Date: Mon Jun 26 12:53:31 2017 -0500
Revise bug link message
Changes the message to match the way the process actually works. Fixes bug 36179.
Signed-off-by: Rosanne DiMesio <dimesio(a)earthlink.net>
Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com>
---
include/bugs.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/bugs.php b/include/bugs.php
index f8c3f41..331600e 100644
--- a/include/bugs.php
+++ b/include/bugs.php
@@ -271,7 +271,7 @@ class Bug
{
$sSubject = "Link between Bug ".$this->iBug_id." and ".$sAppName." submitted by ".$_SESSION['current']->sRealname;
$sMsg .= "This Bug Link has been queued.\n";
- addmsg("The Bug Link you submitted will be added to the database after being reviewed.", "green");
+ addmsg("The Bug Link you submitted has been added to the database and queued for review by the maintainer or an administrator.", "green");
}
} else // Bug Link deleted.
{