Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Teach existing archive donuts the split first parts (settings schema 54), 268 formats
KnifeLemonf4f830f6c3af
diff --git a/README.ar.md b/README.ar.mdindex 646ee83f..0916b44b 100644--- a/README.ar.md+++ b/README.ar.md@@ -59,7 +59,7 @@تظهر الصيغ حيث أنت، ولا يظهر منها إلا ما يناسب الملفات التي تسحبها.</td><td width="33%" valign="top">- <b>267 صيغة دون برامج أخرى</b><br>+ <b>268 صيغة دون برامج أخرى</b><br>الصور وPDF وWord وExcel وPowerPoint وHWP والكتب الإلكترونية والأرشيفات والخطوط وCAD والنماذج ثلاثية الأبعاد والبيانات الجغرافية، كلها تعمل دون Office أو Hancom Office أو LibreOffice.</td><td width="33%" valign="top">diff --git a/README.es.md b/README.es.mdindex 3c931163..406f667e 100644--- a/README.es.md+++ b/README.es.md@@ -57,7 +57,7 @@Los formatos aparecen donde ya estás, y solo los que tienen sentido para los archivos que arrastras.</td><td width="33%" valign="top">- <b>267 formatos, sin otros programas</b><br>+ <b>268 formatos, sin otros programas</b><br>Imágenes, PDF, Word, Excel, PowerPoint, HWP, libros electrónicos, archivos comprimidos, tipografías, CAD, modelos 3D y datos geoespaciales funcionan sin Office, Hancom Office ni LibreOffice.</td><td width="33%" valign="top">diff --git a/README.fr.md b/README.fr.mdindex 860670b5..b77a0d07 100644--- a/README.fr.md+++ b/README.fr.md@@ -57,7 +57,7 @@Les formats apparaissent là où vous êtes déjà, et seulement ceux qui ont un sens pour les fichiers que vous faites glisser.</td><td width="33%" valign="top">- <b>267 formats, sans autre logiciel</b><br>+ <b>268 formats, sans autre logiciel</b><br>Images, PDF, Word, Excel, PowerPoint, HWP, livres numériques, archives, polices, CAO, modèles 3D et données géospatiales fonctionnent sans Office, Hancom Office ni LibreOffice.</td><td width="33%" valign="top">diff --git a/README.hi.md b/README.hi.mdindex 9ebf36dc..8a50bf5d 100644--- a/README.hi.md+++ b/README.hi.md@@ -57,7 +57,7 @@फ़ॉर्मैट वहीं दिखते हैं जहाँ आप पहले से हैं, और सिर्फ़ वही जो आपकी खींची जा रही फ़ाइलों के लिए सही हों।</td><td width="33%" valign="top">- <b>267 फ़ॉर्मैट, कोई और सॉफ़्टवेयर नहीं</b><br>+ <b>268 फ़ॉर्मैट, कोई और सॉफ़्टवेयर नहीं</b><br>इमेज, PDF, Word, Excel, PowerPoint, HWP, ई-बुक, आर्काइव, फ़ॉन्ट, CAD, 3D मॉडल और भू-स्थानिक डेटा Office, Hancom Office या LibreOffice के बिना काम करते हैं।</td><td width="33%" valign="top">diff --git a/README.ja.md b/README.ja.mdindex 9b068fa9..da0cb678 100644--- a/README.ja.md+++ b/README.ja.md@@ -57,7 +57,7 @@いま作業している場所に、ドラッグ中のファイルに合う形式だけが表示されます。</td><td width="33%" valign="top">- <b>267形式、ほかのソフトは不要</b><br>+ <b>268形式、ほかのソフトは不要</b><br>画像、PDF、Word、Excel、PowerPoint、HWP、電子書籍、アーカイブ、フォント、CAD、3Dモデル、地理空間データを、Office、Hancom Office、LibreOfficeなしで変換できます。</td><td width="33%" valign="top">diff --git a/README.ko.md b/README.ko.mdindex 8a75e025..a411011a 100644--- a/README.ko.md+++ b/README.ko.md@@ -58,7 +58,7 @@끌고 있는 파일에 맞는 형식만 지금 있는 자리에 나타나요.</td><td width="33%" valign="top">- <b>267가지 형식, 다른 프로그램 없이</b><br>+ <b>268가지 형식, 다른 프로그램 없이</b><br>이미지, PDF, 워드, 엑셀, 파워포인트, HWP, 전자책, 압축 파일, 글꼴, CAD, 3D 모델, 지리 정보 데이터를 오피스·한컴오피스·LibreOffice 없이 변환해요.</td><td width="33%" valign="top">diff --git a/README.md b/README.mdindex d3091f84..5977e19c 100644--- a/README.md+++ b/README.md@@ -57,7 +57,7 @@The formats appear where you already are, only the ones that make sense for the files you drag.</td><td width="33%" valign="top">- <b>267 formats, no other software</b><br>+ <b>268 formats, no other software</b><br>Images, PDF, Word, Excel, PowerPoint, HWP, e-books, archives, fonts, CAD, 3D models and geospatial data work without Office, Hancom Office or LibreOffice.</td><td width="33%" valign="top">diff --git a/README.pl.md b/README.pl.mdindex c0699d55..5bccbb09 100644--- a/README.pl.md+++ b/README.pl.md@@ -57,7 +57,7 @@Formaty pojawiają się tam, gdzie już jesteś, i tylko te, które pasują do przeciąganych plików.</td><td width="33%" valign="top">- <b>267 formatów bez dodatkowych programów</b><br>+ <b>268 formatów bez dodatkowych programów</b><br>Obrazy, PDF, Word, Excel, PowerPoint, HWP, e-booki, archiwa, czcionki, CAD, modele 3D i dane geoprzestrzenne działają bez pakietu Office, Hancom Office i LibreOffice.</td><td width="33%" valign="top">diff --git a/README.pt-BR.md b/README.pt-BR.mdindex 073d191e..6ce98abc 100644--- a/README.pt-BR.md+++ b/README.pt-BR.md@@ -57,7 +57,7 @@Os formatos aparecem onde você já está, só os que fazem sentido para os arquivos que você arrasta.</td><td width="33%" valign="top">- <b>267 formatos, sem outro programa</b><br>+ <b>268 formatos, sem outro programa</b><br>Imagens, PDF, Word, Excel, PowerPoint, HWP, e-books, arquivos compactados, fontes, CAD, modelos 3D e dados geoespaciais funcionam sem Office, Hancom Office ou LibreOffice.</td><td width="33%" valign="top">diff --git a/README.pt-PT.md b/README.pt-PT.mdindex 6f5f67f1..fcb1c5f9 100644--- a/README.pt-PT.md+++ b/README.pt-PT.md@@ -57,7 +57,7 @@Os formatos aparecem onde estás, apenas os que fazem sentido para os ficheiros que arrastas.</td><td width="33%" valign="top">- <b>267 formatos, sem outro software</b><br>+ <b>268 formatos, sem outro software</b><br>Imagens, PDF, Word, Excel, PowerPoint, HWP, livros digitais, arquivos, tipos de letra, CAD, modelos 3D e dados geoespaciais funcionam sem Office, Hancom Office ou LibreOffice.</td><td width="33%" valign="top">diff --git a/README.ru.md b/README.ru.mdindex 2b49bfa8..79f9b145 100644--- a/README.ru.md+++ b/README.ru.md@@ -57,7 +57,7 @@Форматы появляются там, где вы уже работаете, и только те, что подходят перетаскиваемым файлам.</td><td width="33%" valign="top">- <b>267 форматов без лишних программ</b><br>+ <b>268 форматов без лишних программ</b><br>Изображения, PDF, Word, Excel, PowerPoint, HWP, электронные книги, архивы, шрифты, чертежи CAD, 3D-модели и геоданные работают без Office, Hancom Office и LibreOffice.</td><td width="33%" valign="top">diff --git a/README.th.md b/README.th.mdindex 9ee10b7d..f790290f 100644--- a/README.th.md+++ b/README.th.md@@ -57,7 +57,7 @@ฟอร์แมตที่เหมาะสมจะแสดงขึ้นตรงจุดที่คุณทำงานอยู่ โดยแสดงเฉพาะฟอร์แมตที่ใช้ได้กับไฟล์ที่คุณลากเท่านั้น</td><td width="33%" valign="top">- <b>267 ฟอร์แมต โดยไม่ต้องลงโปรแกรมอื่นเพิ่ม</b><br>+ <b>268 ฟอร์แมต โดยไม่ต้องลงโปรแกรมอื่นเพิ่ม</b><br>รูปภาพ, PDF, Word, Excel, PowerPoint, HWP, อีบุ๊ก, ไฟล์บีบอัด, ฟอนต์, CAD, โมเดล 3D และข้อมูลเชิงพื้นที่ ทำงานได้โดยไม่ต้องมี Microsoft Office, Hancom Office หรือ LibreOffice</td><td width="33%" valign="top">diff --git a/README.tr.md b/README.tr.mdindex 6d11acaa..a3fc0325 100644--- a/README.tr.md+++ b/README.tr.md@@ -57,7 +57,7 @@Formatlar zaten bulunduğunuz yerde görünür; yalnızca sürüklediğiniz dosyalara uygun olanlar listelenir.</td><td width="33%" valign="top">- <b>267 format, başka yazılım gerekmez</b><br>+ <b>268 format, başka yazılım gerekmez</b><br>Görseller, PDF, Word, Excel, PowerPoint, HWP, e-kitaplar, arşivler, yazı tipleri, CAD, 3B modeller ve coğrafi veriler; Office, Hancom Office veya LibreOffice olmadan çalışır.</td><td width="33%" valign="top">diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 0c73a991..08bb9b22 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -57,7 +57,7 @@只显示适合当前拖动文件的格式,就在你所在的位置。</td><td width="33%" valign="top">- <b>267 种格式,无需其他软件</b><br>+ <b>268 种格式,无需其他软件</b><br>图片、PDF、Word、Excel、PowerPoint、HWP、电子书、压缩包、字体、CAD、3D 模型和地理信息数据,无需 Office、韩文办公软件或 LibreOffice。</td><td width="33%" valign="top">diff --git a/README.zh-TW.md b/README.zh-TW.mdindex aff7fb98..f6da1d64 100644--- a/README.zh-TW.md+++ b/README.zh-TW.md@@ -57,7 +57,7 @@只顯示適合當前拖曳檔案的格式,就在你所在的位置。</td><td width="33%" valign="top">- <b>267 種格式,無需其他軟體</b><br>+ <b>268 種格式,無需其他軟體</b><br>圖片、PDF、Word、Excel、PowerPoint、HWP、電子書、壓縮檔、字型、CAD、3D 模型和地理資訊資料,無需 Office、韓文文書軟體或 LibreOffice。</td><td width="33%" valign="top">diff --git a/src/Filee.Core/Settings/AppSettings.cs b/src/Filee.Core/Settings/AppSettings.csindex 7e1f954f..f32156ea 100644--- a/src/Filee.Core/Settings/AppSettings.cs+++ b/src/Filee.Core/Settings/AppSettings.cs@@ -123,7 +123,7 @@ public sealed class DonutSettingspublic sealed class AppSettings{/// <summary>Current schema version. Increase when the format changes and add a migration.</summary>- public const int CurrentSchemaVersion = 53;+ public const int CurrentSchemaVersion = 54;public int SchemaVersion { get; set; } = CurrentSchemaVersion;diff --git a/src/Filee.Core/Settings/UserDataStore.cs b/src/Filee.Core/Settings/UserDataStore.csindex a522385d..b788b690 100644--- a/src/Filee.Core/Settings/UserDataStore.cs+++ b/src/Filee.Core/Settings/UserDataStore.cs@@ -927,6 +927,10 @@ internal static class SettingsMigrations// plain "same format" preset, so it is put back.if (from < 53)changed |= AddMergeImages(presets, profiles);+ // v54: the first part of split archives and files (.001, .7z.001, .zip.001, .tar.001, #653) learns the archive+ // donut; custom claims stay put.+ if (from < 54)+ changed |= LearnExtensions(profiles, out _, ["001", "7z.001", "zip.001", "tar.001"]);return changed;}diff --git a/tests/Filee.Core.Tests/SplitArchiveFormatTests.cs b/tests/Filee.Core.Tests/SplitArchiveFormatTests.csnew file mode 100644index 00000000..c4d9fb74--- /dev/null+++ b/tests/Filee.Core.Tests/SplitArchiveFormatTests.cs@@ -0,0 +1,37 @@+// Split archives and files (.001, #653): read-only archives on the archive donut, learned by existing libraries.++using Filee.Core.Formats;+using Filee.Core.Presets;+using Filee.Core.Profiles;+using Filee.Core.Settings;++namespace Filee.Core.Tests;++public class SplitArchiveFormatTests+{+ [Theory]+ [InlineData("backup.7z.001")]+ [InlineData("movie.mp4.001")]+ public void The_first_part_is_an_archive_on_the_archive_donut(string name)+ {+ var split = FormatRegistry.Detect(name);+ Assert.NotNull(split);+ Assert.Equal(("split", FormatCategory.Archive, false), (split.Id, split.Category, split.Writable));+ Assert.Equal("archives", ProfileSelector.Select(BuiltInData.CreateProfiles(), [name])?.Id);+ }++ [Fact]+ public void Version_53_libraries_learn_the_first_parts_once()+ {+ string[] parts = ["001", "7z.001", "zip.001", "tar.001"];+ var presets = BuiltInData.CreatePresets();+ var profiles = BuiltInData.CreateProfiles();+ var archive = profiles.Single(p => p.Id == "archives");+ archive.Extensions.RemoveAll(parts.Contains);++ Assert.True(SettingsMigrations.ApplyToLibrary(53, presets, profiles));++ Assert.All(parts, part => Assert.Contains(part, archive.Extensions));+ Assert.False(SettingsMigrations.ApplyToLibrary(53, presets, profiles));+ }+}