Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dgud
Copy link
Contributor

@dgud dgud commented Oct 21, 2025

Fixes code generator to generate previous added fixes.

Includes the commit in #10303 and adds a testcase and also fixes the code generator for that code.

wallacegibbon and others added 4 commits October 20, 2025 11:06
The GetRed, GetBlue, GetGreen in wxWidgets return `unsigned char`,
But the code in wxe_wrapper_4.cpp is using `char` to receive the result
and sign extending it into a int.

As a result, a pixel whose red is `250`(`16#FA`) will be returned as
`4294967290`(`16#FFFFFFFA`) by `wxImage:getRed/3`.

This commit fixed this problem.
The committed code didn't correspond to what the generator did.
Fix generator to produce the correct licenses and fix WXE_WEBVIEW
include.
* upstream/pr/10303:
  wx: Fixed the types of pixel values.
Generate code according to previous commit and
add a testcase.
@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2025

CT Test Results

  2 files   17 suites   3m 42s ⏱️
158 tests 151 ✅ 7 💤 0 ❌
174 runs  167 ✅ 7 💤 0 ❌

Results for commit 4ec70e8.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@dgud dgud self-assigned this Oct 21, 2025
@dgud dgud added team:PS Assigned to OTP team PS bug Issue is reported as a bug testing currently being tested, tag is used by OTP internal CI labels Oct 21, 2025
@dgud dgud requested a review from u3s October 21, 2025 15:28
u3s
u3s previously approved these changes Oct 24, 2025
gl.erl was compiled with wrong parameters in bootstrap,
and then kept in the release, 3rd time I'm fixing this
hopefully for real now.

If headers/libs are available it should work now.
@dgud dgud removed the testing currently being tested, tag is used by OTP internal CI label Oct 24, 2025
@dgud dgud changed the base branch from master to maint October 24, 2025 13:40
@dgud dgud added the testing currently being tested, tag is used by OTP internal CI label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue is reported as a bug team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants