Releases: AllenDang/giu
v0.10.0
Release Highlights
- Important bugfix in ReflectiveBoundTexture
- ReflectiveBoundTexture used broken cimgui-go's implementation of texture, which caused app crashes while GC.
- A new Gizmo widget
- Since v1.1.0 cimgui-go implements ImGuizmo which is now aailable as an easy-to-use giu widget.
- Gizmos API is similar to Plots mechanism.
- The following Gizmos are currently available
- Grid
- Cube
- Manipulate
- View Manipulat
- For usage details, check out examples/gizmo
- Added Plots styling
- Now you can apply Color and Var style to Plots.
- StyleSetter itself now implements
PlotWidget
interface so it can be applied to a single Plot. - Plots styling works with CSS as well
What's Changed - detailed changelog
- ReflectiveBoundTexture: Custom texture binding by @cjbrigato in #875
- Add WindowFlagsNoDocking by @cjbrigato in #877
- build(deps): bump golang.org/x/image from 0.20.0 to 0.21.0 by @dependabot in #878
- go mod: update go version bugfix number by @gucio321 in #882
- build(deps): bump github.com/AllenDang/cimgui-go from 1.0.1 to 1.0.2 by @dependabot in #876
- mainthread: lock main os threa on Windows by @gucio321 in #887
- build(deps): bump github.com/AllenDang/cimgui-go from 1.0.2 to 1.0.3 by @dependabot in #889
- Texture releasing by @gucio321 in #891
- fix(SplitLayout): height of 2nd child in V-split by @gucio321 in #892
- Fix image widget click event detection by @SleepyPrince in #894
- Upgrade cimgui go to v1.1.0 by @gucio321 in #895
- add Gizmo widget and example for it by @gucio321 in #897
- Plot styling by @gucio321 in #898
New Contributors
- @SleepyPrince made their first contribution in #894
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Introduction
Today we come with the new release of giu, which includes:
- Upgrade of cimgui-go - this is now a stable version v1.0.1
- Fix to bug in ImageWithRgbaWidget (causing giu crashes on some platforms)
- Completion of the missing documentation - now new PRs are forced to add the docs by revive linter.
- Addition of a new way for Texture management (ReflectiveBoundTexture) along with fully functional
paint
example. - And much more! See the list below for full changelog.
What's Changed
- tooltip: add possibility to set layout to which the tooltip will be a… by @gucio321 in #800
- Update golangci-lint.yaml by @MisustinIvan in #817
- Added the option for image to take its original size by @MisustinIvan in #815
- feat: use generics for RangeBuilder by @zenlor in #824
- build(deps): bump github.com/mazznoer/csscolorparser from 0.1.3 to 0.1.4 by @dependabot in #826
- Add NoHeader() to TableWidget by @JetSetIlly in #830
- Fixed issue with resizing events in GLFW master window by @JetSetIlly in #831
- Context: fix invalid reference to not-existing variable by @gucio321 in #825
- update cimgui-go to latest version by @lzytaro in #833
- build(deps): bump golang.org/x/image from 0.18.0 to 0.19.0 by @dependabot in #835
- fix bug of center and right alignment by @lzytaro in #834
- re-run go generate by @gucio321 in #845
- css: replace \r\n in LoadCSS by @gucio321 in #846
- build(deps): bump github.com/mazznoer/csscolorparser from 0.1.4 to 0.1.5 by @dependabot in #844
- build(deps): bump golang.org/x/image from 0.19.0 to 0.20.0 by @dependabot in #848
- readme: Add fancy docs badge by @greenthepear in #837
- Remove gitter link by @gucio321 in #849
- examples/dragdrop: fix crash by @gucio321 in #852
- Add MasterWindowFlagsHidden by @cjbrigato in #853
- Upgrade cimgui-go to v1.0.0 by @gucio321 in #856
- build(deps): bump github.com/AllenDang/cimgui-go from 1.0.0 to 1.0.1 by @dependabot in #858
- Revert "Fixed issue with resizing events in GLFW master window" by @gucio321 in #864
- Linting fixes by @gucio321 in #867
- context: use ID as type of id arg in Set/GetState by @gucio321 in #866
- Add missing doc attempt N (finally success!) by @gucio321 in #868
- Fix ImageWithRGBAWidget filling GPU Memory by @cjbrigato in #869
- ImageWidget: Fix click event detection / Add Scale by @cjbrigato in #871
- Makes states invalidation more robust by @cjbrigato in #872
- Add advanced image usage tools with examples by @cjbrigato in #870
New Contributors
- @MisustinIvan made their first contribution in #817
- @zenlor made their first contribution in #824
- @JetSetIlly made their first contribution in #830
- @lzytaro made their first contribution in #833
- @greenthepear made their first contribution in #837
- @cjbrigato made their first contribution in #853
Full Changelog: v0.8.1...v0.9.0
v0.8.1
INTRO
This is a bugfix release for v0.8.0. It contains several minor bugfixes reported after the last release.
for more details, check out our milestone.
What's Changed
- build(deps): bump golang.org/x/image from 0.17.0 to 0.18.0 by @dependabot in #806
- add Context.Backend() method that returns currently used cimgui-go ba… by @gucio321 in #811
- master window: fix DPI scaling by @gucio321 in #812
- GetWidgetWidth: undo SameLine call by calling NewLine by @gucio321 in #813
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Introduction
Hi everyone,
I'd like to annouce a new release of GIU.
The main change since v0.7.0 was a migration from deprecated (since 31.12.2024) inkyblackness/imgui-go to a new auto-generated Dear ImGui's implementation - the cimgui-go.
For live API changes reports see our wiki page
Regression
Unfortunately, since we lack some C wrappers for C++ ImGui plugins, we had to disable our support for the following features:
- Markdown editor
- Code editor
- Memory editor
All remaining API is unchanged
What's Changed
- cimgui-go Migration by @gucio321 in #628
- ImageWidget: fix OnClick method by @gucio321 in #703
- build(deps): bump golang.org/x/image from 0.12.0 to 0.13.0 by @dependabot in #708
- utils: fix ColorToUint by @gucio321 in #718
- change mainthread library by @gucio321 in #706
- master rwindow: fix bug with segfault when resizing window with MenuBar by @gucio321 in #720
- Update cimgui; fix style IDs bugs by @gucio321 in #722
- Image quad by @gucio321 in #723
- add missing style ids by @gucio321 in #726
- build(deps): bump golang.org/x/image from 0.13.0 to 0.14.0 by @dependabot in #732
- ListBoxWidget: fix ID handling by @gucio321 in #727
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #737
- image with rgba: fix rgba bug by @gucio321 in #713
- date picker updates by @gucio321 in #738
- Plots: add line plot by @gucio321 in #739
- plot: add LineXY by @gucio321 in #740
- plot: fix axis ticks by @gucio321 in #741
- go: update cimgui to latest master by @gucio321 in #742
- build(deps): bump golang.org/x/image from 0.14.0 to 0.15.0 by @dependabot in #746
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #750
- Check if no Columns or Rows were sent to TableWidget by @bytesiz3d in #753
- build(deps): bump golangci/golangci-lint-action from 3 to 4 by @dependabot in #761
- reenable imnodes by @gucio321 in #733
- mainthread: disable on windows by @gucio321 in #763
- keycode: fix NumPad codes by @gucio321 in #768
- master window: add SetFPS method by @gucio321 in #771
- build(deps): bump github.com/sahilm/fuzzy from 0.1.0 to 0.1.1 by @dependabot in #775
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #777
- combo: allow empty string by @gucio321 in #779
- label: use TextUnformatted by @gucio321 in #782
- update cimgui-go version by @gucio321 in #783
- fix constants by @gucio321 in #787
- fix: Unknown key: 161 on AZERTY keyboard by @raph6 in #784
- ConditionWIdget: use Widget instad of Layout by @gucio321 in #790
- Fix panic and font alats by @AllenDang in #791
- build(deps): bump golang.org/x/image from 0.15.0 to 0.16.0 by @dependabot in #792
- build(deps): bump golangci/golangci-lint-action from 4 to 5 by @dependabot in #788
- Linter: update and fix issues by @gucio321 in #793
- build(deps): bump golangci/golangci-lint-action from 5 to 6 by @dependabot in #794
- add GenAutoID to Context by @gucio321 in #795
- Revert "add GenAutoID to Context" by @gucio321 in #796
- add a special type for IDs by @gucio321 in #798
- contedt: redesign Auto ID system by @gucio321 in #797
- build(deps): bump golang.org/x/image from 0.16.0 to 0.17.0 by @dependabot in #799
- Implement plot 2nd and 3rd axis by @gucio321 in #805
New Contributors
- @bytesiz3d made their first contribution in #753
- @raph6 made their first contribution in #784
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- readme: fix incorrect package name for fedora's mingw by @gucio321 in #482
- [ImgBot] Optimize images by @gucio321 in #483
- SplitLayout: make
sashPos
argument a pointer by @gucio321 in #486 - Textures: remove panic call when executing NewTexture before calling … by @gucio321 in #495
- Small bugfix for ImageWidget OnClick detection by @Geo5 in #491
- SplitLayout (DirectionHorizontal == Vertical?) & (DirectionVertical == Horizontal?) by @GoWeasel in #497
- input handler: add possibility to set additional input callback by @gucio321 in #504
- image widget: fix bug, when Uv was procesed incorrectly by @gucio321 in #510
- font atlas: expose tStr and related by @gucio321 in #508
- go: update go dependencies by @gucio321 in #516
- refactoring context by @gucio321 in #484
- build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in #518
- build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by @dependabot in #522
- build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by @dependabot in #523
- build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 by @dependabot in #524
- build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 by @dependabot in #526
- Style docs by @gucio321 in #534
- Added generic functions for context management by @sgosiaco in #540
- add Chinese fonts on linux by @SuperGod in #521
- add shortcut property to MenuItemWidget by @voytas in #551
- Fix workflows by @gucio321 in #553
- examples: add FPS calculation programm by @gucio321 in #568
- build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #574
- Widgets: Add step size support to InputFloat- and InputInt-text widgets. by @frenkoes in #580
- Style setter: separate Push() and Pop() methods by @gucio321 in #555
- Widgets: add Range methods to some of widgets by @gucio321 in #556
- Css widget by @gucio321 in #533
- CSS widget:fixes by @gucio321 in #585
- plot: change naming convention by @gucio321 in #586
- Update linter config by @gucio321 in #587
- Alignment updates by @gucio321 in #598
- Fix spelling by @asmaloney in #600
- {ci} Clean up golangci job by @asmaloney in #602
- Fix some linting issues by @asmaloney in #603
- Plot: add possibility to use PlotDrawList by @gucio321 in #592
- Plot: allow using CustomWidget as a plot by @gucio321 in #604
- Linting fixes - mainly spacing by @asmaloney in #606
- Linting: Small fixes by @asmaloney in #612
- Linting: Turn off conflicting linters by @asmaloney in #611
- govet: Use pointers for Context and FontAtlas by @asmaloney in #608
- Linter: Fix dynamic errors and function complexity by @asmaloney in #613
- CI: Remove codecov by @asmaloney in #614
- Update MasterWindow.go by @daiwhea in #630
- build(deps): bump golang.org/x/image from 0.0.0-20220601225756-64ec528b34cd to 0.5.0 by @dependabot in #646
- build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #647
- build(deps): bump golang.org/x/image from 0.5.0 to 0.6.0 by @dependabot in #651
- build(deps): bump actions/setup-go from 3 to 4 by @dependabot in #654
- table widget: render table with no rows anyway by @gucio321 in #634
- build(deps): bump golang.org/x/image from 0.6.0 to 0.7.0 by @dependabot in #656
- style setter: fix invalid behaviour of StyleSetter in RowWidget by @gucio321 in #621
- Button widget: add ID() method by @gucio321 in #661
- context: fix concurrency issues by @gucio321 in #641
- extra widgets: merge two types of Splitters by @gucio321 in #662
- readme: add paragraph about documentation by @gucio321 in #665
- Docs: add some comments by @gucio321 in #667
- Update README.md by @gucio321 in #666
- Move tree table by @gucio321 in #668
- build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #669
- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #670
- Input text autocomplete fixes by @gucio321 in #671
- build(deps): bump golang.org/x/image from 0.7.0 to 0.8.0 by @dependabot in #674
- Listbox: add possibility to obdain selected index by @gucio321 in #675
- hotfix for #662: fix bug when splitter was moved incorrectly by @gucio321 in #676
- splitter: fix mouse cursor types by @gucio321 in #677
- listbox: make SelectedIndex two-side by using a pointer intager by @gucio321 in #679
- build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 by @dependabot in #680
- Autocomplete improvement by @gucio321 in #672
- input text: call onChange when autocomplete by @gucio321 in #681
- build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0 by @dependabot in #683
- build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0 by @dependabot in #684
- examples: fix crash in codeeditor demo by @gucio321 in #690
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #694
- build(deps): bump golang.org/x/image from 0.11.0 to 0.12.0 by @dependabot in #695
New Contributors
- @Geo5 made their first contribution in #491
- @GoWeasel made their first contribution in #497
- @sgosiaco made their first contribution in #540
- @SuperGod made their first contribution in #521
- @voytas made their first contribution in #551
- @frenkoes made their first contribution in #580
- @asmaloney made their first contribution in #600
Full Changelog: v0.6.2...v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.6
v0.5.5
Change log
Breaking changes
- Implemented AutoID mechanism to avoid unnecessary id setting for lots of widgets.
- Rename
GetAvaiableRegion
toGetAvailableRegion
. - Add auto font detect with dynamic font glyph altas generator to display various languages without specifying fonts manually.
New widgets
- Add ImageButtonWithRgba.