Commit Graph

  • 5b5e9bd0cb Internals: Tweak shallow compaction as Clang complains about MS ABI signage of enums. ocornut 2024-01-22 17:43:58 +01:00
  • 7c3fa7d049 Refactor: moved section in imgui_internal.h ocornut 2024-01-22 16:32:08 +01:00
  • 9266c0d2d1 Backends: WebGPU: Avoid leaking pipeline layout. (#7245) rajveermalviya 2024-01-20 18:44:53 +05:30
  • 595eb86624 Changelog, comment, minor data compaction ocornut 2024-01-22 15:02:22 +01:00
  • 6850194f60 CI: Fixes WGPU example build. ocornut 2024-01-22 15:01:21 +01:00
  • 5fc0a361b2 Backends: WebGPU: added ImGui_ImplWGPU_InitInfo::PipelineMultisampleState. (#7240) ocornut 2024-01-22 14:54:45 +01:00
  • 831d42c1ab Backends: WebGPU: ImGui_ImplWGPU_Init() now takes a ImGui_ImplWGPU_InitInfo structure instead of variety of parameters, allowing for easier further changes. (#7240) ocornut 2024-01-22 14:46:41 +01:00
  • e3c7ff944d Examples: Emscripten+WebGPU: slightly refactor like other Emscripten compatible Desktop examples, as aiming to make this suppot desktop eventually. ocornut 2024-01-22 14:20:24 +01:00
  • 15908502ed Backends: Vulkan: Define NOMINMAX when VK_USE_PLATFORM_WIN32_KHR is defined. (#7250) Frank McCoy 2024-01-22 01:03:46 -08:00
  • 788747f863 Examples: Emscripten+WebGPU: Remove use of deprecated ObjectBase<...>::Release in favor of ::MoveToCHandle (#7251) Michał Cichoń 2024-01-22 10:45:41 +01:00
  • 763100b385 Nav: Fixed pressing Escape while in a child window with _NavFlattened flag. (#7237) ocornut 2024-01-19 18:37:21 +01:00
  • c7edb446ca Shortcut(): always test ownership. ocornut 2024-01-19 16:38:25 +01:00
  • 1844f903d5 Nav: space/enter poll check ownership. InputText: declare ownership of Enter key as it doesn't go through Shortcut ocornut 2024-01-19 15:52:11 +01:00
  • 5ddfbb80d8 Backends: Vulkan: Fixed vkAcquireNextImageKHR() validation errors in VulkanSDK 1.3.275 by allocating one extra semaphore than in-flight frames. (#7236) ocornut 2024-01-19 14:50:32 +01:00
  • 01b99a974d Backends: Vulkan: Fixed vkAcquireNextImageKHR() validation errors in VulkanSDK 1.3.275 by allocating one extra semaphore than in-flight frames. (#7236) ocornut 2024-01-19 14:50:32 +01:00
  • 2f48337335 Examples: Vulkan: Rename compile-time defies for the examples to remove misleading IMGUI_ prefixes. ocornut 2024-01-19 14:47:56 +01:00
  • cab7edd135 Merge branch 'master' into docking ocornut 2024-01-17 18:38:03 +01:00
  • d7c2a0e38f Shortcut(): fixed 8323a06 adding _Repeat to all Shortcut() calls. ocornut 2024-01-17 18:19:00 +01:00
  • 3b828d3701 Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 2) ocornut 2024-01-17 17:34:28 +01:00
  • ff5f3aa38b Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 1) ocornut 2024-01-17 17:27:04 +01:00
  • 1a48a63446 Enclosed a few more remaining sections in ifndef IMGUI_DISABLE_DEBUG_TOOLS for completeness. ocornut 2024-01-17 15:55:36 +01:00
  • 33fabdf392 Scrollbar() doesn't forcefully mark itself as hovered when held. ocornut 2024-01-17 15:45:20 +01:00
  • d431d85839 Internals: removed obsolete ImPool::GetSize() (last used by implot 0.10, changed in implot 0.11) ocornut 2024-01-17 15:33:12 +01:00
  • f0d1f61fa5 Internals: commented out long-time obsoleted FocusableItemRegister()/FocusableItemUnregister() documentaton-only leftovers. + ocornut 2024-01-17 15:23:30 +01:00
  • 095665977f Nav: marking NavId as hovered in ButtonBehavior() doesn't check for ActiveId. ocornut 2024-01-17 14:52:05 +01:00
  • d10641b04a Nav: keyboard/gamepad activation mark widgets as held to give better visual feedback. ocornut 2024-01-17 14:02:07 +01:00
  • 03417cc77d Backends: WebGPU: Filling all WGPUDepthStencilState fields explicitly as a recent Dawn update stopped setting default values. (#7232) ocornut 2024-01-17 13:26:02 +01:00
  • 5fdcdf7080 Shortcut: ImGuiInputFlags_RouteFocused policy can filter Shortcuts conflicting with character input when an item is active. (#456) ocornut 2024-01-16 17:51:14 +01:00
  • 80d5cb1ab1 Comments around ImGuiInputFlags. ocornut 2024-01-16 16:25:02 +01:00
  • 80c83a4277 Docking: added ImGuiDockNodeFlags_DockedWindowsInFocusRoute to configure a dock node to automatically set ParentWindowForFocusRoute on its docked windows. (#6798, #2637, #456) ocornut 2024-01-16 14:11:30 +01:00
  • cceff4684a Docking: added ImGuiWindowClass::FocusRouteParentWindowId as a public facing version of SetWindowParentWindowForFocusRoute() (#6798, #2637, #456) ocornut 2024-01-16 14:00:21 +01:00
  • 1cc0eb4d32 Internals: Rename NavFocusScopePath to NavFocusRoute + fixed a static analyzer warning. ocornut 2024-01-16 12:32:00 +01:00
  • 69b64e2b73 Internals: Docking: revert 32a3c61 in favor of user explicitely calling SetWindowParentWindowForFocusRoute(). (#6798) ocornut 2024-01-16 11:50:00 +01:00
  • a27f22f0e9 Merge branch 'master' into docking ocornut 2024-01-16 11:43:36 +01:00
  • 46e5f44ec8 Shortcut()/SetShortcutRouting(): use mixed current window focus scope + ParentWindowForFocusRoute. (#6798, #2637, #456) ocornut 2024-01-15 16:56:29 +01:00
  • e0c8c80ada Shortcut()/SetShortcutRouting(): focus route testing now use ParentWindowForFocusRoute. Automatically set on child-window, manually configurable otherwise. (#6798, #2637, #456) ocornut 2024-01-15 14:18:10 +01:00
  • 4b20a0217e Internals: add window to FocusScopeStack. (#6798) ocornut 2024-01-15 11:44:21 +01:00
  • 2156db7a07 Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). (#6798, #2637, #456) ocornut 2024-01-15 15:57:14 +01:00
  • dd0efdc637 Fixed SetKeyboardFocusHere() not working when current nav focus is in different scope. (#7226) ocornut 2024-01-15 17:31:44 +01:00
  • 8a3dfda8d0 Commented out obsolete ImGuiIO::ImeWindowHandle marked obsolete in 1.87, favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'. ocornut 2024-01-15 11:20:13 +01:00
  • 6228c2e1ec Backends: Vulkan: moved ImGui_ImplVulkanH_DestroyFrameRenderBuffers/ImGui_ImplVulkanH_DestroyWindowRenderBuffers as they are always used in a state where backend data is available. ocornut 2024-01-11 20:22:37 +01:00
  • 32a3c61d00 Internals: Shortcut() follow docking chain (until we formalize a more general focus scope stack). (#456) ocornut 2024-01-11 19:48:31 +01:00
  • 70bb6d1e79 Backends: Vulkan: Fixed vkMapMemory() calls unnecessarily using full buffer size. (#3957) ocornut 2024-01-11 14:57:38 +01:00
  • 82df7c8bf4 Backends: Vulkan: Fixed handling of ImGui_ImplVulkan_InitInfo::MinAllocationSize field. (#7189, #4238) Tristan Gouge 2024-01-11 14:42:48 +01:00
  • 29809d7220 Version 1.90.2 WIP ocornut 2024-01-11 14:37:13 +01:00
  • db049db860 Docs: tweak, fixed misplaced changelog entry. (#7084) ocornut 2024-01-11 13:14:21 +01:00
  • 2dc85e6e43 Merge branch 'master' into docking v1.90.1-docking ocornut 2024-01-10 18:34:08 +01:00
  • d6cb3c923d Version 1.90.1 v1.90.1 ocornut 2024-01-09 23:16:34 +01:00
  • 6470e2279e Debug Tools: DebugRenderKeyboardPreview() scales better. ocornut 2024-01-10 17:35:41 +01:00
  • fdf8d02be1 Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. (#2673) ocornut 2024-01-10 15:35:35 +01:00
  • 788bb58b6b Metrics: Tweak, reorganize tools menu. ocornut 2024-01-10 13:19:17 +01:00
  • a5dec42866 Debug Tools: Debug Log: Clicking any filter with SHIFT held enables it for 2 frames only. (#5855) ocornut 2024-01-10 12:56:16 +01:00
  • a3eea8a75a Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" and variants, fixing regression on distros missing a symlink. (#6983) ocornut 2024-01-09 23:26:05 +01:00
  • cf02023565 Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set. ocornut 2024-01-09 23:04:57 +01:00
  • 69bf3291df Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set. ocornut 2024-01-09 23:04:57 +01:00
  • ebcfcd8da3 Merge branch 'master' into docking ocornut 2024-01-09 22:39:06 +01:00
  • 8deb1007cd Backends: OSX: Fixed IME position in multi-monitor/multi-viewports setups. (#7028) ocornut 2024-01-09 22:13:34 +01:00
  • a683033e49 Backends: OSX: Fixed monitor and window position by correctly transforming Y origin on multi-monitor setups. (#7028, #7101, #6009, #6432) ocornut 2024-01-09 21:13:30 +01:00
  • af00b182e3 Examples: SDL3: Minor fixes following changes to API (SDL_WindowFlags -> Uint32). ocornut 2024-01-09 16:04:48 +01:00
  • fc2e532f99 Shortcut: do not return true on mods changes. Internals: added ImGuiInputFlags_RepeatUntilKeyModsChange, ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone, ImGuiInputFlags_RepeatUntilOtherKeyPress. (#456, #2637) ocornut 2024-01-09 15:54:00 +01:00
  • 8323a06e6d Inputs: passing ImGuiInputFlags_RepeatXXX options automatically adds ImGuiInputFlags_Repeat. ocornut 2024-01-09 12:09:42 +01:00
  • 58261dbe9a Internals: alter ImGuiInputFlags values to leave room + indent. ocornut 2024-01-08 18:49:19 +01:00
  • f1ae47c4b9 Docs: update links to Proggy Fonts. (#7211) ocornut 2024-01-09 12:05:41 +01:00
  • 7f9533b840 ColorPicker: Fixed saturation/value cursor radius not scaling properly. ocornut 2024-01-05 17:23:42 +01:00
  • 27e83c2953 Add comment about how ImGuiKey values are named after US keyboard keys. (#7205) Tom Seddon 2024-01-08 10:37:38 +00:00
  • 278cf1a7bc Readme: updated binaries. (#7193) ocornut 2024-01-05 16:45:22 +01:00
  • edeb8ee3ab More compact issue_template.yml omar 2024-01-05 11:42:22 +01:00
  • c6716f5e9f Fixed typo (#7197) uusdnfdsfhnttyh 2024-01-05 03:11:08 -06:00
  • a1b06823fe Windows: BeginChild(): Resize borders rendered even when ImGuiWindowFlags_NoBackground is specified. (#1710, #7194) ocornut 2024-01-04 17:23:30 +01:00
  • 0461ade24b Reworked issue template (amends) (#5927, #5915) ocornut 2024-01-04 16:51:10 +01:00
  • c528b688cf Reworked issue template. (#5927, #5915) ocornut 2024-01-04 16:38:58 +01:00
  • 26eef4df87 Update issue_template.md omar 2024-01-04 15:15:48 +01:00
  • 7938550d52 Comments and some extra line-wrapping in demo (#3193) ocornut 2024-01-04 11:50:38 +01:00
  • 4758f74676 imgui_freetype: fix nullptr to ImTextureID cast (#7192) Pascal Thomet 2024-01-03 22:54:36 +01:00
  • e3d7cd665d Merge branch 'master' into docking ocornut 2024-01-03 18:33:44 +01:00
  • 6f10cef2a1 Backends: Vulkan: moved structure declarations. ocornut 2024-01-03 16:17:39 +01:00
  • 33d18c580b Misc: During shutdown, check that io.BackendPlatformUserData and io.BackendRendererUserData are NULL. (#7175) ocornut 2024-01-03 14:56:21 +01:00
  • 0ea99132c8 Backends: Vulkan: Stop creating command pools with VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT as we don't reset them. ocornut 2024-01-03 14:11:40 +01:00
  • 4778560e66 Backends: Vulkan: Added MinAllocationSize field in ImGui_ImplVulkan_InitInfo to workaround zealous validation layer. (#7189, #4238) Tristan Gouge 2024-01-02 17:06:21 +01:00
  • e8dd47effa Backends: WebGPU: Fixing an issue when opening a popup in the wgpu backend (#7191) Axel Paris 2024-01-03 11:25:19 +01:00
  • 718fa0eec6 Happy new year! ocornut 2024-01-02 22:03:36 +01:00
  • 2523c197bc Fixed title bar background alpha being used to render viewport-owned windows. (#7184, #7181) David Maas 2023-12-30 17:45:25 -06:00
  • 240ab5890b Backends: GLFW, Input: Use Unicode version of WndProc for get correct input for text in utf-8 code page. (#7174) kida22 2023-12-28 04:17:28 +00:00
  • 4a2426449a Drags, Sliders, Inputs: removed all attempts to filter non-numerical characters during text editing. (#6810, #7096) ocornut 2023-12-22 19:51:49 +01:00
  • 20e1caec85 Backends: DX12: Changed swapchain scaling mode to DXGI_SCALING_NONE. (#7152, #7153) Kai Wang 2023-12-20 17:34:37 +08:00
  • f039e69b9c Settings: Fixed an issue marking settings as dirty when merely clicking on a border or resize grip without moving it. ocornut 2023-12-21 14:08:27 +01:00
  • 4aa81116a5 Merge branch 'master' into docking ocornut 2023-12-20 23:57:19 +01:00
  • 8340a30d27 Debug: move debug assertion in post-clip code to reduce overhead. (#4796 and more). ocornut 2023-12-20 16:06:59 +01:00
  • 1e1013085b Debug Tools: Debug Log: Hide its own clipper log to reduce noise in the output. ocornut 2023-12-20 15:46:26 +01:00
  • 036a6c875e ColorEdit4: Further tweaks for very small sizes. (#7120, #7121) ocornut 2023-12-20 11:06:22 +01:00
  • 0bd6489721 DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: fixed multi-components width in tight space (#7120, #7121) ocornut 2023-12-19 20:50:17 +01:00
  • 0000739c08 Internals: Fixed function name typo. ocornut 2023-12-19 20:32:09 +01:00
  • 33d426842d Backends: Vulkan: ImGui_ImplVulkan_CreateFontsTexture() calls vkQueueWaitIdle() instead of vkDeviceWaitIdle(). (#7148, #6943, #6715, #6327, #3743, #4618) ocornut 2023-12-19 18:25:02 +01:00
  • 3cb805489b Backends: GLFW, Emscripten: fixes for canvas resizing, amends. (#6751) ocornut 2023-12-19 15:57:00 +01:00
  • 22a7d241ff Backends: GLFW, Emscripten: fixes for canvas resizing. (#6751) Pello Rao 2023-12-19 15:52:44 +01:00
  • b4c5a83cfe Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. (#2625, #7143) ocornut 2023-12-19 13:52:40 +01:00
  • 70f2aaff43 Nav: tabbing happen within FocusScope. ImGuiWindowFlags_NavFlattened make window inherit focus scope from parent. ocornut 2023-12-14 17:24:47 +01:00
  • 55073aa7a3 Examples; SDL: added missing return values checks from SDL_CreateWindow() calls. (#7147) ocornut 2023-12-19 11:22:43 +01:00
  • 8764a1b7c4 Backends: Vulkan: free FontCommandBuffer explicitely (not actually required in normal code path, unless ImGui_ImplVulkan_DestroyDeviceObjects is declared directly). (#7104) ocornut 2023-12-19 10:51:11 +01:00
  • 089ed30323 Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter. (#7143) Kevin Coghlan 2023-12-18 23:30:49 +00:00