-
Notifications
You must be signed in to change notification settings - Fork 53
Implement UniqueId #256
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
Closed
Closed
Implement UniqueId #256
Changes from 8 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ceb9aab
Implement UniqueId as a type
Dekkonot 00862e3
Add UniqueId support for rbx_binary
Dekkonot 2652351
Implement UniqueId for rbx_xml
Dekkonot b7cae0d
Enable yaml feature in rbx_xml
Dekkonot 66c748c
Update test files
Dekkonot c007c23
Derive Eq for UniqueId
Dekkonot 16e5eed
Update changelogs for rbx_types, rbx_xml, and rbx_binary
Dekkonot 10daba0
Update test-files
Dekkonot d8ab1be
Implement generic interleaving read/write methods
Dekkonot ceea328
Swap (de)serialization of UniqueId to use methods for (de)interleaving
Dekkonot f544844
Update test-files to what it's meant to be
Dekkonot 64b7076
Implement serde manually for UniqueId
Dekkonot 18f8dba
Actually use `UniqueId` in text deserializer
Dekkonot acbcb93
Update snapshots with new serde implementation
Dekkonot 0aad9e2
Document ZSTD compression and Bytecode data type in binary spec file …
Dekkonot 84d1dfa
Release rbx_types v1.5.0
LPGhatguy 8255445
Update database and release rbx_reflection_database 0.2.6+roblox-572
LPGhatguy 7d4cdc9
Release rbx_binary v0.7.0
LPGhatguy 4841077
Release rbx_xml v0.13.0
LPGhatguy 7b8ece6
Fix support for empty Font tags in rbx_xml (#261)
Dekkonot f24c432
Fill out XML spec document (#247)
Dekkonot 088d213
Add 'Compatibility' document (#262)
Dekkonot 39e6bfb
Patch `MaterialService.Use2022Materials` (#259)
wackbyte 11a93df
Update reflection database to v573
Dekkonot 02a8f3e
Make Blockquotes more reasonably sized in doc site (#264)
Dekkonot eca438c
Include latest database and patches in snapshots
Dekkonot 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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mod models; | ||
mod places; | ||
mod serializer; | ||
mod util; |
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,29 @@ | ||
use std::path::PathBuf; | ||
|
||
use heck::ToKebabCase; | ||
|
||
use super::util::run_model_base_suite; | ||
|
||
macro_rules! place_tests { | ||
($($test_name: ident,)*) => { | ||
$( | ||
#[test] | ||
fn $test_name() { | ||
let _ = env_logger::try_init(); | ||
|
||
let mut test_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); | ||
assert!(test_path.pop()); | ||
test_path.push("test-files"); | ||
test_path.push("places"); | ||
test_path.push(stringify!($test_name).to_kebab_case()); | ||
test_path.push("binary.rbxl"); | ||
|
||
run_model_base_suite(test_path); | ||
} | ||
)* | ||
}; | ||
} | ||
|
||
place_tests! { | ||
baseplate_566, | ||
} |
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.