4448d975d1 
								
							
								 
							
						 
						
							
							
								
								Inputs: added wip/internal Input Owner system. ( #456 ,  #2637 ,  #2620 ,  #2891 ,  #3370 ,  #4828 ,  #5108 ,  #5242 ,  #5641 )  
							
							... 
							
							
 
							
							- Added SetKeyOwner(), SetItemKeyOwner(), TestKeyOwner().
- Added new IsKeyXXX IsMouseXXX functions with ImGuID owner_id and flags.
- Obsoleted SetItemUsingMouseWheel(). (#2891 )
- Removed IsKeyPresseedEx() which was a recent internal addition 2022-07-08 deemed to be temporary exactly for this.
- Added ImGuiButtonFlags_NoSetKeyOwner, ImGuiButtonFlags_NoTestKeyOwner
- Added ImGuiSelectableFlags_NoSetKeyOwner.
- Added ImGuiInputFlags_LockThisFrame, ImGuiInputFlags_LockUntilRelease for for SetKeyOwner(), SetItemKeyOwner().
- Added ImGuiInputFlags_CondXXX values for SetItemKeyOwner(). 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								44d98bfd6d 
								
							
								 
							
						 
						
							
							
								
								Fix build with IMGUI_DISABLE_DEBUG_TOOLS  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								529cba19b0 
								
							
								 
							
						 
						
							
							
								
								Debug Tools: Added DebugLocateItem()/DebugLocateItemOnHover() to visually locate items when hovering a 0xXXXXXXXX value. ( #5855 ,  #2673 ,  #4631 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								7109f32f96 
								
							
								 
							
						 
						
							
							
								
								Internals: tidying up and stripping more of focus scope code.  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								9f66a3a9ed 
								
							
								 
							
						 
						
							
							
								
								Internals: rework FocusScope system, current scope doesn't need to be in window + child doesn't inherit.  
							
							... 
							
							
 
							
							Intended as part of work for input routing + blind menu processing shortcuts. Some of this commit will be stripped by next commit.
Intent was to sort windows along with focus scope to build a hierarchy, but for our needs we'd need a persistant one, so scrapping the idea. Not squashing this with next commit to keep a bit of history for future references. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								1eac0024c0 
								
							
								 
							
						 
						
							
							
								
								InputText: copy and select all shortcuts don't need repeat (tho it was harmless0  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								90e9465fa5 
								
							
								 
							
						 
						
							
							
								
								Window: Fixed position not being clamped while auto-resizing ( #5843 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								6e9dfe1de1 
								
							
								 
							
						 
						
							
							
								
								Window: Auto-fit size takes account of work rectangle (menu bars eating from viewport). ( #5843 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								86f2af2bc7 
								
							
								 
							
						 
						
							
							
								
								Backends: OSX: Fixed mouse coordinate before clicking on the host window. ( #5842 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								c2694ef75e 
								
							
								 
							
						 
						
							
							
								
								Examples: Android: Using LoadIniSettingsFromMemory() / SaveIniSettingsToMemory() to save in appropriate location for Android. ( #5836 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								22bcfca700 
								
							
								 
							
						 
						
							
							
								
								IO: Clear AppFocusLost in EndFrame() in order to allow backend or application code to poll and react to it  
							
							... 
							
							
 
							
							+ Amend a241dc7 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								a241dc7990 
								
							
								 
							
						 
						
							
							
								
								IO: Fixed AddFocusEvent(false) to also clear MouseDown[] state. ( #4921 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								a61bbdc239 
								
							
								 
							
						 
						
							
							
								
								Commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79.  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								9db6b1a0d9 
								
							
								 
							
						 
						
							
							
								
								Backends: Win32: minor tidying up. ( #5819 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								baea25e657 
								
							
								 
							
						 
						
							
							
								
								Drag and Drop: extracted a RenderDragDropTargetRect() function ( #1603 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								431fc6a7f6 
								
							
								 
							
						 
						
							
							
								
								Internals: using ItemAdd() consistently for internal items: windows & tables resize grips/borders, ScrollbarEx().  
							
							... 
							
							
 
							
							This put an extra flag check in ItemAdd() but essentially reduce inconsistency with windows decorations not using this. Useful for debugging.
It however buries the info/blurs the line about what it means to not use ItemAdd() since they are now doing it much less. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								178aee4b1c 
								
							
								 
							
						 
						
							
							
								
								Debug Tools: Debug Log: add and use ImGuiTextLineIndex.  
							
							... 
							
							
 
							
							This is needed for next commit where we want to parse hovered Debug Log line. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								578df14f27 
								
							
								 
							
						 
						
							
							
								
								CI: Remove left-over discord stuff.  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								f6bd7c8e53 
								
							
								 
							
						 
						
							
							
								
								Debug Tools: Item Picker: remove IMGUI_DEBUG_TOOL_ITEM_PICKER_EX since it doesn't work on non-ItemHoverable() items anyway.  ( #2673 )  
							
							... 
							
							
 
							
							Call stack difference not meaningful. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								bc918404fe 
								
							
								 
							
						 
						
							
							
								
								Internals: using ImToUpper() since std one does too many things.  
							
							... 
							
							
 
							
							As a bonus side-effect may remove reliance on ctype.h (will see if CI complains) 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								9a35bfea39 
								
							
								 
							
						 
						
							
							
								
								Internals: added temporary ImGuiItemStatusFlags_Visible (used internally - please do not use).  
							
							... 
							
							
 
							
							Used by BeginMenu() as I'm experimenting with blind menus honoring shortcuts.
Extra comments about KeyMap and ImGuiKeys 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								de1593d5c0 
								
									
								
							
								 
							
						 
						
							
							
								
								Backends: DX12: Fixed stale comments. ( #5798 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								e3fa56ae05 
								
							
								 
							
						 
						
							
							
								
								BeginMenu(): Menus: Fixed a one-frame issue where SetNextWindowXXX data are not consumed by a BeginMenu().  
							
							... 
							
							
 
							
							+ Shallow tweaks to reduce diff of future branches. Removing early return also facilitate some changes. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								5ac94ad898 
								
							
								 
							
						 
						
							
							
								
								Window: Fixed an issue where uncollapsed a window would show a scrollbar for a frame.  
							
							... 
							
							
 
							
							Amend / fix regression from 6e8e2c0 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								ab6e48b833 
								
							
								 
							
						 
						
							
							
								
								Backends: GLFW: Perform a dummy glfwGetError() read to cancel missing mouse cursors errors. ( #5785 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								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 )  
							
							... 
							
							
 
							
							This works by moving the ClosePopupsOverWindow() in FocusWindow() in the if() block which luckily solves our problem.
In our test suite I couldn't find situation where this had side-effect others than BeginMenu() using the 'menuset_is_open' trick.
It's difficult to tell if other side-effects are possible: a window being already focused should mean it doesn't have popups overit.
Effectively this means that clicking e.g. on the BeginMenu() item to close a menu in a menu-bar now relies on BeginMenu() logic for the closure rather than FocusWindow() triggerd by button behavior. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								81176737f8 
								
							
								 
							
						 
						
							
							
								
								Menus: Fixed using IsItemHovered()/IsItemClicked() on BeginMenu(). ( #5775 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								3920b1c764 
								
							
								 
							
						 
						
							
							
								
								Removed commented out old flags from when Tables was a branch.  
							
							... 
							
							
 
							
							ImGuiTableFlags_ColumnsWidthFixed, ImGuiTableFlags_ColumnsWidthStretch,
ImGuiTableFlags_SizingPolicyFixed, ImGuiTableFlags_SizingPolicyStretch
ImGuiTableColumnFlags_WidthAuto 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								b15347cb7d 
								
							
								 
							
						 
						
							
							
								
								Tables: activating an ID (e.g. clicking button inside) column doesn't prevent columns output flags from having ImGuiTableColumnFlags_IsHovered set. ( #2957 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								3e8d198133 
								
							
								 
							
						 
						
							
							
								
								Removed runtime patching of obsolete/invalid "%f"/"%.0f" types of format strings for DragInt()/SliderInt().  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								5196bd15e9 
								
									
								
							
								 
							
						 
						
							
							
								
								Docs: Update outdated code sample ( #5766 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								c54230d14e 
								
							
								 
							
						 
						
							
							
								
								Backends: Using nullptr instead of NULL. ( #5760 ,  #4537 ) + fix additional warnings.  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								8a44c31c95 
								
							
								 
							
						 
						
							
							
								
								Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor ( #2604 ,  #3795 ,  #4559 )  
							
							... 
							
							
 
							
							The refactor are designed to minimize the diff for changes needed for #3795  
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								dfa1bb0ac7 
								
							
								 
							
						 
						
							
							
								
								Backends: OSX: Fixed mouse inputs on flipped views. ( #5756 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								85a368b58d 
								
							
								 
							
						 
						
							
							
								
								Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. ( #5745 )  
							
							... 
							
							
 
							
							+ TabBar: starts displaying the unsaved document marker with a frame delay to match how close button is processed, otherwise the transition would be noticeable. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								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 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								80a870a3e5 
								
							
								 
							
						 
						
							
							
								
								Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again ( #2604 ) + small refactor  
							
							... 
							
							
 
							
							Somehow interesting for (#3795 , #4559 ). sorry this will break PR for 3795 but we got the info. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								282b2b5afb 
								
							
								 
							
						 
						
							
							
								
								Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. ( #914 ,  #5738 ).  
							
							... 
							
							
 
							
							Amend a588f00 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								a588f00f7b 
								
							
								 
							
						 
						
							
							
								
								Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. ( #914 ,  #5738 ).  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								5884219867 
								
							
								 
							
						 
						
							
							
								
								imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. ( #5731 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								f2a522d70d 
								
							
								 
							
						 
						
							
							
								
								ImDrawList: Not using alloca() anymore, lift single polygon size limits. ( #5704 ,  #1811 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								cc5058e5d7 
								
							
								 
							
						 
						
							
							
								
								IO: Filter duplicate input events during the AddXXX() calls. ( #5599 ,  #4921 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								fac8295d6e 
								
							
								 
							
						 
						
							
							
								
								IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of  839c3100), will filter earlier in next commit. ( #5599 )  
							
							... 
							
							
 
							
							Making it a separate commit as this leads to much indentation change. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								9e7f460c09 
								
							
								 
							
						 
						
							
							
								
								Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer.  ( #4921 ,  #456 )  
							
							... 
							
							
 
							
							Amend fd408c9 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								0749453355 
								
							
								 
							
						 
						
							
							
								
								Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. ( #5730 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								9f6aae3bf2 
								
							
								 
							
						 
						
							
							
								
								Nav: Fixed race condition pressing Esc during popup opening frame causing crash.  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								bd2355a047 
								
							
								 
							
						 
						
							
							
								
								Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). ( #1207 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								3532ed1621 
								
							
								 
							
						 
						
							
							
								
								Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. ( #5730 )  
							
							... 
							
							
 
							
							Replace BeginMenu/MenuItem swapping g.NavWindow with a more adequate ImGuiItemFlags_NoWindowHoverableCheck.
Expecting more subtle issues to stem from this.
Note that NoWindowHoverableCheck is not supported by IsItemHovered() but then IsItemHovered() on BeginMenu() never worked: fix should be easy in BeginMenu() + add test is IsItemHovered(), will do later 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								d5d705069d 
								
							
								 
							
						 
						
							
							
								
								Various comments  
							
							... 
							
							
 
							
							As it turns out, functions like IsItemHovered() won't work on an open BeginMenu() because LastItemData is overriden by BeginPopup(). Probably an easy fix. 
							
						 
						
							ago%!(EXTRA string=3 years)  
				
					
						
							
							
								 
						
							
							
								e74a50f525 
								
							
								 
							
						 
						
							
							
								
								Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. ( #5676 ,  #5727 )  
							
							
 
							
						 
						
							ago%!(EXTRA string=3 years)