4356 Commits (077e4db772b6ce0f5f6a2488ac9473b81ff67aee)

Author SHA1 Message Date
omar 28901dd104 Internals: Tweaks. Comments about PushID/GetID public function. ago%!(EXTRA string=7 years)
omar f994b8aab8 ImHash: Moved crc32 table out of the function so it can be shared, also avoid cases were compiler tries to makes its initialization thread-safe. ago%!(EXTRA string=7 years)
Thomas Ruf 1e4cf67a53 avoid floating point exception when _EM_OVERFLOW is enabled (#2303) ago%!(EXTRA string=7 years)
omar 00ffdb9fa9 ImGuiTextBuffer: Added append() function (unformatted). ago%!(EXTRA string=7 years)
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) ago%!(EXTRA string=7 years)
omar f94ba546ba Added checks for "zero-as-null-pointer-constant" warnings for older Clang (#2299, followup to #2277) ago%!(EXTRA string=7 years)
omar fcd61e0c59 Comments about DLL boundaries and using TLS variables for GImGui. (#2292) ago%!(EXTRA string=7 years)
omar 06aaf23877 Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!) ago%!(EXTRA string=7 years)
omar 09f1cb642b FreeType: Minor tweaks previous commit (#2285) ago%!(EXTRA string=7 years)
omar 95ee99e6aa Version 1.68 WIP ago%!(EXTRA string=7 years)
omar b8c6e31c2d Fixed cursor issue caused by 6890e08b when calling BeginChild/EndChild multiple times to reappend into a same child window. (#2282) ago%!(EXTRA string=7 years)
omar 7a5058e3bf Version 1.67 ago%!(EXTRA string=7 years)
omar 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277) ago%!(EXTRA string=7 years)
omar 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. ago%!(EXTRA string=7 years)
omar 1f6e0b2f98 ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal). ago%!(EXTRA string=7 years)
omar 61a99f994e Minot internal tweaks, comments ago%!(EXTRA string=7 years)
omar f53cd3ee0f Internals: LowerBound: Use raw pointer typedefs, we never use iterator anywhere else in the codebase. ago%!(EXTRA string=7 years)
omar 57b1622afc Added IMGUI_USE_STB_SPRINTF (undocumented) (#1038) ago%!(EXTRA string=7 years)
omar b33977bc15 Tests: Reworking hook prototypes for imgui-test to be faster and multi-context friendly. ago%!(EXTRA string=7 years)
omar 3997e8b555 Fixed animated window titles from being updated when displayed in the CTRL+Tab list. + Adding overkill helpers for reusing buffers. (#787) ago%!(EXTRA string=7 years)
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). ago%!(EXTRA string=7 years)
omar c3af134cc8 IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later. ago%!(EXTRA string=7 years)
omar 9ba202821f Nav: Fixed an keyboard issue where holding Activate/Space for longer than two frames on a button would unnecessary keep the focus on the parent window, which could steal it from newly appearing windows. (#787) ago%!(EXTRA string=7 years)
omar d223d1e951 Added bindings in Readme. Added internal IMGUI_DEBUG_LOG() helper. Comments, missing breaking changes note relative to imgui_impl_xxxx changes, not really part of core but worth adding in the imgui.cpp breaking change section. ago%!(EXTRA string=7 years)
omar 6777544855 Added sanity check to debug parent/child ordering issues (they would generally manifest with an assert/crash in EndFrame bu tthis assert will catch some earlier). ago%!(EXTRA string=7 years)
omar 237109caa5 Internals: Extracted code out of EndFrame() into UpdateMouseMovingWindowEndFrame() ago%!(EXTRA string=7 years)
omar b3469fa94b Alternative fix for bug introduced in d845135 (#1651), fix CTRL+Tab and fallback tooltip. ago%!(EXTRA string=7 years)
omar 3e30bfd6c9 Revert "Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip." ago%!(EXTRA string=7 years)
omar 1b0e38df47 Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip. ago%!(EXTRA string=7 years)
omar 6b97ded438 Happy new year! & comments ago%!(EXTRA string=7 years)
omar e21bc44684 Comments: fixed missing line in the "how a simple rendering function may look like" section (#2258) ago%!(EXTRA string=7 years)
omar d845135273 Error recovery: Extraneous/undesired calls to End() are now being caught by an assert in the End() function itself at the call site (instead of being reported in EndFrame). Past the assert, they don't lead to crashes any more. Missing calls to End(), pass the assert, should not lead to crashes any more, nor to the fallback/debug window appearing on screen. (#1651). ago%!(EXTRA string=7 years)
omar a9a60a24c1 Tweaked asserts ago%!(EXTRA string=7 years)
omar b471813f54 Made it illegal to call Begin("") with an empty string. This somehow accidentally worked before but had various undesirable side-effect as the window would have ID zero. In particular it is causing problems in viewport/docking branches. ago%!(EXTRA string=7 years)
omar 5691385a33 IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by back-ends. (#2004 + for cimgui) ago%!(EXTRA string=7 years)
omar 6890e08bc5 Fixed using SetNextWindowPos() on a child window (which wasn't really documented) position the cursor as expected in the parent window, so there is no mismatch between the layout in parent and the position of the child window. Demo tweak and adding some child window stuff ago%!(EXTRA string=7 years)
omar 89ac0ea7c1 Various user-facing comments ago%!(EXTRA string=7 years)
omar 84d1ce3958 Tidying up README, moved entries to FAQ, updated screenshots, removed comma in title. ago%!(EXTRA string=7 years)
omar ca953f0fee Fix merge issue on master. ago%!(EXTRA string=7 years)
omar ae76a1fda7 Window, Focus, Popup: Fixed an issue where closing a popup by clicking another window with the _NoMove flag would refocus the parent window of the popup instead of the newly clicked window. ago%!(EXTRA string=7 years)
omar 510ca373a2 Moved setting up NavHideHighlightOneFrame from lower-level ClosePopupToLevel() to CloseCurrentPopup() with an explanation. (Followup on 68d3e139a7) ago%!(EXTRA string=7 years)
omar 65dac02171 Internals: Popups: Renamed CurrentPopupStack to BeginPopupStack which is much less ambiguous. ago%!(EXTRA string=7 years)
omar f1c7596409 Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo. ago%!(EXTRA string=7 years)
omar 587506dd57 Tests: Changed prototype of ImGuiTestEngineHook_ItemAdd to match functions called in same spot. Made ButtonBehavior submit fallback item info if ItemAdd() was not called (for resize grips, resize borders, scrollbar, columns, etc.) ago%!(EXTRA string=7 years)
omar 8497948ba0 Comments, minor tweaks. ago%!(EXTRA string=7 years)
omar febc3e6aa1 Internals: Windows hidden with HiddenFramesRegular (but NOT HiddenFramesForResize) preserve their SizeContents, so restoring a auto-resize window after it's been hidden by tabs won't reset its size for a frame. Arguable. Let's see how it goes. (Followup to b48e295bddbf965d7382ec5578ed05d2fe601114) ago%!(EXTRA string=7 years)
omar d9a84de9d9 Contents size is preserved while a window collapsed. Fix auto-resizing window losing their size for one frame when uncollapsed. ago%!(EXTRA string=7 years)
omar 54a60aaa40 Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature) ago%!(EXTRA string=7 years)
omar cc1283fb78 Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience to avoid using the ### operator. (merged from Docking branch) ago%!(EXTRA string=7 years)
omar 15447f5b7b Using named flags instead of 0 + shallow formatting tweaks from other branches. ago%!(EXTRA string=7 years)