From 03ba7e5d72ef467f047a9bcbd986244d571694c2 Mon Sep 17 00:00:00 2001 From: Mathieu Aucejo <79322171+maucejo@users.noreply.github.com> Date: Fri, 7 Nov 2025 11:34:14 +0100 Subject: [PATCH 1/2] Add UFF file format support in registry.jl --- src/registry.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/registry.jl b/src/registry.jl index 88a3ea5..dd7d8c6 100644 --- a/src/registry.jl +++ b/src/registry.jl @@ -16,6 +16,7 @@ const idVideoIO = :VideoIO => UUID("d6d074c3-1acf-5d4c-9a43-ef38773959a2") const idLibSndFile = :LibSndFile => UUID("b13ce0c6-77b0-50c6-a2db-140568b8d1a5") const idJpegTurbo = :JpegTurbo => UUID("b835a17e-a41a-41e7-81f0-2f016b05efe0") const idNPZ = :NPZ => UUID("15e1cf62-19b3-5cfa-8e77-841668bca605") +const idUFFFiles = :UFFFiles => UUID("20c5726e-8372-4c34-be2c-190a5a70d483") # Cf. https://developers.google.com/speed/webp/docs/riff_container#riff_file_format, and https://learn.microsoft.com/en-us/windows/win32/xaudio2/resource-interchange-file-format--riff-#chunks function detect_riff(io::IO, expected_magic::AbstractVector{UInt8}) @@ -566,3 +567,6 @@ add_format(format"HOA", UInt8[0x48,0x4f,0x41,0x3a], ".hoa", [:Buchi => UUID("484 # GOAL http://goal.im.ntu.edu.tw/wiki/doku.php # ROLL https://iscasmc.ios.ac.cn/roll/doku.php?id=start add_format(format"BA", (), ".ba", [:Buchi => UUID("484f28d2-1a9e-4e02-bb9b-910131567e8f")]) + +# UFF (Universal File Format) files +add_format(format"UFF", (), [".uff", ".unv"], [idUFFFiles]) From ee752210b6964f8d5ef50b01f707e7eb6578a9c3 Mon Sep 17 00:00:00 2001 From: Mathieu Aucejo <79322171+maucejo@users.noreply.github.com> Date: Fri, 21 Nov 2025 14:44:56 +0100 Subject: [PATCH 2/2] Expand UFF format file extensions --- src/registry.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registry.jl b/src/registry.jl index dd7d8c6..d3d58c3 100644 --- a/src/registry.jl +++ b/src/registry.jl @@ -569,4 +569,4 @@ add_format(format"HOA", UInt8[0x48,0x4f,0x41,0x3a], ".hoa", [:Buchi => UUID("484 add_format(format"BA", (), ".ba", [:Buchi => UUID("484f28d2-1a9e-4e02-bb9b-910131567e8f")]) # UFF (Universal File Format) files -add_format(format"UFF", (), [".uff", ".unv"], [idUFFFiles]) +add_format(format"UFF", (), [".uff", ".unv", ".uf", ".bunv", ".ufb", ".buf"], [idUFFFiles])