[macOS] Regeneration of bridgesupport files necessary
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the macOS bridge-support generation instructions in bundles/org.eclipse.swt/Readme.macOS.md and compare the current files with the output from the latest macOS SDK. Then investigate MacGenerator and the existing bridge-support files; the issue notes that regenerated output currently causes compile errors. Done means the files are regenerated and cleaned up, with any needed generator adaptations, and the generated code compiles against current SDKs.
由索引模型根据 Issue 内容生成。
描述
The bridge support files for macOS used to be regenerated for newer macOS SDK versions. This has not happened for quite a while and we have started to manually add entries for newer macOS SDKs to that file so that we can use the MacGenerator for JNI binding generation on new API.
I have tried to regenerate those files with the available documentation (in particular the according readme) but the results look quite different from what we have right now (different properties due to using aarch64 and a high number of changes), which then lead to the MacGenerator deriving code that has many compile errors.
We should thus do the regeneration of those files in a separate task including the necessary cleanup and maybe MacGenerator adaptations to be conforming with latest SDK versions and have fully auto-generated bridgesupport files again.
Originally from @Phillipus: https://github.com/eclipse-platform/eclipse.platform.swt/pull/3435#issuecomment-4968487118
Looking at the following:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=502090
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514191
https://github.com/eclipse-platform/eclipse.platform.swt/blob/master/bundles/org.eclipse.swt/Readme.macOS.mdIt seems that there have been times when there was a macOS version update where all the bridge support files > have been completely regenerated against a new macOS SDK. The last time was here:
- 主要语言
- Java
- 星标
- 202
- 派生
- 206
- 平均合并
- 20 小时 20 分钟
- 30 天内合并 PR
- 113
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-platform/eclipse.platform.swt 的其他 Issue
-
`SWT_AWT.initFrame` takes `(long, String)` in Java; the GTK native declares no `className` and the Cocoa native types it `const char *`可能已有人在做 @GreenFuze 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
eclipse-platform/eclipse.platform.swt#3665 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform.swt#3546 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
eclipse-platform/eclipse.platform.swt#3428 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 75/100
eclipse-platform/eclipse.platform.swt#3336 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
eclipse-platform/eclipse.platform.swt#3718 ·
维护者通常 1 天内回复
查看 eclipse-platform/eclipse.platform.swt 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6896 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
OpenIntegrationEngine/engine#496 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
SasanLabs/VulnerableApp#836 ·
维护者通常 1 天内回复
-
enhancement frontend
难度 2/5 1-3 小时 新手友好度 83/100
Albertinesilva/backend-engineering-journey-java-springboot#46 ·
-
Snyk: vulnerabilities in jackson-databind 2.21.5可能已有人在做 @harrywu23 今天认领。 未关闭bug
难度 1/5 1-3 小时 新手友好度 80/100
SOFTENG-310-Group-4/Project-A1-310-Group-4#115 ·
维护者通常 1 天内回复