mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[PTRun][ValueGenerator]Add support for UUIDv7 (#35757)
* add Run support for UUIDv7 generation * simplify comments and maybe satisfy spell check * fix endianess * prefer stack allocation for temporary fixed-size buffer * perhaps the async test caused the pipeline to hang * switch to .NET 9 BCL implementation of UUIDv7 * add UUIDv7 to input query suggestions + update exception messages to include v7 * simplify Guid description switch + update devdocs
This commit is contained in:
@@ -213,6 +213,15 @@ namespace Community.PowerToys.Run.Plugin.ValueGenerator.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Generate a version 7: Time-ordered randomly generated UUID.
|
||||
/// </summary>
|
||||
public static string generator_description_uuidv7 {
|
||||
get {
|
||||
return ResourceManager.GetString("generator_description_uuidv7", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to your input.
|
||||
/// </summary>
|
||||
|
||||
@@ -168,6 +168,9 @@
|
||||
<data name="generator_description_uuidv5" xml:space="preserve">
|
||||
<value>Generate a version 5 (SHA1): Namespace and name based UUID</value>
|
||||
</data>
|
||||
<data name="generator_description_uuidv7" xml:space="preserve">
|
||||
<value>Generate a version 7: Time-ordered randomly generated UUID</value>
|
||||
</data>
|
||||
<data name="generator_description_your_input" xml:space="preserve">
|
||||
<value>your input</value>
|
||||
<comment>Usage example: "md5 <your input>"</comment>
|
||||
|
||||
Reference in New Issue
Block a user