Skip to content

Commit 12d185a

Browse files
authored
Merge pull request #131 from eclipse-threadx/dev
Merge changes ahead of the v6.4.3.202503 release.
2 parents 4dca553 + d05233b commit 12d185a

10 files changed

+26
-27
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
22

33
# Set up the project
44
project(guix

common/inc/gx_api.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
/* 03-01-2024 Ting Zhu Modified comment(s), */
118118
/* updated patch version, */
119119
/* resulting in version 6.4.1 */
120-
/* 02-19-2025 Frédéric Desbiens Modified comment(s), */
120+
/* 02-19-2025 Fr�d�ric Desbiens Modified comment(s), */
121121
/* update version number, */
122122
/* resulting in version 6.4.2 */
123123
/* */
@@ -141,9 +141,11 @@ extern "C" {
141141
and the GUIX source as well. */
142142

143143
#define AZURE_RTOS_GUIX
144-
#define GUIX_MAJOR_VERSION 6
145-
#define GUIX_MINOR_VERSION 4
146-
#define GUIX_PATCH_VERSION 2
144+
#define GUIX_MAJOR_VERSION 6
145+
#define GUIX_MINOR_VERSION 4
146+
#define GUIX_PATCH_VERSION 3
147+
#define GUIX_BUILD_VERSION 202503
148+
#define GUIX_HOTFIX_VERSION ''
147149

148150
/* The following symbols are defined for backward compatibility reasons.*/
149151
#define __PRODUCT_GUIX__

common/src/gx_canvas_arc_draw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
188188
}
189189

190190
/* we have a view into which we can draw the arc, do it */
191+
GX_RECTANGLE *original_clip = context->gx_draw_context_clip;
191192
context -> gx_draw_context_clip = &clip_rect;
192193

193194
if (brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL))
@@ -200,6 +201,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
200201
outline_function(context, xcenter, ycenter, r, start_angle, end_angle);
201202
}
202203
view = view -> gx_view_next;
204+
context -> gx_draw_context_clip = original_clip;
203205
}
204206

205207
/* Return successful completion. */

common/src/gx_canvas_circle_draw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
158158
}
159159

160160
/* we have a view into which we can draw the line, do it */
161+
GX_RECTANGLE *original_clip = context->gx_draw_context_clip;
161162
context -> gx_draw_context_clip = &clip_rect;
162163

163164
if (brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL))
@@ -171,6 +172,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
171172
}
172173

173174
view = view -> gx_view_next;
175+
context -> gx_draw_context_clip = original_clip;
174176
}
175177

176178
/* Return successful completion. */

common/src/gx_canvas_ellipse_draw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
158158
}
159159

160160
/* we have a view into which we can draw the line, do it */
161+
GX_RECTANGLE *original_clip = context->gx_draw_context_clip;
161162
context -> gx_draw_context_clip = &clip_rect;
162163

163164
if ((brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL)) &&
@@ -173,6 +174,7 @@ VOID (*outline_function)(GX_DRAW_CONTEXT *context, INT xcenter, INT
173174
}
174175

175176
view = view -> gx_view_next;
177+
context -> gx_draw_context_clip = original_clip;
176178
}
177179

178180
/* Return successful completion. */

common/src/gx_canvas_polygon_draw.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ GX_VALUE width;
142142
}
143143

144144
/* we have a view into which we can draw the polygon, do it */
145+
GX_RECTANGLE *original_clip = context->gx_draw_context_clip;
145146
context -> gx_draw_context_clip = &clip_rect;
146147

147148
if (context -> gx_draw_context_brush.gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL))
@@ -156,6 +157,8 @@ GX_VALUE width;
156157
}
157158

158159
view = view -> gx_view_next;
160+
context -> gx_draw_context_clip = original_clip;
161+
159162
}
160163

161164
/* Return successful completion. */

common/src/gx_display_driver_4444argb_horizontal_pixelmap_line_draw.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/***************************************************************************
2-
* Copyright (c) 2024 Microsoft Corporation
3-
*
2+
* Copyright (c) 2024 Microsoft Corporation
3+
*
44
* This program and the accompanying materials are made available under the
55
* terms of the MIT License which is available at
66
* https://opensource.org/licenses/MIT.
7-
*
7+
*
88
* SPDX-License-Identifier: MIT
99
**************************************************************************/
1010

@@ -26,7 +26,6 @@
2626
#include "gx_api.h"
2727
#include "gx_display.h"
2828
#include "gx_context.h"
29-
#if defined(GX_ARC_DRAWING_SUPPORT)
3029

3130
#if defined(GX_BRUSH_ALPHA_SUPPORT)
3231
/**************************************************************************/
@@ -1116,6 +1115,3 @@ GX_UBYTE alpha;
11161115
info -> current_aux_ptr = (GX_UBYTE *)info -> pixelmap -> gx_pixelmap_aux_data;
11171116
}
11181117
}
1119-
1120-
#endif /* GX_ARC_DRAWING_SUPPORT */
1121-

common/src/gx_display_driver_565rgb_horizontal_pixelmap_line_draw.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/***************************************************************************
2-
* Copyright (c) 2024 Microsoft Corporation
3-
*
2+
* Copyright (c) 2024 Microsoft Corporation
3+
*
44
* This program and the accompanying materials are made available under the
55
* terms of the MIT License which is available at
66
* https://opensource.org/licenses/MIT.
7-
*
7+
*
88
* SPDX-License-Identifier: MIT
99
**************************************************************************/
1010

@@ -27,8 +27,6 @@
2727
#include "gx_display.h"
2828
#include "gx_context.h"
2929

30-
#if defined(GX_ARC_DRAWING_SUPPORT)
31-
3230
#if defined(GX_BRUSH_ALPHA_SUPPORT)
3331

3432
/**************************************************************************/
@@ -1164,5 +1162,3 @@ GX_UBYTE alpha;
11641162
info -> current_aux_ptr = (GX_UBYTE *)info -> pixelmap -> gx_pixelmap_aux_data;
11651163
}
11661164
}
1167-
#endif /*GX_ARC_DRAWING_SUPPORT*/
1168-

common/src/gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_draw.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/***************************************************************************
2-
* Copyright (c) 2024 Microsoft Corporation
3-
*
2+
* Copyright (c) 2024 Microsoft Corporation
3+
*
44
* This program and the accompanying materials are made available under the
55
* terms of the MIT License which is available at
66
* https://opensource.org/licenses/MIT.
7-
*
7+
*
88
* SPDX-License-Identifier: MIT
99
**************************************************************************/
1010

@@ -27,8 +27,6 @@
2727
#include "gx_display.h"
2828
#include "gx_context.h"
2929

30-
#if defined(GX_ARC_DRAWING_SUPPORT)
31-
3230
#if defined(GX_BRUSH_ALPHA_SUPPORT)
3331

3432
/**************************************************************************/
@@ -1131,5 +1129,3 @@ GX_UBYTE alpha;
11311129
info -> current_aux_ptr = (GX_UBYTE *)info -> pixelmap -> gx_pixelmap_aux_data;
11321130
}
11331131
}
1134-
#endif /*GX_ARC_DRAWING_SUPPORT*/
1135-

test/guix_test/cmake/regression/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
22
cmake_policy(SET CMP0057 NEW)
33

44
project(regression_test LANGUAGES C)

0 commit comments

Comments
 (0)