-
Notifications
You must be signed in to change notification settings - Fork 117
First pass at a web interface - includes wasm BUILD refactor #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
tameware
wants to merge
43
commits into
dds-bridge:develop
Choose a base branch
from
tameware:web
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
4bb5fb6
Cursor: Refactor using best practices so that the build can create wa…
tameware d0928c3
Cursor: get rid of the "--config=wasm"
tameware 7348cd6
Restore or update some comments that Cursor had decided were unnecess…
tameware 1fb0e37
Initial commit - tries to connect to a backend that no longer exists.
tameware bc917ec
Added a wasm target for calc_dd_table_pbn
tameware 6a41569
Added a script to move wasm code into dds_mvp_wasm_bin.js to avoid CO…
tameware 8d507de
Fixed stray text.
tameware 573de85
Eliminate the Windows unreachable-code warning (treated as error)
tameware d7e3629
Use platform constraints instead of deprecated cpu matching:
tameware 5726a9d
build_windows now also requires cpu = x64_windows
tameware fb98480
Removed remaining global source of MSVC flags.
tameware 166868b
Didn’t set copts, so it fell back to MSVC’s default language mode (to…
tameware 66e9583
Fixed missing include issue exposed by Emscripten/libc++.
tameware 6f34403
std::jthread isn’t available in the Emscripten libc++ used on the Win…
tameware 3c0deea
West/East/South inputs now labeled with the correct direction.
tameware 417bf43
Ignore files that will be generated by update_wasm.sh
tameware 9d75ee5
Added recovery for failed initialization:
tameware 3b8fa7c
Removed unnecessary ensure_initialized(). Rely on DDS's default initi…
tameware 4360e1d
Replaced std::strcpy with std::memcpy to avoid static-analyzer warnings.
tameware c960116
Replaced "..." with … for proper rendering.
tameware cf07c52
Data structure tweeks suggested by Copilot.
tameware 6fa7a81
Attenpt to deal with possible changes due to Emscripten version updates.
tameware 4946a43
Added argv checks to all three scripts. Each now prints a clear usage…
tameware 9997a40
Removed #ifdef guard on fallback code, to deal with Copilot unreachab…
tameware 9919ae5
Added unit tests.
tameware 5a2bf95
Added system tests for the web component.
tameware bcb8d19
Added end-to-end tests for web.
tameware 31796e1
Better fix for Windows unreachable code warning.
tameware 7f0c276
Change the table order to North, East, South, West.
tameware 8571a45
Added a wrapper script to clean up the wasm build artifacts.
tameware 18afc69
Include hashes for playright and its dependencies.
tameware 7cc1985
Removed redundant conditional check
tameware 0c253cc
Merge branch 'web' of https://github.com/tameware/dds into web
tameware 0f62d34
Removed extra #endif
tameware 7edff05
Don't write to /tmp - not portable.
tameware 50f6863
Fix typo in comment.
tameware dfd41b1
Updated brace style for consistency.
tameware 44b59a7
Updated the sendJSON catch block so it no longer assumes an Error:
tameware 7653b58
Aligned the lock file with Bazel’s Python toolchain by regenerating w…
tameware a6345ce
examples/wasm/calc_dd_table_pbn_test.cpp only gated SetMaxThreads(0) …
tameware 08342f1
Replace Assert with if and raise
tameware 163cb69
DdsMvpHtmlE2eTest was using 2-space indentation for the class and its…
tameware 80fb1e9
Updated so thread creation is exception-safe. If emplace_back throws …
tameware File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| #!/usr/bin/env bash | ||
| # Run Bazel clean, then remove web/ WASM copies (not part of bazel-out). | ||
| # Usage: ./clean.sh [--expunge] [other bazel clean flags...] | ||
| set -euo pipefail | ||
| cd "$(dirname "$0")" | ||
| if command -v bazelisk >/dev/null 2>&1; then | ||
| bazelisk clean "$@" | ||
| else | ||
| bazel clean "$@" | ||
| fi | ||
| ./web/clean_wasm.sh |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.