379 Commits (32c4e01267efca5bc97566a6df1ef5bb83cc29f7)

Author SHA1 Message Date
omar 32c4e01267 Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!) ago%!(EXTRA string=6 years)
omar 95ee99e6aa Version 1.68 WIP ago%!(EXTRA string=6 years)
omar 7a5058e3bf Version 1.67 ago%!(EXTRA string=6 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=6 years)
omar 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270) ago%!(EXTRA string=6 years)
omar 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. ago%!(EXTRA string=6 years)
omar 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible. ago%!(EXTRA string=6 years)
omar acfa4050ec Tweak changelog + tweak internal render helper functions. ago%!(EXTRA string=6 years)
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). ago%!(EXTRA string=6 years)
omar 8399fb5071 Changed ImGuiCol_ChildBg to (0,0,0,0) in Dark style instead of (1,1,1,0), to match other styles. Shouldn't have any effect for the end-user. ago%!(EXTRA string=6 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=6 years)
omar 10e13dd6bb Version 1.67 WIP (again, this time IMGUI_VERSION_NUM has leeway for another hot-fix). ago%!(EXTRA string=7 years)
omar 801645d350 Version 1.66b (will revisit how to change IMGUI_VERSION_NUM across versions, this commit reduces the numerical IMGUI_VERSION_NUM compared to the commit on Nov 22). ago%!(EXTRA string=7 years)
omar 34e18ef771 Fixed a text rendering/clipping bug introduced in 1.66 (on 2018-10-12, commit ede3a3b9) that affect single ImDrawList::AddText() calls with single strings larger than 10k. Text/TextUnformatted() calls were not affected, but e.g. InputText() was. ago%!(EXTRA string=7 years)
omar 8289e5f6b4 Fixed a text rendering/clipping bug introduced in 1.66 (on 2018-10-12, commit ede3a3b9) that affect single ImDrawList::AddText() calls with single strings larger than 10k. Text/TextUnformatted() calls were not affected, but e.g. InputText() was. ago%!(EXTRA string=7 years)
omar 84238240d6 Fixed a text rendering/clipping bug introduced in 1.66 (on 2018-10-12, commit ede3a3b9) that affect single ImDrawList::AddText() calls with single strings larger than 10k. Text/TextUnformatted() calls were not affected, but e.g. InputText() was. ago%!(EXTRA string=7 years)
Sebastian Krzyszkowiak 3335e6688f Include <alloca.h> also on macOS (and osxcross) (#2218) ago%!(EXTRA string=7 years)
omar d23c69d319 Docking: Added context menu option to hide the tab bar of single-window dock nodes, similar to Unreal. (#2109) ago%!(EXTRA string=7 years)
omar d27ffefbd4 Version 1.67 WIP ago%!(EXTRA string=7 years)
omar da3c4330c1 Version 1.66 ago%!(EXTRA string=7 years)
Elias Daler 8606d9fa11 Fix Clang/GCC's null-conversion warning: (#2081) ago%!(EXTRA string=7 years)
omar 2eaf5b03df Fixes crash introduced in previous commit 9cf94d5. ago%!(EXTRA string=7 years)
omar ede3a3b92d Fixes crash introduced in previous commit 9cf94d5. ago%!(EXTRA string=7 years)
omar 9cf94d5dd6 RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate. ago%!(EXTRA string=7 years)
omar bd82539ad5 Docking: Fixed DockSpace() child window displaying a scrollbar behind the node backgrounds. Rename ImGuiCol_DockingBg to ImGuiCol_DockingEmptyBg. Added ImGuiDockNode::IsLeaftNode(). (#2109) ago%!(EXTRA string=7 years)
omar 5719b23e01 ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3, in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty. ago%!(EXTRA string=7 years)
omar b55b9aee9b Fixed bad merge (a82be53) where we lost the version number in Docking branch + moved Docking related API together for now. ago%!(EXTRA string=7 years)
ice1000 201fcfd2e5 Internals: Replace unsigned short with ImWchar when dealing with character storage. (#2078) ago%!(EXTRA string=7 years)
omar bd5b38e232 Docking: Added Docking system. Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable. (Part 1) (#351) ago%!(EXTRA string=7 years)
omar 58d46e1fe6 Tabs: Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem() + demo. (#261, #351) ago%!(EXTRA string=7 years)
omar eb7033e75b Version 1.66 WIP ago%!(EXTRA string=7 years)
omar e0cab5664a Version 1.65 ago%!(EXTRA string=7 years)
omar 5a679a45cc Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. (#1718, #2036) ago%!(EXTRA string=7 years)
omar e58bc3d5b7 Refactor: Tweaked and improved the sectioning to facilitate grepping/moving around and applied to all files. (#2036) ago%!(EXTRA string=7 years)
omar a848807847 Minor inconsequential merges from Master/Docking branches ago%!(EXTRA string=7 years)
omar bcb1441ce7 Version 1.65 WIP ago%!(EXTRA string=7 years)
omar 48db5713d6 Version 1.64 ago%!(EXTRA string=7 years)
omar 38cfcf9fbc Tweak comments and indexes ago%!(EXTRA string=7 years)
omar a58e4dfd0f Refactor: Moved Scrollbar function from imgui.cpp to imgui_widgets.cpp, added file index (#2036) ago%!(EXTRA string=7 years)
omar df37a156e8 Refactor: Moved Scrollbar function from imgui.cpp to imgui_widgets.cpp, added file index (#2036) ago%!(EXTRA string=7 years)
omar 6c34bffbb5 Version 1.64 WIP ago%!(EXTRA string=7 years)
omar f2aa124eb8 Version 1.64 WIP ago%!(EXTRA string=7 years)
omar 9e0f24dcb6 Version 1.63 ago%!(EXTRA string=7 years)
omar 92edb7a4e3 Internals: Tidying up, moving helpers to imgui_internal.h (in prevision of 1.64 refactor) ago%!(EXTRA string=7 years)
omar a082692b0a ImFontAtlas Comments (#2042) + added ImGuiFontAtlas_None for consistency. ago%!(EXTRA string=7 years)
omar 68448c5faa ImDrawList: Large text passed to AddText() are being scanned for their end in order to avoid pre-reserving too many vertices. ago%!(EXTRA string=7 years)
omar 975b5a7310 ImDrawList: Fixed clipping of leading lines above the clipping rectangle from counting in the worst case vertices reservation. (fix code added in #200!) ago%!(EXTRA string=7 years)
omar fda9dc8e18 Internals: Extracted RenderMouseCursor() out of EndFrame(). Moved to imgui_draw.cpp along with RenderArrowPointingAt(). Comments. (#2013) ago%!(EXTRA string=7 years)
omar 4d5dcdb57a Internals: Changed signature of ShadeVerts functions to remove pointers. (#1286, #1700, #1986) ago%!(EXTRA string=7 years)
Tommy Nguyen b5b972d0ef ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. (#1965) ago%!(EXTRA string=7 years)