Skip to content

Commit 1ee2527

Browse files
committed
Merge branch 'master' into docking
# Conflicts: # docs/CHANGELOG.txt
2 parents 0335387 + c71a50d commit 1ee2527

File tree

8 files changed

+35
-29
lines changed

8 files changed

+35
-29
lines changed

docs/CHANGELOG.txt

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,16 @@ Other changes:
9999

100100

101101
-----------------------------------------------------------------------
102-
VERSION 1.87 WIP (In Progress)
102+
VERSION 1.87 (Released 2022-02-07)
103103
-----------------------------------------------------------------------
104104

105+
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.87
106+
105107
Breaking Changes:
106108

107109
- Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537)
108110
- Reworked IO mouse input API: (#4921, #4858) [@thedmd, @ocornut]
109-
- Added io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions,
111+
- Added io.AddMousePosEvent(), io.AddMouseButtonEvent(), io.AddMouseWheelEvent() functions,
110112
obsoleting writing directly to io.MousePos, io.MouseDown[], io.MouseWheel, etc.
111113
- This enable input queue trickling to support low framerates. (#2787, #1992, #3383, #2525, #1320)
112114
- Reworked IO keyboard input API: (#4921, #2625, #3724) [@thedmd, @ocornut]
@@ -137,10 +139,9 @@ Breaking Changes:
137139
so ImGuiKey values can still express a legacy native keycode, and new named keys are all >= 512.
138140
- This will enable a few things in the future:
139141
- Access to portable keys allows for backend-agnostic keyboard input code. Until now it was difficult
140-
to share code using keyboard accross project because of this gap. (#2625, #3724)
142+
to share code using keyboard across project because of this gap. (#2625, #3724)
141143
- Access to full key ranges will allow us to develop a proper keyboard shortcut system. (#456)
142-
- io.AddKeyEvent() will later be turned into a trickling IO queue (for all inputs) to handle very low framerate better. (#2525, #2787, #3383)
143-
- io.SetKeyEventNativeData() include native keycode/scancode which will later be exposed. (#3141, #2959)
144+
- io.SetKeyEventNativeData() include native keycode/scancode which may later be exposed. (#3141, #2959)
144145
- Reworked IO nav/gamepad input API and unifying inputs sources: (#4921, #4858, #787)
145146
- Added full range of ImGuiKey_GamepadXXXX enums (e.g. ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadR2) to use with
146147
io.AddKeyEvent(), io.AddKeyAnalogEvent().
@@ -176,7 +177,8 @@ Other Changes:
176177
handled by core automatically for all kind of inputs. (#4858, #2787, #1992, #3383, #2525, #1320)
177178
- New IO functions for keyboard/gamepad: AddKeyEvent(), AddKeyAnalogEvent().
178179
- New IO functions for mouse: AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent().
179-
- Fixed CTRL+Tab into an empty window causing artefacts on the highlight rectangle due to bad reordering on ImDrawCmd.
180+
- IO: Unified key enums allow using key functions on key mods and gamepad values.
181+
- Fixed CTRL+Tab into an empty window causing artifacts on the highlight rectangle due to bad reordering on ImDrawCmd.
180182
- Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles,
181183
which would makes the draw operation of some backends assert (e.g. Metal with debugging). (#4857)
182184
- Popups: Fixed a regression crash when a new window is created after a modal on the same frame. (#4920) [@rokups]
@@ -194,30 +196,30 @@ Other Changes:
194196
- Platform IME: add ImGuiPlatformImeData::InputLineHeight. (#3113) [@liuliu]
195197
- Platform IME: [windows] call ImmSetCandidateWindow() to position candidate window.
196198
- Backends: GLFW: Pass localized keys (matching keyboard layout). Fix e.g. CTRL+A, CTRL+Z, CTRL+Y shortcuts.
197-
We are now converting GLFW untranslated keycodes back to translated keycodes in order to match the behavior of every
199+
We are now converting GLFW untranslated keycodes back to translated keycodes in order to match the behavior of
198200
other backend, and facilitate the use of GLFW with lettered-shortcuts API. (#456, #2625)
199-
- Backends: GLFW: Submit keys using io.AddKeyEvent(). Submit keymods using io.AddKeyModsEvent() at the same time. (#2625)
200-
- Backends: GLFW: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4858)
201+
- Backends: GLFW: Submit keys and key mods using io.AddKeyEvent(). (#2625, #4921)
202+
- Backends: GLFW: Submit mouse data using io.AddMousePosEvent(), io.AddMouseButtonEvent(), io.AddMouseWheelEvent() functions. (#4921)
201203
- Backends: GLFW: Retrieve mouse position using glfwSetCursorPosCallback() + fallback when focused but not hovered/captured.
202-
- Backends: GLFW: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4858)
204+
- Backends: GLFW: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4921)
203205
- Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks() helpers to facilitate user installing
204206
callbacks after iniitializing backend. (#4981)
205-
- Backends: Win32: Submit keys using io.AddKeyEvent(). Submit keymods using io.AddKeyModsEvent() at the same time. (#2625)
207+
- Backends: Win32: Submit keys and key mods using io.AddKeyEvent(). (#2625, #4921)
206208
- Backends: Win32: Retrieve mouse position using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback when focused but not hovered/captured.
207-
- Backends: Win32: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4858)
209+
- Backends: Win32: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4921)
208210
- Backends: Win32: Maintain a MouseButtonsDown mask instead of using ImGui::IsAnyMouseDown() which will be obsoleted.
209-
- Backends: Win32: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4858)
210-
- Backends: SDL: Pass localized keys (matching keyboard layout). Fix e.g. CTRL+A, CTRL+Z, CTRL+Y shortcuts.
211+
- Backends: Win32: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4921)
212+
- Backends: SDL: Pass localized keys (matching keyboard layout). Fix e.g. CTRL+A, CTRL+Z, CTRL+Y shortcuts. (#456, #2625)
211213
- Backends: SDL: Submit key data using io.AddKeyEvent(). Submit keymods using io.AddKeyModsEvent() at the same time. (#2625)
212214
- Backends: SDL: Retrieve mouse position using SDL_MOUSEMOTION/SDL_WINDOWEVENT_LEAVE + fallback when focused but not hovered/captured.
213-
- Backends: SDL: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4858)
215+
- Backends: SDL: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4921)
214216
- Backends: SDL: Maintain a MouseButtonsDown mask instead of using ImGui::IsAnyMouseDown() which will be obsoleted.
215-
- Backends: SDL: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4858)
217+
- Backends: SDL: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4921)
216218
- Backends: Allegro5: Submit keys using io.AddKeyEvent(). Submit keymods using io.AddKeyModsEvent() at the same time. (#2625)
217-
- Backends: Allegro5: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4858)
219+
- Backends: Allegro5: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4921)
218220
- Backends: OSX: Submit keys using io.AddKeyEvent(). Submit keymods using io.AddKeyModsEvent() at the same time. (#2625)
219-
- Backends: OSX: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4858)
220-
- Backends: OSX: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4858)
221+
- Backends: OSX: Submit mouse data using io.AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() functions. (#4921)
222+
- Backends: OSX: Submit gamepad data using io.AddKeyEvent/AddKeyAnalogEvent() functions, stopped writing to io.NavInputs[]. (#4921)
221223
- Backends: OSX: Added basic Platform IME support. (#3108, #2598) [@liuliu]
222224
- Backends: OSX: Fix Game Controller nav mapping to use shoulder for both focusing and tweak speed. (#4759)
223225
- Backends: OSX: Fix building with old Xcode versions that are missing gamepad features. [@rokups]
@@ -230,7 +232,7 @@ Other Changes:
230232
- Backends: Metal: Added Apple Metal C++ API support. (#4824, #4746) [@luigifcruz]
231233
Enable with '#define IMGUI_IMPL_METAL_CPP' in your imconfig.h file.
232234
- Backends: Metal: Ignore ImDrawCmd where ElemCount == 0, which are normally not emitted by the library but
233-
can theorically be created by user code manipulating a ImDrawList. (#4857)
235+
can theoretically be created by user code manipulating a ImDrawList. (#4857)
234236
- Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, add ImGui_ImplVulkan_AddTexture(). (#914) [@martty]
235237
- Backends: SDL_Renderer: Fix texture atlas format on big-endian hardware (#4927) [@Clownacy]
236238
- Backends: WebGPU: Fixed incorrect size parameters in wgpuRenderPassEncoderSetIndexBuffer() and
@@ -264,6 +266,8 @@ Docking+Viewports Branch:
264266
VERSION 1.86 (Released 2021-12-22)
265267
-----------------------------------------------------------------------
266268

269+
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.86
270+
267271
Breaking Changes:
268272

269273
- Removed CalcListClipping() function. Prefer using ImGuiListClipper which can return non-contiguous ranges.
@@ -378,6 +382,8 @@ Docking+Viewports Branch:
378382
VERSION 1.85 (Released 2021-10-12)
379383
-----------------------------------------------------------------------
380384

385+
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.85
386+
381387
This is the last release officially supporting C++03 and Visual Studio 2008/2010. (#4537)
382388
We expect that the next release will require a subset of the C++11 language (VS 2012~, GCC 4.8.1, Clang 3.3).
383389
We may use some C++11 language features but we will not use any C++ library headers.

imgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.87 WIP
1+
// dear imgui, v1.87
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.87 WIP
1+
// dear imgui, v1.87
22
// (headers)
33

44
// Help:
@@ -64,8 +64,8 @@ Index of this file:
6464

6565
// Version
6666
// (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)
67-
#define IMGUI_VERSION "1.87 WIP"
68-
#define IMGUI_VERSION_NUM 18616
67+
#define IMGUI_VERSION "1.87"
68+
#define IMGUI_VERSION_NUM 18700
6969
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
7070
#define IMGUI_HAS_TABLE
7171
#define IMGUI_HAS_VIEWPORT // Viewport WIP branch

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.87 WIP
1+
// dear imgui, v1.87
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.87 WIP
1+
// dear imgui, v1.87
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.87 WIP
1+
// dear imgui, v1.87
22
// (internal structures/api)
33

44
// You may use this file to debug, understand or extend 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.87 WIP
1+
// dear imgui, v1.87
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.87 WIP
1+
// dear imgui, v1.87
22
// (widgets code)
33

44
/*

0 commit comments

Comments
 (0)