Commit Graph

  • 7f4b477d2e CI: Update ubuntu version (#5598) Adam Essemaali 2022-08-22 08:54:08 +02:00
  • cdebd70e15 Fix PVS-Studio static analyzer warning for "buffer underflow" ocornut 2022-08-20 23:01:58 +02:00
  • 5b0510c5b7 TestEngine: facilitate aiming at InputScalar() using wildcards + removed unnecessary IDStack.size hack (require TestEngine latest) ocornut 2022-08-20 22:55:51 +02:00
  • ef6ba0d846 Misc: allowing override of IM_TABSIZE (#5593) ocornut 2022-08-20 19:54:57 +02:00
  • 268565079c InputText: numerical fields automatically accept full-width characters (U+FF01..U+FF5E) by converting them to half-width (U+0021..U+007E). ocornut 2022-08-08 17:06:11 +02:00
  • 8cbd391f09 Docking: Add source dock node parameter DockContextCalcDropPosForDocking() to facilitate test engine (un)docking nodes before they are split out to their own window. Metrics: Display dock_node->Windows in node metrics. Rokas Kupstys 2022-08-08 16:05:25 +03:00
  • a396233cb6 Platform IME: Windows: Revert 133bbafa and 29a8ee08 as regression until new results comes. (#2589, #5535, #5264, #4972) ocornut 2022-08-08 12:42:57 +02:00
  • 839c31006b Debug Log: Added IO events logging. ocornut 2022-08-08 11:58:57 +02:00
  • 133bbafa3c Platform IME: Windows: Fixed a call to ImmAssociateContextEx() leading to freeze on some setups. (#2589, #5535, #5264, #4972) ocornut 2022-08-05 20:26:51 +02:00
  • ff1567e240 Docking: Simplify logic of moving tabs between nodes. Amends 0abe7d. (#5515) Rokas Kupstys 2022-08-05 12:49:31 +03:00
  • c911901b5e Fix ImGuiIO docs and default values (#5540) Vlad Serebrennikov 2022-08-03 23:46:31 +03:00
  • e9f50fb87c Merge branch 'master' into docking ocornut 2022-08-03 22:04:03 +02:00
  • 0a4ddd7246 Fix being unable to mouse wheel while dragging a payload (fix 1480bc5, #4921, #2891) ocornut 2022-08-03 22:01:48 +02:00
  • 4a2ae06ca4 Changed signature of ImageButton() function: Added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. (#5533, #4471, #2464, #1390). ocornut 2022-08-03 21:04:33 +02:00
  • f573ebf31a Docking+Viewports: Fix undocking window node causing parent viewport to become unresponsive. (#5503) Rokas Kupstys 2022-07-26 12:35:44 +03:00
  • b12e056c21 Docking: Fixed amending into an existing tab bar from rendering invisible items. (#5515, amend b16f738d #2700, #2539) ocornut 2022-08-03 17:00:59 +02:00
  • 0abe7d1cc5 Docking: Fixed splitting/docking into a node that has buttons amended into tab bar. Windows were not moved correctly. (#5515) ocornut 2022-08-03 16:11:39 +02:00
  • e21f462f6f Merge branch 'master' into docking ocornut 2022-08-03 15:29:04 +02:00
  • 28a123ca47 Internals: Docking: make DockContextFindNodeByID() more visible (instead of DockBuilderGetNode) ocornut 2022-08-03 14:37:35 +02:00
  • 0e95cf0dec Fix appending to windows causing a child window to be inserted to g.WindowsFocusOrder which eventually causes a crash. (#5515, #3496, #4797) Rokas Kupstys 2022-08-02 13:58:50 +03:00
  • e926a664d5 TabBar: Allow closing entire TabBar (possible docking only) when it contains user-appended buttons. (#5515) Rokas Kupstys 2022-08-01 16:39:38 +03:00
  • e99c4fc668 Nav: fixes keyboard/gamepad nav actions running without the corresponding config flags (#5504). Fixes 8b8a61b. #4921, #4858, #787, #1599, #323) ocornut 2022-07-25 17:16:01 +02:00
  • 2d38bc99b3 Internals: renamed recently added ImGuiInputReadFlags to ImGuiInputFlags. (Amend 8b8a61b) ocornut 2022-07-22 16:56:02 +02:00
  • cb8ead1f71 Docking: Fix docked window contents not rendering when switching with CTRL+Tab. Rokas Kupstys 2022-07-12 16:21:44 +03:00
  • 6ab5fd1da9 Tables,Columns: fixed a layout issue where SameLine() prior to a row change would set the next row in such state where subsequent SameLine() would move back to previous row. ocornut 2022-07-18 17:40:52 +02:00
  • 77637fd936 Docking, Nav: Fixed using gamepad/keyboard navigation not being able enter menu layer (#5463, #4792) ocornut 2022-07-12 10:51:14 +02:00
  • 8731cc2914 Examples: Vulkan: Add c++ version to CMakeLists (#5459) Shriram Ravindranathan 2022-07-10 21:52:46 +05:30
  • 1480bc5d4e Added ImGuiKey_MouseXXX aliases. (#4921) Reworked SetItemUsingMouseWheel() to use this for ActiveId. (#2891) ocornut 2022-07-08 18:32:25 +02:00
  • 105bb3ef8a Legacy: clear g.ActiveIdUsingNavInputMask when active id is clear + Internals: added helpers GetKeyChordName(), ImGuiModFlags_All. ocornut 2022-07-08 17:44:19 +02:00
  • 21fc57f2cf Merge branch 'master' into docking ocornut 2022-07-08 16:06:47 +02:00
  • 8b8a61bdf9 Removed io.NavInputs[] and ImGuiNavInput enum. Kept inline redirection code. (#4921, #4858, #787, #1599, #323) ocornut 2022-07-08 16:02:07 +02:00
  • a7a25ee19d Tools: Item Picker: Mouse button can be changed by holding Ctrl+Shift. (#2673) ocornut 2022-07-07 14:12:15 +02:00
  • 92d0924b82 Fixed build with IMGUI_DISABLE_OBSOLETE_KEYIO + made all examples comments refer to StyleColorsLight(). ocornut 2022-07-06 20:58:20 +02:00
  • 4711b9b05a Add trailing commas to enum (to simplify the diff/patch of further additions) (#4537) ocornut 2022-07-06 20:39:39 +02:00
  • 90ef327882 Reordered keys representing directions to follow a consistent L/R/U/D order everywhere. (#2625, #4921, #3724) ocornut 2022-07-06 17:13:10 +02:00
  • f9ccdba352 Nav: Fix regression 93f02ee + Internals: Remove ImGuiNavReadMode_Pressed, ImGuiNavReadMode_Released. ocornut 2022-07-06 16:54:43 +02:00
  • 93f02ee0c6 Nav: Fixed moving window with gamepad or keyboard when running at very high framerate + removed ImGuiNavDirSourceFlags_RawKeyboard. ocornut 2022-07-06 16:06:31 +02:00
  • 82e10f1b61 Backends: Metal: Add dispatch synchronization. (#5447) luigifcruz 2022-07-02 14:24:25 -07:00
  • 0b2da67912 Internals: clarified that GetInputTextState(0) can not return a pointer. Replaced a use of __APPLE__ with io.ConfigMacOSXBehaviors. ocornut 2022-07-04 10:16:38 +02:00
  • 467a1cd4a5 Misc: io.Framerate moving average now converge in 60 frames instead of 120. (#5236, #4138) ocornut 2022-07-01 17:06:56 +02:00
  • ad5aa54166 Backends, Viewport: Metal: Pull format from shared context. (#5403, #5437) Stephen H. Gerstacker 2022-06-30 20:19:23 +02:00
  • 5d0deebba4 Merge branch 'master' into docking ocornut 2022-06-30 20:17:48 +02:00
  • 67410d53f7 Backends: Metal, OSX: Various fixes (ARC / Autorelease fixes with metal-cpp and extensions). (#5403) Stephen H. Gerstacker 2022-06-30 20:09:18 +02:00
  • 609b935a8c InputText: added experimental io.ConfigInputTextEnterKeepActive feature to make pressing Enter keep the input active and select all text. ocornut 2022-06-30 15:47:54 +02:00
  • 0afc6cd310 Internals: InputTextEx() renames for correctness. enter_pressed -> validated, is_validate_enter -> is_enter_pressed ocornut 2022-06-30 15:29:56 +02:00
  • 58eb40db76 Backends: GLFW: Fixed leftover static variable preventing from changing or reinitializing backend while application is running. (#4616, #5434) Runik 2022-06-29 15:46:13 +02:00
  • 873e9d35ac Internals: renamed TreeNodeBehaviorIsOpen() to TreeNodeUpdateNextOpen(). Added internal TreeNodeSetOpen(id). (#5423) ocornut 2022-06-28 16:11:31 +02:00
  • 24dfe6db8a Version 1.89 WIP ocornut 2022-06-27 16:55:55 +02:00
  • 088ddef98a Tables: extracted some code into TableBeginContextMenuPopup() for easier reuse for appending into context menu. ocornut 2022-06-08 23:47:22 +02:00
  • 9cd9c2eff9 Merge branch 'master' into docking ocornut 2022-06-21 18:28:33 +02:00
  • 9aae45eb4a Version 1.88 v1.88 ocornut 2022-06-21 17:38:27 +02:00
  • d51e5d2898 TabItem: revert support for SetNextItemOpen(true) at it creates too much ambiguity with p_open/close button vs Selected state. (#5262) ocornut 2022-06-21 17:20:06 +02:00
  • c4b9101759 TabBar: Tweak shrinking policy so that while resizing tabs that don't need shrinking keep their initial width more precisely. ocornut 2022-06-21 17:11:51 +02:00
  • 4b97296148 TabBar: TabItem() now reacts to SetNextItemWidth() and SetNextItemOpen(true). (#5262) ocornut 2022-06-21 16:20:01 +02:00
  • d3fd2630b7 Sliders: An initial click within the knob/grab doesn't shift its position. (#1946, #5328) + Adjust default GrabMinSize. ocornut 2022-06-20 18:06:34 +02:00
  • f27af1b20a Internals: SliderBehaviorT: Minor refactor, clearer 0.0/1.0 early out. Should be no-op from user's point of view. ocornut 2022-06-20 16:44:49 +02:00
  • 90e8404a77 Update README.md omar 2022-06-20 15:35:48 +02:00
  • 9764adc7bb Docking: Amend 24dfebf. Fixed incorrect focus highlight on docking node with nested hierarchies. ocornut 2022-06-17 17:11:23 +02:00
  • 37a07858a9 Nav: Fixed inability to cancel nav in modal popups. (#5400) Rokas Kupstys 2022-06-17 11:14:16 +03:00
  • 506717390f Docking, Modal: Fixed a crash when opening popup from a parent which is being docked on the same frame. (#5401) ocornut 2022-06-16 18:43:33 +02:00
  • 101aec95d9 Backends: SDL+GLFW, Examples: SDL+Metal, GLFW+Metal: Fix viewport support with Metal backend. rokups 2022-06-16 11:15:26 +03:00
  • 07efd7cc20 Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS. ocornut 2022-06-15 15:58:26 +02:00
  • e135cdbc24 Merge branch 'master' into docking + update for IMGUI_DEBUG_LOG calls. ocornut 2022-06-15 15:37:50 +02:00
  • 08572189f0 MovingWindow auto-cancelled if active id is stolen (instead of ill-defined bahavior + assert in docking). ocornut 2022-06-15 14:58:44 +02:00
  • 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 +02:00
  • ddcff10343 Settings: Fixed some SetNextWindowPos/SetNextWindowSize API calls not marking settings as dirty. ocornut 2022-06-15 14:30:20 +02:00
  • 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 +02:00
  • dd28500835 Debug: Add more log. Reworked IMGUI_DEBUG_PRINT IMGUI_DEBUG_PRINTF. Added internal IsDragDropActive() helper. ocornut 2022-06-14 19:06:44 +02:00
  • 24dfebf455 Docking: Fixed incorrect focus highlight on docking node when focusing empty central node or a child window which was manually injected into a dockspace window. ocornut 2022-06-13 20:12:41 +02:00
  • 2ed9e21eba Nav, Internals: wrap changes to g.NavWindow into a helper function to help track/log changes. ocornut 2022-06-13 17:15:27 +02:00
  • 1d6e34f3f9 Debug: Added ShowDebugLogWindow(). ocornut 2022-06-13 14:46:55 +02:00
  • ec2c805e48 Backends: support for unity builds for dx10/dx11/dx12 backends (#5387) Jack Knobel 2022-06-11 20:52:27 +10:00
  • e900ca355e Merge branch 'master' into docking ocornut 2022-06-10 19:29:17 +02:00
  • 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 +02:00
  • 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 +03:00
  • 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 +02:00
  • 530332dfbc InputText: Fixed undo/redo state corruption when editing buffer in user callback. (#4947, #4949) Joshua Webb 2022-01-27 22:02:24 +11:00
  • 23a785aeb3 Internals: wrapped used of g.TempBuffer into ImFormatStringToTempBuffer/ImFormatStringToTempBufferV helpers. ocornut 2022-06-07 19:16:00 +02:00
  • 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 +02:00
  • 74f02703e6 Misc comments + Demo: use IsItemVisible() when using direct ImDrawList calls. ocornut 2022-06-07 11:38:43 +02:00
  • 4789c7e485 Misc: Fix custom assertion macro failing to compile imgui.cpp (#5378) Andrej Redeky 2022-06-05 13:34:10 +02:00
  • 65c4c0a490 IO: Added SetAppAcceptingEvents() function (#4921, #4858) ocornut 2022-06-02 16:55:13 +02:00
  • 17b8c3b6ea Demo: Removed redundant window flag (#5367) JJCUBER 2022-06-02 08:32:43 -04:00
  • 7354009a73 Backends: Metal: Fixed null dereference inside command buffer completion handler. (#5363, #5365) Warren Moore 2022-05-31 15:06:42 -07:00
  • 74f7ac04a1 Misc: Fix font compressor utility warnings. (#5359) Rokas Kupstys 2022-05-31 12:25:28 +03:00
  • f58bd817e2 Tables: Fix drawcall merging of last column. (#4843, #4844) Rokas Kupstys 2022-05-31 14:37:57 +03:00
  • 7b5a8e4f2b Merge branch 'master' into docking (wanted for #4468, #3381, #2981, #4825, #4832, #5127) ocornut 2022-05-30 15:26:12 +02:00
  • e23c5edd5f Settings: Fixed out-of-bounds read when .ini file on disk is empty. (#5351) Quantum 2022-05-27 01:27:25 -04:00
  • 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 +02:00
  • 5139fb7e18 Docs: Add index omar 2022-05-23 14:47:04 +02:00
  • ae2fb557f3 Docs: Update templates with link to Contributing guidelines. Add numerical version number in demo. Moved. (#5337) ocornut 2022-05-23 14:29:34 +02:00
  • 814ecedd1e Docs: creates CONTRIBUTING.md (#5337) omar 2022-05-23 14:25:31 +02:00
  • e5b2286ca8 Backends: OpenGL3: Fix apple TARGET_OS_* not defined warning. (#5321) xiaozhuai, Weihang Ding 2022-05-18 16:52:40 +08:00
  • 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 +02:00
  • 7bf07d2526 Renamed CaptureMouseFromApp() and CaptureKeyboardFromApp() to SetNextFrameWantCaptureMouse() and SetNextFrameWantCaptureKeyboard(). Added demo. (#5304, #4831, #4480, #533) ocornut 2022-05-23 11:22:46 +02:00
  • cb56b0b238 Removed leftover KeepAliveID() call in GetIDWithSeed() variant. (#5181) + doc tweaks. ocornut 2022-05-23 10:51:01 +02:00
  • 250333d895 Docking: Fix unhiding tab bar regression. (#5325, #5181) Rokas Kupstys 2022-05-19 11:48:36 +03:00
  • 36055213c5 Docking: Fixed moving window being interrupted when undocing a window with "io.ConfigDockingAlwaysTabBar = true". (#5324) Rokas Kupstys 2022-05-19 14:01:18 +03:00
  • e346059eef IO: Fixed input queue trickling of mouse wheel events. (#4921, #4821) ocornut 2022-05-18 14:16:02 +02:00
  • 6b5a2426d7 Merge branch 'master' into docking ocornut 2022-05-17 11:59:32 +02:00