Commit Graph

  • 6e9790bf2a extensions: submodule pointers -> the rewritten extension commits on their remotes (imcurveedit-luau 4998eaf, imgradient-luau 227f1a0, imgui-memory-editor-luau 8249fe2, imnodes-luau 357fc01, imsequencer-luau d09550e; same trees as the old 9769fd0 / 21b3b2d / 3c9aca1 / 363fd65 / a911077, which no longer exist upstream) master 4DBug 2026-10-25 06:23:44 -05:00
  • d1818970b5 0.4.4 v0.4.4 4DBug 2026-10-25 05:44:24 -05:00
  • b83d09de0c Roblox backend: forget the last mouse position when the window gains / loses focus (losing focus clears imgui's mouse to unavailable and NewFrame only resends a moved mouse, so a click on return without moving first landed nowhere); rebuilt build/ImGui.luau 4DBug 2026-10-25 05:44:24 -05:00
  • 3bac70663f build: rebuild Roblox bundle + worker (span slots, ImPlot rect pairs, greedy dirty-rect diff, per-command primitive data, table natives, trunc helpers) 4DBug 2026-10-24 06:09:18 -05:00
  • 132660be9a tools/test: t_scroll_pixels.luau (stress window with table + wrapped text scrolling down / up, resizing from the bottom-right and the top-left, composite every 3 frames: incremental must equal a forced full redraw; catches DirtyRects list-diff mistakes) + check_all.sh 'scroll_pixels' check 4DBug 2026-10-24 06:06:32 -05:00
  • 7c21be04de Roblox backend: a primitive's texture, texture id, vertex buffer and clip rect are its draw command's (PrimCmd -> Cmd* arrays, numbered through the frame) instead of 7 per-primitive arrays: CollectPrims writes 11 instead of 17 values per primitive, HashTiles / RasterRect / PrimHash / Parallel.Tile read them through PrimCmd (headless instructions per frame: implot -0.23M, plots -0.1M, scroll -0.09M, fonts -0.08M, resize -0.03M; CollectPrims -10%; pixels identical) 4DBug 2026-10-24 05:55:37 -05:00
  • 8e6abeede9 Roblox DirtyRects: a greedy diff of the tile's old and new primitive list (lookahead 8 entries for the one that resyncs both, so an inserted or removed run is skipped; same flat rect: strips) instead of pairing them only by position when the counts match: a row scrolled out of or into a tile, or an entry shifted by one, no longer redraws every primitive after it. Any order-preserving pairing is exact. Two unpaired entries without a resync: the positional pass as before (mostly changed lists: new font size, animated plots) (headless: scroll PixelsRasterized 14.1k -> 4.3k/frame, Raster -25%, resize_tl 106k -> 82k px, resize 82k -> 78k px; instructions scroll -0.4M/frame, resize_tl -0.2M, others within +-0.1M; pixels identical) 4DBug 2026-10-24 05:34:02 -05:00
  • b119b07676 Roblox HashTiles: the per-primitive vertex hash unrolled (2 vertices for quads, 3 for triangles, 4 for line quads / triangle pairs; was a loop with a branch per vertex; same math, same order: hashes identical) (headless instructions: scroll -0.1M/frame, resize -0.06M; Hash stage -5..9% plots/implot) 4DBug 2026-10-24 05:34:02 -05:00
  • 9ef8a623cc tools/test/native_size.py: native code size of the bundle per module / source file / function vs the Studio limit (one script's native code must fit one ~4 MB block or none of it is compiled; measured in Studio: native at 4,083,418 bytes, interpreted from 4,103,258; master 3,153,274 = 77%, ~900 KB headroom); check_all.sh 'native' check; PORTING.md note 4DBug 2026-10-24 05:32:03 -05:00
  • ff7a04187c Tables: @native TableUpdateLayout(), TableSetupDrawChannels(), TableSetupColumnFlags() (once per table per frame, the largest interpreted cost of table-heavy windows: demo_all -2.5% instructions; +176 KB native code, paid for by the stb_truetype trim; draw data identical) 4DBug 2026-10-24 04:39:56 -05:00
  • b87012f08f stb_truetype: no @native on CFF-only functions (charstring interpreter, CFF index/dict parsing, cubic tesselation) and font-init-only ones (InitFont, table directory): never run per frame for TrueType fonts, native code -312 KB (Studio shares one native code budget across scripts); per-frame cost unchanged (fonts scenario instructions identical), startup -3% instructions (less to compile) 4DBug 2026-10-24 04:36:38 -05:00
  • ca621e1082 Trunc helpers: _Trunc/ImTrunc @native, ImTrunc64 its own hoisted function (was an alias of _Trunc: AddRect()/AddRectFilled() called a non-native function per rect), IM_TRUNC/IM_ROUND hoisted + @native; bundle.py: A's local budget counts the hoisted functions (main chunk stays under 200 locals) (demo_all -1.7% instructions; draw data identical) 4DBug 2026-10-24 04:32:56 -05:00
  • f2658b755e ImDrawListSplitter:Merge(): copy each channel's indices with table.move() (upstream memcpy) instead of a per-index loop in interpreted code (stress hover -0.8% instructions; draw data identical) 4DBug 2026-10-24 04:32:56 -05:00
  • 620660ccf9 Roblox backend: flat triangle pairs a b c + a b d (ImPlot PrimRectFill: heatmap cells, bars; one colour, one uv) are one primitive (kind 5): per row both triangles' spans exactly as DrawTriangle computes them, one fill where they touch (opaque: or overlap), else each in order; pairs DrawTriangle would walk by columns, or degenerate ones, still go to the two calls (tile hash kind field * 8; replay: implot -3.5%; randomized 800k cases vs the two DrawTriangle calls identical; pixels identical) 4DBug 2026-10-24 04:30:29 -05:00
  • 5ae58c6b57 Roblox raster: narrow flat spans (opaque <= 8 px, translucent <= 4 px wide: vertical lines, histogram bars) skip the uniform-row bookkeeping and only mark pending damage; translucent ones blend per pixel (cached per destination value), one pixel wide in one loop down the column (replay: plots -13%, implot -3%, resize -2%; pixels identical) 4DBug 2026-10-24 04:16:31 -05:00
  • 8520257086 Roblox raster: triangle / line quad spans from per-side edge slots (one estimate + short search per side, no per-edge branches per row; horizontal / vertical edges bound the row / column range once), line quad texels blended without the per-texel cache and opaque-texel branches (replay: implot -5%, plots -5%, colorpicker -2.5%; pixels identical) 4DBug 2026-10-24 04:08:59 -05:00
  • 8611bfb4ed build: rebuild Roblox bundle + worker (recolor patch, unrolled span/row writes, axis-aligned edge and alpha-0 edge skips) 4DBug 2026-10-23 23:52:00 -05:00
  • b3e9390653 extensions: submodule pointers -> the rewritten extension commits on their remotes (implot-luau 7199224, imguicolortextedit-luau a340940, implot3d-luau 6ff7fb1, imguizmo-luau a71a223; same trees as the old 2bc5700 / 0592ed6 / b30d2ff / 93f4569, which no longer exist upstream) 4DBug 2026-10-23 23:51:47 -05:00
  • 752ae2e887 Roblox raster: vertex-colour triangles skip a row / column lying on an edge whose two vertices have alpha 0 (an AA fringe's outer edge sits on pixel centres; the interpolated alpha is exactly 0 there, so it drew nothing) (replay: plots -3%, resize -1.5%; pixels identical) 4DBug 2026-10-23 23:39:02 -05:00
  • c0fc18177f Roblox raster: an axis-aligned edge (A = 0 for rows, B = 0 for columns) is tested once per row / column instead of per pixel by the span search: AA fringes and shaded fills next to a vertical / horizontal edge no longer scan empty rows / columns pixel by pixel (replay: implot -8%, plots -12%, resize -5%; pixels identical) 4DBug 2026-10-23 23:28:04 -05:00
  • 5c076f65d5 Roblox raster: solid spans 4-8 pixels per loop iteration (FillRow; a native loop iteration costs more than a few writes), opaque column walks 4 rows per iteration, translucent black over opaque 4 pixels per iteration without the cache (colour picker SV square), full-width span rows copied in doubling blocks (CopyRows), bit32 colour unpacking instead of % / floor (replay in Studio: colorpicker -19%, implot -13%, fonts -16%; pixels identical) 4DBug 2026-10-23 23:28:04 -05:00
  • d1db51dded Roblox backend: PatchDrawList skips primitives with no vertex in the listed vertices' offset range before the DriftSet lookups (hover recolor patch -25%, drift moves too) 4DBug 2026-10-23 23:07:20 -05:00
  • cef7a1209e Roblox backend: recolored draw lists (same vertex positions, a few vertices' colour / uv changed, e.g. hover) skip HashTiles: CompareDrawList 4 lists them, PatchDrawList gives those primitives their real hashes (PrimHash / FlatTileHash) and redraws just their tiles, leaving the tiles exactly as the full path would; t_recolor_pixels (incremental vs forced, also parallel) in check_all 4DBug 2026-10-23 23:02:44 -05:00
  • 951d18fda2 Roblox backend: HashTiles mixes the primitive kind into its bounds term instead of two extra % after the second vertex (gradient rects, ImPlot line quads; implot Hash -4%, same pixels) 4DBug 2026-10-23 23:02:38 -05:00
  • 006c8c4a34 tools/test: prof.py finds run.py's linemap in $TMPDIR (tempfile.mkdtemp), not only /tmp 4DBug 2026-10-23 22:32:53 -05:00
  • 23e31fcf3c 0.4.3 v0.4.3 4DBug 2026-10-21 04:04:31 -05:00
  • 694d56a78f LÖVE backend: ReadFile also tries the root as a love.filesystem path (works in .love/fused builds); RegisterCanvas()/UnregisterTexture() to show an existing Texture/Canvas without the backend owning it; rebuilt build/imgui_love.lua 4DBug 2026-10-21 04:03:58 -05:00
  • 635cf6647b build: rebuild Roblox bundle + worker (round 3: rasterizer gradients/lines, library plots/colour pickers/Begin temporaries) 4DBug 2026-10-21 03:50:40 -05:00
  • 90efb0c6e1 extensions: imguicolortextedit-luau -> 0592ed6 (TextEditor: widest line + selected text cached, @native glyph loops), implot3d-luau -> b30d2ff, imguizmo-luau -> 93f4569 (@native per-point/math paths) 4DBug 2026-10-21 03:50:31 -05:00
  • 6eb91d17e4 extensions: implot-luau -> 2bc5700 (round 3 ImPlot performance: range renderers, @native per-point helpers, tick reuse) 4DBug 2026-10-21 03:35:40 -05:00
  • dfdfea5ea7 Roblox backend: RasterRect tests a primitive's bounds against the rect before reading its clip (most of a tile's primitives miss a small dirty rect) 4DBug 2026-10-21 03:26:17 -05:00
  • c85b2dbb96 Roblox raster: solid spans written two pixels per writef64 (the pixel twice as a normal double; per pixel otherwise), translucent black spans without the colour terms (colour picker SV square), triangle / line quad rows start past an estimate that is never in the span (replay: colorpicker -13%, plots -7%, implot -5%; pixels identical) 4DBug 2026-10-21 03:09:28 -05:00
  • 12059f2646 Roblox backend: DirtyRects skips AddRect for a changed primitive inside the first dirty rect (where AddRect would merge it, unchanged) 4DBug 2026-10-21 02:44:58 -05:00
  • d99864c315 Roblox raster: per-pixel blend/texel sample inlined in the interpolating triangle paths (rows and columns) and gradient kind 2 (a call per pixel cost more than the math), colours unpacked inline (shared when equal), white texels not folded, flat span constants only when translucent; line quads: bounds before edge setup, fixed texel row when v is constant; narrow solid spans written instead of copied per row (replay: colorpicker -14%, plots -14%, implot -3%; pixels identical) 4DBug 2026-10-21 02:44:58 -05:00
  • b2c8ce7a00 tools/test: t_scene_pixels (bench scenes animated, composited every 8 frames: incremental == forced redraw), in check_all (ImPlot scene when extensions/implot-luau is checked out) 4DBug 2026-10-21 02:44:58 -05:00
  • a2e19627fe tools/test: hashes.sh finds luau/luajit in the nix store when the pinned paths are gone (like check_all.sh) 4DBug 2026-10-21 03:00:35 -05:00
  • 278f978d3e Library: fewer temporaries per window, child, input field, separator text and resizable table: Begin() skips CalcWindowAutoFitSize() when no axis auto-fits (result unused; still called when a size callback would see it), scalar scrollbar/auto-fit/avail/needed sizes, ScrollbarSizes updated in place, scratch viewport/visibility rects, OuterRectClipped and the previous-child overlap test without ImRects; RenderWindowOuterBorders() scratch corner; EndChild() scratch size/bb; InputTextEx() scalar label/frame/inner sizes, scratch total_bb and (single-line, until ItemAdd() accepts it) frame_bb, so clipped fields allocate nothing; SeparatorTextEx() scratch sizes/rect/positions; TableUpdateBorders() scratch hit rect 4DBug 2026-10-21 02:39:31 -05:00
  • 30afa19ed1 Library: PlotEx() without per-point temporaries (scalar tp0/tp1 and ImLerp, two scratch corners only read by AddLine()/AddRectFilled(), scalar frame/inner/total rects) and @native; RenderColorRectWithAlphaCheckerboard() with scratch cell corners and @native; @native ShadeVertsLinearColorGradientKeepAlpha() and _PathArcToN() (color picker hue wheel) 4DBug 2026-10-21 02:38:26 -05:00
  • 2ff5225f49 Library: @native on DebugNodeFontGlyphsForSrcMask() (the font atlas glyph grids: a 256-entry scan per codepoint block + 256 AddRect/RenderChar per open block) and on small helpers called from native code (IM_ASSERT, IM_ASSERT_USER_ERROR_RET, ImHashStr's memo, ImVector __index/push_back/pop_back/back/iter) 4DBug 2026-10-21 02:38:11 -05:00
  • 5fa9889a37 tools/test: bench_scenes.luau (plots, colorpicker, implot, demo_all scenes shared by the Studio bench and headless runs) and t_stress2.luau (library + backend time and draw checksum per scene) 4DBug 2026-10-21 01:58:35 -05:00
  • 6f4ec3c2b7 build: rebuild Roblox bundle + worker (round 2: bundle-time ImGui.* localization, patches.lua, library allocations, backend raster/bookkeeping) 4DBug 2026-10-21 01:29:48 -05:00
  • 701156b5cc Roblox backend: reuse the destroyed atlas texture record's buffer for the next one of the same size (repack) 4DBug 2026-10-21 00:43:32 -05:00
  • 086e66cb3e Roblox backend: keep 4 prewarmed tiles in the free list (Heartbeat, one per call, never evicting) 4DBug 2026-10-21 00:43:32 -05:00
  • 162fa80075 Roblox raster: tall flat triangles (column walk) write spans like the row path (no BlendPixel call per pixel) 4DBug 2026-10-21 00:43:32 -05:00
  • 31d09640bf Roblox backend: DirtyRects skips primitives unchanged at the same list position (paired lists) 4DBug 2026-10-21 00:43:32 -05:00
  • 53b3489f68 Roblox backend: moved draw lists with drifted vertices: redraw just what they touch (and always redraw it) 4DBug 2026-10-21 01:02:17 -05:00
  • 2fc6d75ef8 tools/test: t_move_pixels (moving window with circles / rounded rects / bullets: incremental == forced redraw), in check_all 4DBug 2026-10-21 01:02:17 -05:00
  • f2648316e7 bundle.py: optimization L (Roblox): library-internal ImGui.Foo reads in function bodies become per-file locals ImGui_Foo (file function or a wrapper around it, within the 200 locals/upvalues limits), bound after every IM_INCLUDE; only names assigned once at load time, patchable deny-list (Begin/End/TreeNode*/CollapsingHeader/ItemAdd/ItemHoverable/ItemSize/BeginTabItem/ShowDemoWindow) stays a table lookup; IMGUI_BUNDLE_NO_L=1 turns it off 4DBug 2026-10-21 01:20:08 -05:00
  • 328f13a3c4 Library: tables without per-instance temporaries in BeginTableEx()/TableUpdateLayout()/TableMergeDrawChannels() (scratch rects, scalar outer size); ImDrawListSplitter::Merge() keeps the command it merges away past Size for reuse (was 6 new ImDrawCmd per table per frame): 435 -> 247 tables/frame allocated for 10 small tables in a window 4DBug 2026-10-21 01:04:37 -05:00
  • f3387cfe76 Library: no temporaries in Checkbox()'s check mark, Bullet(), Dummy(), NewLine(), ArrowButton[Ex](), InvisibleButton(), MenuItemEx() and InputScalar()'s step buttons 4DBug 2026-10-21 01:04:37 -05:00
  • 2b5887d166 Library: no temporaries in Selectable(), RadioButton(), SeparatorEx(), LabelText(), BeginCombo(), SmallButton(), ProgressBar() and the single-line InputTextEx() path (scratch rects/vectors only read by callees, scalar text sizes, shared read-only defaults; the multi-line backup of LastItemData only built when multi-line) 4DBug 2026-10-21 00:56:17 -05:00
  • 9c965297ee Library: PushStyleColor()/PushStyleVar*()/BeginGroup() reuse the stack entry left past Size by the matching pop (C++ copies them into the vector's storage), EndGroup() without temporaries: no garbage per push/group (was 288/193/1952 bytes), per widget headless: PushStyleColor -14%, PushStyleVar -12%, BeginGroup+EndGroup -34%, DragFloat3 -11% 4DBug 2026-10-21 00:56:17 -05:00
  • de8e2fef08 Library: fewer temporaries per window in Begin() (scalar TitleBarRect()/CollapseButton() rects, viewport clip and contains tests, visibility rect, CalcWindowSizeAfterConstraint() writes its own copy, title bar rect only built for a hovered window): 21.4 -> 18.8 KB/frame allocated for one window of buttons/sliders, 46.6 -> 42.5 KB/frame in the Studio bench scene 4DBug 2026-10-21 00:46:41 -05:00
  • 015cd40172 Library: ImDrawList reuses its ImDrawCmd objects (AddDrawCmd() takes the command left past Size by last frame's resize(0)/pop_back(), Merge() swaps instead of clearing channel slots), _CmdHeader reset in place: ~9 KB/frame less garbage in the Studio bench scene 4DBug 2026-10-21 00:35:15 -05:00
  • c740729106 Roblox backend: patches.lua, Luau-tuned replacements of hot library internals (text rendering, text size cache hit) 4DBug 2026-10-21 01:03:42 -05:00
  • 76cfcf6e12 build: rebuild Roblox bundle + worker (backend and library performance work since 0.4.2) 4DBug 2026-10-20 20:52:38 -05:00
  • 90363f4a6e Library: @native on small, frequently called helpers (style color stack, tree push/pop, indent, item size, draw list clip/cmd, glyph lookup, table column helpers) 4DBug 2026-10-20 15:10:21 -05:00
  • b05d2535c0 tools/test: t_stress.luau, headless copy of the Studio bench scene (library CPU per frame + draw checksum) 4DBug 2026-10-20 14:53:28 -05:00
  • 70df13d409 Library: drop @native from once-per-window/frame giants, fewer slow lookups in text helpers 4DBug 2026-10-20 14:50:49 -05:00
  • 46551df26b Library: fewer calls/lookups per text item, table cell and frame 4DBug 2026-10-20 14:16:17 -05:00
  • 713cd3c22a Library: @native on hot interpreted paths (Begin/End, NewFrame key loops, table rows, sliders, buttons, wrapped text, GetFontBaked) 4DBug 2026-10-20 14:16:07 -05:00
  • b75f183ecf Roblox backend: tiles no longer allocate a 64 KB CPU pixel buffer each (unused since dirty rects are rasterized straight into upload buffers) 4DBug 2026-10-20 15:12:11 -05:00
  • 5f23d260fd Roblox backend raster: damage to the uniform rows collected in one pending rect (applied when a span needs them); spans process runs of rows with the same uniform piece at once 4DBug 2026-10-20 14:52:16 -05:00
  • a20b7fcacf Roblox backend raster: uniform rows are only valid inside the last ClearRect (no reset passes) 4DBug 2026-10-20 14:42:08 -05:00
  • efe16cc1e8 Roblox backend raster: glyph blits read consecutive texels without the column table, cache white-texel blends per alpha 4DBug 2026-10-20 14:34:27 -05:00
  • 7a453fd8b7 Roblox backend raster: uniform region tracked per row instead of one rect (translucent spans over uniform rows fill instead of blending per pixel) 4DBug 2026-10-20 14:25:51 -05:00
  • ad32fa4bd1 Roblox backend: rasterize dirty rects straight into the upload buffer (no CopySubRect, no cold 64 KB tile buffer) 4DBug 2026-10-20 13:52:03 -05:00
  • 360e7b70bc Font atlas: ImTextureData:Create() reuses the pixel table of the last atlas texture removed after the backend destroyed it (same byte size, zero-filled with table.move doubling) instead of a new 512K-entry table per repack (texadd 92 -> 44 ms, bake bench -8% run side by side; atlas/glyph checksums and draw hashes unchanged) 4DBug 2026-10-20 14:46:32 -05:00
  • 08953d4270 Parallel: Actors free destroyed textures (each atlas grow/repack left a full copy in every Actor), atlas patches send the updated glyph rects instead of whole row spans and are built once per version for all Actors (fonts tex sends 151 -> 91 KB/frame in Studio, TexBytes 35.6 -> 22.2 MB headless); Actor texture handling moved to Raster.ApplyTextures, which Sync mode now runs on per-Actor copies so t_parallel checks it; t_parallel fonts scenario (new size per frame), check_all runs 620 frames 4DBug 2026-10-20 14:31:50 -05:00
  • 19083b757d Faster glyph baking: atlas repack finds RectsIndex entries by the loop index (index_from_ptr was O(n^2) per repack), stb_truetype vertical edges (all of ProggyClean's) without stbtt__handle_clipped_edge calls, FlattenCurves with locals + inlined add_point, @native trunc (sorted-edges 215 -> 107 ms, repack 330 -> 184 ms on bake bench; glyph bitmaps, atlas and draw hashes unchanged) 4DBug 2026-10-20 14:06:20 -05:00
  • c3119740e4 Textures: typed, unrolled RGBA/Alpha8 row conversion (no zero-skip branch): new 512x256 atlas record 0.54 -> 0.30 ms headless, pixels unchanged 4DBug 2026-10-20 14:06:20 -05:00
  • 2ffc355ffe Roblox render: hot loop locals, native DrawLayer, DirtyRects without copies 4DBug 2026-10-20 14:37:33 -05:00
  • ba9d529935 Roblox render: cheaper CollectPrims + HashTiles (per changed draw list) 4DBug 2026-10-20 14:05:59 -05:00
  • b62997f2c3 Roblox backend: faster unchanged check: CompareDrawList compares vertices as 4 f64 + col (3x fewer reads), indices 4 per step; a moved list's snapshot is shifted in place (ShiftSnapshot) instead of re-snapshotted from another list's Cmd* data 4DBug 2026-10-20 13:56:21 -05:00
  • dd9a5ef219 0.4.2 v0.4.2 4DBug 2026-10-17 13:18:53 -05:00
  • 9b1052beed 0.4.1 v0.4.1 4DBug 2026-10-17 07:31:40 -05:00
  • b4458195b9 0.4.0 v0.4.0 4DBug 2026-10-16 22:33:29 -05:00
  • 3129475a22 0.3.0 latest 4DBug 2026-10-15 11:04:45 -05:00
  • 9b735db59c 0.3.0 v0.3.0 4DBug 2026-10-15 11:04:45 -05:00
  • b3032d1ea1 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 4DBug 2026-10-15 10:57:00 -05:00
  • 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 4DBug 2026-10-15 10:57:00 -05:00
  • 1a81405336 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 4DBug 2026-10-15 10:54:56 -05:00
  • 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 4DBug 2026-10-15 10:54:56 -05:00
  • f3d886e059 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 4DBug 2026-10-15 10:51:20 -05:00
  • 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 4DBug 2026-10-15 10:51:20 -05:00
  • 41f1bc78cd 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 4DBug 2026-10-15 09:39:17 -05:00
  • 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 4DBug 2026-10-15 09:39:17 -05:00
  • 850c00a875 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 4DBug 2026-10-15 09:39:17 -05:00
  • 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 4DBug 2026-10-15 09:39:17 -05:00
  • 168f5e77fa 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 4DBug 2026-10-15 08:52:30 -05:00
  • 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 4DBug 2026-10-15 08:52:30 -05:00
  • 84a3e754f2 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 4DBug 2026-10-15 08:05:51 -05:00
  • 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 4DBug 2026-10-15 08:05:51 -05:00
  • 6ac78dbdc6 Port ImTriangulator + upstream AddConcavePolyFilled (AA fringe, no per-triangle seams); [Luau] handles CCW winding and duplicate/collinear points that upstream mis-triangulates 4DBug 2026-10-15 07:43:21 -05:00
  • c94f62a1e4 Port ImTriangulator + upstream AddConcavePolyFilled (AA fringe, no per-triangle seams); [Luau] handles CCW winding and duplicate/collinear points that upstream mis-triangulates 4DBug 2026-10-15 07:43:21 -05:00
  • 226631d261 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 4DBug 2026-10-15 07:24:13 -05:00
  • 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 4DBug 2026-10-15 07:24:13 -05:00
  • 646a2e65b3 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) 4DBug 2026-10-15 06:55:57 -05:00
  • 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) 4DBug 2026-10-15 06:55:57 -05:00
  • e08cd0765e 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) 4DBug 2026-10-15 06:37:49 -05:00