Skip to content

Commit

Permalink
Merge pull request #145 from Gnimuc/v1.91.1
Browse files Browse the repository at this point in the history
Regenerate bindings for v1.91.1
  • Loading branch information
JamesWrigley authored Sep 9, 2024
2 parents 2d7ac24 + aeca171 commit 7a6b192
Show file tree
Hide file tree
Showing 18 changed files with 7,430 additions and 7,020 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MakieIntegration = ["GLFW", "ModernGL", "GLMakie"]

[compat]
CEnum = "0.4, 0.5"
CImGuiPack_jll = "0.4.0"
CImGuiPack_jll = "0.5.0"
CSyntax = "0.4"
Compat = "4.16.0"
DocStringExtensions = "0.9.3"
Expand Down
20 changes: 11 additions & 9 deletions docs/src/_changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ Changelog](https://keepachangelog.com).
- Simplified the [Makie integration](@ref) by requiring the latest GLMakie
version ([#142]).
- **Breaking**: We upgraded to [Dear ImGui
1.91.0](https://github.com/ocornut/imgui/releases/tag/v1.91.0). All the
breaking changes listed there apply to this release.
1.91.1](https://github.com/ocornut/imgui/releases/tag/v1.91.1). All the
breaking changes listed there and for [Dear ImGui
1.91.0](https://github.com/ocornut/imgui/releases/tag/v1.91.0) apply to this
release.
- **Breaking**: We now generate the high-level Julia wrappers automatically
([#141]), which is far easier to maintain but it's possible that some
functions will have changed signatures or been renamed. Here's a
Expand All @@ -30,13 +32,13 @@ Changelog](https://keepachangelog.com).

If you encounter any other breakages please open an issue, it could be a bug
in the wrappers.
- **Breaking**: [`render()`](@ref) would previously run on whatever task and
thread it was called on, but with multiple threads that could cause issues if
the task migrated. It now defaults to being pinned to thread 1 and there's a
couple new keyword arguments, `spawn` and `wait`, to control the task pinning
and wait behaviour ([#138]). This is technically breaking because any old code
that set up [`render()`](@ref) to run on a specific thread by task pinning
won't work, to get back the old behaviour pass `spawn=false`.
- **Possibly breaking**: [`render()`](@ref) would previously run on whatever
task and thread it was called on, but with multiple threads that could cause
issues if the task migrated. It now defaults to being pinned to thread 1 and
there's a couple new keyword arguments, `spawn` and `wait`, to control the
task pinning and wait behaviour ([#138]). This is technically breaking because
any old code that set up [`render()`](@ref) to run on a specific thread by
task pinning won't work, to get back the old behaviour pass `spawn=false`.

## [v2.3.0] - 2024-08-06

Expand Down
7 changes: 6 additions & 1 deletion gen/generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ function create_docstring(func_name, overload)
end

header, line = split(overload[:location], ':')
link = "https://github.com/ocornut/imgui/blob/v1.91.0-docking/$(header).h#L$(line)"
imgui_version = unsafe_string(@invokelatest bindings_module.igGetVersion())
link = "https://github.com/ocornut/imgui/blob/v$(imgui_version)-docking/$(header).h#L$(line)"

if is_internal(overload)
docstring *= """\n
Expand Down Expand Up @@ -540,8 +541,12 @@ function generate()
@info "Generating wrapper.jl..."
println()

# Load the bindings into a module so we can inspect them when generating
# the wrappers.
global bindings_module = Module()
@eval bindings_module using CImGuiPack_jll
Base.include(bindings_module, options["general"]["output_file_path"])

wrappers = get_wrappers(ctx.dag)
output_file = joinpath(@__DIR__, "../src/wrapper.jl")
open(output_file; write=true) do io
Expand Down
926 changes: 476 additions & 450 deletions lib/aarch64-apple-darwin20.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/aarch64-linux-gnu.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/aarch64-linux-musl.jl

Large diffs are not rendered by default.

514 changes: 270 additions & 244 deletions lib/armv7l-linux-gnueabihf.jl

Large diffs are not rendered by default.

514 changes: 270 additions & 244 deletions lib/armv7l-linux-musleabihf.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/i686-linux-gnu.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/i686-linux-musl.jl

Large diffs are not rendered by default.

516 changes: 271 additions & 245 deletions lib/i686-w64-mingw32.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/powerpc64le-linux-gnu.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/x86_64-apple-darwin14.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/x86_64-linux-gnu.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/x86_64-linux-musl.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/x86_64-unknown-freebsd13.2.jl

Large diffs are not rendered by default.

926 changes: 476 additions & 450 deletions lib/x86_64-w64-mingw32.jl

Large diffs are not rendered by default.

Loading

0 comments on commit 7a6b192

Please sign in to comment.