版本发布 6
# Intro Hi everyone! Today we'd like to announce a new `cimgui-go` release! It comes with a few new backends, glfw 3.4, imgui 1.92.7 and much more! # Highlights ## Backend changes - Updated GLFW to v3.4 - Ebiten Backend: fix modifier keys (ctrl, shift, e.t.c.) not being passed to the backend (caused e.g. Ctrl+C not working) - Updated SDL to 2.32.10 - New backends have been added: - Metal (thank you @hexvalid !) - DRM/EGL (for linux) (Thank you @TTHHR !) - Raylib backend (thank you @damntourists !) ## Binding additions/changes - This release runs imgui v1.92.7 (exact versions will be specified at the bottom of those release notes) - Treat "template typedefs" as if they were structs. This allows to generate some functions (e.g. `(*Context).KeysMayBeCharInput()` - FIx potential linker error happening sometimes on Windows. # Detailed changelog * deps(update): support immarkdown heading font size by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/469 * ebitenbackend: pass modifiers to imguiIO by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/474 * deps(glfw): update to glf v3.4 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/475 * thirdparty(glfw): add dummy.go by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/476 * glfwbackend: fix flag name by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/477 * ebitenbackend: add Super modifier support by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/478 * deps(cwrappers): update by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/479 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.8 to 2.8.9 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/480 * build(deps): bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/482 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.9 to 2.9.1 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/483 * Update sdl to 2.32.10 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/481 * feat(codegen): treat template typedefs as structs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/484 * deps: run make update by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/485 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.1 to 2.9.2 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/486 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.2 to 2.9.3 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/488 * codegen/vectors: do not call C function multiple times when creating a vector instance by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/493 * build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/494 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.3 to 2.9.4 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/495 * makefile: add possibility to specify dep branch in update function by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/497 * build(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/498 * build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/499 * build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/500 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.4 to 2.9.5 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/501 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.5 to 2.9.6 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/502 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.6 to 2.9.7 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/503 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.7 to 2.9.8 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/505 * New Backend: Metal by @hexvalid in https://github.com/AllenDang/cimgui-go/pull/506 * codegen: handle cimgui changes by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/504 * feat(dependabot): add cmd/codegen go ecosystem for updates by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/509 * deps: update imgui to 1.92.6 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/508 * fix(metal): remove delayed repaint after alt-tab on macOS by @hexvalid in https://github.com/AllenDang/cimgui-go/pull/511 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.9.8 to 2.9.9 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/513 * build(deps): bump golang.org/x/tools from 0.42.0 to 0.43.0 in /cmd/codegen by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/514 * codegen: add ImPlotSpec default value by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/516 * Fix ImGuiColorTextEdit windows mingw linker error by @xypwn in https://github.com/AllenDang/cimgui-go/pull/507 * add Linux DRM/EGL backend based on go-drm-egl by @TTHHR in https://github.com/AllenDang/cimgui-go/pull/518 * build(deps): bump github.com/tthhr/go-drm-egl from 1.0.0 to 1.0.1 by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/519 * deps: update to imgui v1.92.7 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/520 * build(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 in /cmd/codegen by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/521 * build(deps): bump golang.org/x/tools from 0.44.0 to 0.45.0 in /cmd/codegen by @dependabot[bot] in https://github.com/AllenDang/cimgui-go/pull/525 * Update gofumpt by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/523 * Raylib backend (#512 followup) by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/526 ## New Contributors * @hexvalid made their first contribution in https://github.com/AllenDang/cimgui-go/pull/506 * @xypwn made their first contribution in https://github.com/AllenDang/cimgui-go/pull/507 * @TTHHR made their first contribution in https://github.com/AllenDang/cimgui-go/pull/518 **Full Changelog**: https://github.com/AllenDang/cimgui-go/compare/v1.4.0...v1.5.0 # Dependencies versions `cwrappers/VERSION.txt ```console cimgui (https://github.com/cimgui/cimgui) HEAD is on: 0e533fd0b70f6add19825bea83b66743d5b8d95b cimgui/imgui HEAD is on: d55608a5bb8c8a6890957b9e216f969c9407265b cimplot (https://github.com/cimgui/cimplot) HEAD is on: 75a03832860f7832712cb5ad8d6e3ad6b69dd97c cimplot/implot HEAD is on: 524f9fcd48d76c13fdf94c5ffbba8787a1ff7e39 cimnodes (https://github.com/cimgui/cimnodes) HEAD is on: 32200c016794ab14abce095a871ec2fa5d9223e5 cimnodes/imnodes HEAD is on: b2ec254ce576ac3d42dfb7aef61deadbff8e7211 cimmarkdown (https://github.com/gucio321/cimmarkdown) HEAD is on: 648683c091b6c504cc9c040bc9b67c9b5ecbf54e cimmarkdown/imgui_markdown HEAD is on: e2aabf2ba8845b5946c2a047985bedfb782f0db4 cimguizmo (https://github.com/cimgui/cimguizmo) HEAD is on: 77e8ff47dc16a688edb06526b2f19c845b653bc7 cimguizmo/ImGuizmo HEAD is on: a15acd87a3f3241a29ea1363ceafc680dca3a96b cimCTE (https://github.com/cimgui/cimcte) HEAD is on: 789630ae8873d1c42a25724a416a7d0551cc3ade cimCTE/ImGuiColorTextEdit HEAD is on: 264bee49ddc3c789b05d928d09c628649458da47 ```
# Summary Hi! This minor release mainly focuses on fixing the long-existing issue with performing `go get`/`go mod tidy` commands on this repository. It also updates all our components to the following versions: ```txt cimgui (https://github.com/cimgui/cimgui) HEAD is on: c32d1c0c9bdceba886100c3e69ad408a60dc6b86 cimgui/imgui HEAD is on: 126d004f9e1eef062bf4b044b3b2faaf58d48c51 cimplot (https://github.com/cimgui/cimplot) HEAD is on: 381ed68cc0688f16d027d67edc3bc060afa4dde9 cimplot/implot HEAD is on: 193b9d8f92c4a437e84182b171f1ae266e72321f cimnodes (https://github.com/cimgui/cimnodes) HEAD is on: 2c17d639e7ba969b294116834183b1520cb1035d cimnodes/imnodes HEAD is on: 8563e1655bd9bb1f249e6552cc6274d506ee788b cimmarkdown (https://github.com/gucio321/cimmarkdown) HEAD is on: 9deb5b1950c1e3f3defa5aea1b024a7b3aacf62d cimmarkdown/imgui_markdown HEAD is on: 4e748bd50d194e6096afb179961574d35ed6b4bd cimguizmo (https://github.com/cimgui/cimguizmo) HEAD is on: c3ade65dbda9750536a6a26c8d8fe705f0cfdfd1 cimguizmo/ImGuizmo HEAD is on: b10e91756d32395f5c1fefd417899b657ed7cb88 cimCTE (https://github.com/cimgui/cimcte) HEAD is on: d1c27ebb0e1af785f781fd7076be943ceee8d26c cimCTE/ImGuiColorTextEdit HEAD is on: 8360032799e7310dbe173d87228ecc8409a9c889 ``` > [!Note] > `imgui.PlatformIO()` (originally known as `ImGui::GetPlatformIO` is called `imgui.CurrentPlatformIO()` now. > [!Warning] > Some Breaking Changes in imgui API as well as in components APIs may occure, but they come from vendors. ## What's Changed * build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/407 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.5 to 2.8.6 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/403 * build(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.3.1 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/408 * mod: rquire latest golang 1.24.0 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/409 * build(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/410 * feat(codegen): allow to skip files by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/411 * build(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.1 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/412 * Vendor workaround + deps upgrade by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/414 **Full Changelog**: https://github.com/AllenDang/cimgui-go/compare/v1.3.0...v1.3.1
# Introduction This release mainly contains `cmd/codegen` improvements as well as some backend changes that makes backend interface easier to use. ## Release highlights - codegen module (`cmd/codegen`) received several updates and cleanups incuding: - it uses an external flag package so writing flags is easier now. It also supports long version of flags (e.g. `-d` and `--definitions`) - `Preset` was extended with several fields including imgui-specific stuff from argument/return_wrapper - gofumpt and goimports are now integrated with codegen so that you don't need to run them on your own. - documentation was added. - `backend.WindowCloseCallback`: type was changed `func(b Backend[T])` -> `func()` (it is not generic anymore). ## What's Changed - detailed changelog * Codegen refactor and cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/391 * make gengo_callbacks separated gengo unit by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/392 * remove files prefix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/393 * Logger updates by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/394 * Remove hardcoded imgui refs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/395 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.4 to 2.8.5 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/396 * change(backend): dont take Backend as an arg to WIndowCloseCallback by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/398 * Remove hardcoded IDs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/400 * Codegen: compile-in gofumpt by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/401 * codegen: documentation and cmdline args cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/402 **Full Changelog**: https://github.com/AllenDang/cimgui-go/compare/v1.2.0...v1.3.0
# Introduction Hi! Today we present a next release of cimgui-go with many new features and bugfixes. ## Breaking Changes We're so sorry for that, but again we had to do some (fortunately small) breaking changes. - `Plot*` and `ImNodes*` prefixes were removed from auto-generated functions. - for fast migration check out https://github.com/AllenDang/cimgui-go/issues/364#issuecomment-2458260345 (you can use a one-line sed instruction to update your project) ## Release Highlights - A new [imgui](https://github.com/ocornut/imgui) plugin was added: [ImGuiColorTextEdit](https://github.com/BalazsJako/ImGuiColorTextEdit) - Special thanks goes to @sonoro1234 for help with C code generation  - Callback types were added to codegen :tada: - A long-existing issue https://github.com/AllenDang/cimgui-go/issues/224 was fixed - For known limitations and brief description, see https://github.com/AllenDang/cimgui-go?tab=readme-ov-file#callbacks - For implementation details check out https://github.com/AllenDang/cimgui-go/issues/224#issuecomment-2452156237 - This also makes `github.com/AllenDang/cimgui-go/immarkdown` usable - Many functions have been added (these using Callback typedefs; enum pointer arguments were added too) - `github.com/AllenDang/cimgui-go/cmd/codegen` now uses a `json` file for imgui-specific generator configuration. - Our goal is to make the codegen a useful tool not only for cimgui-go but make it able to generate any Go binding based on cimgui-like JSON configs. - Things like renames or skipped typedefs/structs/funcs are not hardcoded anymore. - Some types were given a `NewEmptyXXX` creator initializing them with their 0 values (like they would be by using `new(XXX)`) ## What's Changed - detailed changelog * add ImGuiColorTextEditor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/365 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.2 to 2.8.3 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/368 * Auto generated callbacks implementation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/367 * Update dependencies by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/373 * Code cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/374 * codegen: add const unsigned char by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/377 * remove ImNodes/Plot prefixes by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/378 * codegen: free source char* after C.GoString call by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/379 * codegen: fix enums generation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/380 * codegen: Add presets json support by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/381 * Callbacks attempt 2: generate non-pointer callbacks by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/382 * codegen: add NewEmptyXXX by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/383 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.8.3 to 2.8.4 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/384 * Codegen: fix unexported funcs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/385 * Rename NewXXXEmpty -> NewEmptyXXX by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/386 * Revert "codegen: free source char* after C.GoString call" by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/387 * update readme for callbacks generation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/388 * codegen: in non-pointer callbacks: interpret & as pointer by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/389 **Full Changelog**: https://github.com/AllenDang/cimgui-go/compare/v1.1.0...v1.2.0
# Introduction Hi there! This is a small bugfix release for v1.0.0. It mainly includes a fix to `ClipboardHandler` and a minor change in `sdlbackend` that allows to run OpenGL code in cimgui-go loop. Today our project was also added to the [awesome-go](https://github.com/avelino/awesome-go#gui) :tada: ## What's Changed * readme: add badges on top by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/328 * This change moves the calls to glViewport, glClearColor, glClear so t… by @Bradbev in https://github.com/AllenDang/cimgui-go/pull/333 * Fix clipboard by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/332 * Fix dummy formatting by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/336 * README: add awesome go badge by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/337 **Full Changelog**: https://github.com/AllenDang/cimgui-go/compare/v1.0.0...v1.0.1
# INTRODUCTION Hi everyone! I have the honor to annouce the first cimgui-go release. The great work has been done on this project since Tue Aug 9 12:12:13 2022 when @AllenDang did the first commit in 5ee6a09816f501f4f0529536da21acede0718509. Now cimgui-go became mature enough to receive its first stable release. ## Code version We are using code from several third party repositories. As we couldn't use (because of some complex reasons) Git Submodules, we've recorded their versions in VERSION.txt, which on the current v1.0.0 moment looks as follows: ```txt cimgui (https://github.com/cimgui/cimgui) HEAD is on: 0c7f67607d2aac88f5eaa9aa907a868a17144d58 cimgui/imgui HEAD is on: 8ba7efb738d6ee992ef81b451162591e43badbcf cimplot (https://github.com/cimgui/cimplot) HEAD is on: 439f705b1cfae0e9fbe42c13ab5b45becc47d404 cimplot/implot HEAD is on: f156599faefe316f7dd20fe6c783bf87c8bb6fd9 cimnodes (https://github.com/cimgui/cimnodes) HEAD is on: f20c83c3cab8e99828d85c66ed3acd087f632c21 cimnodes/imnodes HEAD is on: 8563e1655bd9bb1f249e6552cc6274d506ee788b cimmarkdown (https://github.com/gucio321/cimmarkdown) HEAD is on: 6e921ffc2b57a9969b98bf8f5aeed912bfb497f6 cimmarkdown/imgui_markdown HEAD is on: 4eb198f68090c9a1622bb9c78ee61f65b6ddc898 ``` ## Dear ImGui Plugins As everyone knows, [Dear ImGui](https://github.com/ocornut/imgui) has many cool plugins. With help of @sonoro1234 (who created the awesome [cimgui](https://github.com/cimgui) project) we managed to implement the following plugins: - [implot](https://github.com/epezent/implot) - Immediate Mode Plotting - [imnodes](https://github.com/Nelarius/imnodes) - A small, dependency-free node editor for dear imgui - [imgui_markdown](https://github.com/enkisoftware/imgui_markdown) - Markdown for Dear ImGui (not completely functional, see [limitations](#known-limitations)) ## Backends Because in many cases using Dear ImGui without graphics bakend implementation is annoying (requires user to implement it manually), we've decided to include a few useful backend implementations in this repository, including: - GLFW + OpenGL backend (based on an [example form imgui](https://github.com/ocornut/imgui/tree/master/examples/example_glfw_opengl3)) - SDL + OpenGL backend (also basing on another [example from imgui](https://github.com/ocornut/imgui/tree/master/examples/example_sdl2_opengl3)) - [Ebiten](https://github.com/hajimehoshi/ebiten) backend, which is a go native largest open source renderer. In this point I'd like to once again express large thanks to @gabstv and @damntourists - the initiators and creators of the code responsible for this backend. ## Known Limitations Unfortunately we do not lack issues and problems with our generator as well as with our backends. Here are pointed out the largest of them that will be hopefully fixed in the future releases. - Callbacks generation - C->Go->C callbacks are not easy to do unfortunately. I feel like noone did them in an elegant way before but we'll work on it in the future. - The main recommended backend is for now GLFW, as only this backend has full set of features provided for in the `backend.Backend` interface. Other backends may lack some of them yet. # Detailed Changelog ## What's Changed * Add additional libraries to backend.go cgo statements for amd64,linux… by @hallum in https://github.com/AllenDang/cimgui-go/pull/2 * Make glfw backend optional by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/5 * Add helper to get font texture as Alpha8 by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/4 * [bugfix] Put Z before W in Vec4 by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/3 * Sort identifiers lexigoraphically for reprodicible code generation by @eliasdaler in https://github.com/AllenDang/cimgui-go/pull/24 * fix glfw context #29 by @SuperGod in https://github.com/AllenDang/cimgui-go/pull/30 * Example: Fix texture, spelling, and error message by @asmaloney in https://github.com/AllenDang/cimgui-go/pull/37 * test: Fix build & spelling by @asmaloney in https://github.com/AllenDang/cimgui-go/pull/38 * proposal: use git submodules for storing imgui dependencies by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/18 * Glfw submodule by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/40 * Revert "Merge pull request #18 from gucio321/use-submodules" by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/46 * cmd/codegen: improve debug information by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/52 * workflows: add github action for checking code on Pull Requests by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/45 * Revert "Add GLFW as a git submodule (#40)" by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/53 * Trim ImGui/Im prefixes from Dear ImGui enums by @eliasdaler in https://github.com/AllenDang/cimgui-go/pull/26 * Wrapper: use generics by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/61 * test.yaml: check for diffs in auto-generated files by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/62 * codegen: return out value instead of taking pointer to it by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/65 * gencode: not rename GetCursor* to GetDrawCurosr* by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/66 * gitignore: ignore editor's temporary files by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/59 * ImVec2/ImVec4: add basic algebra by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/49 * codegen: returnWraper does not need FuncDefs arg anymore by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/68 * generator: add package header by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/57 * cmd/codegen: add missing ImWchar return type by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/51 * codegen: bunch of refactors by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/70 * Makefile by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/67 * codegen: trim trailing _ suffix in enums by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/73 * Extra types: trim im/ImGui prefix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/75 * Codegen: cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/71 * Codegen cleanup #2 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/76 * Codegen cleanup by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/77 * Add conversions for Color by @neclepsio in https://github.com/AllenDang/cimgui-go/pull/78 * proposal: change package name `cimgui` -> `imgui` by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/81 * codegen: refactor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/82 * Add idiomatic bindings by @neclepsio in https://github.com/AllenDang/cimgui-go/pull/79 * Setup linter by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/83 * extra types: rename NewColor's args from x,y,z,w to r,g,b,a by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/86 * codegen: remove pointer receivers by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/88 * Fix nonudt functions return by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/93 * arg type: change type of array arguments from [n]*type -> *[n]type by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/85 * test workflow: add test names by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/97 * extra types: fix data race issues by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/98 * Hotfix: finishers strategy by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/96 * implot internal support by @WinPooh32 in https://github.com/AllenDang/cimgui-go/pull/99 * Implement PlotTime by @WinPooh32 in https://github.com/AllenDang/cimgui-go/pull/102 * Fix newlines by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/103 * workflow: add windows test by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/107 * extra types: fix C type in plot time by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/106 * add window.SetShouldClose method by @WinPooh32 in https://github.com/AllenDang/cimgui-go/pull/110 * build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/111 * build(deps): bump actions/checkout from 2.3.4 to 3.3.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/114 * build(deps): bump actions/setup-go from 3 to 4 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/115 * make: use gofumpt instead of gofmt by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/116 * Include internal functions by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/119 * argumentwrapper: Add support for const ImRect by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/121 * makefile: add update rule by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/122 * Add type KeyChord by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/124 * Backend: refactoring by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/126 * Output parameter default hints in the same order as in the function by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/125 * makefile: update: checkout branches before generating by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/130 * Add helper to install clipboard callbacks by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/128 * codegen: consider non-pointer arguments of auto-generated struct type by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/132 * Improve logging by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/133 * codegen: wrappers improvement by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/135 * Comments by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/136 * backend: add SetWindowPos by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/146 * Codegen: remove Im* prefix restriction on structs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/138 * Revert wchar / rune mapping by @ptxmac in https://github.com/AllenDang/cimgui-go/pull/150 * glfw: export Drop callback by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/145 * backend: remove dependency on GLFWBackend by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/158 * build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/159 * fix issues/163 : call C.free on a GO pointer - not C pointer that cause a panic by @keepstep in https://github.com/AllenDang/cimgui-go/pull/165 * build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/166 * Close cb by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/170 * codegen: generate GO structs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/151 * Pointers generation fix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/174 * Debugging improvement by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/173 * Codegen fixes by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/177 * Structgen fixes by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/180 * add helper SliceToPtr method by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/179 * codegen: make a separated module by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/142 * Update windows lib from ci by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/181 * utils: remove Get prefix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/152 * Wrapper export by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/143 * Simple ptr r by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/182 * Implement imvector by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/183 * cimgui: update C++ deps by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/185 * build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/186 * codegen: general refactor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/187 * Add set icons to backend by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/189 * glfw backend: add WindowHint method by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/190 * codegen: pointers bugfix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/191 * Backend add callbacks by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/193 * add cimnodes by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/176 * hotfix: codegen: fix bug when cimnodes funcs were not generated at all by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/197 * Workaround input text by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/198 * codegen: introduce helper types to clearify code by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/199 * Gencpp refactor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/201 * Finishers refactor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/202 * Fix go vendor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/203 * build(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/205 * Generator: add types by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/204 * Enum comments by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/207 * vectors: use runtime.Pinner to pin vector data by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/208 * merge workflow files by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/210 * Fix void ptr arg by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/211 * workflow: add macos by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/212 * Backend flags fix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/214 * Gencpp bugfix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/215 * Remove types from being excluded by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/217 * backend: add ContentScale method by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/218 * glfw backend: add GLFWKey by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/219 * glfw: wrap GLFW_MOD_* by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/220 * hotfix: fix naming by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/221 * add imgui_markdown integration by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/223 * build(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/228 * Add SDL backend by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/230 * Separate backend by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/232 * Revert "Separate backend" by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/233 * build(deps): bump actions/setup-go from 4 to 5 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/235 * Fix sdl on windows by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/237 * Text end bugfix by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/241 * build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/242 * typedefs generation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/229 * codegen: fix getters/setters with void* type generation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/244 * readme: add go reference link by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/246 * texture.go: remove go:build directive by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/250 * glfw backend: wrap ImGui_ImplGlfw_KeyCallback and call it in SetKeyCa… by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/251 * codegen: add coverage counter for typedefs by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/253 * update dependencies by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/254 * Relay asserts to go by @Wieku in https://github.com/AllenDang/cimgui-go/pull/256 * Fix strings being cut short by 1 char by @Wieku in https://github.com/AllenDang/cimgui-go/pull/259 * makefile: generate common dummy.go for the whole project by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/260 * Fix overloads by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/264 * backend: make backendCExposer optional part of Backend interface by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/265 * texture: export ID field by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/266 * function args: add array support by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/272 * Codegen refactor by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/273 * Array return type by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/274 * texture: remove 0 check by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/267 * sdl backend: fix typo in build tag by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/268 * Funcs comments generator by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/277 * glfw: fix DeleteTexture implementation by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/280 * Add OS thread locking in example code by @tenten8401 in https://github.com/AllenDang/cimgui-go/pull/278 * codegen: enforce type on enums constants by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/282 * build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/283 * build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/284 * build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/285 * Add SDL flags support by @eszdman in https://github.com/AllenDang/cimgui-go/pull/286 * Added SwapInterval support for backends, fixed windows compilation issues by @eszdman in https://github.com/AllenDang/cimgui-go/pull/287 * Implement SetCursorPos and SetInputMode methods for both backends by @eszdman in https://github.com/AllenDang/cimgui-go/pull/288 * Fix memory leak in igGLFWWindow_SetIcon by @PGZXB in https://github.com/AllenDang/cimgui-go/pull/290 * build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/293 * Update glfw_backend.cpp by @lzytaro in https://github.com/AllenDang/cimgui-go/pull/294 * Ebiten backend for cimgui-go by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/296 * examples: add separated example for each backend by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/299 * workflows: update go to 1.23 by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/300 * Backend: put in separated package by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/301 * Export cimgui C wrappers by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/305 * remove cimplot directory by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/308 * move backend.go and XXX backend to backend/ package by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/307 * rename C dependencies directory by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/309 * makefile: use go insteall instead of get to install gofumpt by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/310 * build(deps): bump github.com/hajimehoshi/ebiten/v2 from 2.7.8 to 2.7.10 by @dependabot in https://github.com/AllenDang/cimgui-go/pull/311 * Move Wrapper utils to the separated package by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/312 * datautils: remove tryPin part of WrapVoidPtr by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/313 * Logs improvement by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/315 * remove ConvertCTypes from the main package by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/316 * backend: fix typo Destory->Destroy by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/317 * Add frameworks to the SDL2 Darwin build so the example runs by @Bradbev in https://github.com/AllenDang/cimgui-go/pull/318 * Sdlbackend add after render by @Bradbev in https://github.com/AllenDang/cimgui-go/pull/322 * Examples: add ebiten game example by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/323 * Split module to separated packages by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/319 * Ebiten color mechanism by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/324 * Add some more types support by @gucio321 in https://github.com/AllenDang/cimgui-go/pull/321 ## New Contributors * @hallum made their first contribution in https://github.com/AllenDang/cimgui-go/pull/2 * @ptxmac made their first contribution in https://github.com/AllenDang/cimgui-go/pull/5 * @eliasdaler made their first contribution in https://github.com/AllenDang/cimgui-go/pull/24 * @SuperGod made their first contribution in https://github.com/AllenDang/cimgui-go/pull/30 * @asmaloney made their first contribution in https://github.com/AllenDang/cimgui-go/pull/37 * @gucio321 made their first contribution in https://github.com/AllenDang/cimgui-go/pull/18 * @neclepsio made their first contribution in https://github.com/AllenDang/cimgui-go/pull/78 * @WinPooh32 made their first contribution in https://github.com/AllenDang/cimgui-go/pull/99 * @dependabot made their first contribution in https://github.com/AllenDang/cimgui-go/pull/111 * @keepstep made their first contribution in https://github.com/AllenDang/cimgui-go/pull/165 * @Wieku made their first contribution in https://github.com/AllenDang/cimgui-go/pull/256 * @tenten8401 made their first contribution in https://github.com/AllenDang/cimgui-go/pull/278 * @eszdman made their first contribution in https://github.com/AllenDang/cimgui-go/pull/286 * @PGZXB made their first contribution in https://github.com/AllenDang/cimgui-go/pull/290 * @lzytaro made their first contribution in https://github.com/AllenDang/cimgui-go/pull/294 * @Bradbev made their first contribution in https://github.com/AllenDang/cimgui-go/pull/318 **Full Changelog**: https://github.com/AllenDang/cimgui-go/commits/v1.0.0