Version 1.88

(fix "Show Debug Log" checkbox in Metrics window)
This commit is contained in:
ocornut 2022-06-21 17:38:27 +02:00
parent d51e5d2898
commit 9aae45eb4a
8 changed files with 69 additions and 64 deletions

View File

@ -32,9 +32,11 @@ HOW TO UPDATE?
-----------------------------------------------------------------------
VERSION 1.88 WIP (In Progress)
VERSION 1.88 (Released 2022-06-21)
-----------------------------------------------------------------------
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.88
Breaking changes:
- Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness.
@ -48,8 +50,8 @@ Breaking changes:
automatically handling event capture. Examples that are using the OSX backend have removed
all the now-unnecessary calls to ImGui_ImplOSX_HandleEvent(), applications can do as well.
[@stuartcarnie] (#4821)
- Internals: calling ButtonBehavior() without calling ItemAdd() now requires a KeepAliveID().
This is because the KeepAliveID() call was moved from GetID() to ItemAdd()). (#5181)
- Internals: calling ButtonBehavior() without calling ItemAdd() now requires a KeepAliveID()
call. This is because the KeepAliveID() call was moved from GetID() to ItemAdd(). (#5181)
Other Changes:
@ -62,7 +64,7 @@ Other Changes:
In particular, using the input system for fast game-like actions (e.g. WASD camera move) would
typically have been impacted, as well as holding a key while dragging mouse. Constraints have
been lifted and are now only happening when e.g. an InputText() widget is active. (#4921, #4858)
Not that even thought you shouldn't need to disable io.ConfigInputTrickleEventQueue, you can
Note that even thought you shouldn't need to disable io.ConfigInputTrickleEventQueue, you can
technically dynamically change its setting based on the context (e.g. disable only when hovering
or interacting with a game/3D view).
- IO: Fixed input queue trickling of mouse wheel events: multiple wheel events are merged, while
@ -90,7 +92,7 @@ Other Changes:
- Nav: Changed SetKeyboardFocusHere() to not behave if a drag or window moving is in progress.
- Nav: Fixed inability to cancel nav in modal popups. (#5400) [@rokups]
- IsItemHovered(): added ImGuiHoveredFlags_NoNavOverride to disable the behavior where the
return value is overriden by focus when gamepad/keyboard navigation is active.
return value is overridden by focus when gamepad/keyboard navigation is active.
- InputText: Fixed pressing Tab emitting two tabs characters because of dual Keys/Chars events being
trickled with the new input queue (happened on some backends only). (#2467, #1336)
- InputText: Fixed a one-frame display glitch where pressing Escape to revert after a deletion
@ -101,17 +103,17 @@ Other Changes:
- Tables: Fixed incorrect border height used for logic when resizing one of several synchronized
instance of a same table ID, when instances have a different height. (#3955).
- Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276)
- Tables: Fixed drawcall merging of last column. Depending on some unrelated settings (e.g. BorderH)
merging drawcall of the last column didn't always work (regression since 1.87). (#4843, #4844) [@rokups]
- Tables: Fixed draw-call merging of last column. Depending on some unrelated settings (e.g. BorderH)
merging draw-call of the last column didn't always work (regression since 1.87). (#4843, #4844) [@rokups]
- Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate.
- ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label.
- TabBar: TabItem() now reacts to SetNextItemWidth(). (#5262)
- TabBar: BeginTabItem() now reacts to SetNextItemWidth(). (#5262)
- TabBar: Tweak shrinking policy so that while resizing tabs that don't need shrinking keep their
initial width more precisely (without the occasional +1 worth of width).
- Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window
always lead to menu closure. Fixes using items that are not MenuItem() or BeginItem() at the root
level of a popup with a child menu opened.
- Menus: Menus emitted from the main/scrolling layer are not part of the same menuset as menus emitted
- Menus: Menus emitted from the main/scrolling layer are not part of the same menu-set as menus emitted
from the menu-bar, avoiding accidental hovering from one to the other. (#3496, #4797) [@rokups]
- Style: Adjust default value of GrabMinSize from 10.0f to 12.0f.
- Stack Tool: Added option to copy item path to clipboard. (#4631)
@ -167,7 +169,7 @@ Other Changes:
VERSION 1.87 (Released 2022-02-07)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.87
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.87
Breaking Changes:
@ -309,7 +311,7 @@ Other Changes:
VERSION 1.86 (Released 2021-12-22)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.86
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.86
Breaking Changes:
@ -407,7 +409,7 @@ Other Changes:
VERSION 1.85 (Released 2021-10-12)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.85
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.85
This is the last release officially supporting C++03 and Visual Studio 2008/2010. (#4537)
We expect that the next release will require a subset of the C++11 language (VS 2012~, GCC 4.8.1, Clang 3.3).
@ -498,7 +500,7 @@ Other Changes:
VERSION 1.84.2 (Released 2021-08-23)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.2
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84.2
- Disabled: Fixed nested BeginDisabled()/EndDisabled() calls. (#211, #4452, #4453, #4462) [@Legulysse]
- Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision
@ -509,7 +511,7 @@ Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.2
VERSION 1.84.1 (Released 2021-08-20)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.1
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84.1
- Disabled: Fixed BeginDisabled(false) - BeginDisabled(true) was working. (#211, #4452, #4453)
@ -518,7 +520,7 @@ Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84.1
VERSION 1.84 (Released 2021-08-20)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.84
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.84
Breaking Changes:
@ -634,7 +636,7 @@ Other Changes:
VERSION 1.83 (Released 2021-05-24)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.83
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.83
Breaking Changes:
@ -718,7 +720,7 @@ Other Changes:
VERSION 1.82 (Released 2021-02-15)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.82
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.82
Breaking Changes:
@ -813,7 +815,7 @@ Other Changes:
VERSION 1.81 (Released 2021-02-10)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.81
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.81
Breaking Changes:
@ -894,7 +896,7 @@ Other Changes:
VERSION 1.80 (Released 2021-01-21)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.80
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.80
Breaking Changes:
@ -1013,7 +1015,7 @@ Other Changes:
VERSION 1.79 (Released 2020-10-08)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.79
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.79
Breaking Changes:
@ -1107,7 +1109,7 @@ Other Changes:
VERSION 1.78 (Released 2020-08-18)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.78
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.78
Breaking Changes:
@ -1208,7 +1210,7 @@ Other Changes:
VERSION 1.77 (Released 2020-06-29)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.77
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.77
Breaking Changes:
@ -1299,7 +1301,7 @@ Other Changes:
VERSION 1.76 (Released 2020-04-12)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.76
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.76
Other Changes:
@ -1371,7 +1373,7 @@ Other Changes:
VERSION 1.75 (Released 2020-02-10)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.75
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.75
Breaking Changes:
@ -1469,7 +1471,7 @@ Other Changes:
VERSION 1.74 (Released 2019-11-25)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.74
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.74
Breaking Changes:
@ -1548,7 +1550,7 @@ Other Changes:
VERSION 1.73 (Released 2019-09-24)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.73
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.73
Other Changes:
@ -1610,7 +1612,7 @@ Other Changes:
VERSION 1.72b (Released 2019-07-31)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72b
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.72b
Other Changes:
@ -1627,7 +1629,7 @@ Other Changes:
VERSION 1.72 (Released 2019-07-27)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.72
Breaking Changes:
@ -1712,7 +1714,7 @@ Other Changes:
VERSION 1.71 (Released 2019-06-12)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.71
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.71
Breaking Changes:
@ -1796,7 +1798,7 @@ Other Changes:
VERSION 1.70 (Released 2019-05-06)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.70
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.70
Breaking Changes:
@ -1887,7 +1889,7 @@ Other Changes:
VERSION 1.69 (Released 2019-03-13)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.69
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.69
Breaking Changes:
@ -1965,7 +1967,7 @@ Other Changes:
VERSION 1.68 (Released 2019-02-19)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.68
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.68
Breaking Changes:
@ -2035,7 +2037,7 @@ Other Changes:
VERSION 1.67 (Released 2019-01-14)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.67
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.67
Breaking Changes:
@ -2100,7 +2102,7 @@ Other Changes:
VERSION 1.66b (Released 2018-12-01)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66b
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.66b
Other Changes:
@ -2119,7 +2121,7 @@ Other Changes:
VERSION 1.66 (Released 2018-11-22)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.66
Breaking Changes:
@ -2180,7 +2182,7 @@ Other Changes:
VERSION 1.65 (Released 2018-09-06)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.65
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.65
Breaking Changes:
@ -2206,7 +2208,7 @@ Other Changes:
VERSION 1.64 (Released 2018-08-31)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.64
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.64
Changes:
@ -2230,7 +2232,7 @@ Changes:
VERSION 1.63 (Released 2018-08-29)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.63
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.63
Breaking Changes:
@ -2324,7 +2326,7 @@ Other Changes:
VERSION 1.62 (Released 2018-06-22)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.62
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.62
Breaking Changes:
@ -2405,7 +2407,7 @@ Other Changes:
VERSION 1.61 (Released 2018-05-14)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.61
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.61
Breaking Changes:
@ -2481,7 +2483,7 @@ Other Changes:
VERSION 1.60 (Released 2018-04-07)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.60
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.60
The gamepad/keyboard navigation branch (which has been in the work since July 2016) has been merged.
Gamepad/keyboard navigation is still marked as Beta and has to be enabled explicitly.
@ -2647,7 +2649,7 @@ Other Changes:
VERSION 1.53 (Released 2017-12-25)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.53
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.53
Breaking Changes:
@ -2786,7 +2788,7 @@ Other Changes:
VERSION 1.52 (2017-10-27)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.52
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.52
Breaking Changes:
@ -2892,7 +2894,7 @@ Beta Navigation Branch:
VERSION 1.51 (2017-08-24)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.51
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.51
Breaking Changes:
@ -2956,7 +2958,7 @@ Other Changes:
VERSION 1.50 (2017-06-02)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.50
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.50
Breaking Changes:
@ -3052,7 +3054,7 @@ Other Changes:
VERSION 1.49 (2016-05-09)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.49
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.49
Breaking Changes:
@ -3130,7 +3132,7 @@ Other changes:
VERSION 1.48 (2016-04-09)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.48
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.48
Breaking Changes:
@ -3200,7 +3202,7 @@ Other Changes:
VERSION 1.47 (2015-12-25)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.47
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.47
Changes:
@ -3253,7 +3255,7 @@ Changes:
VERSION 1.46 (2015-10-18)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.46
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.46
Changes:
@ -3305,7 +3307,7 @@ Changes:
VERSION 1.45 (2015-09-01)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.45
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.45
Breaking Changes:
@ -3365,7 +3367,7 @@ Other Changes:
VERSION 1.44 (2015-08-08)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.44
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.44
Breaking Changes:
@ -3409,7 +3411,7 @@ Other Changes:
VERSION 1.43 (2015-07-17)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.43
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.43
Breaking Changes:
@ -3481,7 +3483,7 @@ Other Changes:
VERSION 1.42 (2015-07-08)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.42
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.42
Breaking Changes:
@ -3526,7 +3528,7 @@ Other Changes:
VERSION 1.41 (2015-06-26)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.41
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.41
Breaking Changes:
@ -3570,7 +3572,7 @@ Other Changes:
VERSION 1.40 (2015-05-31)
-----------------------------------------------------------------------
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.40
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.40
Breaking Changes:

View File

@ -1,4 +1,4 @@
// dear imgui, 1.88 WIP
// dear imgui, v1.88
// (main code and documentation)
// Help:
@ -399,6 +399,7 @@ CODE
- Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent()
- Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only]
note: for all calls to IO new functions, the Dear ImGui context should be bound/current.
read https://github.com/ocornut/imgui/issues/4921 for details.
- 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details.
- IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX)
- IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX)
@ -12309,6 +12310,8 @@ void ImGui::ShowMetricsWindow(bool* p_open)
ImGuiContext& g = *GImGui;
ImGuiIO& io = g.IO;
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
if (cfg->ShowDebugLog)
ShowDebugLogWindow(&cfg->ShowDebugLog);
if (cfg->ShowStackTool)
ShowStackToolWindow(&cfg->ShowStackTool);

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (headers)
// Help:
@ -64,8 +64,8 @@ Index of this file:
// Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
#define IMGUI_VERSION "1.88 WIP"
#define IMGUI_VERSION_NUM 18732
#define IMGUI_VERSION "1.88"
#define IMGUI_VERSION_NUM 18800
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
#define IMGUI_HAS_TABLE

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (demo code)
// Help:

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (drawing and font code)
/*

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (tables and columns code)
/*

View File

@ -1,4 +1,4 @@
// dear imgui, v1.88 WIP
// dear imgui, v1.88
// (widgets code)
/*