-
Notifications
You must be signed in to change notification settings - Fork 7
chore: port to Motoko core library
#42
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
ggreif
wants to merge
26
commits into
NatLabs:main
Choose a base branch
from
ggreif:core
base: main
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
26 commits
Select commit
Hold shift + click to select a range
3db8301
Migrate Motoko imports from base to core library
ggreif 6a38e95
Keep Buffer and Prelude from mo:base (not in mo:core yet)
ggreif 9b7451a
Add core 2.0.0 to mops dependencies
ggreif 43ee0fd
Migrate from mo:map to mo:core/pure/Map
ggreif 046cbd1
Remove unused TrieMap imports
ggreif 64aa648
Use local motoko-core for development
ggreif 988864d
Migrate Set from mo:map to mo:core/pure/Set and update dependencies
ggreif 8732d64
Migrate from mo:base/Buffer to mo:core/List
ggreif 11f1840
Replace Array.init and Array.tabulateVar with VarArray equivalents
ggreif 3f02b94
Fix mo:core compatibility issues in Encoder and Decoder
ggreif f88f1a1
Use mutable core/Map for maps that need mutation
ggreif cc0c68b
Complete mo:core API migration fixes
ggreif d17f053
Fix mo:core API compatibility issues
ggreif 0be3248
Fix recursive types decoding and clean up code
ggreif 62e0e55
Replace Array.flatten with Array.concat for two-array concatenation
ggreif c86d74e
Remove unused dependencies and update toolchain
ggreif 34d34e1
Replace Prelude.unreachable() with Runtime.unreachable()
ggreif 9a982cb
Replace mo:base/Buffer with mo:core/List
ggreif 1b0e4bd
Fix Buffer imports to use Utils module wrapper
ggreif d9956de
Remove unused Prelude imports from test files
ggreif 933597c
Remove unused Debug import from Candid.Large.test.mo
ggreif e7e82a6
Replace Debug.trap with Runtime.trap in bench files
ggreif 7ce52d7
Update UrlEncoded test assertions for mo:core field ordering
ggreif 9945389
Remove ByteUtils submodule and reference remote package
ggreif f929717
Add ByteUtils compatibility dependencies to mops.toml
ggreif e6269eb
fix `core` location
ggreif 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,9 @@ | |
| .mops/ | ||
| .wasm/ | ||
|
|
||
| # ByteUtils submodule (now managed via mops) | ||
| ByteUtils/ | ||
|
|
||
| # frontend code | ||
| node_modules/ | ||
| dist/ | ||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.16.3 should be required