History for imgui / imgui.cpp
2018-08-22
@omar
Merge branch 'master' into viewport ...
omar committed on 22 Aug 2018
@omar
InputText: Improved sturdiness if the ResizeCallback purposefully modify data->BufTextLen or data->BufSize. (#2006, #1443, #1008)
omar committed on 22 Aug 2018
@omar
InputText: Fix ResizeCallback callback on restoring initial value with Escape key. Avoid over-allocating for InitialText storage. (#2006, #1443, #1008)
omar committed on 22 Aug 2018
@omar
Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). (#2035, #2006, #1443, #1008)
omar committed on 22 Aug 2018
@omar
InputText: callback InsertChars() support resize callbacks correctly (followup to 24ff259) + fixed demo to use those functions. (#2006, #1443, #1008).
omar committed on 22 Aug 2018
@omar
InputText: Fixed a few pathological crash cases on single-line InputText widget with multiple millions characters worth of contents. Because the current text drawing function reserve for a worst-case amount of vertices and how we handle horizontal clipping, we currently just avoid displaying those single-line widgets when they are over a threshold of 2 millions characters, until a better solution is found.
omar committed on 22 Aug 2018
@omar
InputText: Fixed not tracking the cursor horizontally When modifying the text buffer through a callback.
omar committed on 22 Aug 2018
@omar
ImDrawList: Large text passed to AddText() are being scanned for their end in order to avoid pre-reserving too many vertices.
omar committed on 22 Aug 2018
@omar
Internals: InputText: Renaming. Comments.
omar committed on 22 Aug 2018
@omar
InputText: Renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData for consistency. Kept redirection types (will obsolete).
omar committed on 22 Aug 2018
2018-08-21
@omar
InputText: Added support for buffer size/capacity changes via the ImGuiInputTextFlags_CallbackResize flag. (#2006, #1443, #1008).
omar committed on 21 Aug 2018
@omar
InputText: Internal renaming of some fields + final copy uses edit_state.CurLenA+1 instead of buf_size.
omar committed on 21 Aug 2018
@omar
InputText: Fixed minor off-by-one issue when submitting a buffer size smaller than the initial zero-terminated buffer contents.
omar committed on 21 Aug 2018
@omar
InputText: (Breaking change) removed ImGuiTextEditCallbackData::ReadOnly since it is a duplication of (ImGuiTextEditCallbackData::Flags & ImGuiInputTextFlags_ReadOnly) (#211)
omar committed on 21 Aug 2018
@omar
Added IMGUI_VERSION_NUM for easy compile-time testing. (#2025)
omar committed on 21 Aug 2018
2018-08-20
@omar
Added links to Discourse forums.
omar committed on 20 Aug 2018
@omar
Internals: Moved code out of SliderBehaviorT to reduce code bloat and also because caller may have use for the grab_bb for styling purposes.
omar committed on 20 Aug 2018
2018-08-17
@omar
Merge branch 'master' into viewport
omar committed on 17 Aug 2018
@omar
Internals: Added ImTextCountUtf8BytesFromChar() helper.
omar committed on 17 Aug 2018
@omar
SplitterBehavior: Fix for when the sizes are already under the minimum desired size.
omar committed on 17 Aug 2018
2018-08-16
@omar
Fixed assertion when transitioning from an active ID to another within a group, affecting ColorPicker (broken in 1.62). Made ActiveIdIsAlive track the actual ID to avoid incorrect polling in BeginGroup/EndGroup when the ID changes within the group. (#2023, #820, #956, #1875).
omar committed on 16 Aug 2018
2018-08-15
@omar
Metrics: Added io.MetricsActiveAllocations, moving away from the cross-context global counters than we previously used. (#1565, #1599, #586)
omar committed on 15 Aug 2018
@omar
Viewport: DestroyPlatformWindows() checks for the bool CreatedPlatformWindow flag correctly. Note that we set CreatedPlatformWindow=true for the main viewport to allow the back-end to store data in the public Viewport structure (for consistency). (#1542)
omar committed on 15 Aug 2018
2018-08-14
@omar
Viewport: Initial viewport DpiScale only queried on viewport creation. Because AddUpdateViewport() is called repeatedly on MovingWindow or with ImGuiConfigFlags_ViewportsNoMerge, the DpiScale update would break ImGuiConfigFlags_DpiEnableScaleViewports. (#1542)
omar committed on 14 Aug 2018
@omar
Viewport: ImGuiWindowFlags_NoFocusOnAppearing affects viewport accordingly. (#1542)
omar committed on 14 Aug 2018
2018-08-13
@omar
Merge branch 'master' into viewport ...
omar committed on 13 Aug 2018
@omar
Nav: NavWindowingList doesn't save to .ini file. TODO entries.
omar committed on 13 Aug 2018
2018-08-09
@omar
Internals: Extracted RenderMouseCursor() out of EndFrame(). Moved to imgui_draw.cpp along with RenderArrowPointingAt(). Comments. (#2013)
omar committed on 9 Aug 2018
@omar
Examples: Cast to ImTextureID instead of void* when assigning to TexId. Applied to all examples. (#2015)
omar committed on 9 Aug 2018
@omar
imgui_impl_opengl3: Advertised as a ES2/ES3 renderer. Defaults to ES3 on Android. Default on "#version 300 es" on ES 3. (#2002, #1873)
omar committed on 9 Aug 2018