4DBug
9b735db59c
0.3.0
Build & Release / build (push) Canceled after 0s
2026-10-15 11:04:45 -05:00
4DBug
6fc870a519
CI/releases: drop the nodemo bundles (--no-demo build flag kept); remove examples/example_shared; Roblox backend RenderRate defaults to 60 (0 = every frame); README + TODO.txt updated
2026-10-15 10:57:00 -05:00
4DBug
8f4e07c94a
Fix: long TextUnformatted (>2000 bytes) rendered each visible line to the end of the text (RenderText end was nil, upstream passes line_end); PushFont() saved the new font instead of the current one, so PopFont() never restored it (font preview leaked into all later text); t_fixes covers both
2026-10-15 10:54:56 -05:00
4DBug
056c414112
Port leftovers: BringWindowToDisplayBehind, ImGuiSizeCallbackData + CalcWindowSizeAfterConstraint, ErrorCheckUsingSetCursorPosToExtendParentBoundaries, PopFocusScope user error (+ SetCurrentWindow stack sizes fix), log text decorations (Button/Menu/TreeNode/Drag/Slider/InputText/Checkbox/Radio), DataTypeFormatString display, ImGuiDataType S64/U64 (upstream enum layout; doubles), sscanf %u/length modifiers, mouse arrays sized ImGuiMouseButton.COUNT, AddCallback userdata copy; TODO.txt refreshed
2026-10-15 10:51:20 -05:00
4DBug
15485b7aa4
Integration: debug/context fields in ImGuiContext ctor, ImGuiContextHookType, DebugFlashStyleColorIdx=COUNT, CurrentPixelDensity, clipper range/data helpers, full Shutdown cleanup, settings dates (ImGuiSettingsCleanupArgs, CleanupIniSettings, LastUsed=, Platform_SessionDate) + metrics Settings section, ImGuiStyleVar SeparatorSize/DockingSeparatorSize (fixes off-by-one style var table), LogRenderedText restored in RenderText*, combo preview 1.93, InputScalar ValidatedThisFrame, ImGuiListClipperFlags/LogFlags/OldColumnFlags, ImGuiKey digit aliases, backend names
2026-10-15 09:39:17 -05:00
4DBug
cdb183da59
compare_upstream: skip IM_MSVC_RUNTIME_CHECKS_*/template<> when naming structs; [=] status for intentional Lua replacements (ImGuiStorage, ImStr*/ImFormatString*, allocators, C++ container internals, sizeof/ABI helpers...) with evidence regexes, reported separately
2026-10-15 09:39:17 -05:00
4DBug
df641ad622
Port debug tools (item picker, flash style color, debug locate, DebugDraw*, keyboard preview, debug break, DrawCmd mesh view), context hooks, SetContextName, AddInputCharactersUTF8, sanity checks, window resize ids, Register/UnregisterUserTexture, SetPixelDensity, TestShortcutRouting, DemoMarker; InputTextState selection API (fixes undo crash, callbacks get 0-based positions), ShortcutsForCancel (Esc/right-click reverts drags/sliders), ImParseFormatSanitizeForPrinting, ImDrawList CloneOutput/PrimQuadUV/AddImageQuad, ImDrawData DeIndexAllBuffers/ScaleClipRects, internal helpers (ImBitVector, ImGuiPackedDate, inline ImGui getters...); t_debugtools, t_helpers
2026-10-15 08:52:30 -05:00
4DBug
91931a482b
Fonts: ImFontGlyphRangesBuilder + GetGlyphRangesDefault, ImFont:CalcWordWrapPosition, stb_decompress + Decode85 + AddFontFromMemoryCompressed(Base85)TTF, atlas helpers (RemoveFont, RemoveCustomRect, AddRemapCodepoint (remap never triggered before), IsGlyphRangeUnused, texture status/format names...); t_fonts
2026-10-15 08:05:51 -05:00
4DBug
c94f62a1e4
Port ImTriangulator + upstream AddConcavePolyFilled (AA fringe, no per-triangle seams); [Luau] handles CCW winding and duplicate/collinear points that upstream mis-triangulates
2026-10-15 07:43:21 -05:00
4DBug
25001b0c8f
Library draw call sites match 1.93: AddLineH/AddLineV + StrokeCenterBiased/StrokeInside (window/menu borders, separators, text cursor), tab border PathStroke, check mark AALineEnds, CloseButton/TreeNode lines/ColorButton/alpha checkerboard 1.93, Ctrl+Tab highlight AddRect arg order, metrics AA push/pop
2026-10-15 07:24:13 -05:00
4DBug
f875e2b5f7
Draw list 1.93: baked round corners in the font atlas (ImFontAtlasBuildUpdateTexDataCorners, fill radii 1..16 + 3 stroke thicknesses) used by AddRect/AddRectFilled when pixel-aligned (_AddRectBaked/_AddRectFilledBaked)
2026-10-15 06:55:57 -05:00
4DBug
923e6cdafb
Draw list 1.93 strokes: _AddPolyline ported (texture AA lines, joins/miter/bevel, CapSquare, AALineEnds, Stroke Inside/Center/CenterBiased/Outside/Legacy), AddConvexPolyFilled AAFill, all primitives with 1.93 signatures/flags, PathRect/PathArcTo 1.93, baked line textures; Custom Rendering demo flags UI restored. check_all: t_pixels incremental==full redraw, headless screenshot (tools/test/shot.py)
2026-10-15 06:37:49 -05:00
4DBug
720daa80d7
Draw list 1.93 foundation (no output change): ImDrawFlags 1.93 values (Round*/Stroke*/AA*/JoinMiter/CapSquare/TextNoPixelSnap/UseTexForRoundCorners...; RoundCorners* kept as obsolete aliases), ImDrawList.Flags + PushDrawFlag/PopDrawFlag/_SetPixelDensity, SetupDrawListSharedData 1.93, style.CurveTessellationMaxError/AntiAliasedLineEnds, _AddPolyline entry point
2026-10-15 05:13:58 -05:00
4DBug
1b618f7230
compare_upstream: match XxxMT:Method and Class_Method globals to C++ class members (demo 100% ported by name)
2026-10-15 04:35:23 -05:00
4DBug
ddbfd8fb66
Demo: Selection State & Multi-Select section (ExampleSelectionWithDeletion, ExampleDualListBox, all 11 sub-demos) and Assets Browser ported; fix ImFloor() for negative non-integers (was floor-1)
2026-10-15 04:13:40 -05:00
4DBug
25bc437635
Port multi-select, box-select and typing-select (BeginMultiSelect/EndMultiSelect, SetNextItemSelectionUserData, MultiSelectItemHeader/Footer, BeginBoxSelect/EndBoxSelect, GetTypingSelectRequest/TypingSelectFind*, ImGuiSelectionBasicStorage/ExternalStorage, Metrics nodes); wired into Selectable/Checkbox/TreeNode/clipper/tables; t_multiselect
2026-10-15 03:49:53 -05:00
4DBug
d6bdedee85
Fix: InputTextMultiline crashed when drawn (InputTextLineIndexBuild/line offsets 0-based like upstream, inverted buf_display_end), InputText LiveEdit flag check; Shortcut()/IsKeyChordPressed() upstream defaults; FrameCount starts at 0 (IsWindowAppearing on first frame); missing ImGuiIO config fields with upstream defaults (+ ConfigDebugBeginReturnValueOnce/Loop); ColorButton drag source + ColorEdit4 drop target, IMGUI_PAYLOAD_TYPE_COLOR_3F/4F; t_fixes covers them
2026-10-15 03:03:10 -05:00
4DBug
966da7fbcf
Demo: re-ported imgui_demo.cpp line by line in upstream order (one function per upstream function, same labels/HelpMarkers/comments, 176/186 IMGUI_DEMO_MARKERs; port table driver/Sub()/Demo* helpers removed, statics in S.<Function>). New: DemoWindowInputs (Inputs & Focus), Image Viewer, ShowExampleAppDockSpaceBasic. Selection/Assets Browser stubbed until multi-select is ported. ImColor helper (imgui_h.lua). PORT_STATUS demo similarity 29% -> 51%
2026-10-15 02:32:58 -05:00
4DBug
bc13bc50b8
Fix: ImDrawList:PushClipRectFullScreen() was missing (drop target outside the window clip rect crashed); CalcItemSize() no longer writes to the caller's size (by value like upstream; fixes BeginTable UserOuterSize), scalar _CalcItemSizeXY for internal callers; t_fixes covers both
2026-10-15 02:05:43 -05:00
4DBug
ce0f51d9d5
tools/test: check_all.sh (CI mirror + all scripted tests + demo forced open + LÖVE), hashes.sh (draw checksums vs a git rev), t_libhash (library-only draw checksum); regenerate PORT_STATUS
2026-10-15 02:03:40 -05:00
4DBug
7ca140665d
0.2.0
Build & Release / build (push) Canceled after 0s
2026-10-15 01:06:11 -05:00
4DBug
3b28ba362b
Roblox backend: redraw budget is opt-in (SetRedrawBudget default 0 = every changed tile drawn the same frame)
2026-10-15 00:55:43 -05:00
4DBug
b15bdcd8b6
bundle.py: build-time Luau optimizations (draw-data identical; IMGUI_BUNDLE_NOOPT=1 disables): hot library globals as bundle locals, enum/constant folding (values dumped by the luau CLI; IMGUI_BUNDLE_STRICT=1 in CI), --@hoist pure helpers to inlinable bundle-level local functions, statement IM_ASSERT -> assert; builtin type instead of ImGui._GetTypeFunc() alias (GETGLOBAL 15903 -> 540)
2026-10-15 00:23:20 -05:00
4DBug
a0a9799efd
Library perf (draw-data identical): layout core (no ImVec2 __index in ItemSize, inlined ID/style/clip stacks, scalar ItemAdd/IsClippedEx/CalcItemSize/GetColorU32), text + widgets (scalar TextEx/ButtonEx/Checkbox/Slider/Drag/Selectable/TreeNode, word-wrap memo), tables (in-place clip rects, no per-row/cell temporaries, @native cell functions, scalar ClipWith), draw list (PrimRectXY, scalar AddRect/AddRectFilled/AddLine/PathRect/arcs)
2026-10-14 23:27:23 -05:00
4DBug
01978e76ad
Roblox backend perf (pixel-identical): redraw budget (SetRedrawBudget, default 1.5 ms; RenderRate default 0), exact in-place draw list compare + whole-pixel move fast path, partial tile redraws, flat rects hashed by in-tile rect, quads hashed by TL/BR, no full redraw on texture updates, @native CopyTexturePixels, reused partial upload buffers; imgui_draw: @native word wrap, ImStrByte/classifier inlined, text size cache covers wrapped text; t_pixels pixel oracle; run.py RUN_FLAGS
2026-10-14 22:26:38 -05:00
4DBug
1f4ae93a2e
tools/compare_upstream.py: port coverage + code similarity vs upstream, writes docs/PORT_STATUS.txt
2026-10-14 22:26:38 -05:00
4DBug
67dc6d3e18
0.1.4
Build & Release / build (push) Canceled after 0s
2026-10-14 10:32:10 -05:00
4DBug
43410ad035
InputText: fix clipboard paste (filter was inverted, then off-by-one in the filtered buffer); ImParseFormatTrimDecorations: return [start, end) like upstream (Ctrl+click temp input showed decorations / crashed on "%d%%"); ShrinkWidths: tie order by Index descending like upstream; t_fixes test
2026-10-14 10:32:10 -05:00
4DBug
0d01aaddf3
Comments: mirror upstream imgui.cpp/.h, imgui_internal.h, widgets/draw/tables/demo and imstb_* comments (comment-only, code tokens unchanged)
2026-10-14 10:23:55 -05:00
4DBug
0091e0e879
CI: minified builds (ImGui.min.luau, ImGui-nodemo.min.luau, imgui_love.min.lua, imgui_love-nodemo.min.lua) via tools/minify.py; checks + release assets; run.py MINIFY=1
2026-10-14 10:23:55 -05:00
4DBug
65d8510f29
0.1.3
Build & Release / build (push) Canceled after 0s
2026-10-14 06:26:28 -05:00
4DBug
7beab8da57
Docking: set node.LastBgColor (closing dock hosts drew white bodies), host skips own bg, fix SetNextWindowBgAlpha; Roblox backend: frames skipped by the render rate cap are drawn later (UI could freeze when the app stopped rendering); t_dock_close test
2026-10-14 06:26:28 -05:00
4DBug
3bebc88ffc
0.1.2
Build & Release / build (push) Canceled after 0s
2026-10-09 02:24:21 -05:00
4DBug
5db1490647
Roblox backend: text proxy is opt-in (SetTextProxy), remove SetTextProxyDebug; new example main.client.luau
2026-10-09 02:22:30 -05:00
4DBug
51399d29d2
README: move 'How it works' below Getting Started
2026-10-08 20:57:31 -05:00
4DBug
ce90ebf139
README: Wally package link; 0.1.1
Build & Release / build (push) Canceled after 0s
2026-10-08 20:54:31 -05:00
4DBug
cc6cf48cd1
Wally: scope 4dbug (must match the GitHub account)
2026-10-08 20:52:52 -05:00
4DBug
303b626938
SetNextWindowCached(key): opt-in cached windows on top of the refresh policy (skip contents while idle), t_cached_window test, README snippet
Build & Release / build (push) Canceled after 0s
2026-10-08 20:43:56 -05:00
4DBug
7eb87c94e9
Luau types: generated typed entry module build/ImGuiTyped.luau (requires the bundle as child Impl); Rojo/Wally use it
2026-10-08 20:36:27 -05:00
4DBug
d9a2371d5f
Wally package (bug/imgui-luau), published by CI on v* tags
2026-10-08 20:30:22 -05:00
4DBug
9ffc76de06
README: AI disclosure wording; .gitignore
2026-10-08 20:29:29 -05:00
4DBug
acbe92bd12
README: AI disclosure
2026-10-08 19:43:06 -05:00
4DBug
ac54986e6f
GitHub-only mirror notice (.github/README.md, synced from README.md), 'latest' is a full release
2026-10-08 19:40:49 -05:00
4DBug
42c84ad947
GitHub Actions: build Roblox/LÖVE bundles (with and without demo), check, publish to Releases (latest + v* tags)
2026-10-08 19:34:40 -05:00
4DBug
c3f8ebe21e
README: 'Dear ImGui for Roblox (and more)', Backends section/table, multi-backend wording
2026-10-08 19:31:22 -05:00
4DBug
54f7a79abd
README: in-depth Roblox backend explanation; FAQ: why this exists, vs Iris, trade-offs
2026-10-08 19:31:22 -05:00
4DBug
a36033598c
Move LuaJIT compat shims into backends/imgui_impl_love.lua (COMPAT section); remove compat/
2026-10-08 19:31:22 -05:00
4DBug
8ce6ee6ca1
LÖVE backend + build target (compat/luajit.lua shims, Roblox build unchanged), examples/example_love, examples/example_shared (same app on Roblox and LÖVE), LuaJIT checksum tests
2026-10-08 19:31:22 -05:00
4DBug
6493450bbc
Roblox backend: hidden TextBox proxy for text input
...
A single off-screen TextBox holds focus while an imgui text field is active, so the OS
delivers typing (any layout/unicode), paste and copy/cut. Its text mirrors imgui selection
(fully selected) so Ctrl+C/X copy exactly that; deletions apply as an imgui Backspace;
Ctrl is released around pasted characters. Focus is captured after the click is released,
kept on clicks inside imgui, ends on clicks outside. KeyCode text kept as fallback.
SetTextProxyDebug for logging.
2026-10-08 19:31:22 -05:00
4DBug
abe1004af3
Decal Viewer: try thumbnail pixels, fall back to an ImageLabel thumbnail when the asset's pixels can't be read
2026-10-08 17:42:15 -05:00
4DBug
6d07691237
Decal Viewer example (decal/image id -> imgui texture, demo image viewer with grid); backend CreateTexture/DestroyTexture
2026-10-08 17:38:33 -05:00
4DBug
3007126135
Embed widget example (Instances inside imgui windows, one Frame per id, hidden when not submitted, EmbedFlags) + backend SetOverlay
2026-10-08 17:28:13 -05:00
4DBug
9fbfd8a18d
README: credit GrayWolf64/imgui-lua
2026-10-08 17:17:46 -05:00
4DBug
cc3aef0e03
README modelled on upstream with rendered screenshots/GIF, docs/TODO.txt, screenshot tooling, t_readme snippet test, ImGui.NewTextBuffer helpers
2026-10-08 17:15:54 -05:00
4DBug
98bb23ef9a
Rename 'ImGui Sincerely' to 'Dear ImGui'
2026-10-08 17:00:00 -05:00
4DBug
9be30c5bfa
Reorganize like upstream: library at root (docking/dragdrop/debug tools merged into imgui.lua, tabs into imgui_widgets.lua), single imgui_demo.lua, backends/, fonts/, examples/, docs/; --no-demo build
2026-10-08 16:47:42 -05:00
4DBug
99b79a9977
Style Editor Colors tab: ListClipper so only visible rows are submitted
2026-10-08 13:18:29 -05:00
4DBug
17b0a27534
Perf: ColorEdit4 layout-only fast path for fully clipped rows, cached drag/slider value text, @native on color/group widgets; t_widget_cost + t_colors_hash
2026-10-08 12:31:10 -05:00
4DBug
0779b88618
Perf: ImDrawList vertices in a flat buffer (f64 pos/uv + u32 col); backend reads it directly and skips draw lists identical to last frame
2026-10-08 12:11:36 -05:00
4DBug
683fd5c3d4
Roblox backend: window content in its own clipped layer at the scroll origin (scrolling moves pixels instead of redrawing), 128px tiles
2026-10-08 11:52:42 -05:00
4DBug
01b5c3c6c2
Roblox backend: optional SetBusyRenderRate (lower redraw rate while scrolling/resizing/moving)
2026-10-08 11:43:31 -05:00
4DBug
fdca7fd10a
Roblox backend: clear/upload only each tile's dirty region; scroll benchmark in t_drag, scrolling in t_composite
2026-10-08 11:33:28 -05:00
4DBug
9acd130e4d
Roblox backend: one layer (Frame + tiles) per draw list so moving windows costs no redraw; gradient rect fast path; t_drag/t_composite checks
2026-10-08 11:10:53 -05:00
4DBug
1b35900bba
Perf: allocation-free ItemSize/ItemAdd/IsMouseHoveringRect/GetColorU32/RenderArrow, @native on hot UI paths; t_drawhash output-equivalence check
2026-10-08 10:41:15 -05:00
4DBug
eb18082bf1
Fix StyleCopy for named-field vectors (Style Editor assert)
2026-10-08 10:33:05 -05:00
4DBug
d7cb04d86d
Perf: memoize ImHashStr per seed, inline glyph lookup in ImFont:RenderText
2026-10-08 10:21:16 -05:00
4DBug
a3bb7530c5
Perf: ImVec2/ImVec4/ImRect store named fields (no metamethod per .x/.Min), bench flags --roblox/--open-only
2026-10-08 10:16:40 -05:00
4DBug
fe33536b3f
Perf: cache text sizes per baked font, AddRect fast path as 4 rects; run.py --profile + prof.py
2026-10-08 10:03:18 -05:00
4DBug
afe7fe0f32
Roblox backend: 60 Hz render cap (SetRenderRate) and MicroProfiler labels (SetProfiling)
2026-10-08 09:49:18 -05:00
4DBug
00bdd2f0fd
Embed upstream misc/fonts; Catppuccin Mocha theme in main.client.luau
2026-10-08 09:40:04 -05:00
4DBug
7b41ae468c
Fix PushStyleVar aliasing the caller's ImVec2 into the style; fix DebugNodeFontGlyph crash
2026-10-08 09:27:57 -05:00
4DBug
1d293c8cbe
Port window hit-test hole so PassthruCentralNode doesn't capture the mouse
2026-10-08 09:15:32 -05:00
4DBug
a4612ce2ea
Revert "Roblox backend: block game input with a 1x1 frame under the mouse instead of Active tiles"
...
This reverts commit 9bbd6671f1 .
2026-10-08 09:14:51 -05:00
4DBug
b6a0d8ae1e
Roblox backend: block game input with a 1x1 frame under the mouse instead of Active tiles
2026-10-08 09:13:01 -05:00
4DBug
24ce5eef25
tools: full Metrics/Debugger window (windows, drawlists, viewports, fonts, popups, tab bars, tables, docking, settings, inputs, internal state, rect overlays)
2026-10-08 08:40:30 -05:00
4DBug
e52fb60452
tools: About, Debug Log, ID Stack Tool, ShowFontAtlas/DebugNodeFont/Texture, ShowFontSelector; debug log macros route to DebugLog; GetID hooks
2026-10-08 08:33:57 -05:00
4DBug
1be2a77f0e
demo: dockspace + documents example apps
2026-10-08 08:28:23 -05:00
4DBug
14b4626f36
draw: Ngon/Ellipse/Bezier/concave fill; demo: custom rendering app
2026-10-08 08:27:05 -05:00
4DBug
b6f814c331
demo: example apps (console, log, layout, property editor, long text, auto/constrained resize, overlay, fullscreen, window titles)
2026-10-08 08:24:43 -05:00
4DBug
05d956fe52
roblox backend: render scale for high-DPI displays; make tiles Active while imgui wants the mouse so input doesn't reach the game
2026-10-08 08:21:54 -05:00
4DBug
dab36caef9
demo: port all Widgets sections, ShowStyleEditor/ShowStyleSelector, menus; fix crashes found by click fuzzer (color/scalar default args, InputTextWithHint string hint, AddText overload, splitter reset, CollapsingHeader close button, callback data methods, SetKeyboardFocusHere & misc getters)
2026-10-08 08:06:00 -05:00
4DBug
bc117e42da
tables: full port of imgui_tables.cpp (layout, borders, draw channel merge, sorting, headers, angled headers, context menu, .ini settings, reconcile, GC) + legacy Columns API; demo: ShowUserGuide, DemoWindowColumns; misc widget aliases
2026-10-08 06:53:00 -05:00
4DBug
8c1703e703
core: ListClipper, TextFilter, error recovery + error tooltip, NavEndFrame; widgets: Combo, ListBox, TreeNodeEx/TreePush, MainMenuBar, ViewportSideBar; tree node fixes
2026-10-08 06:35:35 -05:00
4DBug
b271646367
docking: fix docked bg + dock-host moving; per-function @native to fit Roblox codegen limit
2026-10-08 05:51:40 -05:00
4DBug
c7fe06ceb0
docking: runs end to end (dock/undock by drag, builder, ini round trip), test scripts
2026-10-08 05:43:00 -05:00
4DBug
eff97a2b74
WIP: tabs, docking, dragdrop, settings, logging, harness
2026-10-08 05:35:25 -05:00
4DBug
86c42f2225
optimize
2026-10-07 15:12:59 -05:00
4DBug
6a25eddef1
roblox
2026-10-07 14:47:12 -05:00
4DBug
79c8eee906
Initial commit
2026-10-07 13:03:05 -05:00