Create LICENSE#33
Merged
Merged
Conversation
2 tasks
borisbat
added a commit
that referenced
this pull request
May 16, 2026
…may15 mouse: dasImgui PR #33 + lint-macro option-gating cards
Lasovar
pushed a commit
to Lasovar/daScript
that referenced
this pull request
May 16, 2026
…cards 7 new cards + 2 refinements covering the dasImgui lint default-on ship (PR GaijinEntertainment#33), call_macro vs lint_macro option-gating divergence, Form 3 positional gate semantics, indexed per-row table-clear, register_focusable in [finalize], popup-context default flags, Text vs TextUnformatted format footgun, and PowerShell Set-Content UTF8 BOM mojibake. Also adds site/doc-latex/ to .gitignore (Sphinx latex builder output dir).
This was referenced May 17, 2026
Lasovar
pushed a commit
to Lasovar/daScript
that referenced
this pull request
May 17, 2026
The example pre-dated PR GaijinEntertainment#33's default-on imgui_lint, PR GaijinEntertainment#38's headless harness, and PR GaijinEntertainment#39's daslang theme. It hand-rolled its own imgui_app() shim, called raw Begin/End/Checkbox/InputFloat with addr-of dance, and set FontGlobalScale=1.0 with a "BBATKIN: note - my monitor is HUGE" comment. Rewrite onto the current surface: * require imgui/imgui_harness — single import for the boost-v2 widget stack, daslang theme + JetBrains Mono via live_imgui_init, harness lifecycle (harness_init / harness_begin_frame / harness_new_frame / harness_shutdown). * window(SETUP_WIN, ...) { ... } container instead of raw Begin/End. * edit_checkbox / edit_input_float / edit_input_float2 against safe_addr(global) instead of unsafe(addr(field)). Collapsed C0.x/C0.y → edit_input_float2(safe_addr(c0), ...) — same applies to C1/C-1/C2/C-2. * text("...") narrative widget instead of raw Text(). * separator(SEP_C0/C1/C2) instead of raw Separator(). * Drop FontGlobalScale shim — theme picks a sensible 14px default. Per-frame loop splits harness_end_frame manually so custom OpenGL draws between glClear and ImGui_ImplOpenGL3_RenderDrawData. options _allow_glfw_calls = true opts out of imgui_harness_lint for the GLFW/GL calls the example legitimately owns (live_get_framebuffer_size, glViewport, glClear, draw_fourier()). To run: `daspkg install` from examples/graphics/ to fetch dasImgui into the local modules/, then `daslang.exe -project_root . furier_opengl_imgui_example.das`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Lasovar
pushed a commit
to Lasovar/daScript
that referenced
this pull request
May 17, 2026
Cards from the dasImgui phase 3+ session (harness, recording driver, boost-v2 wrappers, port checklist): Recording driver / APNG (6): - verify recording correctness without a viewer - drag-to-app cursor visual vs click landing - 100MB APNG shrink strategy - move_to_app(p, widget) cursor at framebuffer corner - single-scene harness driver missing cursor sprite - main_menu_bar child menu bboxes 0,0,0,0 in snapshot Boost-v2 wrappers (3): - columns_open(n, id, border) dynamic surface - list_clipper for ImGuiListClipper cull - TextFilter passes_filter helper Harness lint / split (2): - HARNESS001 forbidden-modules lint - split custom OpenGL overlay recipe Audit + port (2): - audit which _allow_imgui_legacy=true sites are dead scaffolding (PR GaijinEntertainment#33) - port v1 imgui_boost example to boost v2 checklist CLAUDE.md: add one bullet under Common gotchas - options for pass-macros ([lint_macro] / AstPassMacro) are MODULE-LOCAL, not program-root. Mirrors feedback_lint_macro_per_module_scope.md in memory; promoting because it bit two sessions in a row during dasImgui lint default-on work (PR GaijinEntertainment#33 + PR GaijinEntertainment#40). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.