Commit Graph

  • 27343efb0b Nav, Focus: Changed SetKeyboardFocusHere() to not behave if a drag or window moving is in progress + move KeepAliveID() call from Scrollbar() to ScrollbarEx() ocornut 2022-06-15 14:55:45 +0200
  • ddcff10343 Settings: Fixed some SetNextWindowPos/SetNextWindowSize API calls not marking settings as dirty. ocornut 2022-06-15 14:30:20 +0200
  • 6cac48df32 Drag, Slider: rework slightly or CTRL+Click or SetKeyboardFocusHere() will show 1 change of active id in the log (rather than a set,clear,set sequence) ocornut 2022-06-15 11:51:19 +0200
  • dd28500835 Debug: Add more log. Reworked IMGUI_DEBUG_PRINT IMGUI_DEBUG_PRINTF. Added internal IsDragDropActive() helper. ocornut 2022-06-14 19:06:44 +0200
  • 2ed9e21eba Nav, Internals: wrap changes to g.NavWindow into a helper function to help track/log changes. ocornut 2022-06-13 17:15:27 +0200
  • 1d6e34f3f9 Debug: Added ShowDebugLogWindow(). ocornut 2022-06-13 14:46:55 +0200
  • ec2c805e48
    Backends: support for unity builds for dx10/dx11/dx12 backends (#5387) Jack Knobel 2022-06-11 20:52:27 +1000
  • 076d8fc868 Nav: Fixed issues with nav request being transferred to another window when calling SetKeyboardFocusHere() and simultaneous changing window focus. (#4449) ocornut 2022-06-10 19:25:53 +0200
  • 0b1bcfcc20 Menus: Separate menu sets by nav layer. (#3496, #4797) + Demo: Remove incorrect and useless suggestion to use PushID(). Rokas Kupstys 2022-06-08 12:34:35 +0300
  • a35e876978 InputText: Amends and tidying up: Fixed undo/redo state corruption when editing buffer in user callback. (#4947, #4949) ocornut 2022-06-07 17:28:31 +0200
  • 530332dfbc InputText: Fixed undo/redo state corruption when editing buffer in user callback. (#4947, #4949) Joshua Webb 2022-01-27 22:02:24 +1100
  • 23a785aeb3 Internals: wrapped used of g.TempBuffer into ImFormatStringToTempBuffer/ImFormatStringToTempBufferV helpers. ocornut 2022-06-07 19:16:00 +0200
  • 64d6c30562 InputText: Fixed an undo-state corruption issue when editing buffer before reactivating item. (#4947) + Metrics: Added "InputText" section. ocornut 2022-06-07 15:24:52 +0200
  • 74f02703e6 Misc comments + Demo: use IsItemVisible() when using direct ImDrawList calls. ocornut 2022-06-07 11:38:43 +0200
  • 65c4c0a490 IO: Added SetAppAcceptingEvents() function (#4921, #4858) ocornut 2022-06-02 16:55:13 +0200
  • 17b8c3b6ea
    Demo: Removed redundant window flag (#5367) JJCUBER 2022-06-02 08:32:43 -0400
  • 7354009a73 Backends: Metal: Fixed null dereference inside command buffer completion handler. (#5363, #5365) Warren Moore 2022-05-31 15:06:42 -0700
  • 74f7ac04a1 Misc: Fix font compressor utility warnings. (#5359) Rokas Kupstys 2022-05-31 12:25:28 +0300
  • f58bd817e2 Tables: Fix drawcall merging of last column. (#4843, #4844) Rokas Kupstys 2022-05-31 14:37:57 +0300
  • e23c5edd5f Settings: Fixed out-of-bounds read when .ini file on disk is empty. (#5351) Quantum 2022-05-27 01:27:25 -0400
  • 697ce2d67b InputText: Fixed a one-frame display glitch where pressing Escape to revert after a deletion would lead to small garbage being displayed for one frame. (#3008) ocornut 2022-05-25 18:39:00 +0200
  • 5139fb7e18
    Docs: Add index omar 2022-05-23 14:47:04 +0200
  • ae2fb557f3 Docs: Update templates with link to Contributing guidelines. Add numerical version number in demo. Moved. (#5337) ocornut 2022-05-23 14:29:34 +0200
  • 814ecedd1e
    Docs: creates CONTRIBUTING.md (#5337) omar 2022-05-23 14:25:31 +0200
  • e5b2286ca8 Backends: OpenGL3: Fix apple TARGET_OS_* not defined warning. (#5321) xiaozhuai, Weihang Ding 2022-05-18 16:52:40 +0800
  • ca222d30c8 Backends: OpenGL: Partially revert 1.86 change of using glBufferSubData(): now only done on Intel GPUs. (#4468, #3381, #2981, #4825, #4832, #5127) ocornut 2022-05-23 12:44:34 +0200
  • 7bf07d2526 Renamed CaptureMouseFromApp() and CaptureKeyboardFromApp() to SetNextFrameWantCaptureMouse() and SetNextFrameWantCaptureKeyboard(). Added demo. (#5304, #4831, #4480, #533) ocornut 2022-05-23 11:22:46 +0200
  • cb56b0b238 Removed leftover KeepAliveID() call in GetIDWithSeed() variant. (#5181) + doc tweaks. ocornut 2022-05-23 10:51:01 +0200
  • e346059eef IO: Fixed input queue trickling of mouse wheel events. (#4921, #4821) ocornut 2022-05-18 14:16:02 +0200
  • 60bea052a9 Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. (amends) ocornut 2022-05-13 18:04:06 +0200
  • b7686a88e9 Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. Rokas Kupstys 2021-08-30 13:59:43 +0300
  • 507a87354b DrawList: Circles disappear when using a radius < 0.5f (#3491) thedmd 2022-05-13 17:20:37 +0200
  • 9e0517a134 DrawList: Fixed divide-by-zero or glitches with Radius/Rounding values close to zero. (#5249, #5293, #3491) ocornut 2022-05-13 17:18:06 +0200
  • 9779cc2fe2 Internals: shallow changes to simplify diff of upcoming commits. Should have no side-effect. ocornut 2022-05-05 17:08:20 +0200
  • 4db55f88e8
    Changed FONT.md edit to blob (#5290) BttrDrgn 2022-05-06 02:47:18 -0500
  • d768b8c812 Backends: Metal: Align code more closely with other backends. OSX: Add missing return for mouse pos events. rokups 2022-05-04 16:29:07 +0300
  • 55f8989392 Docs update, binaries link + Backend: Allegro: fix warning (#5281) ocornut 2022-05-04 15:00:41 +0200
  • 6d27fecce1 Debug: added DebugTextEncoding() to help diagnose between text encoding issues and font loading issues. Simplified code + extracted DebugNodeFontGlyph(). ocornut 2022-05-03 14:46:19 +0200
  • e668890837 Debug: added encoding viewer in Metrics. Adrien LPN 2021-06-17 19:58:50 +0200
  • e66fc22057 Backends: OSX: Removed ImGui_ImplOSX_HandleEvent() from backend API. Move event tracking (desktop only) to OSX backend. (#4821) stuartcarnie 2022-04-27 16:51:01 +0300
  • 26f817807c Backends: Vulkan: Don't use VK_PRESENT_MODE_MAX_ENUM_KHR as specs state it isn't part of the API. (#5254) ocornut 2022-05-03 12:51:51 +0200
  • d58b8414b9 Backends: OSX, Metal: Tweaks. Use preferred method of obtaining a timestamp. (#4821) stuartcarnie 2022-04-27 16:33:14 +0300
  • 3e5dde9a26 Tables: Fixed incorrect auto-fit of parent windows when using non-resizable weighted columns. (#5276) ocornut 2022-05-02 16:32:17 +0200
  • 709bc03d6f Backends: GLFW: fixed ImGui_ImplGlfw_TranslateUntranslatedKey() for lower case letters on OSX (#5260, #5261) cpichard 2022-04-30 08:21:04 +0100
  • 314c7bd12f Internals: renamed ImGuiInputReadMode to ImGuiNavReadMode (internals) to avoid ambiguity with upcoming flags. + minor tweak ocornut 2022-04-12 15:46:27 +0200
  • e54db4ee70 Backends: OSX, Metal: Store backend data in a per-context struct, allowing to use these backends with multiple contexts. (#5203, #5221, #4141) noisewuwei 2022-04-20 21:31:44 +0800
  • 04689979b4 Examples: Emscripten+WebGPU: Fix for latest spec rename of WGPURenderPassColorAttachment::clearColor to ::clearValue (#3632) ocornut 2022-04-22 20:38:59 +0200
  • b5b704d376 Windows: Fixed first-time windows appearing in negative coordinates. (#5215, #3414) Dima Koltun 2022-04-22 20:20:40 +0200
  • 5b29d14783 Layout: Fixed mixing up SameLine() and SetCursorPos() together. SameLine() is a stateful. ocornut 2022-04-22 17:15:09 +0200
  • eda7792b15 Internals: swapped blocks in TextEx() to make it easier to step through common cases. Tweak demo. ocornut 2022-04-14 15:09:56 +0200
  • 28b2089ee4 Internals: moved ItemSize() variant to inline + comment. + Tidying up todo list (#5191) ocornut 2022-04-13 21:26:05 +0200
  • 14ca75d4e7 Backends: SDL, OpenGL3: Small fixes for AmigaOS4. (#5190) + Allow redefining IM_COL32_XXX layout macros. (#5190, #767, #844) Andrea Palmatè 2022-04-13 20:38:45 +0200
  • 088487a3d4 Nav: Fixed nav movement in a scope with only one disabled item from focusing the disabled item. (#5189) ocornut 2022-04-13 12:34:13 +0200
  • fc203c7d76 Minor fix to sastisfy PVS-Studio warning. (amend, 3nd attempt: this is a false positive from PVS studio) ocornut 2022-04-12 15:19:16 +0200
  • 6d15a506fa Internals: removed GetIDNoKeepAlive() now that it is the same as GetID(). (#5181) ocornut 2022-04-12 14:49:21 +0200
  • 90386780e3 Misc: Fixed calling GetID("label") _before_ a widget emitting this item inside a group (such as InputInt()) from causing an assertion when closing the group. (#5181). ocornut 2022-04-12 14:44:57 +0200
  • 937d073328 Updated comment about Edit.NavigateTo to Edit.GoToAll. (#5179) David Maas 2022-04-08 11:48:59 -0500
  • f7f30476d5 Added comments about requirement for bilinear filtering. (#5156, #3245) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). (#4927) ocornut 2022-04-07 14:28:08 +0200
  • 2c03aac6d3 Renamed ImGuiKeyModFlags to ImGuiModFlags (Breaking but technically never advertised type) ocornut 2022-04-05 15:42:19 +0200
  • a472e8834b InputScalar: Automatically allow hexadecimal/scientific input when format is adequate. ocornut 2022-04-05 15:13:37 +0200
  • c521883be4 Sliders, Drags: Fixed manual input when using hexadecimal display format string. (#5165, #3133) ocornut 2022-04-04 18:20:04 +0200
  • 508c9aaf60 Sliders, Drags: Fixed using hexadecimal display format strings (pretty much never worked). (#5165, #3133) ocornut 2022-04-04 14:20:26 +0200
  • f5c5926fb9 Internals: remove obsolete variants of RenderArrow(), RenderBullet(), ImHash() + misc comments. ocornut 2022-03-29 14:49:18 +0200
  • 88fbc31ee0 stb_truetype: fix a division by zero (unused chain of result, but triggering debuggers). (#5139, #5075) ocornut 2022-03-29 14:23:30 +0200
  • 2747a8ca40 Turned ImVec2 to const ref to RenderChar(), RenderText(), ColorButton(), PushClipRect(). for consistency. Comments about polygon filling winding order. ocornut 2022-03-29 11:46:30 +0200
  • 0dec430707 Menus: Adjusted BeginMenu() closing logic so hovering void or non-MenuItem() in parent window always lead to menu closure. ocornut 2022-03-28 11:14:07 +0200
  • 2d76b09d2e
    Backends: Metal: Conditional check, amend 7602277 (#5122, #5123) whale02 2022-03-28 09:58:27 +0100
  • 1ba2905017 Update README, quote, mission statement ocornut 2022-03-25 15:40:29 +0100
  • 3587ee492b Viewports: store Viewport field in ImGuiWindow to facilitate using code accross branches + fix PVS warnings. ocornut 2022-03-25 12:36:52 +0100
  • dfbe938e54 InputText: Fixed pressing Tab emitting two tabs characters. (#2467, #1336) ocornut 2022-03-24 12:04:49 +0100
  • 16ddc1698d Fixed creating multiple-context (regression in 28ba54a). (#5135) ocornut 2022-03-24 10:57:28 +0100
  • 1ad8ad623e Backends: GLFW: Fixed keyboard modifiers events being reported incorrectly on Linux/X11. Rokas Kupstys 2022-03-23 15:01:57 +0200
  • 7d7bf993bb ImDrawList: Fix texture-based anti-aliasing with RGBA textures (#5132, #3245) cfillion 2022-03-22 20:24:38 -0400
  • 3c07879504 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128) thedmd 2022-03-22 18:45:27 +0100
  • c5f67218bf Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (v2 for master, using bd->MouseButtonsDown == 0) (#5012, #5082) Rokas Kupstys 2022-02-25 17:18:40 +0100
  • 7602277c86 Backends: Metal: Remove weak ref (#5122, #5123) Wvader 2022-03-19 16:33:56 +0000
  • 31e77eacdb Backends: SDL: Add extra mouse buttons handling (#5125) Sergiu Giurgiu 2022-03-19 19:13:31 -0400
  • 6fae29679a Examples: Emscripten: Fix build. (#3632) ocornut 2022-03-15 18:32:49 +0700
  • a02d500990 RangeSelect/MultiSelect: Temporary fix/work-around for child/popup to not inherit MultiSelectEnabled flag, until we make mulit-select data stackable. features/range_select ocornut 2020-08-20 20:46:57 +0200
  • a7977d1e8b RangeSelect/MultiSelect: Fix testing key mods from after the nav request (remove need to hold the mod longer) omar 2020-04-02 16:46:53 +0200
  • 910d83951d RangeSelect/MultiSelect: Fix Selectable() ambiguous return value, clarify need to use IsItemToggledSelection(). omar 2020-04-01 20:34:30 +0200
  • f68e03d92e RangeSelect/MultiSelect: Comments. Tweak demo. omar 2020-04-01 20:14:51 +0200
  • 4c376cb3e5 RangeSelect/MultiSelect: Fixed CTRL+A not testing focus scope id. Fixed CTRL+A not testing active id. Added demo code. omar 2020-03-20 12:34:52 +0100
  • 304270a99a RangeSelect/MultiSelect: Fix for TreeNode following merge of 011d4755. Demo: basic test for tree nodes. ocornut 2020-03-11 21:57:18 +0100
  • dd52a2854c RangeSelect/MultiSelect: Transition to use FocusScope bits merged in master. omar 2020-01-13 15:05:53 +0100
  • abfa8487eb RangeSelect/MultiSelect: Renamed SetNextItemMultiSelectData() to SetNextItemSelectionData() omar 2020-01-14 16:18:55 +0100
  • 72da877c4c RangeSelect/MultiSelect: Demo sharing selection helper code. Fixed static analyzer warnings. omar 2019-12-21 23:21:23 +0100
  • 0d73bf3755 RangeSelect/MultiSelect: Added IMGUI_HAS_MULTI_SELECT define. Fixed right-click toggling selection without clearing active id, could lead to MarkItemEdited() asserting. Fixed demo. omar 2019-04-15 19:13:36 +0200
  • 9b925d51bb RangeSelect/MultiSelect: Fix so that shift+arrow when landing on an item that doesn't hold multi-select data doesn't trigger an unbounded range-select that ends up selecting everything until the end. omar 2019-04-10 15:24:49 +0200
  • 1b069b5d32 RangeSelect/MultiSelect: Removed SelectableSpacing as I'm not sure it is of use for now (history insert) ocornut 2020-12-09 19:36:04 +0100
  • 0d535afb41 RangeSelect/MultiSelect: WIP range-select (ref 1861) [rebased] omar 2019-02-01 12:22:57 +0100
  • 28ba54a32a Internals: add AddSettingsHandler(), RemoveSettingsHandler(). ocornut 2022-03-14 10:23:30 +0700
  • fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) ocornut 2022-03-13 13:15:32 +0700
  • 0cff5ac5a1 Updated stb_textedit.h from 1.20 to 1.26 (many fixes). (#5075) ocornut 2022-03-13 17:49:37 +0700
  • de451d4474 Updated stb_textedit.h from 1.13 to 1.14. (#5075) ocornut 2022-03-13 13:02:56 +0700
  • 279db55840 Updated stb_rect_pack.h from 1.00 to 1.01. (#5075) ocornut 2022-03-13 12:58:40 +0700
  • 3deb92c2c5 Add IMGUI_STB_SPRINTF_FILENAME to support custom stb_printf.h include path (#5068, #2954) jakubtomsu 2022-03-13 12:47:14 +0700
  • 0f14933577 Tables: Fixed incorrect border height used for logic when resizing one of several synchronized instance of a same table ID, when instances have a different height. (#3955, #3565) ocornut 2022-03-01 18:45:41 +0100
  • 6315716f23 Backends: Glut: Fix comparison operator precedence. Rokas Kupstys 2022-02-19 10:22:24 +0200
  • 1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061) ocornut 2022-02-28 20:50:58 +0100