Commit Graph

  • b51919dce1 Examples: Emscripten+GLFW: revert to use a shell_minimal.html closer to vanilla one, as our fullscreen + misc tweaks to Emscripten+SDL example to match other version. ocornut 2023-02-02 15:02:18 +01:00
  • 0370856d78 Backends: GLFW: Removed mouse-wheel value scaling for Emscripten. (#4019, #6096, #6081) ocornut 2023-02-02 14:37:15 +01:00
  • f822e07d76 Backends: SDL: Removed SDL_MOUSEWHEEL value clamping. (#4019, #6096, #6081) ocornut 2023-02-02 14:23:39 +01:00
  • 887abe9578 Merge branch 'master' into docking ocornut 2023-02-01 22:18:57 +01:00
  • 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) ocornut 2023-02-01 20:50:45 +01:00
  • 8d29665ae1 Backends: OSX: Fixed scroll wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). ocornut 2023-02-01 19:42:22 +01:00
  • 2efebe3315 ShowFontAtlas, Demo: optionally use style text color for tint. (#6129) nahkhiir 2023-01-31 18:05:30 +01:00
  • 5a3f82e2f4 Examples: SDL+SDL_Renderer: Added call to SDL_RenderSetScale() to display is correct on a Retina display (albeit lower-res as our other unmodified examples). (#6121, #6065, #5931). ocornut 2023-01-31 15:49:54 +01:00
  • 867bdbecb3 Text: fixed issue in RenderText() leading to IM_ASSERT_PARANOID() triggering if enabled. (#6132, #5720, #5919) ocornut 2023-01-31 14:39:45 +01:00
  • d719776460 Internals: added 'ImGuiButtonFlags flags' to ImageButtonEx(). (#6126) ocornut 2023-01-31 11:30:27 +01:00
  • f142887088 Combo: Allow SetNextWindowSize() to alter combo popup size. (#6130) ocornut 2023-01-31 11:23:24 +01:00
  • 259560aa26 Demo: moved sections around in prevision for adding nicer separators. ocornut 2023-01-27 19:01:30 +01:00
  • 27f2dd56d6 Internals: move "%s" skip-formatting logic to ImFormatStringToTempBuffer() function, meaning Text() and all the *V() functions can also benefit from it. (#3466) ocornut 2023-01-27 15:24:23 +01:00
  • d73e3285de Backends: WebGU: Revert the implicit render pipeline layout generation as introduced in 83bdfef (#6117, #4116, #3632) Basil Fierz 2023-01-25 21:45:03 +01:00
  • fc50532213 InputText: On OSX, inhibit usage of Alt key to toggle menu when active (used for work skip). ocornut 2023-01-25 21:44:25 +01:00
  • 5741cbae45 Internals: ImFileOpen: fixed misleading use of ImWchar (would allocate more when ImWchar=ImWchar32) + update version for previous changes namely tab bar ones. ocornut 2023-01-25 20:04:19 +01:00
  • f4ef420c01 InputText: Added support for Ctrl+Delete to delete up to end of word. (#6067) AJ Weeks 2023-01-10 16:20:20 +01:00
  • 07490618ae Misc: Tolerate zero delta-time under Emscripten. (#6114, #3644) ocornut 2023-01-25 14:13:12 +01:00
  • fe0a24f38a Examples: Win32: Fixed examples using RegisterClassW() since 1.89 to also call DefWindowProcW(). (#5725, #5961, #5975) Mark Reid 2022-12-06 13:33:53 -08:00
  • 3d8885cbbd TabBar: Internals: add GetCurrentTabBar(), TabBarFindTabByOrder(), TabBarGetCurrentTab(), TabBarGetTabOrder(), TabBarGetTabName(), TabBarQueueFocus() + clear LastTabItemIdx on EndTabBar(). (#5853, #5997) ocornut 2023-01-24 19:16:12 +01:00
  • 739a79b1e9 ImDrawList: Added missing early-out in AddPolyline() and AddConvexPolyFilled() when color alpha is zero. Window: Avoid rendering shapes for hidden resize grips. ocornut 2023-01-24 17:30:22 +01:00
  • f6db9e2f39 Menus: Fixed layout of MenuItem()/BeginMenu() when label contains a '\n'. (#6116) ocornut 2023-01-24 16:11:38 +01:00
  • e8421de23c imgui_single_file: include imgui_freetype.cpp if the define is set. ocornut 2023-01-24 16:04:55 +01:00
  • 8f907bc9a2 imgui_freetype: fix warnings (#6104), fix typos. (#6079) ocornut 2023-01-24 15:59:01 +01:00
  • 88dfd85e92 Merge branch 'master' into docking ocornut 2023-01-21 00:49:06 +01:00
  • 91667430a8 Tables: increase table columns limit from 64 to 512 using bit array allocated in contiguous memory +. (#6094, #5305, #4876, #3572) ocornut 2023-01-20 22:25:45 +01:00
  • 14908cba8f Internals: ImBitArray, ImBitVector: using macro helper for common op + disable stack checks on MSVC agressive debug builds. ocornut 2023-01-20 22:23:32 +01:00
  • db55422870 Tables: removed hot RequestOutputMaskByIndex bit-array as majority of code-paths are already touching the cold parts. ocornut 2023-01-20 17:55:50 +01:00
  • 6342275bbb Backends: GLFW: Handle unsupported glfwGetVideoMode() for Emscripten. (#6096) Cody Tapscott 2023-01-18 15:50:55 -07:00
  • 3482d4eccf Text: Fixed layouting of wrapped-text block skipping successive empty lines. (#5720, #5919) ocornut 2023-01-19 15:59:39 +01:00
  • 0359f6e94f Internals: ImDrawList: shallow tweaks to RenderText(). ocornut 2023-01-17 16:04:52 +01:00
  • 51c97a41aa PlotHistogram, PlotLines: Passing negative sizes honor alignment like other widgets. ocornut 2023-01-17 18:32:50 +01:00
  • 82fdd7018d Update FAQ.md omar 2023-01-13 17:27:44 +01:00
  • ccf94e2e6e Strip seemingly unecessary tests, as UTF-8 decoder can not return null since 9cca1b2e9 ocornut 2023-01-12 12:46:06 +01:00
  • 55b8ce9b23 Reword ImTextCharFromUtf8() to avoid a warning + marked UTF-8 functions with IM_MSVC_RUNTIME_CHECKS_OFF. (#5987) ocornut 2023-01-11 17:10:53 +01:00
  • 1297a2be52 Text: Tweaked rendering of three-dots "..." ellipsis variant. Baking more data. (#2775, #4269) ocornut 2023-01-11 16:32:01 +01:00
  • 8801f02949 Text: Fix clipping of single-character "..." ellipsis when font is scaled. (#2775 ocornut 2023-01-11 15:56:33 +01:00
  • 482ac70a0b Version 1.89.3 WIP ocornut 2023-01-11 15:51:34 +01:00
  • 46b9c09e41 Update .gitignore ocornut 2023-01-10 12:21:42 +01:00
  • a218d3a824 Update information in ImFontAtlas::GetGlyphRangesJapanese (#6066) vaiorabbit 2023-01-09 19:39:28 +09:00
  • d822c65317 Merge branch 'master' into docking ocornut 2023-01-05 15:58:49 +01:00
  • d7c8516a4b Version 1.89.2 v1.89.2 ocornut 2023-01-05 15:29:17 +01:00
  • e06bbe05e1 Revert most/part of "Shortcut: added Shortcut() function and ImGuiInputFlags in public API + Demo." (#456, #2637) ocornut 2023-01-05 15:21:48 +01:00
  • 83429abf4a Internals: simplify ButtonBehavior(), also to allow easily adding a mouse_button_down thing. ocornut 2023-01-05 12:01:16 +01:00
  • 03add24acf Selectable: Internals: removed unused ImGuiSelectableFlags_DrawHoveredWhenHeld flag. ocornut 2023-01-05 11:28:05 +01:00
  • 57a5b73a4c InputText: fixed cursor navigation when pressing Up Arrow on the last character of a multiline buffer which doesn't end with a carriage return. (#6000) ocornut 2023-01-04 17:58:07 +01:00
  • 1f6e62a4ae Backends: GLFW: Fixed mods state on Linux with Alt-GR text input (e.g. German keyboard layout), (#6034) ocornut 2023-01-04 15:42:20 +01:00
  • 9150c23c04 imgui_freetype: fixed a packing issue which in some occurrences would prevent large amount of glyphs from being packed correctly. (#5788, #5829) ocornut 2023-01-04 15:17:21 +01:00
  • 9c1dac3ff0 Examples: DirectX10, DirectX11: try WARP software driver if hardware driver is not available. (#5924, #5562) ocornut 2023-01-04 12:14:53 +01:00
  • fc3815bfe5 Merge branch 'master' into docking ocornut 2023-01-03 21:06:09 +01:00
  • 4b39c1f654 Docs: adding Tests badge + more references to Test Engine. ocornut 2023-01-03 20:26:26 +01:00
  • 824baa6a4d Docking: fixed DockSpace() with ImGuiDockNodeFlags_KeepAliveOnly marking current window as written to,. (#6037) ocornut 2023-01-03 14:22:07 +01:00
  • 42e166089a Backends: Metal: fixed secondary viewport rendering. (#6015, #4821, #2778) ocornut 2023-01-03 12:34:47 +01:00
  • 156e0a8070 Demo: amend Selectable() + BeginPopupContextItem() demo to maintain and update selection state when popup is open. (#6032) ocornut 2023-01-02 18:01:57 +01:00
  • 6939676372 Docking: fixed DockBuilderCopyDockSpace() crashing when windows not in the remapping list are docked on the left or top side of a split. (#6035) ocornut 2023-01-02 17:54:50 +01:00
  • e5d51866c6 Backends; Vulkan: do not set VkDescriptorSetLayoutBinding::pImmutableSamplers, allow changing sampler. (#6001, #5502, #914) Martin Ejdestig 2022-12-16 16:48:36 +01:00
  • c9aef16066 Backends: Vulkan: Remove duplicated and dead code in Vulkan backend (#6001) Martin Ejdestig 2022-12-16 16:46:14 +01:00
  • 328695bd47 Provide a non-empty definition for IMGUI_DEBUG_PRINTF when disabled. (#5978) Manuel Floruß 2022-12-10 17:01:15 +01:00
  • 16aaf60697 Backends: OSX: fixed ImGui_ImplOSX_GetWindowSize and ConvertNSRect. (#6009) Mikko Sivulainen 2022-12-21 14:08:26 +02:00
  • 90de839445 Backends: SDL: fix build on WinRT (#6019, #5974) - version for docking branch ocornut 2023-01-02 15:02:22 +01:00
  • da832532c0 Backends: SDL: fix build on WinRT (#6019, #5974) ITotalJustice 2022-12-23 10:46:35 +00:00
  • 52c61deaf9 Happy new year! ocornut 2023-01-02 14:42:12 +01:00
  • e57871bb95 imstb_truetype: Add missing return keyword in error case of stbtt__cid_get_glyph_subrs (#6007) Neil Bickford 2022-12-19 09:13:29 -08:00
  • f1ddf63027 ScrollToRectEx: Fix bug where scrolling horizontally to an always-centered element that is not visible but could be would take the item's Y coordinate into account. Neil Bickford 2022-12-19 09:11:33 -08:00
  • 91b356cf8e Examples: Allegro: Fixed compilation instructions. (#5973) Espyo 2022-12-09 22:39:11 +00:00
  • c191faf0ba Merge branch 'master' into docking ocornut 2022-12-08 21:18:35 +01:00
  • 59b63defe5 Misc shallow merge/sync from docking designed to faciliate cross-merging between docking and string_view. ocornut 2022-12-08 20:25:25 +01:00
  • 317b33d647 Tables: fixed matching width of synchronized tables when only some (not all) instances have a vertical scrollbar. (#5920) ocornut 2022-12-08 19:53:57 +01:00
  • 0949acb6e6 Shortcut: added Shortcut() function and ImGuiInputFlags in public API + Demo. (#456, #2637) ocornut 2022-12-08 18:15:00 +01:00
  • 1dae7df26f Misc: added GetItemID() in public API. ocornut 2022-12-08 18:26:25 +01:00
  • 48215231f9 Demo: moved WantCapture overrides items + various comments related to ImGuiKey, ImGuiMod ocornut 2022-12-08 16:47:53 +01:00
  • d3025cde37 Merge branch 'master' into docking ocornut 2022-12-06 22:13:12 +01:00
  • 9d08506dce Tables, Nav: frozen columns are not part of menu layer and can be crossed over. (#5143, #3692) ocornut 2022-12-06 22:11:51 +01:00
  • fd0b3734d3 Tables, Nav, Scrolling: fixed scrolling functions and focus tracking with frozen rows and columns. (#5143, #4868, #3692) ocornut 2022-12-06 20:42:32 +01:00
  • 16cee3d009 Internals: tidying up and standardizing outer decoration size storage. (toward #5143, #4868, #3692, #3518) ocornut 2022-12-02 19:20:03 +01:00
  • 820b1e651a Internals: reduced duplicate code in CalcNextScrollFromScrollTargetAndClamp() by looping through axiees. ocornut 2022-12-06 18:34:45 +01:00
  • 24b873a740 Internals: renaming inside ScrollToRectEx() + fixed misplaced changelog entry. ocornut 2022-12-06 17:25:54 +01:00
  • 5eda547e6f Merge branch 'master' into docking ocornut 2022-12-06 14:44:00 +01:00
  • ed54e14f1b Refactor: moved UpdateAliasKey(), GetMergedModsFromKeys(), UpdateKeyboardInputs(), UpdateMouseInputs() to INPUTS section. ocornut 2022-12-06 12:14:30 +01:00
  • f83da768b6 Refactor: moved LockWheelingWindow(), FindBestWheelingWindow(), UpdateMouseWheel() to INPUTS section ocornut 2022-12-06 12:12:10 +01:00
  • f9ab2a0e9f Refactor: moved UpdateKeyRoutingTable() to INPUTS section. renamed GetKeyVector2d() -> GetKeyMagnitude2d() ocornut 2022-12-06 12:09:14 +01:00
  • 38a0d7ceb5 Refactor: added INPUTS section index, moved IsMouseHoveringRect() to INPUTS section. ocornut 2022-12-06 12:02:36 +01:00
  • b5883c1cfb Refactor: moved bits into Initialization section. ocornut 2022-12-06 11:54:15 +01:00
  • 713e034d95 Backends: OpenGL3: Fix for zealous warning. (#5947) ocornut 2022-12-03 15:12:20 +01:00
  • 3ea0fad204 Merge branch 'master' into docking ocornut 2022-12-01 20:22:27 +01:00
  • 844e0ae688 Fixes/amend 9825f7f + amend Changelog (#4857, #5937) ocornut 2022-12-01 20:18:32 +01:00
  • 0e2a167bdb Fonts: added a 'void* UserData' field in ImFontAtlas, as a convenience for use by applications using multiple font atlases. ocornut 2022-12-01 20:08:43 +01:00
  • 9825f7fa87 Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles. (#4857, #5937) ocornut 2022-12-01 18:40:36 +01:00
  • 66ad2ad539 Properly detect SSE instruction support in 32-bit MSVC build. (#5943) assiduous 2022-11-30 11:57:54 -08:00
  • a5e96ff99e Make ImGuiInputTextState not depend on the implicit GImGui context. (#5856) Marc Delorme 2022-11-01 21:56:10 +09:00
  • 45736443be Debug Tools: Metrics: added "Inputs" section, moved from Demo for consistency. ocornut 2022-11-30 20:08:57 +01:00
  • 87caf27ac4 Inputs, Scrolling: better selection of scrolling window when hovering nested windows and backend/OS is emitting dual-axis wheeling inputs. (#3795, #4559) ocornut 2022-11-30 17:46:57 +01:00
  • a5f3596e6c Backends: Allegro5: use al_draw_indexed_prim() or al_draw_prim() depending on version. (#5937) ocornut 2022-11-30 14:43:00 +01:00
  • 50aeeff96c Backends: Allegro5: Brough back al_draw_indexed_prim when available. (#5937) Espyo 2022-11-29 20:56:10 +00:00
  • bf4c2e00c0 Docs: retroactively update 1.89 changelog/docs to clarify that strong typing ImGuiKey was technically a breaking change for users of legacy indices. (#4921) ocornut 2022-11-29 21:36:59 +01:00
  • cc3a2200a9 Internals: invert logic of mods key<>bool translation to facilitate other experiments and put emphasis on new API. (#5923, #4921) ocornut 2022-11-29 18:57:38 +01:00
  • 1a497c2499 Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of compile-time. (#5923, #456) ocornut 2022-11-29 18:11:09 +01:00
  • 969af7c773 Internal: Disable debug logs macro if IMGUI_DISABLE_DEBUG_TOOLS is defined. (#5901) Teselka 2022-11-20 23:45:55 +02:00
  • bd96f6eac4 Text: Fixed layouting of wrapped-text block when the last source line is above the clipping region. Regression added in 1.89. (#5720, #5919) ocornut 2022-11-28 14:59:13 +01:00
  • 540909bddf Fixed version string for consistency (#5918) ocornut 2022-11-28 14:42:30 +01:00