WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b81bd7e

Browse files
committed
Version 1.90.0
w/ Changelog tweaks.
1 parent 623bff2 commit b81bd7e

File tree

8 files changed

+30
-30
lines changed

8 files changed

+30
-30
lines changed

docs/CHANGELOG.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ HOW TO UPDATE?
3737

3838

3939
-----------------------------------------------------------------------
40-
VERSION 1.90 WIP (In Progress)
40+
VERSION 1.90.0 (Released 2023-11-15)
4141
-----------------------------------------------------------------------
4242

4343
Breaking changes:
4444

45-
- BeginChild(): Upgraded 'bool border = false' parameter to 'ImGuiChildFlags flags'.
45+
- BeginChild(): Upgraded 'bool border = false' parameter to 'ImGuiChildFlags flags = 0'.
4646
Added ImGuiChildFlags_Border value. As with our prior "bool-to-flags" API updates,
4747
the ImGuiChildFlags_Border value is guaranteed to be == true forever to ensure a
4848
smoother transition, meaning all existing calls will still work.
@@ -51,7 +51,7 @@ Breaking changes:
5151
After: BeginChild("Name", size, ImGuiChildFlags_Border)
5252
Before: BeginChild("Name", size, false)
5353
After: BeginChild("Name", size) or BeginChild("Name", 0) or BeginChild("Name", size, ImGuiChildFlags_None)
54-
Existing code will still work as 'ImGuiChildFlags_Border == true', but you are encouraged to upgrade.
54+
Existing code will still work as 'ImGuiChildFlags_Border == true', but you are encouraged to update call sites.
5555
- BeginChild(): Added child-flag ImGuiChildFlags_AlwaysUseWindowPadding as a replacement for
5656
the window-flag ImGuiWindowFlags_AlwaysUseWindowPadding: the feature only ever made sense
5757
for use with BeginChild() anyhow, passing it to Begin() had no effect. Now that we accept
@@ -68,7 +68,7 @@ Breaking changes:
6868
as earlier name was misleading. Kept inline redirection function. (#4631)
6969
- IO: Removed io.MetricsActiveAllocations introduced in 1.63, was displayed in Metrics and unlikely to
7070
be accessed by end-user. Value still visible in the UI and easily to recompute from a delta.
71-
- Defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS now automaticaly define IMGUI_DISABLE_OBSOLETE_KEYIO. (#4921)
71+
- Defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS now automatically defines IMGUI_DISABLE_OBSOLETE_KEYIO. (#4921)
7272
- Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. (#4537)
7373
- ListBox, Combo: Changed signature of "name getter" callback in old one-liner ListBox()/Combo() apis.
7474
Before:
@@ -82,15 +82,15 @@ Breaking changes:
8282
Old type was unnecessarily complex and harder to wrap in e.g. a lambda. Kept inline redirection function (will obsolete).
8383
- Commented out obsolete redirecting enums/functions that were marked obsolete two years ago:
8484
- GetWindowContentRegionWidth() -> use GetWindowContentRegionMax().x - GetWindowContentRegionMin().x.
85-
Consider that generally 'GetContentRegionAvail().x' is more useful.
85+
Consider that generally 'GetContentRegionAvail().x' is often more correct and more useful.
8686
- ImDrawCornerFlags_XXX -> use ImDrawFlags_RoundCornersXXX names.
87-
Read 1.82 changelog for details + grep commented names in sources + .
87+
Read 1.82 changelog for details + grep commented names in sources.
8888
- Commented out runtime support for hardcoded ~0 or 0x01..0x0F rounding flags values for
8989
AddRect()/AddRectFilled()/PathRect()/AddImageRounded(). -> Use ImDrawFlags_RoundCornersXXX flags.
90-
Read 1.82 Changelog for details.
90+
Read 1.82 changelog for details.
9191
- Backends: Vulkan: Removed parameter from ImGui_ImplVulkan_CreateFontsTexture(): backend now creates its own
92-
command-buffer to upload fonts. Removed ImGui_ImplVulkan_DestroyFontUploadObjects() which is now unecessary.
93-
No need to call ImGui_ImplVulkan_CreateFontsTexture() as it is done automatically in NewFrame().
92+
command-buffer to upload fonts. Removed ImGui_ImplVulkan_DestroyFontUploadObjects() which is now unnecessary.
93+
No need to call ImGui_ImplVulkan_CreateFontsTexture() as it is done automatically in ImGui_ImplVulkan_NewFrame().
9494
You can call ImGui_ImplVulkan_CreateFontsTexture() manually if you need to reload the font atlas texture.
9595
(#6943, #6715, #6327, #3743, #4618)
9696

@@ -109,9 +109,9 @@ Other changes:
109109
hidden because of being scrolled out.
110110
- Combining this with also specifying ImGuiChildFlags_AlwaysAutoResize disables
111111
this optimization, meaning child contents will never be clipped (not recommended).
112-
- Please be considerate that child are full windows and carry significiant overhead:
112+
- Please be considerate that child are full windows and carry significant overhead:
113113
combining auto-resizing for both axises to create a non-scrolling child to merely draw
114-
a border would be better more optimally using BeginGroup().
114+
a border would be better more optimally using BeginGroup(). (see #1496)
115115
(until we come up with new helpers for framed groups and work-rect adjustments).
116116
- BeginChild(): made it possible to use SetNextWindowSizeConstraints() rectangle, often
117117
useful when ImGuiChildFlags_AutoResizeX or ImGuiChildFlags_AutoResizeY. (#1666, #1395, #1496)
@@ -137,7 +137,7 @@ Other changes:
137137
- Matches tree indentation (was not the case before).
138138
- Matches SeparatorText(). (#1643)
139139
- Makes things correct inside groups without specific/hard-coded handling. (#205)
140-
- Mostly legacy behavior when used inside old Columns(), as we favored that idiom back then,
140+
- Support legacy behavior when used inside old Columns(), as we favored that idiom back then,
141141
only different is left position follows indentation level, to match calling a Separator()
142142
inside or outside Columns().
143143
- Tooltips:
@@ -172,9 +172,9 @@ Other changes:
172172
parent-menu would erroneously close the child-menu. (Regression from 1.88). (#6869)
173173
- MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously
174174
register contents size in a way that would affect the scrolling layer.
175-
Was most often noticable when using an horizontal scrollbar. (#6789)
175+
Was most often noticeable when using an horizontal scrollbar. (#6789)
176176
- InputText:
177-
- InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer.
177+
- InputTextMultiline: Fixed a crash pressing Down on last empty line of a multi-line buffer.
178178
(regression from 1.89.2, only happened in some states). (#6783, #6000)
179179
- InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't
180180
be accepted by the widget when navigation highlight is visible. (#6802, #3092, #5759, #787)
@@ -185,11 +185,11 @@ Other changes:
185185
- TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was
186186
accidentally offset in 1.89.9. (#6862) [@alektron]
187187
- ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip not being forwarded to individual DragFloat3
188-
sub-widgets which have a visible color preview when ImGuiColorEditFlags_NoSidePreview is set. (#6957)
188+
sub-widgets which have a visible color preview when ImGuiColorEditFlags_NoSidePreview is also set. (#6957)
189189
- BeginGroup(): Fixed a bug pushing line lower extent too far down when called after a call
190190
to SameLine() followed by manual cursor manipulation.
191191
- BeginCombo(): Added ImGuiComboFlags_WidthFitPreview flag. (#6881) [@mpv-enjoyer]
192-
- BeginListBox(): Fixed not consuming SetNextWindowXXX data when returning false.
192+
- BeginListBox(): Fixed not consuming SetNextWindowXXX() data when returning false.
193193
- Fonts:
194194
- Argument 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer.
195195
This is because our layout/font system currently doesn't fully support non-integer sizes. Until
@@ -206,7 +206,7 @@ Other changes:
206206
- imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. (#6842, #6591)
207207
- Inputs: Added IsKeyChordPressed() helper function e.g. IsKeyChordPressed(ImGuiMod_Ctrl | ImGuiKey_S).
208208
(note that ImGuiMod_Shortcut may be used as an alias for Cmd on OSX and Ctrl on other systems).
209-
- Misc: Most text functions also treat "%.*s" (along with "%s") specially to avoid formatting. (#3466, #6846)
209+
- Misc: Most text functions also treat "%.*s" (along with "%s") specially to bypass formatting. (#3466, #6846)
210210
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_F13 to ImGuiKey_F24. (#6891, #4921)
211211
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_AppBack, ImGuiKey_AppForward. (#4921)
212212
- IO: Setting io.WantSetMousePos ignores incoming MousePos events. (#6837, #228) [@bertaye]
@@ -219,8 +219,8 @@ Other changes:
219219
- Demo: Added "Layout -> Child Windows -> Auto-resize with constraints" demo. (#1666, #1395, #1496, #1710)
220220
- Demo: Partly fixed "Examples -> Constrained-resizing window" custom constrains demo. (#6210) [@cfillion]
221221
- Backends: Vulkan: Removed parameter from ImGui_ImplVulkan_CreateFontsTexture(): backend now creates its own
222-
command-buffer to upload fonts. Removed ImGui_ImplVulkan_DestroyFontUploadObjects() which is now unecessary.
223-
No need to call ImGui_ImplVulkan_CreateFontsTexture() as it is done automatically in NewFrame().
222+
command-buffer to upload fonts. Removed ImGui_ImplVulkan_DestroyFontUploadObjects() which is now unnecessary.
223+
No need to call ImGui_ImplVulkan_CreateFontsTexture() as it is done automatically in ImGui_ImplVulkan_NewFrame().
224224
You can call ImGui_ImplVulkan_CreateFontsTexture() manually if you need to reload font atlas texture.
225225
Fixed leaks, and added ImGui_ImplVulkan_DestroyFontsTexture() (probably no need to call this directly).
226226
(#6943, #6715, #6327, #3743, #4618)
@@ -237,9 +237,9 @@ Other changes:
237237
- Backends: OpenGL3: rename symbols in our internal loader so that LTO compilation with another
238238
copy of gl3w becomes possible. (#6875, #6668, #4445) [@nicolasnoble]
239239
- Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" instead
240-
of "libGL.so.1", accomodating for NetBSD systems having only "libGL.so.3" available. (#6983)
240+
of "libGL.so.1", accommodating for NetBSD systems having only "libGL.so.3" available. (#6983)
241241
- Backends: OSX: Added support for F13 to F20 function keys. Support mapping F13 to PrintScreen. (#6891)
242-
- Examples: GLFW+Vulkan, SDL+Vulkan: Extracted font upload code into a UploadFonts() function.
242+
- Examples: GLFW+Vulkan, SDL+Vulkan: Simplified and removed code due to backend improvements.
243243
- Internals: Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). (#6861)
244244

245245

imgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (main code and documentation)
33

44
// Help:

imgui.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (headers)
33

44
// Help:
@@ -23,8 +23,8 @@
2323

2424
// Library Version
2525
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
26-
#define IMGUI_VERSION "1.90 WIP"
27-
#define IMGUI_VERSION_NUM 18999
26+
#define IMGUI_VERSION "1.90.0"
27+
#define IMGUI_VERSION_NUM 19000
2828
#define IMGUI_HAS_TABLE
2929

3030
/*

imgui_demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (demo code)
33

44
// Help:

imgui_draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (drawing and font code)
33

44
/*

imgui_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (internal structures/api)
33

44
// You may use this file to debug, understand or extend Dear ImGui features but we don't provide any guarantee of forward compatibility.

imgui_tables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (tables and columns code)
33

44
/*

imgui_widgets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.90 WIP
1+
// dear imgui, v1.90.0
22
// (widgets code)
33

44
/*

0 commit comments

Comments
 (0)