History for imgui / imgui.cpp
2018-08-22
@omar
Rearrange header comments to find enums easily + fixed inconsistent sorting.
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
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
2018-08-13
@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
2018-08-08
@omar
Nav: Made CTRL+TAB skip menus + skip the current navigation window if is has the ImGuiWindow_NoNavFocus set. (#787) ...
omar committed on 8 Aug 2018
2018-08-06
@omar
Use literals in place of LLONG_MIN, LLONG_MAX ULLONG_MAX if they are not available. Amend 498c0dc. We prefer using the defines if available in limits.h because they somehow tend to work without warnings when enabling strict C++03 compilation. The 3 literals are fallbacks.. (#1926).
omar committed on 6 Aug 2018
2018-08-05
@omar
Internals: Minor renaming for consistency.
omar committed on 5 Aug 2018
2018-08-03
@omar
Metrics: Changed io.MetricsActiveWindows to reflect the number of active windows (!= from visible windows), which is useful for lazy/idle render mechanisms as new windows are typically not visible for one frame. ...
omar committed on 3 Aug 2018
@omar
Using limits.h LLONG_MIN etc. to increase old-compiler compatibility (as ll and ull prefixes were not standard). Not tested much on old compilers, relying on Clang/GCC warnings.
omar committed on 3 Aug 2018