Commit Graph

  • 882f1bc135 Examples: DirectX12: Targeting 10.0.14393.0 instead of 10.0.16299.0 (available on AppVeyor, and higher version doesn't seem necessary). omar 2019-01-16 15:10:31 +0100
  • 2f9bae140b Docking: Demo: Fixed docking document window into parent window. (#2286) omar 2019-01-16 14:43:27 +0100
  • 09f1cb642b FreeType: Minor tweaks previous commit (#2285) omar 2019-01-15 21:50:43 +0100
  • daac9c7559 By default ImGuiFreeType will use ImGui::MemAlloc()/MemFree(). ImGuiFreeType::SetAllocatorFunctions() can be used to specify custom allocator. alexey_skryabin 2019-01-15 18:25:30 +0500
  • 8a45c56c2c Merge branch 'viewport' into docking omar 2019-01-15 21:22:29 +0100
  • 9391a97fbf Merge branch 'master' into viewport omar 2019-01-15 21:22:21 +0100
  • 79d497edae Viewport: Made platform_io.Monitors mandatory for proper multi-viewport use. omar 2019-01-15 21:20:00 +0100
  • f435aa193b Examples: Win32: Added support for XInput games (if ImGuiConfigFlags_NavEnableGamepad is enabled). omar 2019-01-15 21:17:48 +0100
  • 133f112af0 Examples: Win32: Using GetForegroundWindow() instead of GetActiveWindow() to be compatible with windows created in a different thread. (#1951, #2087, #2156, #2232) [many people] omar 2019-01-15 20:26:33 +0100
  • 95ee99e6aa Version 1.68 WIP omar 2019-01-15 20:19:05 +0100
  • 515ad62335 Merge branch 'viewport' into docking omar 2019-01-15 15:14:16 +0100
  • 73353fad64 Merge branch 'master' into viewport omar 2019-01-15 15:13:29 +0100
  • d38d7c6628 TODO update + internals: changed order or ImGuiLayoutType enums to allow using them for indexing. v1.67 omar 2019-01-15 15:06:24 +0100
  • b8c6e31c2d Fixed cursor issue caused by 6890e08b when calling BeginChild/EndChild multiple times to reappend into a same child window. (#2282) omar 2019-01-15 15:05:56 +0100
  • ff4bd758ca Merge branch 'viewport' into docking omar 2019-01-14 21:30:07 +0100
  • e24674fc0e Merge branch 'master' into viewport omar 2019-01-14 21:30:01 +0100
  • 7a5058e3bf Version 1.67 omar 2019-01-14 17:41:44 +0100
  • 1da40df279 DragFloat: Fixed broken mouse direction change with power!=1.0. (#2174, #2206) [@Joshhua5] omar 2019-01-14 17:37:48 +0100
  • 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277) omar 2019-01-13 18:57:46 +0100
  • 529fccd9c2 Merge branch 'viewport' into docking omar 2019-01-13 14:19:40 +0100
  • 4ee4f65c70 Merge branch 'master' into viewport omar 2019-01-13 14:19:31 +0100
  • abdd39b700 Merge branch 'atlas_fixes' omar 2019-01-13 14:19:07 +0100
  • 7e78865613 Demo: Fixed bounds of DragFloat in Clipping section to avoid passing zero-sized to InvisibleButton(). omar 2019-01-12 19:46:35 +0100
  • 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. omar 2019-01-11 17:38:14 +0100
  • 8df8482ef4 imgui_freetype: Fixed redundant FT_Load_Glyph() calls, unused parameters, and compilation warning/error. (#2270) omar 2019-01-12 11:45:58 +0100
  • 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270) omar 2019-01-11 15:25:43 +0100
  • 21828b08a0 ImFontAtlas: Rewrote FreeType based builder. - Fixed abnormally high atlas height. (#618) - Fixed support for any values of TexGlyphPadding (not just only 1). (#618) - Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). (#618) - Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233, #618) - Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. (#618) omar 2019-01-10 22:11:27 +0100
  • 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. - Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). - Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233) - Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. omar 2019-01-10 13:38:51 +0100
  • 7cc86d4bc9 Docking: Fixed docking a split node into the empty central node of a dockspace leading to the central node tag being incorrectly carried along. (#2109) omar 2019-01-10 18:20:52 +0100
  • e3ccc96789 Internals: Added ImBoolVector helper. omar 2019-01-10 13:21:33 +0100
  • 56caf7da29 imgui_freetype: Minor tweaks and comments. omar 2019-01-10 13:16:30 +0100
  • 7ed8e55fc7 ImVector: Added size_in_bytes() helper. omar 2019-01-09 16:59:48 +0100
  • 8011197c50 Merge branch 'viewport' into docking omar 2019-01-10 16:02:32 +0100
  • c96aaef132 Merge branch 'master' into viewport omar 2019-01-10 16:01:36 +0100
  • e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo. omar 2019-01-10 13:15:29 +0100
  • 7ffbcfe467 ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments omar 2019-01-09 15:56:37 +0100
  • 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). omar 2019-01-09 14:11:31 +0100
  • 81eaa49773 Internals: Added comment index in imgui_internal.h omar 2019-01-10 13:14:51 +0100
  • 289569ef27 Update link to Magnum bindings. (#2269) Vladimír Vondruš 2019-01-10 14:58:59 +0100
  • 61a99f994e Minot internal tweaks, comments omar 2019-01-08 18:23:28 +0100
  • 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible. omar 2019-01-08 17:37:22 +0100
  • f53cd3ee0f Internals: LowerBound: Use raw pointer typedefs, we never use iterator anywhere else in the codebase. Demo: Typo. C98 fix. omar 2019-01-08 16:26:45 +0100
  • 57b1622afc Added IMGUI_USE_STB_SPRINTF (undocumented) (#1038) omar 2019-01-08 15:28:33 +0100
  • b33977bc15 Tests: Reworking hook prototypes for imgui-test to be faster and multi-context friendly. omar 2019-01-07 23:59:05 +0100
  • c2db7f63bd Selectable() should have an ID even though they are disabled, to be consistent with other widgets. Not sure of the reasoning ~1.41 which made this turn to 0. omar 2019-01-07 23:45:07 +0100
  • 3997e8b555 Fixed animated window titles from being updated when displayed in the CTRL+Tab list. + Adding overkill helpers for reusing buffers. (#787) omar 2019-01-07 22:46:42 +0100
  • 6b32570644 Merge branch 'viewport' into docking omar 2019-01-07 21:29:15 +0100
  • 5af930f97a Merge branch 'master' into viewport omar 2019-01-07 21:28:29 +0100
  • 1ae7f88495 Tabs: Added ImGuiTabBarFlags_NoTooltip flag. (#261, #351) + added helpful assert omar 2019-01-07 17:52:16 +0100
  • 50faccf764 Demo: Log: Comments. Using clipper. Not linking with rand() anymore. omar 2019-01-07 17:33:02 +0100
  • acfa4050ec Tweak changelog + tweak internal render helper functions. omar 2019-01-06 18:55:30 +0100
  • 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). omar 2019-01-06 16:50:23 +0100
  • 1353c74dcf Comments/formatting on obsolete stuff omar 2019-01-06 16:37:57 +0100
  • 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. omar 2019-01-06 16:37:42 +0100
  • 1705a81efb Moved ImVector higher up in imgui :( because we will need it in ImGuiIO. omar 2019-01-04 19:18:19 +0100
  • 8b5f635624
    Added alternative Rust bindings omar 2019-01-06 14:43:43 +0100
  • 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) omar 2019-01-04 19:03:56 +0100
  • 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. omar 2019-01-04 15:27:52 +0100
  • 4483320f0a Examples: Allegro 5: Properly destroy all globals on shutdown. (#2262) DomRe 2019-01-04 20:11:24 +0800
  • 515ecbddc2 Docking: Fix for handling of orphan/inactive dock node with ConfigDockingTabBarOnSingleWindows (would crash). omar 2019-01-03 23:02:40 +0100
  • 7f7e8eeecd Docking: Fixed a bug undocking a window from its tab when it is the only docked window of a root dockspace with ConfigDockingTabBarOnSingleWindows enabled. omar 2019-01-03 22:11:14 +0100
  • 4e98d4329b Comments omar 2019-01-03 21:59:13 +0100
  • 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). omar 2019-01-03 21:42:36 +0100
  • 5278da98d2 Merge branch 'viewport' into docking omar 2019-01-03 21:38:14 +0100
  • e1ed27aeaa (Breaking change) Reorganized Viewports advanced flags, moved into new io.ConfigViewportsXXX flags. Pay attention that ImGuiConfigFlags_ViewportsDecoration became ConfigViewportsNoDecoeration, so the value is inverted! (#1542) omar 2019-01-03 21:27:15 +0100
  • c8349d3305 Viewport: Added ConfigViewportsNoParent to parent viewport default to NULL and not main viewport. Fix eg.. popups appearing erroneously focusing parent window. omar 2019-01-03 20:47:58 +0100
  • 606175b98f Viewport: Fix for minimization of individual viewports (the current back-end forcing a parent/child relationship between secondary viewports and the main viewport have hidden this issue). Follows d8ab2c1ac. omar 2019-01-03 20:43:28 +0100
  • 05bc323be0 Viewport: Fixed minimization of main viewport leading to it being omitted from platform_io.Viewport list where the users assume it is at index 0. Fix d8ab2c1ac. It wasn't a problem when other viewports were child of the main viewport because they would all be minimized together. (#1542) omar 2019-01-03 20:16:40 +0100
  • ca6ac34f9d Natvis: Added Hidden info about ImGuiWindow. omar 2019-01-03 18:38:20 +0100
  • 599a52629a Viewport: Added minimum viable information in the Changelog. omar 2019-01-03 17:43:15 +0100
  • 25ac85f15d Examples: Downgrading projects to xcode 9.2 (maybe 8.0) (#2134) Alzathar 2019-01-03 08:01:14 -0500
  • 64c66529ae Moving issue/pr template to docs/. Added links in README. omar 2019-01-03 13:35:53 +0100
  • c3efccaa9c Docking: Merge fix duplicate line + added assert to ease debugging. omar 2019-01-02 23:49:31 +0100
  • b26f16a27f Merge branch 'viewport' into docking omar 2019-01-02 23:16:10 +0100
  • a0c2e55e8c Merge branch 'master' into viewport omar 2019-01-02 23:11:52 +0100
  • 237109caa5 Internals: Extracted code out of EndFrame() into UpdateMouseMovingWindowEndFrame() omar 2019-01-02 23:05:59 +0100
  • b3469fa94b Alternative fix for bug introduced in d845135 (#1651), fix CTRL+Tab and fallback tooltip. omar 2019-01-02 22:52:09 +0100
  • 3e30bfd6c9 Revert "Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip." omar 2019-01-02 22:56:17 +0100
  • 1b0e38df47 Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip. omar 2019-01-02 22:14:28 +0100
  • 5aebfedfad Docking: Forward WindowClass from node to host window. omar 2019-01-02 21:41:00 +0100
  • ce1626a51e Merge branch 'viewport' into docking omar 2019-01-02 21:36:21 +0100
  • 0cabe4dedf Viewport: Added ImGuiWindowClass / SetNextWindowClass() (concept imported from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542) omar 2019-01-02 19:29:33 +0100
  • 0d6e3ab2b0 Docking: Renamed SetNextWindowId() -> SetNextWindowID() for consistency. (function vs member are still horribly inconsistent atm) omar 2019-01-02 18:56:53 +0100
  • cfcad42b89 Viewport: Win32: Workaround to the fact that ::WindowFromPoint() seems to return Windows using ImGuiViewportFlags_NoInputs / HTTRANSPARENT when dragging nearby the platform title bar. This is to allow using platform decoration. I don't understand this well atm. (#1542) omar 2019-01-02 18:22:31 +0100
  • 4a6f95acc8 Viewport: Added Platform_UpdateWindow hook for general purpose: Rework Win32 code to reflect viewport flags changes into Win32 while the window is active. omar 2019-01-02 16:06:58 +0100
  • 5305c32242 Viewport: Reorder flags. Set owned viewport common decoration flags in Begin(). Moved code in UpdateViewportsEndFrame() before we introduce family/class based overrides. omar 2018-12-21 19:12:24 +0100
  • 951c9dd68b Merge branch 'master' into viewport omar 2019-01-02 19:00:31 +0100
  • 4ea9fdbbea Docking: Agressively assert when CentralNode is a not a leaf node in order to find our bug. omar 2018-12-21 17:04:39 +0100
  • e194219f2e Renamed ImGuiDockFamily to ImGuiWindowClass. Renamed CompatibleWithClassZero to DockingAllowUnclassed. (#2109) omar 2018-12-21 17:01:08 +0100
  • d9a4cbc429 Examples: Comments about GLFW/SDL versions omar 2019-01-02 16:04:13 +0100
  • c017a4fb5f Moved guidelines to issue #2261 to Pin and increase visibility for now. omar 2019-01-02 14:28:49 +0100
  • acacd93836 Renamed extra_flags to flags in InputXXX parameters. omar 2019-01-02 11:08:14 +0100
  • c738f9ef92 InputFloat: When using ImGuiInputTextFlags_ReadOnly the step buttons are disabled. (#2257) omar 2019-01-02 11:03:56 +0100
  • 6b97ded438 Happy new year! & comments omar 2019-01-02 10:57:57 +0100
  • e21bc44684 Comments: fixed missing line in the "how a simple rendering function may look like" section (#2258) omar 2019-01-02 09:57:25 +0100
  • 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). omar 2018-12-23 17:54:20 +0100
  • a9a60a24c1 Tweaked asserts omar 2018-12-23 17:39:04 +0100
  • a71d3c8cb3 Viewport: Misc comments following user feedbacks.. omar 2018-12-21 18:40:16 +0100
  • 238321c159 Fix merge in Docking branch, remove ConfigDockingWithShift flag from DX11 example + misnamed function. omar 2018-12-21 16:53:56 +0100
  • e181b0c3fc Merge branch 'viewport' into docking omar 2018-12-21 16:53:13 +0100