ocornut
|
34bff4672c
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# docs/CHANGELOG.txt
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui.h
|
2025-09-17 18:48:39 +02:00 |
|
ocornut
|
1c544ee941
|
Version 1.92.3
|
2025-09-17 18:37:56 +02:00 |
|
ocornut
|
431f2c5abd
|
InputText: fixed dubious code handling ImGuiInputTextFlags_EscapeClearsAll.
Specifically the missing = 0. Somehow only now got reported by Emscripten CI.
|
2025-09-15 19:32:24 +02:00 |
|
ocornut
|
586da87728
|
InputText: Word-Wrap: hide vertical scrollbar but takes its width into account. (#3237, #952, #1062, #7363)
Also increase IMGUI_VERSION_NUM for good measure, forgot to increase it when moving to public api.
|
2025-09-12 16:04:41 +02:00 |
|
ocornut
|
36133d8ac4
|
InputText: Word-Wrap: hide vertical scrollbar but takes its width into account. (#3237, #952, #1062, #7363)
Also increase IMGUI_VERSION_NUM for good measure, forgot to increase it when moving to public api.
|
2025-09-12 16:03:18 +02:00 |
|
ocornut
|
8c6096fcfe
|
Merge branch 'master' into docking
|
2025-09-12 15:05:55 +02:00 |
|
ocornut
|
b6a33f8ce1
|
InputText: Word-Wrap: amend 7f1e2bb to avoid triggering static analyzer. (#3237, #952, #1062, #7363)
And generally more logical this way anyhow.
|
2025-09-12 15:05:23 +02:00 |
|
ocornut
|
7f1e2bb8dd
|
InputText: Word-Wrap: avoid word-wrap specific path InputTextLineIndexGetPosOffset() when word-wrap is disabled. (#3237, #952, #1062, #7363)
|
2025-09-12 15:03:33 +02:00 |
|
ocornut
|
71f45c12e9
|
Merge branch 'master' into docking
|
2025-09-11 21:28:02 +02:00 |
|
ocornut
|
8a94422246
|
InputText: optimize inactive path by avoiding an early ImStrlen().
|
2025-09-11 21:26:10 +02:00 |
|
ocornut
|
ae832ce532
|
InputText: moved blocks so same text rendering code is now used for active and inactive states.
(ignore whitespace to visualize this change easily)
|
2025-09-11 21:26:04 +02:00 |
|
ocornut
|
1e52e7b90c
|
InputText: Added a line index. Refactored cursor and selection rendering, now simpler, easier to reason about, and faster. (#3237, #952, #1062, #7363)
|
2025-09-11 21:26:01 +02:00 |
|
ocornut
|
e2f314d613
|
InputText: fixed misassignment to unused Scroll.y variable when using ImGuiInputTextFlags_NoHorizontalScroll.
Amend d474ed7f7 (#7913, #383)
|
2025-09-11 15:06:25 +02:00 |
|
ocornut
|
55f590c1d1
|
Selectable: ImGuiSelectableFlags_SelectOnNav doesn't select when holding Ctrl, to be consistent with multi-select.
Amend e66afbb + remove needless line in CloseCurrentPopup() block
|
2025-09-10 22:29:42 +02:00 |
|
Harry Mander
|
5e5658e68f
|
Debug Tools: fixed assertion failure when opening a combo box while using io.ConfigDebugBeginReturnValueOnce/ConfigDebugBeginReturnValueLoop. (#8931)
|
2025-09-10 19:12:03 +02:00 |
|
ocornut
|
3dcd17f402
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_dx12.cpp
|
2025-09-10 19:02:44 +02:00 |
|
ocornut
|
013c4ed476
|
InputText: fixed gross buffer underflow introduced by a82f66a . (#3237, #952, #1062, #7363)
Would typically not crash by detected by sanitinizers.
|
2025-09-10 19:00:05 +02:00 |
|
ocornut
|
2f1d1c8b2f
|
Focus, InputText: fixed an issue where SetKeyboardFocusHere() did not work on InputTextMultiline() with ImGuiInputTextFlags_AllowTabInput. (#8928)
|
2025-09-10 18:31:34 +02:00 |
|
ocornut
|
1cd08b883c
|
TabBar: fixed calling TabBarQueueFocus() before submitting tabs. (#8929, #6681)
|
2025-09-10 18:03:34 +02:00 |
|
ocornut
|
4e98fb20e2
|
TabBar: Internals: added TabBarFindByID(), TabBarRemove() helpers.
Currently only for the benefit of TestEngine.
|
2025-09-10 17:59:26 +02:00 |
|
ocornut
|
e66afbbbe0
|
Selectable: ImGuiSelectableFlags_SelectOnNav doesn't close popups.
|
2025-09-09 17:33:03 +02:00 |
|
ocornut
|
ab760992ad
|
Merge branch 'master' into docking
|
2025-09-08 13:35:24 +02:00 |
|
ocornut
|
230418a75d
|
InputText: Word-Wrap: attempt to track cursor while resizing frame/parent. (#3237, #952, #1062, #7363)
|
2025-09-08 11:56:22 +02:00 |
|
ocornut
|
16415aa39f
|
InputText: Word-Wrap: added custom implementation for Home/End that is word-wrap friendly. (#3237, #952, #1062, #7363)
|
2025-09-08 11:56:22 +02:00 |
|
ocornut
|
a82f66a9b0
|
InputText: Word-Wrap: added ImGuiInputTextFlags_WordWrap support. (#3237, #952, #1062, #7363)
|
2025-09-08 11:56:20 +02:00 |
|
ocornut
|
e422a38e4c
|
InputText: internals: expose LineCount, GetPreferredOffsetX().
|
2025-09-08 11:54:34 +02:00 |
|
ocornut
|
3cc7d1c81a
|
InputText: InputTextCalcTextSize() uses ImFontCalcTextSizeEx().
(for #3237, #952, #1062, #7363)
|
2025-09-08 11:54:33 +02:00 |
|
ocornut
|
8a35ce0e98
|
CalcWordWrapPosition() breaks on \n instead of relying on caller to do it + expose ImTextCalcWordWrapNextLineStart(). (#3237, #952, #1062, #7363)
Should be functional no-op, fingers crossed. Breaking on \n allows caller to count lines reliably.
|
2025-09-08 11:54:32 +02:00 |
|
fdsa
|
09ebcf1779
|
Docs: fixed mismatched parentheses & other small changes. (#8922)
|
2025-09-08 11:30:14 +02:00 |
|
ocornut
|
fdcd351488
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_vulkan.cpp
|
2025-09-04 18:06:35 +02:00 |
|
ocornut
|
7d33524042
|
InputText: fixed an issue where using Escape with ImGuiInputTextFlags_EscapeClearsAll. (#8915, #8273)
Regression test: "widgets_inputtext_temp_buffer_2"
|
2025-09-04 13:16:05 +02:00 |
|
ocornut
|
605a751571
|
InputText, InputInt, InputFloat: fixed an issue where using Escape to revert would not write back the reverted value. (#8915, #8273)
Revealed by 00f12b9a0
Regression test: "widgets_inputtext_temp_buffer_2"
|
2025-09-04 13:16:04 +02:00 |
|
ocornut
|
740c566305
|
Merge branch 'master' into docking
|
2025-09-02 16:10:59 +02:00 |
|
ocornut
|
8dc457fda2
|
Internals: added indent, shallow tweaks + unused context pointer to InputTextCalcTextLenAndLineCount() to reduce noise in wip patch.
Visualize this commit with white-space changes disabled.
|
2025-09-02 15:39:22 +02:00 |
|
ocornut
|
771fae623d
|
ImRect: added AsVec4() helper. Using ImRect in InputTextEx().
|
2025-08-27 21:43:25 +02:00 |
|
ocornut
|
55cbc66508
|
InputText: allow passing an empty string with buf_size==0. (#8907)
|
2025-08-27 20:21:31 +02:00 |
|
ocornut
|
4ebfe1cba5
|
Merge branch 'master' into docking
|
2025-08-20 18:28:39 +02:00 |
|
ocornut
|
42656b3aa1
|
Scrollbar, Style: added style.ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding. (#8895)
|
2025-08-20 18:27:35 +02:00 |
|
ocornut
|
86ec5c8342
|
Version 1.92.3 WIP
|
2025-08-19 15:15:49 +02:00 |
|
ocornut
|
160e3683ab
|
Merge branch 'master' into docking
|
2025-08-13 17:31:15 +02:00 |
|
ocornut
|
45acd5e0e8
|
Version 1.92.2b
|
2025-08-13 17:31:01 +02:00 |
|
ocornut
|
af920e1e6f
|
Version 1.92.3 WIP
|
2025-08-12 11:30:41 +02:00 |
|
ocornut
|
031a18c417
|
Merge branch 'master' into docking
|
2025-08-11 16:47:16 +02:00 |
|
ocornut
|
2b24f5fa71
|
Version 1.92.2
|
2025-08-11 16:47:06 +02:00 |
|
ocornut
|
104f58fc48
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
|
2025-08-11 15:44:21 +02:00 |
|
ocornut
|
1c57dc21c2
|
Misc: fixes zealous MSVC static analyzer warnings + make GetInputSourceName(), GetMouseSourceName() a little more tolerant. (#8876)
|
2025-08-11 11:04:13 +02:00 |
|
ocornut
|
cbf9e3f554
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
|
2025-08-08 15:51:56 +02:00 |
|
ocornut
|
412daf7362
|
Tabs: attempt to fix infinite loop in tab-bar ShrinkWidth() by using an epsilon. (#5652, #3421, #8800)
|
2025-08-07 16:41:21 +02:00 |
|
ocornut
|
284283615b
|
InputText: minor tweak to an expression.
Primarily to make PVS Studio static analysis go silent but it is a perfectly valid suggestion.
|
2025-08-06 10:48:01 +09:00 |
|
ocornut
|
250bd66b76
|
Tabs: fixed ImGuiTabBarFlags_FittingPolicyScroll not triggering (regression in 3ef6c84 ). (#3421, #8800)
|
2025-08-04 15:19:16 +09:00 |
|