Commit Graph

  • a571933f8b Merge branch 'master' into docking ocornut 2022-11-09 15:59:26 +0100
  • b8b0f9d02e Backends: OpenGL3: Reverted use of glBufferSubData(). (#4468, #4504, #3381, #2981, #4825, #4832, #5127) ocornut 2022-11-09 15:57:54 +0100
  • f0ad810553 Inputs: tweak comments, typos. ocornut 2022-11-08 22:31:40 +0100
  • 4d5da74c79 Merge branch 'master' into docking ocornut 2022-11-08 20:44:04 +0100
  • 637ddfce09 Inputs, Nav: made it possible to remap CTRL+Tab (#4828, #3255, #5641) ocornut 2022-11-08 20:06:04 +0100
  • 6c9c4879d9 Inputs: made Shortcut() routing id defaults to current FocusScope ID. (#456, #2637, #3724) ocornut 2022-10-26 14:53:45 +0200
  • d576724bfd Inputs: made ImGuiInputFlags_RouteFocused the default for Shortcut(). (#456, #2637, #3724) ocornut 2022-11-03 19:21:25 +0100
  • 4d6a9ef93f Inputs: added routing priorities. (#456, #2637, #3724) ocornut 2022-10-19 18:53:53 +0200
  • 7ff2d3353c Inputs: added wip/experiment routing system: Shortcut(), RoutingFocused policy, SetShortcutRouting(). (#456, #2637, #3724) ocornut 2022-09-14 21:47:27 +0200
  • c59ebb2d71 Inputs: added basic Shortcut() function - no routing yet. (#456) ocornut 2022-07-05 14:48:55 +0200
  • 8c95c084cb Inputs: changed specs of SetKeyOwner() to alter OwnerCurr immediately. ocornut 2022-09-20 18:58:08 +0200
  • 4448d975d1 Inputs: added wip/internal Input Owner system. (#456, #2637, #2620, #2891, #3370, #4828, #5108, #5242, #5641) ocornut 2022-05-17 15:36:25 +0200
  • 5728f2e15f Fix build with IMGUI_DISABLE_DEBUG_TOOLS ocornut 2022-11-04 16:35:57 +0100
  • 44d98bfd6d Fix build with IMGUI_DISABLE_DEBUG_TOOLS ocornut 2022-11-04 16:35:57 +0100
  • 849c8052b7 Merge branch 'master' into docking ocornut 2022-11-04 16:26:15 +0100
  • 529cba19b0 Debug Tools: Added DebugLocateItem()/DebugLocateItemOnHover() to visually locate items when hovering a 0xXXXXXXXX value. (#5855, #2673, #4631) ocornut 2022-10-24 22:53:43 +0200
  • 7109f32f96 Internals: tidying up and stripping more of focus scope code. ocornut 2022-11-03 16:25:15 +0100
  • 9f66a3a9ed Internals: rework FocusScope system, current scope doesn't need to be in window + child doesn't inherit. ocornut 2022-10-19 20:54:19 +0200
  • 1eac0024c0 InputText: copy and select all shortcuts don't need repeat (tho it was harmless0 ocornut 2022-11-03 18:23:42 +0100
  • 90e9465fa5 Window: Fixed position not being clamped while auto-resizing (#5843) ocornut 2022-11-02 12:36:41 +0100
  • 6e9dfe1de1 Window: Auto-fit size takes account of work rectangle (menu bars eating from viewport). (#5843) ocornut 2022-11-02 12:36:22 +0100
  • 86f2af2bc7 Backends: OSX: Fixed mouse coordinate before clicking on the host window. (#5842) Akira Maezawa 2022-11-02 01:52:20 +0900
  • ced92d9c52 Inputs, Viewports: fix UpdateViewportsNewFrame() running before UpdateInputEvents(), leading to MouseViewport lagging by a frame on transitions. (#5837, #4921) cfillion 2022-10-29 20:19:47 -0400
  • c2694ef75e Examples: Android: Using LoadIniSettingsFromMemory() / SaveIniSettingsToMemory() to save in appropriate location for Android. (#5836) Rewtio 2022-10-30 05:09:13 +0700
  • 22bcfca700 IO: Clear AppFocusLost in EndFrame() in order to allow backend or application code to poll and react to it ocornut 2022-10-28 20:01:20 +0200
  • a241dc7990 IO: Fixed AddFocusEvent(false) to also clear MouseDown[] state. (#4921) ocornut 2022-10-27 20:17:19 +0200
  • a61bbdc239 Commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. ocornut 2022-10-26 22:22:53 +0200
  • 9db6b1a0d9 Backends: Win32: minor tidying up. (#5819) Teselka 2022-10-25 13:39:27 +0300
  • baea25e657 Drag and Drop: extracted a RenderDragDropTargetRect() function (#1603) ocornut 2022-10-25 15:07:00 +0200
  • 375ae5dce4 Merge branch 'master' into docking (incl glfw use of GLFW_VERSION_COMBINED) ocornut 2022-10-24 22:58:25 +0200
  • 431fc6a7f6 Internals: using ItemAdd() consistently for internal items: windows & tables resize grips/borders, ScrollbarEx(). ocornut 2022-10-24 22:45:05 +0200
  • 178aee4b1c Debug Tools: Debug Log: add and use ImGuiTextLineIndex. ocornut 2022-10-21 18:55:47 +0200
  • 50c4234aca Docking: Further fixes for highlight of nested nodes. (#5702) ocornut 2022-10-24 20:25:27 +0200
  • 5370b46c4e Docking: Made spacing between dock nodes not a dropping gap. ocornut 2022-10-24 19:37:29 +0200
  • 578df14f27 CI: Remove left-over discord stuff. ocornut 2022-10-24 12:02:06 +0200
  • f6bd7c8e53 Debug Tools: Item Picker: remove IMGUI_DEBUG_TOOL_ITEM_PICKER_EX since it doesn't work on non-ItemHoverable() items anyway. (#2673) ocornut 2022-10-21 18:03:46 +0200
  • bc918404fe Internals: using ImToUpper() since std one does too many things. ocornut 2022-10-21 16:13:52 +0200
  • 9a35bfea39 Internals: added temporary ImGuiItemStatusFlags_Visible (used internally - please do not use). ocornut 2022-10-19 16:52:23 +0200
  • de1593d5c0
    Backends: DX12: Fixed stale comments. (#5798) David 2022-10-20 01:25:00 -0500
  • e3fa56ae05 BeginMenu(): Menus: Fixed a one-frame issue where SetNextWindowXXX data are not consumed by a BeginMenu(). ocornut 2022-10-19 12:07:56 +0200
  • 5ac94ad898 Window: Fixed an issue where uncollapsed a window would show a scrollbar for a frame. ocornut 2022-10-18 16:29:35 +0200
  • ab6e48b833 Backends: GLFW: Perform a dummy glfwGetError() read to cancel missing mouse cursors errors. (#5785) ocornut 2022-10-18 12:17:59 +0200
  • f87e891f18 Merge branch 'master' into docking ocornut 2022-10-14 18:50:40 +0200
  • 08752b372e Menus, Popups: Experimental fix for issue where clicking on an open BeginMenu() item called from a window which is neither a popup neither a menu used to incorrectly close and reopen the menu. (#5775) ocornut 2022-10-14 18:43:04 +0200
  • 81176737f8 Menus: Fixed using IsItemHovered()/IsItemClicked() on BeginMenu(). (#5775) ocornut 2022-10-14 17:39:04 +0200
  • 3920b1c764 Removed commented out old flags from when Tables was a branch. ocornut 2022-10-12 23:35:53 +0200
  • b15347cb7d Tables: activating an ID (e.g. clicking button inside) column doesn't prevent columns output flags from having ImGuiTableColumnFlags_IsHovered set. (#2957) ocornut 2022-10-13 15:15:42 +0200
  • 3e8d198133 Removed runtime patching of obsolete/invalid "%f"/"%.0f" types of format strings for DragInt()/SliderInt(). ocornut 2022-10-12 23:07:15 +0200
  • 5196bd15e9
    Docs: Update outdated code sample (#5766) thedemons 2022-10-11 22:45:27 +0700
  • edf522b58a Merge branch 'master' into docking + amends change to nullptr (#5760) ocornut 2022-10-11 15:59:23 +0200
  • c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ocornut 2022-10-11 12:22:29 +0200
  • 8a44c31c95 Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor (#2604, #3795, #4559) ocornut 2022-10-06 14:42:22 +0200
  • dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) ocornut 2022-10-06 14:27:27 +0200
  • cb04326b46 Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. [changes for docking] (#5745) ocornut 2022-10-04 18:00:42 +0200
  • 85a368b58d Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. (#5745) ocornut 2022-10-04 18:00:42 +0200
  • c7d3d22ae1 Scrolling: Mitigated issue where multi-axis mouse-wheel inputs (usually from touch pad events) are incorrectly locking scrolling in a parent window. (#4559, #3795, #2604) ocornut 2022-10-04 15:39:55 +0200
  • 80a870a3e5 Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again (#2604) + small refactor ocornut 2022-09-28 12:08:40 +0200
  • 282b2b5afb Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. (#914, #5738). ocornut 2022-10-04 12:30:45 +0200
  • a588f00f7b Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. (#914, #5738). ocornut 2022-10-04 12:02:48 +0200
  • fb0b9c7160 Docking: Fixed missing highlight when using dock node host window borders. (#5702) ocornut 2022-10-03 14:55:22 +0200
  • 5884219867 imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. (#5731) cfillion 2022-09-28 23:37:39 -0400
  • f2a522d70d ImDrawList: Not using alloca() anymore, lift single polygon size limits. (#5704, #1811) ocornut 2022-09-30 15:43:27 +0200
  • 69beaa1d0b Viewports: Fix AddMouseViewportEvent() to honor AppAcceptingEvents, filter duplicate, add to debug log. ocornut 2022-09-29 20:00:29 +0200
  • d91211f9f2 Merge branch 'master' into docking ocornut 2022-09-29 22:02:23 +0200
  • cc5058e5d7 IO: Filter duplicate input events during the AddXXX() calls. (#5599, #4921) ocornut 2022-09-29 21:59:32 +0200
  • fac8295d6e IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of 839c3100), will filter earlier in next commit. (#5599) ocornut 2022-09-29 21:31:36 +0200
  • 9e7f460c09 Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer. (#4921, #456) ocornut 2022-09-29 20:42:45 +0200
  • 0749453355 Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. (#5730) ocornut 2022-09-29 19:51:54 +0200
  • 9f6aae3bf2 Nav: Fixed race condition pressing Esc during popup opening frame causing crash. ocornut 2022-09-29 19:48:27 +0200
  • bd2355a047 Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). (#1207) ocornut 2022-09-29 19:25:26 +0200
  • 3532ed1621 Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. (#5730) ocornut 2022-09-29 18:07:35 +0200
  • d5d705069d Various comments ocornut 2022-09-29 17:26:52 +0200
  • e74a50f525 Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. (#5676, #5727) Andrew D. Zonenberg 2022-09-28 08:19:34 -0700
  • d17627b9c6 InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. (#5724) ocornut 2022-09-28 17:38:41 +0200
  • 0a7054c7e4 Backends: Win32: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). (#5725, #1807, #471, #2815, #1060) ocornut 2022-09-28 17:00:45 +0200
  • a229a7f39f Examples: Win32: Always use RegisterClassW() to ensure windows are Unicode. (#5725) ocornut 2022-09-28 16:57:09 +0200
  • e0330c1696 Fonts, Text: Fixed wrapped-text not doing a fast-forward on lines above the clipping region. (#5720) ocornut 2022-09-28 14:54:38 +0200
  • 4d4889bf1b Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code. ocornut 2022-09-28 12:42:06 +0200
  • 5c4426c5b8 Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. (#5721) ocornut 2022-09-28 12:22:34 +0200
  • 12c0246890 Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255) ocornut 2022-09-28 12:07:43 +0200
  • 73efcec564 Examples: disable GL related warnings on Mac + amend to ignore list. ocornut 2022-09-27 22:21:47 +0200
  • a725db17b7 Comments for flags discoverability + add to debug log (#3795, #4559) ocornut 2022-09-27 18:47:20 +0200
  • 11f5be0caf Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. (#4468, #4825, #4832, #5127, #5655, #5709) ocornut 2022-09-14 15:46:27 +0200
  • 325299f942 Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. (#4468, #4825, #4832, #5127, #5655, #5709) ocornut 2022-09-14 15:46:27 +0200
  • 56c3eaed20 ImDrawList: asserting on incorrect value for CurveTessellationTol (#5713) ocornut 2022-09-27 14:24:21 +0200
  • 04316bd223 ColorEdit3: fixed id collision leading to an assertion. (#5707) ocornut 2022-09-26 16:32:09 +0200
  • 8f434874c0 Docking: Fixed incorrect focus highlight on docking node when focusing a menu. (#5702) ocornut 2022-09-26 15:24:44 +0200
  • 6fd2ee9416 Merge branch 'master' into docking ocornut 2022-09-26 14:57:34 +0200
  • c261dac02f Demo: moved ShowUserGuide() lower in the file, to make main demo entry point more visible + fix using IMGUI_DEBUG_LOG() macros in if/else. ocornut 2022-09-26 14:50:46 +0200
  • 51bbc70652 Backends: SDL: Disable SDL 2.0.22 new "auto capture" which prevents drag and drop across windows, and don't capture mouse when drag and dropping. (#5710) ocornut 2022-09-26 14:44:26 +0200
  • 7a9045dd77 Backends: WGPU: removed Emscripten version check (currently failing on CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays) ocornut 2022-09-26 11:55:07 +0200
  • 1dc7d0e633 Merge branch 'master' into docking ocornut 2022-09-26 11:08:49 +0200
  • 83a0030c0a Added ImGuiMod_Shortcut which is ImGuiMod_Super on Mac and ImGuiMod_Ctrl otherwise. (#456) ocornut 2022-09-26 10:33:44 +0200
  • fd408c9790 Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. (#4921, #456) ocornut 2022-09-22 18:58:33 +0200
  • f359dca0dc Misc input related changes to facilitate upcoming merges. ocornut 2022-09-22 18:42:00 +0200
  • 85f327d8d3 InputText: added ImGuiInputTextFlags_EscapeClearsAll (#5688) ocornut 2022-09-20 15:57:58 +0200
  • 60ab8a94a7 InputText: fixed minor one-frame selection glitch when reverting with Escape + disable cursor rendering on revert frame. (#3008) ocornut 2022-09-20 15:34:05 +0200
  • 4b522e145c Experiment: ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. (#4921, #4537) ocornut 2022-09-20 12:23:37 +0200
  • 5c8041b4d7 Update gif in README + font names in examples ocornut 2022-09-19 17:45:05 +0200
  • 2736af6b61 Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks. ocornut 2022-09-19 15:59:42 +0200