Commit Graph
42 Commits
Author SHA1 Message Date
4DBug b88d8167cc 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 cc13b086c3 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 0501e8f4ff 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 3a98e9d97f 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 cf8dd2028e 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 bf42b2414e README: credit GrayWolf64/imgui-lua 2026-10-08 17:17:46 -05:00
4DBug a50c5364bb 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 faccd859ad Rename 'ImGui Sincerely' to 'Dear ImGui' 2026-10-08 17:00:00 -05:00
4DBug 59c3e6ba69 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 7d2be69434 Style Editor Colors tab: ListClipper so only visible rows are submitted 2026-10-08 13:18:29 -05:00
4DBug 5b269aa9ae 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 930a9a8fad 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 0dc886dc22 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 782a3aeaf8 Roblox backend: optional SetBusyRenderRate (lower redraw rate while scrolling/resizing/moving) 2026-10-08 11:43:31 -05:00
4DBug 4aae03805e 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 1859a9d576 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 464f0312db 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 a2fc63e931 Fix StyleCopy for named-field vectors (Style Editor assert) 2026-10-08 10:33:05 -05:00
4DBug cf3b017420 Perf: memoize ImHashStr per seed, inline glyph lookup in ImFont:RenderText 2026-10-08 10:21:16 -05:00
4DBug f404626783 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 888ffce0d5 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 65f07d53c4 Roblox backend: 60 Hz render cap (SetRenderRate) and MicroProfiler labels (SetProfiling) 2026-10-08 09:49:18 -05:00
4DBug 40dd92a492 Embed upstream misc/fonts; Catppuccin Mocha theme in main.client.luau 2026-10-08 09:40:04 -05:00
4DBug 1075359b73 Fix PushStyleVar aliasing the caller's ImVec2 into the style; fix DebugNodeFontGlyph crash 2026-10-08 09:27:57 -05:00
4DBug efb8124da9 Port window hit-test hole so PassthruCentralNode doesn't capture the mouse 2026-10-08 09:15:32 -05:00
4DBug 8be57b02ce 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 105d26cc81 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 26b1df2928 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 13c6723d9f 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 f7e9934cb5 demo: dockspace + documents example apps 2026-10-08 08:28:23 -05:00
4DBug b81b1c1031 draw: Ngon/Ellipse/Bezier/concave fill; demo: custom rendering app 2026-10-08 08:27:05 -05:00
4DBug cf67a3467f 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 f828809f53 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 6ab9462ac9 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 b20373e237 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 52435ab3c1 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 676a5fe7e5 docking: fix docked bg + dock-host moving; per-function @native to fit Roblox codegen limit 2026-10-08 05:51:40 -05:00
4DBug 1a29d4371d docking: runs end to end (dock/undock by drag, builder, ini round trip), test scripts 2026-10-08 05:43:00 -05:00
4DBug 631b65cb66 WIP: tabs, docking, dragdrop, settings, logging, harness 2026-10-08 05:35:25 -05:00
4DBug be7b2da371 optimize 2026-10-07 15:12:59 -05:00
4DBug 96b0d1b83a roblox 2026-10-07 14:47:12 -05:00
4DBug e5562916cf Initial commit 2026-10-07 13:03:05 -05:00