Conversation
Add CI workflow that builds on Ubuntu and macOS in both Debug and Release configurations (2x2 matrix = 4 jobs). Key features: - Hermes build caching per OS (saves 5-10 min on cache hit) - Cache optimization: removes .git directory to save ~100MB - Platform-specific dependency installation - Explicit Clang compiler selection on Ubuntu - Uploads all example executables as artifacts - Runs on push to master, PRs, and manual dispatch Hermes is always built in Release mode and shared between Debug/Release project builds on the same OS.
Add HERMES_BUILD_TYPE CMake option to allow building Hermes in modes other than Release. This is useful for debugging shermes crashes or optimizer issues. Usage: cmake -B build -DHERMES_BUILD_TYPE=Debug cmake -B build -DHERMES_BUILD_TYPE=RelWithDebInfo Defaults to Release to maintain existing behavior and build performance.
Enable line directives in shermes output to improve source mapping in stack traces and error messages. This makes debugging JavaScript code compiled with shermes significantly easier. Applied to all build configurations (not just Debug) as the overhead is negligible and the benefit applies to all scenarios.
Implement an interactive radial menu widget to demonstrate creating custom ImGui widgets using the draw list API. The widget features: - Circular pie menu with dynamic sector count - Mouse hover detection with visual feedback - Click handling with React callbacks - Path-based drawing for smooth filled sectors - Text rendering with automatic centering - Efficient rendering with proper draw order Implementation: - lib/imgui-unit/renderer.js: renderRadialMenu() function - examples/custom-widget/: New example application - README.md: Documentation on creating custom widgets The example shows how to use ImGui's immediate-mode drawing API (_ImDrawList_*), handle mouse interaction, and integrate with React's component model. Custom widgets use _igDummy() to reserve layout space and are integrated via the switch statement in renderNode().
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.