Skip to content

Commit 3a89c8a

Browse files
authored
Update Imgui from 1.90.6 to 1.92.5, use Dear Bindings instead of cimgui (#10118)
This updates our Imgui version from 1.90.6 to 1.92.5 which is almost 18 months of changes. In the process, we've also migrated from cimgui to Dear Bindings, the official way to do C bindings. This PR doesn't contain any functionality changes, only the dependency change and API changes necessary to achieve the same behavior.
2 parents d3666d6 + c694517 commit 3a89c8a

26 files changed

+879
-13277
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build.zig.zon.json linguist-generated=true
44
vendor/** linguist-vendored
55
website/** linguist-documentation
66
pkg/breakpad/vendor/** linguist-vendored
7-
pkg/cimgui/vendor/** linguist-vendored
87
pkg/glfw/wayland-headers/** linguist-vendored
98
pkg/libintl/config.h linguist-generated=true
109
pkg/libintl/libintl.h linguist-generated=true

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464

6565
// C libs
66-
.cimgui = .{ .path = "./pkg/cimgui", .lazy = true },
66+
.dcimgui = .{ .path = "./pkg/dcimgui", .lazy = true },
6767
.fontconfig = .{ .path = "./pkg/fontconfig", .lazy = true },
6868
.freetype = .{ .path = "./pkg/freetype", .lazy = true },
6969
.gtk4_layer_shell = .{ .path = "./pkg/gtk4-layer-shell", .lazy = true },

build.zig.zon.json

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.zig.zon.nix

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.zig.zon.txt

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flatpak/zig-packages.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"type": "archive",
4+
"url": "https://deps.files.ghostty.org/DearBindings_v0.17_ImGui_v1.92.5-docking.tar.gz",
5+
"dest": "vendor/p/N-V-__8AANT61wB--nJ95Gj_ctmzAtcjloZ__hRqNw5lC1Kr",
6+
"sha256": "8bfec500e00926f679853ee23d67cc392d3c3181733ca4704738651d3f70baa3"
7+
},
28
{
39
"type": "archive",
410
"url": "https://deps.files.ghostty.org/breakpad-b99f444ba5f6b98cac261cbb391d8766b34a5918.tar.gz",
@@ -55,9 +61,9 @@
5561
},
5662
{
5763
"type": "archive",
58-
"url": "https://deps.files.ghostty.org/imgui-1220bc6b9daceaf7c8c60f3c3998058045ba0c5c5f48ae255ff97776d9cd8bfc6402.tar.gz",
59-
"dest": "vendor/p/N-V-__8AAH0GaQC8a52s6vfIxg88OZgFgEW6DFxfSK4lX_l3",
60-
"sha256": "a05fd01e04cf11ab781e28387c621d2e420f1e6044c8e27a25e603ea99ef7860"
64+
"url": "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.5-docking.tar.gz",
65+
"dest": "vendor/p/N-V-__8AAEbOfQBnvcFcCX2W5z7tDaN8vaNZGamEQtNOe0UI",
66+
"sha256": "c816c20e8c75f3e15ae867350e79925502d1a6a85938bb1a73b8927e5f31f9cb"
6167
},
6268
{
6369
"type": "archive",

pkg/cimgui/build.zig

Lines changed: 0 additions & 129 deletions
This file was deleted.

pkg/cimgui/build.zig.zon

Lines changed: 0 additions & 19 deletions
This file was deleted.

pkg/cimgui/c.zig

Lines changed: 0 additions & 4 deletions
This file was deleted.

pkg/cimgui/main.zig

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)