Compare commits

86 Commits
Author SHA1 Message Date
Adrien Allard dccb1dd843 feat: move donation platform to liberapay. 2026-10-22 11:25:50 +02:00
Adrien Allard d5b932ac6f fix: typo 2026-02-27 14:56:34 +01:00
Adrien Allard 094ec7c76d feat: update website for version 2.2 2026-02-13 23:59:06 +01:00
Adrien Allard 25283b71d3 fix: typo 2026-02-13 23:47:23 +01:00
Adrien Allard ebe71dc446 feat: add coldridge to donation section 2025-08-04 15:53:45 +02:00
Adrien Allard ca753b60ce Update info for File Converter 2.1 release 2025-02-24 19:21:02 +01:00
Adrien Allard 9dcd9c76bf Ignore certificate folder 2025-02-24 19:07:22 +01:00
Adrien Allard acff6ba712 fix: typo in website 2025-01-20 10:22:46 +01:00
Adrien Allard 5ddb80bad9 Update website for version 2.0.2 2024-03-12 00:43:43 +01:00
Adrien Allard 4c34c28a58 Update website for version 2.0.1 2024-03-11 00:11:56 +01:00
Adrien Allard 963ee42c8c Remove source link from website (users can go directly to Github) 2024-03-11 00:06:57 +01:00
Adrien Allard 0b28ee7b6d Typo: Update installer links 2024-03-07 19:51:45 +01:00
Adrien Allard 7a63ff7819 Change download link to 2.0 version 2024-03-06 22:47:56 +01:00
Adrien Allard 1d263dba49 Remove informations already present in bug report interface. 2024-03-06 19:52:11 +01:00
Adrien Allard d123d637dc Update download links 2024-03-06 19:41:27 +01:00
Adrien Allard 090efb8da8 Typo and a bit lighter shade on title 2024-03-06 19:41:20 +01:00
Adrien Allard 35060fb54b New: Add information about localization on website. 2024-03-06 10:17:36 +01:00
Adrien Allard 3be6c961f6 Integrate version 2.0 changelog 2024-03-06 00:07:33 +01:00
Adrien Allard a664f612c4 Update compatible extensions 2024-03-05 23:54:12 +01:00
Adrien Allard 0eaf6f6501 Modernize stylesheet 2024-03-05 23:53:57 +01:00
Adrien Allard 31ec07716c Replace SayThanks button per a mailto link 2024-03-05 23:53:47 +01:00
Adrien Allard b2d8d5f300 Update screenshots 2024-03-05 19:01:02 +01:00
Adrien Allard 9ead5c15bf Format html files and fix typos 2024-03-05 19:00:52 +01:00
Adrien Allard 9549029311 Ignore test data 2024-03-05 18:10:24 +01:00
Adrien Allard 94cb9c29ae Create CNAME 2024-02-05 10:13:43 +01:00
Adrien Allard 07c8adfe33 Delete CNAME 2024-02-05 10:13:32 +01:00
Adrien Allard 484057da62 Update CNAME 2024-02-01 13:45:22 +01:00
Adrien Allard 009489529f Replace google fonts by open source alternative (bricks) 2024-01-22 23:44:42 +01:00
Adrien Allard 0234f30d41 Move analytics from Google to Counter. 2024-01-22 09:12:12 +01:00
Adrien Allard ea858b8e89 Change donation link from itch.io to paypal 2020-11-22 14:49:51 +01:00
Adrien Allard 27ccdca54c Update saythanks links 2020-03-28 19:04:29 +01:00
Adrien Allard a4491066d7 Add contributing buttons 2018-06-01 08:39:16 +02:00
Adrien Allard 367afa3082 Replace Pledgie link by Itch.io link 2018-06-01 07:56:16 +02:00
Adrien Allard a63803a7cb Some minor changes in descriptions. 2018-05-31 21:49:14 +02:00
Adrien Allard 968c97cc30 Reformat html files 2018-05-31 21:43:17 +02:00
Adrien Allard 241316b6d5 Migration to https 2018-05-07 19:42:43 +01:00
Adrien Allard c2c9cabe2c Merge branch 'gh-pages' of github.com:Tichau/FileConverter into gh-pages 2018-05-07 19:35:52 +01:00
Adrien Allard 663fc06dea migration to https 2018-05-07 19:35:07 +01:00
Adrien Allard 50dff13b96 Create CNAME 2018-05-07 18:28:42 +01:00
Adrien Allard 5222fa9899 Delete CNAME 2018-05-07 18:28:36 +01:00
Adrien Allard 46f9fbbf3f Create CNAME 2018-05-07 17:57:50 +01:00
Adrien Allard 725892c07d Delete CNAME 2018-05-07 17:57:37 +01:00
Adrien Allard 50d11e7ff5 Create CNAME 2018-05-07 11:00:07 +01:00
Adrien Allard 53c72f6720 Delete CNAME 2018-05-07 10:59:44 +01:00
Adrien Allard 43d7c335a5 Add link for contribution 2017-04-29 17:19:31 +02:00
Adrien Allard dcc1c8e070 Add link for documentation 2017-04-29 17:15:17 +02:00
Adrien Allard a9d00ba70a Update website for version 1.2.3 2017-04-29 17:09:24 +02:00
Tichau 616714de04 Update change log 2017-02-16 19:12:11 +01:00
Tichau 9c81006b2b Update website for version 1.2.2 2017-02-16 19:10:21 +01:00
Adrien Allard 9eadbd0940 Update google analystics script 2016-12-12 09:16:14 +01:00
Tichau 12320d8b38 Updage website for version 1.2.1 2016-10-31 19:40:22 +01:00
Tichau 4e6e54467d Disclaimer about Office file formats. 2016-10-13 08:45:33 +02:00
Tichau 8c2b4dd3ba Update website for version 1.2 2016-10-12 20:25:19 +02:00
Adrien Allard 8069a2e996 Improve web site meta data. 2016-09-12 11:46:25 +02:00
Tichau 88077c1ece Update compatible extensions table 2016-08-20 00:49:05 +02:00
Tichau 21eb9db4bd Update website for version 1.1 2016-08-20 00:42:56 +02:00
Adrien Allard 2e86d0837a Add first tutorial. 2016-06-19 13:40:50 +02:00
Adrien Allard aa1137ec60 Add donation link on download page. 2016-05-29 15:19:48 +02:00
Adrien Allard 1ce2fa2fae Update website for version 1.0 2016-05-29 15:19:32 +02:00
Adrien Allard b82d693195 Add donate section (with link on pledgie) 2016-05-26 12:08:14 +02:00
Adrien Allard a37d8bb8e3 Update source download size 2016-05-26 12:07:43 +02:00
Adrien Allard a5e26f5283 Fixed: fallback link was linked on the wrong version. 2016-05-02 16:28:20 +02:00
Tichau 1d298f9cde Integration of the usage gif and add troubleshooting section 2016-04-24 18:49:12 +02:00
Tichau 142f07ed88 Update website for version 0.7 2016-04-24 12:02:18 +02:00
Adrien Allard dba47f7b1e Change download links to 0.6 2016-02-18 09:58:37 +01:00
Tichau 8a573bc78e Update change log and compatible types. 2016-02-18 09:14:43 +01:00
Tichau 16447880f2 Update screenshots 2016-02-18 08:48:37 +01:00
Tichau 090faa979e Update .gitignore 2016-02-18 08:48:26 +01:00
Tichau 16067c56d3 Merge remote-tracking branch 'origin/gh-pages' into gh-pages
# Conflicts:
#	download.html
#	index.html
2016-01-12 22:53:37 +01:00
Tichau 898d957c7a Fix mistake in input types 2016-01-12 22:51:31 +01:00
Tichau 4241f7917b Update images of the 0.5 version 2016-01-12 22:35:04 +01:00
Tichau 8cf5a6166a Update the web site for the release of 0.5 version. 2016-01-12 22:33:05 +01:00
Adrien Allard 0cdcfa33a1 Add favicon 2015-12-23 10:21:11 +01:00
Adrien Allard f745a25570 Add mp4 in input video supported types 2015-12-23 10:12:02 +01:00
Tichau db29f01541 Update change log 2015-12-21 23:23:30 +01:00
Tichau c1d75d6765 Remove the documentation page and redirec to github wiki 2015-12-21 18:32:02 +01:00
Tichau 065c14fb0f Update screenshots 2015-12-18 18:02:38 +01:00
Adrien Allard 97e04658f8 Add a CNAME file 2015-12-18 17:50:58 +01:00
Tichau ccdb0c6dfd Move google analytics to the right place 2015-12-17 09:41:10 +01:00
Tichau 14cbb269bd Add download page and google analytics 2015-12-17 09:37:52 +01:00
Adrien Allard a09dc06aa2 Revert "Create gh-pages branch via GitHub"
This reverts commit 53305c3788.
2015-12-15 15:06:30 +01:00
Adrien Allard 53305c3788 Create gh-pages branch via GitHub 2015-12-15 14:57:57 +01:00
Tichau bfb6ea674f New web site (with shiny presentation) 2015-12-13 23:04:22 +01:00
Adrien Allard 17120d6865 Add link to setup file. 2015-11-19 15:23:29 +01:00
Adrien Allard 44e9898e85 Create gh-pages branch via GitHub 2015-11-19 14:11:17 +01:00
Adrien Allard 59947f78c3 Create gh-pages branch via GitHub 2015-11-19 14:08:32 +01:00
94 changed files with 1750 additions and 15556 deletions

No files matched your search

+8 -194
View File
@@ -1,196 +1,10 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studo 2015 cache/options directory
obj/
.vs/
.vscode/
Application/
Installer/
packages/
TestData/
Certificate/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
*.user
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
@@ -1,8 +0,0 @@
<Application x:Class="FileConverter.Application"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Windows/MainWindow.xaml" ShutdownMode="OnMainWindowClose">
<Application.Resources>
</Application.Resources>
</Application>
@@ -1,257 +0,0 @@
// <copyright file="Application.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
/* File Converter - This program allow you to convert file format to another.
Copyright (C) 2015 Adrien Allard
email: adrien.allard.pro@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using System.Windows;
public partial class Application : System.Windows.Application
{
private static readonly Version Version = new Version()
{
Major = 0,
Minor = 2,
};
private readonly List<ConversionJob> conversionJobs = new List<ConversionJob>();
private bool debugMode;
private bool initialized;
private bool cancelAutoExit;
public Application()
{
this.ConvertionJobs = this.conversionJobs.AsReadOnly();
this.Initialize();
if (this.initialized)
{
Thread fileConvertionThread = new Thread(this.ConvertFiles);
fileConvertionThread.Start();
}
}
public static Version ApplicationVersion
{
get
{
return Application.Version;
}
}
public ReadOnlyCollection<ConversionJob> ConvertionJobs
{
get;
private set;
}
public Settings Settings
{
get;
private set;
}
public bool ShowSettings
{
get;
set;
}
public bool Verbose
{
get;
set;
}
public void CancelAutoExit()
{
this.cancelAutoExit = true;
}
private void Initialize()
{
// Load settigns.
Diagnostics.Log("Retrieve arguments...");
this.Settings = new Settings();
this.Settings.Load();
// Retrieve arguments.
Diagnostics.Log("Retrieve arguments...");
string[] args = Environment.GetCommandLineArgs();
#if (DEBUG)
if (args.Length <= 1)
{
this.debugMode = true;
System.Array.Resize(ref args, 9);
args[1] = "--conversion-preset";
args[2] = "To Mp3";
args[3] = @"D:\Projects\FileConverter\TestFiles\Herbie Hancock - Speak Like A Child [RVG Edition].flac";
args[3] = @"D:\Projects\FileConverter\TestFiles\01 - Le Bruit Du Bang.wma";
args[4] = @"D:\Projects\FileConverter\TestFiles\test\Toccata.wav";
args[5] = @"D:\Projects\FileConverter\TestFiles\test\Toccata - Copie (4).wav";
args[5] = "--verbose";
args[6] = @"D:\Projects\FileConverter\TestFiles\test\Toccata - Copie (3).wav";
args[7] = @"D:\Projects\FileConverter\TestFiles\test\Toccata - Copie (2).wav";
args[8] = @"D:\Projects\FileConverter\TestFiles\test\Toccata - Copie (5).wav";
System.Array.Resize(ref args, 2);
args[1] = "--settings";
}
#endif
for (int index = 0; index < args.Length; index++)
{
string argument = args[index];
Diagnostics.Log("Arg{0}: {1}", index, argument);
}
Diagnostics.Log(string.Empty);
ConversionPreset conversionPreset = null;
List<string> filePaths = new List<string>();
// Parse arguments.
for (int index = 1; index < args.Length; index++)
{
string argument = args[index];
if (argument.StartsWith("--"))
{
// This is an optional parameter.
string parameterTitle = argument.Substring(2).ToLowerInvariant();
switch (parameterTitle)
{
case "settings":
this.ShowSettings = true;
return;
case "apply-settings":
Settings.ApplyTemporarySettings();
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
case "conversion-preset":
if (index >= args.Length - 1)
{
MessageBox.Show(string.Format("ERROR ! Invalid format."), "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
}
conversionPreset = Settings.GetPresetFromName(args[index + 1]);
if (conversionPreset == null)
{
MessageBox.Show(string.Format("Invalid conversion preset '{0}'.", args[index + 1]), "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
}
index++;
continue;
case "verbose":
{
this.Verbose = true;
}
break;
default:
Diagnostics.Log("ERROR ! Unknown option {0}.", parameterTitle);
return;
}
}
else
{
filePaths.Add(argument);
}
}
if (conversionPreset == null)
{
Diagnostics.Log("ERROR ! Can't retrieve the conversion preset from arguments.");
return;
}
// Create convertion jobs.
for (int index = 0; index < filePaths.Count; index++)
{
string inputFilePath = filePaths[index];
ConversionJob conversionJob = new ConversionJob(conversionPreset, inputFilePath);
this.conversionJobs.Add(conversionJob);
}
this.initialized = true;
}
private void ConvertFiles()
{
for (int index = 0; index < this.conversionJobs.Count; index++)
{
ConversionJob conversionJob = this.conversionJobs[index];
conversionJob.StartConvertion();
if (System.IO.File.Exists(conversionJob.OutputFilePath))
{
Diagnostics.Log("Success!");
if (this.debugMode)
{
Diagnostics.Log("Delete file {0}.", conversionJob.OutputFilePath);
try
{
System.IO.File.Delete(conversionJob.OutputFilePath);
}
catch
{
}
}
}
else
{
Diagnostics.Log("Fail!");
}
}
Diagnostics.Log("End of job queue.");
#if !DEBUG
bool allConversionsSucceed = true;
for (int index = 0; index < this.conversionJobs.Count; index++)
{
allConversionsSucceed &= this.conversionJobs[index].State == ConversionJob.ConversionState.Done;
}
if (allConversionsSucceed)
{
System.Threading.Thread.Sleep(3000);
if (this.cancelAutoExit)
{
return;
}
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
}
#endif
}
}
}
-269
View File
@@ -1,269 +0,0 @@
// <copyright file="ConversionJob.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
public class ConversionJob : INotifyPropertyChanged
{
private readonly Regex durationRegex = new Regex(@"Duration:\s*([0-9][0-9]):([0-9][0-9]):([0-9][0-9])\.([0-9][0-9]),.*bitrate:\s*([0-9]+) kb\/s");
private readonly Regex progressRegex = new Regex(@"size=\s*([0-9]+)kB\s+time=([0-9][0-9]):([0-9][0-9]):([0-9][0-9]).([0-9][0-9])\s+bitrate=\s*([0-9]+.[0-9])kbits\/s");
private TimeSpan fileDuration;
private TimeSpan actualConvertedDuration;
private ProcessStartInfo ffmpegProcessStartInfo;
private float progress;
private ConversionState state;
private string exitingMessage;
public ConversionJob()
{
this.ConversionPreset = null;
this.progress = 0f;
this.InputFilePath = string.Empty;
this.OutputFilePath = string.Empty;
this.State = ConversionState.Unknown;
this.ExitingMessage = string.Empty;
}
public ConversionJob(ConversionPreset conversionPreset, string inputFilePath)
{
this.ConversionPreset = conversionPreset;
this.InputFilePath = inputFilePath;
string extension = System.IO.Path.GetExtension(inputFilePath);
this.OutputFilePath = inputFilePath.Substring(0, inputFilePath.Length - extension.Length) + "." + this.ConversionPreset.OutputType.ToString().ToLowerInvariant();
this.Initialize();
}
public event PropertyChangedEventHandler PropertyChanged;
public enum ConversionState
{
Unknown,
Ready,
InProgress,
Done,
Failed,
}
public ConversionPreset ConversionPreset
{
get;
private set;
}
public string InputFilePath
{
get;
private set;
}
public string OutputFilePath
{
get;
private set;
}
public ConversionState State
{
get
{
return this.state;
}
private set
{
this.state = value;
this.NotifyPropertyChanged();
}
}
public float Progress
{
get
{
return this.progress;
}
private set
{
this.progress = value;
this.NotifyPropertyChanged();
}
}
public string ExitingMessage
{
get
{
return this.exitingMessage;
}
set
{
this.exitingMessage = value;
this.NotifyPropertyChanged();
}
}
public void StartConvertion()
{
if (this.ConversionPreset == null)
{
throw new Exception("The conversion preset must be valid.");
}
Diagnostics.Log("Convert file {0} to {1}.", this.InputFilePath, this.OutputFilePath);
string arguments = string.Empty;
switch (this.ConversionPreset.OutputType)
{
case OutputType.Mp3:
arguments = string.Format("-n -stats -i \"{0}\" -qscale:a 2 \"{1}\"", this.InputFilePath, this.OutputFilePath);
break;
case OutputType.Ogg:
arguments = string.Format("-n -stats -i \"{0}\" -acodec libvorbis -qscale:a 2 \"{1}\"", this.InputFilePath, this.OutputFilePath);
break;
case OutputType.Flac:
case OutputType.Wav:
arguments = string.Format("-n -stats -i \"{0}\" \"{1}\"", this.InputFilePath, this.OutputFilePath);
break;
default:
throw new NotImplementedException("Converter not implemented for output file type " + this.ConversionPreset.OutputType);
}
if (string.IsNullOrEmpty(arguments) || this.ffmpegProcessStartInfo == null)
{
return;
}
this.State = ConversionState.InProgress;
try
{
Diagnostics.Log(string.Empty);
this.ffmpegProcessStartInfo.Arguments = arguments;
Diagnostics.Log("Execute command: {0} {1}.", this.ffmpegProcessStartInfo.FileName, this.ffmpegProcessStartInfo.Arguments);
using (Process exeProcess = Process.Start(this.ffmpegProcessStartInfo))
{
using (StreamReader reader = exeProcess.StandardError)
{
while (!reader.EndOfStream)
{
string result = reader.ReadLine();
this.ParseFFMPEGOutput(result);
Diagnostics.Log("ffmpeg output: {0}", result);
}
}
exeProcess.WaitForExit();
}
}
catch
{
this.State = ConversionState.Failed;
throw;
}
if (!string.IsNullOrEmpty(this.ExitingMessage))
{
this.State = ConversionState.Failed;
return;
}
this.Progress = 1f;
this.State = ConversionState.Done;
Diagnostics.Log("\nDone!");
}
private void Initialize()
{
if (this.ConversionPreset == null)
{
throw new Exception("The conversion preset must be valid.");
}
this.ffmpegProcessStartInfo = null;
string applicationDirectory = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
string ffmpegPath = string.Format("{0}\\ffmpeg.exe", applicationDirectory);
if (!System.IO.File.Exists(ffmpegPath))
{
Diagnostics.Log("Can't find ffmpeg executable ({0}). Try to reinstall the application.", ffmpegPath);
return;
}
this.ffmpegProcessStartInfo = new ProcessStartInfo(ffmpegPath);
this.ffmpegProcessStartInfo.CreateNoWindow = true;
this.ffmpegProcessStartInfo.UseShellExecute = false;
this.ffmpegProcessStartInfo.RedirectStandardOutput = true;
this.ffmpegProcessStartInfo.RedirectStandardError = true;
this.State = ConversionState.Ready;
}
private void ParseFFMPEGOutput(string input)
{
Match match = this.durationRegex.Match(input);
if (match.Success && match.Groups.Count >= 6)
{
int hours = int.Parse(match.Groups[1].Value);
int minutes = int.Parse(match.Groups[2].Value);
int seconds = int.Parse(match.Groups[3].Value);
int milliseconds = int.Parse(match.Groups[4].Value);
float bitrate = float.Parse(match.Groups[5].Value);
this.fileDuration = new TimeSpan(0, hours, minutes, seconds, milliseconds);
return;
}
match = this.progressRegex.Match(input);
if (match.Success && match.Groups.Count >= 7)
{
int size = int.Parse(match.Groups[1].Value);
int hours = int.Parse(match.Groups[2].Value);
int minutes = int.Parse(match.Groups[3].Value);
int seconds = int.Parse(match.Groups[4].Value);
int milliseconds = int.Parse(match.Groups[5].Value);
float bitrate = 0f;
float.TryParse(match.Groups[6].Value, out bitrate);
this.actualConvertedDuration = new TimeSpan(0, hours, minutes, seconds, milliseconds);
this.Progress = this.actualConvertedDuration.Ticks / (float)this.fileDuration.Ticks;
return;
}
if (input.Contains("Exiting."))
{
this.ExitingMessage = input;
}
}
private void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
{
if (this.PropertyChanged != null)
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}
@@ -1,151 +0,0 @@
// <copyright file="FileConverter.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
using System.Collections.Generic;
namespace FileConverter
{
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
using FileConverter.Annotations;
[XmlRoot]
[XmlType]
public class ConversionPreset : INotifyPropertyChanged, IDataErrorInfo
{
private string name;
private OutputType outputType;
private List<string> inputTypes;
public ConversionPreset()
{
this.Name = "New Preset";
}
public ConversionPreset(string name, OutputType outputType, string[] inputTypes)
{
this.Name = name;
this.OutputType = outputType;
this.InputTypes = new List<string>();
this.InputTypes.AddRange(inputTypes);
}
public event PropertyChangedEventHandler PropertyChanged;
[XmlAttribute]
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
this.OnPropertyChanged();
}
}
[XmlAttribute]
public OutputType OutputType
{
get
{
return outputType;
}
set
{
outputType = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public List<string> InputTypes
{
get
{
return inputTypes;
}
set
{
inputTypes = value;
this.OnPropertyChanged();
}
}
[XmlIgnore]
public ConversionPreset.Setting[] Settings
{
get;
set;
}
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
public class Setting
{
}
public string this[string columnName]
{
get
{
return this.Validate(columnName);
}
}
public string Error
{
get
{
return this.Validate("Name");
}
}
private string Validate(string properyName)
{
// Return error message if there is an error, else return empty or null string.
switch (properyName)
{
case "Name":
{
if (string.IsNullOrEmpty(this.Name))
{
return "The preset name can't be empty.";
}
if (this.Name.Contains(";"))
{
return "The preset name can't contains the character ';'.";
}
Application application = Application.Current as Application;
if (application?.Settings != null)
{
int count = application.Settings.ConversionPresets.Count(match => match.name == this.Name);
if (count > 1)
{
return "The preset name is already used.";
}
}
}
break;
}
return string.Empty;
}
}
}
-41
View File
@@ -1,41 +0,0 @@
// <copyright file="Diagnostics.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
public static class Diagnostics
{
private static List<string> logMessages = new List<string>();
private static StringBuilder workingStringBuilder = new StringBuilder();
public static event EventHandler<PropertyChangedEventArgs> StaticPropertyChanged;
public static string Content
{
get
{
workingStringBuilder.Clear();
for (int index = 0; index < logMessages.Count; index++)
{
workingStringBuilder.AppendLine(logMessages[index]);
}
return workingStringBuilder.ToString();
}
}
public static void Log(string message, params object[] arguments)
{
Diagnostics.logMessages.Add(string.Format(message, arguments));
if (StaticPropertyChanged != null)
{
StaticPropertyChanged(null, new PropertyChangedEventArgs("Content"));
}
}
}
}
@@ -1,154 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FileConverter</RootNamespace>
<AssemblyName>FileConverter</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\ApplicationIcon-256x256.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
<Reference Include="PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="ReachFramework" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Printing" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="UIAutomationProvider" />
<Reference Include="UIAutomationTypes" />
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="Application.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="ValueConverters\ApplicationVersionToApplicationName.cs" />
<Compile Include="ConversionPreset.cs" />
<Compile Include="ValueConverters\InputTypesToBool.cs" />
<Compile Include="Settings.cs" />
<Compile Include="Windows\DiagnosticsWindow.xaml.cs">
<DependentUpon>DiagnosticsWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\SettingsWindow.xaml.cs">
<DependentUpon>SettingsWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Version.cs" />
<Compile Include="XmlHelpers.cs" />
<Page Include="Windows\DiagnosticsWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="Application.xaml.cs">
<DependentUpon>Application.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="ValueConverters\ConversionStateToBrush.cs" />
<Compile Include="ConversionJob.cs" />
<Compile Include="Diagnostics.cs" />
<Compile Include="Windows\MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="Windows\SettingsWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="OutputType.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ApplicationIcon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ApplicationIcon-16x16.ico" />
<Resource Include="Resources\ApplicationIcon-256x256.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,46 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileConverter", "FileConverter.csproj", "{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Installer", "..\..\Installer\Installer.wixproj", "{F14673DF-DF38-44B4-AB1D-99A59182C24C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileConverterExtension", "..\FileConverterExtension\FileConverterExtension.csproj", "{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Debug|x64.ActiveCfg = Debug|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Debug|x64.Build.0 = Debug|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Debug|x86.ActiveCfg = Debug|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Debug|x86.Build.0 = Debug|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Release|x64.ActiveCfg = Release|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Release|x64.Build.0 = Release|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Release|x86.ActiveCfg = Release|Any CPU
{D27A76D2-43E4-43CC-9DA3-334B0B46F4E5}.Release|x86.Build.0 = Release|Any CPU
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Debug|x64.ActiveCfg = Debug|x64
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Debug|x64.Build.0 = Debug|x64
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Debug|x86.ActiveCfg = Debug|x86
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Debug|x86.Build.0 = Debug|x86
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Release|x64.ActiveCfg = Release|x64
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Release|x64.Build.0 = Release|x64
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Release|x86.ActiveCfg = Release|x86
{F14673DF-DF38-44B4-AB1D-99A59182C24C}.Release|x86.Build.0 = Release|x86
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Debug|x64.ActiveCfg = Debug|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Debug|x64.Build.0 = Debug|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Debug|x86.ActiveCfg = Debug|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Debug|x86.Build.0 = Debug|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Release|x64.ActiveCfg = Release|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Release|x64.Build.0 = Release|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Release|x86.ActiveCfg = Release|Any CPU
{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -1,15 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeInspection/CodeAnnotations/NamespacesWithAnnotations/=FileConverter_002EAnnotations/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=StyleCop_002ESA1600/@EntryIndexedValue">HINT</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=StyleCop_002ESA1601/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=StyleCop_002ESA1602/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SuggestUseVarKeywordEvident/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_ABSTRACT_ACCESSORHOLDER_ON_SINGLE_LINE/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_SIMPLE_ACCESSOR_ATTRIBUTE_ON_SAME_LINE/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_SIMPLE_ACCESSOR_ON_SINGLE_LINE/@EntryValue">False</s:Boolean>
<s:String x:Key="/Default/CodeStyle/CSharpVarKeywordUsage/ForBuiltInTypes/@EntryValue">UseExplicitType</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpVarKeywordUsage/ForOtherTypes/@EntryValue">UseExplicitType</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpVarKeywordUsage/ForSimpleTypes/@EntryValue">UseExplicitType</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=MethodPropertyEvent/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb_AaBb" /&gt;</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
-13
View File
@@ -1,13 +0,0 @@
// <copyright file="OutputType.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
public enum OutputType
{
None,
Mp3,
Ogg,
Flac,
Wav,
}
}
@@ -1,664 +0,0 @@
/*
* Copyright 2007-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
namespace FileConverter.Annotations
{
/// <summary>
/// Indicates that marked element should be localized or not.
/// </summary>
/// <example>
/// <code>
/// [LocalizationRequiredAttribute(true)]
/// public class Foo
/// {
/// private string str = "my string"; // Warning: Localizable string
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
public sealed class LocalizationRequiredAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="LocalizationRequiredAttribute"/> class with
/// <see cref="Required"/> set to <see langword="true"/>.
/// </summary>
public LocalizationRequiredAttribute() : this(true)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="LocalizationRequiredAttribute"/> class.
/// </summary>
/// <param name="required"><c>true</c> if a element should be localized; otherwise, <c>false</c>.</param>
public LocalizationRequiredAttribute(bool required)
{
Required = required;
}
/// <summary>
/// Gets a value indicating whether a element should be localized.
/// <value><c>true</c> if a element should be localized; otherwise, <c>false</c>.</value>
/// </summary>
[UsedImplicitly] public bool Required { get; private set; }
/// <summary>
/// Returns whether the value of the given object is equal to the current <see cref="LocalizationRequiredAttribute"/>.
/// </summary>
/// <param name="obj">The object to test the value equality of. </param>
/// <returns>
/// <c>true</c> if the value of the given object is equal to that of the current; otherwise, <c>false</c>.
/// </returns>
public override bool Equals(object obj)
{
var attribute = obj as LocalizationRequiredAttribute;
return attribute != null && attribute.Required == Required;
}
/// <summary>
/// Returns the hash code for this instance.
/// </summary>
/// <returns>A hash code for the current <see cref="LocalizationRequiredAttribute"/>.</returns>
public override int GetHashCode()
{
return base.GetHashCode();
}
}
/// <summary>
/// Indicates that the marked method builds string by format pattern and (optional) arguments.
/// Parameter, which contains format string, should be given in constructor.
/// The format string should be in <see cref="string.Format(IFormatProvider,string,object[])"/> -like form
/// </summary>
/// <example>
/// <code>
/// [StringFormatMethod("message")]
/// public void ShowError(string message, params object[] args)
/// {
/// //Do something
/// }
/// public void Foo()
/// {
/// ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class StringFormatMethodAttribute : Attribute
{
/// <summary>
/// Initializes new instance of StringFormatMethodAttribute
/// </summary>
/// <param name="formatParameterName">Specifies which parameter of an annotated method should be treated as format-string</param>
public StringFormatMethodAttribute(string formatParameterName)
{
FormatParameterName = formatParameterName;
}
/// <summary>
/// Gets format parameter name
/// </summary>
[UsedImplicitly] public string FormatParameterName { get; private set; }
}
/// <summary>
/// Indicates that the function argument should be string literal and match one of the parameters
/// of the caller function.
/// For example, ReSharper annotates the parameter of <see cref="System.ArgumentNullException"/>.
/// </summary>
/// <example>
/// <code>
/// public void Foo(string param)
/// {
/// if (param == null)
/// throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public sealed class InvokerParameterNameAttribute : Attribute { }
/// <summary>
/// Indicates that the method is contained in a type that implements
/// <see cref="System.ComponentModel.INotifyPropertyChanged"/> interface
/// and this method is used to notify that some property value changed.
/// </summary>
/// <remarks>
/// The method should be non-static and conform to one of the supported signatures:
/// <list>
/// <item><c>NotifyChanged(string)</c></item>
/// <item><c>NotifyChanged(params string[])</c></item>
/// <item><c>NotifyChanged{T}(Expression{Func{T}})</c></item>
/// <item><c>NotifyChanged{T,U}(Expression{Func{T,U}})</c></item>
/// <item><c>SetProperty{T}(ref T, T, string)</c></item>
/// </list>
/// </remarks>
/// <example>
/// <code>
/// public class Foo : INotifyPropertyChanged
/// {
/// public event PropertyChangedEventHandler PropertyChanged;
///
/// [NotifyPropertyChangedInvocator]
/// protected virtual void NotifyChanged(string propertyName)
/// {}
///
/// private string _name;
/// public string Name
/// {
/// get { return _name; }
/// set
/// {
/// _name = value;
/// NotifyChanged("LastName"); // Warning
/// }
/// }
/// }
/// </code>
/// Examples of generated notifications:
/// <list>
/// <item><c>NotifyChanged("Property")</c></item>
/// <item><c>NotifyChanged(() => Property)</c></item>
/// <item><c>NotifyChanged((VM x) => x.Property)</c></item>
/// <item><c>SetProperty(ref myField, value, "Property")</c></item>
/// </list>
/// </example>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class NotifyPropertyChangedInvocatorAttribute : Attribute
{
public NotifyPropertyChangedInvocatorAttribute() { }
public NotifyPropertyChangedInvocatorAttribute(string parameterName)
{
ParameterName = parameterName;
}
[UsedImplicitly] public string ParameterName { get; private set; }
}
/// <summary>
/// Indicates that the value of the marked element could be <c>null</c> sometimes,
/// so the check for <c>null</c> is necessary before its usage.
/// </summary>
/// <example>
/// <code>
/// [CanBeNull]
/// public object Test()
/// {
/// return null;
/// }
///
/// public void UseTest()
/// {
/// var p = Test();
/// var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Delegate | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class CanBeNullAttribute : Attribute { }
/// <summary>
/// Indicates that the value of the marked element could never be <c>null</c>
/// </summary>
/// <example>
/// <code>
/// [NotNull]
/// public object Foo()
/// {
/// return null; // Warning: Possible 'null' assignment
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Delegate | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class NotNullAttribute : Attribute { }
/// <summary>
/// Describes dependency between method input and output.
/// </summary>
/// <syntax>
/// <p>Function Definition Table syntax:</p>
/// <list>
/// <item>FDT ::= FDTRow [;FDTRow]*</item>
/// <item>FDTRow ::= Input =&gt; Output | Output &lt;= Input</item>
/// <item>Input ::= ParameterName: Value [, Input]*</item>
/// <item>Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}</item>
/// <item>Value ::= true | false | null | notnull | canbenull</item>
/// </list>
/// If method has single input parameter, it's name could be omitted. <br/>
/// Using <c>halt</c> (or <c>void</c>/<c>nothing</c>, which is the same) for method output means that the methos doesn't return normally. <br/>
/// <c>canbenull</c> annotation is only applicable for output parameters. <br/>
/// You can use multiple <c>[ContractAnnotation]</c> for each FDT row, or use single attribute with rows separated by semicolon. <br/>
/// </syntax>
/// <examples>
/// <list>
/// <item><code>
/// [ContractAnnotation("=> halt")]
/// public void TerminationMethod()
/// </code></item>
/// <item><code>
/// [ContractAnnotation("halt &lt;= condition: false")]
/// public void Assert(bool condition, string text) // Regular Assertion method
/// </code></item>
/// <item><code>
/// [ContractAnnotation("s:null => true")]
/// public bool IsNullOrEmpty(string s) // String.IsNullOrEmpty
/// </code></item>
/// <item><code>
/// // A method that returns null if the parameter is null, and not null if the parameter is not null
/// [ContractAnnotation("null => null; notnull => notnull")]
/// public object Transform(object data)
/// </code></item>
/// <item><code>
/// [ContractAnnotation("s:null=>false; =>true,result:notnull; =>false, result:null")]
/// public bool TryParse(string s, out Person result)
/// </code></item>
/// </list>
/// </examples>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class ContractAnnotationAttribute : Attribute
{
public ContractAnnotationAttribute([NotNull] string fdt) : this (fdt, false)
{
}
public ContractAnnotationAttribute([NotNull] string fdt, bool forceFullStates)
{
FDT = fdt;
ForceFullStates = forceFullStates;
}
public string FDT { get; private set; }
public bool ForceFullStates { get; private set; }
}
/// <summary>
/// Indicates that the value of the marked type (or its derivatives)
/// cannot be compared using '==' or '!=' operators and <c>Equals()</c> should be used instead.
/// However, using '==' or '!=' for comparison with <c>null</c> is always permitted.
/// </summary>
/// <example>
/// <code>
/// [CannotApplyEqualityOperator]
/// class NoEquality
/// {
/// }
///
/// class UsesNoEquality
/// {
/// public void Test()
/// {
/// var ca1 = new NoEquality();
/// var ca2 = new NoEquality();
///
/// if (ca1 != null) // OK
/// {
/// bool condition = ca1 == ca2; // Warning
/// }
/// }
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
public sealed class CannotApplyEqualityOperatorAttribute : Attribute { }
/// <summary>
/// When applied to a target attribute, specifies a requirement for any type marked with
/// the target attribute to implement or inherit specific type or types.
/// </summary>
/// <example>
/// <code>
/// [BaseTypeRequired(typeof(IComponent)] // Specify requirement
/// public class ComponentAttribute : Attribute
/// {}
///
/// [Component] // ComponentAttribute requires implementing IComponent interface
/// public class MyComponent : IComponent
/// {}
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
[BaseTypeRequired(typeof(Attribute))]
public sealed class BaseTypeRequiredAttribute : Attribute
{
/// <summary>
/// Initializes new instance of BaseTypeRequiredAttribute
/// </summary>
/// <param name="baseType">Specifies which types are required</param>
public BaseTypeRequiredAttribute(Type baseType)
{
BaseTypes = new[] { baseType };
}
/// <summary>
/// Gets enumerations of specified base types
/// </summary>
public Type[] BaseTypes { get; private set; }
}
/// <summary>
/// Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
/// so this symbol will not be marked as unused (as well as by other usage inspections)
/// </summary>
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
public sealed class UsedImplicitlyAttribute : Attribute
{
[UsedImplicitly] public UsedImplicitlyAttribute()
: this(ImplicitUseKindFlags.Default, ImplicitUseTargetFlags.Default) { }
[UsedImplicitly]
public UsedImplicitlyAttribute(ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags)
{
UseKindFlags = useKindFlags;
TargetFlags = targetFlags;
}
[UsedImplicitly] public UsedImplicitlyAttribute(ImplicitUseKindFlags useKindFlags)
: this(useKindFlags, ImplicitUseTargetFlags.Default) { }
[UsedImplicitly] public UsedImplicitlyAttribute(ImplicitUseTargetFlags targetFlags)
: this(ImplicitUseKindFlags.Default, targetFlags) { }
[UsedImplicitly] public ImplicitUseKindFlags UseKindFlags { get; private set; }
/// <summary>
/// Gets value indicating what is meant to be used
/// </summary>
[UsedImplicitly] public ImplicitUseTargetFlags TargetFlags { get; private set; }
}
/// <summary>
/// Should be used on attributes and causes ReSharper
/// to not mark symbols marked with such attributes as unused (as well as by other usage inspections)
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class MeansImplicitUseAttribute : Attribute
{
[UsedImplicitly] public MeansImplicitUseAttribute()
: this(ImplicitUseKindFlags.Default, ImplicitUseTargetFlags.Default) { }
[UsedImplicitly]
public MeansImplicitUseAttribute(ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags)
{
UseKindFlags = useKindFlags;
TargetFlags = targetFlags;
}
[UsedImplicitly] public MeansImplicitUseAttribute(ImplicitUseKindFlags useKindFlags)
: this(useKindFlags, ImplicitUseTargetFlags.Default)
{
}
[UsedImplicitly] public MeansImplicitUseAttribute(ImplicitUseTargetFlags targetFlags)
: this(ImplicitUseKindFlags.Default, targetFlags) { }
[UsedImplicitly] public ImplicitUseKindFlags UseKindFlags { get; private set; }
/// <summary>
/// Gets value indicating what is meant to be used
/// </summary>
[UsedImplicitly] public ImplicitUseTargetFlags TargetFlags { get; private set; }
}
[Flags]
public enum ImplicitUseKindFlags
{
Default = Access | Assign | InstantiatedWithFixedConstructorSignature,
/// <summary>
/// Only entity marked with attribute considered used
/// </summary>
Access = 1,
/// <summary>
/// Indicates implicit assignment to a member
/// </summary>
Assign = 2,
/// <summary>
/// Indicates implicit instantiation of a type with fixed constructor signature.
/// That means any unused constructor parameters won't be reported as such.
/// </summary>
InstantiatedWithFixedConstructorSignature = 4,
/// <summary>
/// Indicates implicit instantiation of a type
/// </summary>
InstantiatedNoFixedConstructorSignature = 8,
}
/// <summary>
/// Specify what is considered used implicitly when marked with <see cref="MeansImplicitUseAttribute"/> or <see cref="UsedImplicitlyAttribute"/>
/// </summary>
[Flags]
public enum ImplicitUseTargetFlags
{
Default = Itself,
Itself = 1,
/// <summary>
/// Members of entity marked with attribute are considered used
/// </summary>
Members = 2,
/// <summary>
/// Entity marked with attribute and all its members considered used
/// </summary>
WithMembers = Itself | Members
}
/// <summary>
/// This attribute is intended to mark publicly available API which should not be removed and so is treated as used.
/// </summary>
[MeansImplicitUse]
public sealed class PublicAPIAttribute : Attribute
{
public PublicAPIAttribute() { }
public PublicAPIAttribute(string comment) { }
}
/// <summary>
/// Tells code analysis engine if the parameter is completely handled when the invoked method is on stack.
/// If the parameter is a delegate, indicates that delegate is executed while the method is executed.
/// If the parameter is an enumerable, indicates that it is enumerated while the method is executed.
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, Inherited = true)]
public sealed class InstantHandleAttribute : Attribute { }
/// <summary>
/// Indicates that a method does not make any observable state changes.
/// The same as <see cref="System.Diagnostics.Contracts.PureAttribute"/>
/// </summary>
/// <example>
/// <code>
/// [Pure]
/// private int Multiply(int x, int y)
/// {
/// return x*y;
/// }
///
/// public void Foo()
/// {
/// const int a=2, b=2;
/// Multiply(a, b); // Waring: Return value of pure method is not used
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Method, Inherited = true)]
public sealed class PureAttribute : Attribute { }
/// <summary>
/// Indicates that a parameter is a path to a file or a folder within a web project.
/// Path can be relative or absolute, starting from web root (~).
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public class PathReferenceAttribute : Attribute
{
public PathReferenceAttribute() { }
[UsedImplicitly]
public PathReferenceAttribute([PathReference] string basePath)
{
BasePath = basePath;
}
[UsedImplicitly] public string BasePath { get; private set; }
}
// ASP.NET MVC attributes
/// <summary>
/// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC action.
/// If applied to a method, the MVC action name is calculated implicitly from the context.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
public sealed class AspMvcActionAttribute : Attribute
{
[UsedImplicitly] public string AnonymousProperty { get; private set; }
public AspMvcActionAttribute() { }
public AspMvcActionAttribute(string anonymousProperty)
{
AnonymousProperty = anonymousProperty;
}
}
/// <summary>
/// ASP.NET MVC attribute. Indicates that a parameter is an MVC araa.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcAreaAttribute : PathReferenceAttribute
{
[UsedImplicitly] public string AnonymousProperty { get; private set; }
[UsedImplicitly] public AspMvcAreaAttribute() { }
public AspMvcAreaAttribute(string anonymousProperty)
{
AnonymousProperty = anonymousProperty;
}
}
/// <summary>
/// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC controller.
/// If applied to a method, the MVC controller name is calculated implicitly from the context.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
public sealed class AspMvcControllerAttribute : Attribute
{
[UsedImplicitly] public string AnonymousProperty { get; private set; }
public AspMvcControllerAttribute() { }
public AspMvcControllerAttribute(string anonymousProperty)
{
AnonymousProperty = anonymousProperty;
}
}
/// <summary>
/// ASP.NET MVC attribute. Indicates that a parameter is an MVC Master.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Controller.View(String, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcMasterAttribute : Attribute { }
/// <summary>
/// ASP.NET MVC attribute. Indicates that a parameter is an MVC model type.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Controller.View(String, Object)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcModelTypeAttribute : Attribute { }
/// <summary>
/// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC partial view.
/// If applied to a method, the MVC partial view name is calculated implicitly from the context.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
public sealed class AspMvcPartialViewAttribute : PathReferenceAttribute { }
/// <summary>
/// ASP.NET MVC attribute. Allows disabling all inspections for MVC views within a class or a method.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public sealed class AspMvcSupressViewErrorAttribute : Attribute { }
/// <summary>
/// ASP.NET MVC attribute. Indicates that a parameter is an MVC display template.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcDisplayTemplateAttribute : Attribute { }
/// <summary>
/// ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcEditorTemplateAttribute : Attribute { }
/// <summary>
/// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC view.
/// If applied to a method, the MVC view name is calculated implicitly from the context.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.Mvc.Controller.View(Object)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
public sealed class AspMvcViewAttribute : PathReferenceAttribute { }
/// <summary>
/// ASP.NET MVC attribute. When applied to a parameter of an attribute,
/// indicates that this parameter is an MVC action name.
/// </summary>
/// <example>
/// <code>
/// [ActionName("Foo")]
/// public ActionResult Login(string returnUrl)
/// {
/// ViewBag.ReturnUrl = Url.Action("Foo"); // OK
/// return RedirectToAction("Bar"); // Error: Cannot resolve action
/// }
/// </code>
/// </example>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
public sealed class AspMvcActionSelectorAttribute : Attribute { }
// Razor attributes
/// <summary>
/// Razor attribute. Indicates that a parameter or a method is a Razor section.
/// Use this attribute for custom wrappers similar to
/// <see cref="System.Web.WebPages.WebPageBase.RenderSection(String)"/>
/// </summary>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method, Inherited = true)]
public sealed class RazorSectionAttribute : Attribute { }
}
@@ -1,55 +0,0 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FileConverter")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FileConverter")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// In order to begin building localizable applications, set
// <UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
// inside a <PropertyGroup>. For example, if you are using US english
// in your source files, set the <UICulture> to en-US. Then uncomment
// the NeutralResourceLanguage attribute below. Update the "en-US" in
// the line below to match the UICulture setting in the project file.
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,71 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FileConverter.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FileConverter.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
@@ -1,117 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FileConverter.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
@@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

@@ -1,24 +0,0 @@
<StyleCopSettings Version="105">
<Analyzers>
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
<Rules>
<Rule Name="ElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="EnumerationItemsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="PartialElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
</Analyzers>
</StyleCopSettings>
-387
View File
@@ -1,387 +0,0 @@
// <copyright file="Settings.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Security.Principal;
using System.Windows;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.Win32;
using FileConverter.Annotations;
public class Settings : INotifyPropertyChanged, IDataErrorInfo
{
private const char PresetSeparator = ';';
private ObservableCollection<ConversionPreset> conversionPresets = new ObservableCollection<ConversionPreset>();
public event PropertyChangedEventHandler PropertyChanged;
private static bool IsInAdmininstratorPrivileges
{
get
{
return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
}
}
public ObservableCollection<ConversionPreset> ConversionPresets
{
get { return this.conversionPresets; }
set { this.conversionPresets = value; }
}
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
public ConversionPreset GetPresetFromName(string presetName)
{
return this.conversionPresets.FirstOrDefault(match => match.Name == presetName);
}
public void Load()
{
ICollection<ConversionPreset> presets = this.ConversionPresets;
presets.Clear();
string userFilePath = Settings.GetUserSettingsFilePath();
if (File.Exists(userFilePath))
{
XmlHelpers.LoadFromFile<ConversionPreset>("Settings", userFilePath, ref presets);
}
else
{
// If user settings doesn't exist, load the default settings.
string defaultFilePath = Settings.GetDefaultSettingsFilePath();
if (File.Exists(defaultFilePath))
{
XmlHelpers.LoadFromFile<ConversionPreset>("Settings", defaultFilePath, ref presets);
}
else
{
Diagnostics.Log("Default settings not found. You should try to reinstall the application.");
}
}
}
public void Save()
{
// Save the settings in a temporary files (we'll write the settings file when we'll succeed to write the registry keys).
string temporaryFilePath = Settings.GetUserSettingsTemporaryFilePath();
XmlHelpers.SaveToFile("Settings", temporaryFilePath, this.ConversionPresets);
// Compute the registry entries data from settings.
Dictionary<string, List<string>> registryEntries = Settings.ComputeRegistryEntriesFromConvertionPresets(this.ConversionPresets);
// Detect if existing registry configuration need to be modified.
bool registryNeedModifications = Settings.IsRegistryNeedModifications(registryEntries);
if (registryNeedModifications)
{
// Write the settings in registry.
if (Settings.IsInAdmininstratorPrivileges)
{
// We are in admin mode, write reigstry ...
bool succeed = Settings.ApplyRegistryModifications(registryEntries);
if (succeed)
{
// ... and copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
}
else
{
// Run the application in admin mode in order to perform modifications.
Settings.RunSaveInAdminMode();
}
}
else
{
// Copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
}
public static void ApplyTemporarySettings()
{
// Load temporary settings.
string temporaryFilePath = Settings.GetUserSettingsTemporaryFilePath();
if (!File.Exists(temporaryFilePath))
{
return;
}
ICollection<ConversionPreset> conversionPresets = new ObservableCollection<ConversionPreset>();
XmlHelpers.LoadFromFile("Settings", temporaryFilePath, ref conversionPresets);
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey(@"Software\FileConverter");
if (registryKey == null)
{
MessageBox.Show("Can't apply settings in registry.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return;
}
// Compute the registry entries data from settings.
Dictionary<string, List<string>> registryEntries = ComputeRegistryEntriesFromConvertionPresets(conversionPresets);
bool succeed = Settings.ApplyRegistryModifications(registryEntries);
if (succeed)
{
// Copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
}
private static bool ApplyRegistryModifications(Dictionary<string, List<string>> registryEntries)
{
if (!Settings.IsInAdmininstratorPrivileges)
{
MessageBox.Show("Can't apply settings in registry because the application is not in administrator privileges.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey(@"Software\FileConverter", RegistryKeyPermissionCheck.ReadWriteSubTree);
if (registryKey == null)
{
MessageBox.Show("Can't apply settings in registry (ErrorCode=1).", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
// Delete previous settings.
string[] subKeyNames = registryKey.GetSubKeyNames();
for (int index = 0; index < subKeyNames.Length; index++)
{
try
{
registryKey.DeleteSubKey(subKeyNames[index]);
}
catch (Exception exception)
{
MessageBox.Show("Can't apply settings in registry (ErrorCode=2).", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
}
// Apply settings in registry.
foreach (KeyValuePair<string, List<string>> registryEntry in registryEntries)
{
string presets = string.Empty;
for (int index = 0; index < registryEntry.Value.Count; index++)
{
if (index > 0)
{
presets += ";";
}
presets += registryEntry.Value[index];
}
RegistryKey subKey = null;
try
{
subKey = registryKey.CreateSubKey(registryEntry.Key);
}
catch (Exception exception)
{
Diagnostics.Log(exception.Message);
}
if (subKey == null)
{
MessageBox.Show("Can't apply settings in registry (ErrorCode=3).", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
subKey.SetValue("Presets", presets);
}
return true;
}
private static Dictionary<string, List<string>> ComputeRegistryEntriesFromConvertionPresets(ICollection<ConversionPreset> conversionPresets)
{
Dictionary<string, List<string>> registryEntries = new Dictionary<string, List<string>>();
foreach (ConversionPreset conversionPreset in conversionPresets)
{
List<string> inputTypes = conversionPreset.InputTypes;
for (int inputIndex = 0; inputIndex < inputTypes.Count; inputIndex++)
{
string inputType = inputTypes[inputIndex].ToLowerInvariant();
if (!registryEntries.ContainsKey(inputType))
{
registryEntries.Add(inputType, new List<string>());
}
registryEntries[inputType].Add(conversionPreset.Name);
}
}
return registryEntries;
}
private static string GetDefaultSettingsFilePath()
{
string path = Assembly.GetEntryAssembly().Location;
path = Path.GetDirectoryName(path);
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
path = Path.Combine(path, "Settings.xml");
return path;
}
private static string GetUserSettingsFilePath()
{
string path = Environment.GetEnvironmentVariable("LocalAppData");
path = Path.Combine(path, "FileConverter");
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
path = Path.Combine(path, "Settings.user.xml");
return path;
}
private static string GetUserSettingsTemporaryFilePath()
{
string path = Environment.GetEnvironmentVariable("LocalAppData");
path = Path.Combine(path, "FileConverter");
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
path = Path.Combine(path, "Settings.temp.xml");
return path;
}
private static bool IsRegistryNeedModifications(Dictionary<string, List<string>> registryEntries)
{
// Compare to registry entries.
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey(@"Software\FileConverter");
if (registryKey == null)
{
return true;
}
string[] subKeyNames = registryKey.GetSubKeyNames();
if (subKeyNames.Length == registryEntries.Count)
{
for (int index = 0; index < subKeyNames.Length; index++)
{
string subKeyName = subKeyNames[index];
if (!registryEntries.ContainsKey(subKeyName))
{
return true;
}
List<string> presetsList = registryEntries[subKeyName];
RegistryKey subKey = registryKey.OpenSubKey(subKeyName);
if (subKey == null)
{
return true;
}
string presetsString = subKey.GetValue("Presets", string.Empty) as string;
string[] presets = presetsString != null ? presetsString.Split(Settings.PresetSeparator) : new string[0];
if (presets.Length != presetsList.Count)
{
return true;
}
for (int presetIndex = 0; presetIndex < presets.Length; presetIndex++)
{
if (!presetsList.Contains(presets[presetIndex]))
{
return true;
}
}
}
}
else
{
return true;
}
return false;
}
private static void RunSaveInAdminMode()
{
ProcessStartInfo processStartInfo = new ProcessStartInfo(Assembly.GetEntryAssembly().Location, "--apply-settings")
{
UseShellExecute = true,
Verb = "runas", // indicates to elevate privileges
};
Process process = new Process
{
EnableRaisingEvents = true, // enable WaitForExit()
StartInfo = processStartInfo
};
try
{
process.Start();
process.WaitForExit();
}
catch (Exception exception)
{
MessageBox.Show("Can't apply settings in registry because the application has no administrator privileges.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return;
}
}
public string this[string columnName]
{
get
{
return this.Error;
}
}
public string Error
{
get
{
for (int index = 0; index < this.ConversionPresets.Count; index++)
{
string error = this.ConversionPresets[index].Error;
if (!string.IsNullOrEmpty(error))
{
return error;
}
}
return string.Empty;
}
}
}
}
-28
View File
@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ConversionPreset Name="To Ogg" OutputType="Ogg">
<InputTypes>Wav</InputTypes>
<InputTypes>Flac</InputTypes>
<InputTypes>Wma</InputTypes>
<InputTypes>Mp3</InputTypes>
<InputTypes>Ape</InputTypes>
</ConversionPreset>
<ConversionPreset Name="To Mp3" OutputType="Mp3">
<InputTypes>Flac</InputTypes>
<InputTypes>Ogg</InputTypes>
<InputTypes>Wav</InputTypes>
<InputTypes>Wma</InputTypes>
<InputTypes>Ape</InputTypes>
</ConversionPreset>
<ConversionPreset Name="To Flac" OutputType="Flac">
<InputTypes>Wav</InputTypes>
<InputTypes>Ape</InputTypes>
</ConversionPreset>
<ConversionPreset Name="To Wav" OutputType="Wav">
<InputTypes>Flac</InputTypes>
<InputTypes>Mp3</InputTypes>
<InputTypes>Ogg</InputTypes>
<InputTypes>Wma</InputTypes>
<InputTypes>Ape</InputTypes>
</ConversionPreset>
</Settings>
@@ -1,28 +0,0 @@
// <copyright file="ApplicationVersionToApplicationName.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.Globalization;
using System.Windows.Data;
public class ApplicationVersionToApplicationName : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is Version))
{
return "File Converter";
}
Version version = (Version)value;
return string.Format("File Converter v{0}", version.ToString());
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -1,75 +0,0 @@
// <copyright file="ConversionStateToBrush.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
public class ConversionStateToBrush : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is ConversionJob.ConversionState))
{
throw new ArgumentException("The value must be a conversion state.");
}
ConversionJob.ConversionState conversionState = (ConversionJob.ConversionState)value;
string type = parameter as string;
if (type == "Background")
{
switch (conversionState)
{
case ConversionJob.ConversionState.Unknown:
return new SolidColorBrush(Color.FromRgb(230, 230, 230));
case ConversionJob.ConversionState.Ready:
return new SolidColorBrush(Color.FromRgb(230, 230, 230));
case ConversionJob.ConversionState.InProgress:
return new SolidColorBrush(Color.FromRgb(250, 236, 179));
case ConversionJob.ConversionState.Done:
return new SolidColorBrush(Color.FromRgb(200, 230, 201));
case ConversionJob.ConversionState.Failed:
return new SolidColorBrush(Color.FromRgb(255, 205, 210));
}
}
else if (type == "Foreground")
{
switch (conversionState)
{
case ConversionJob.ConversionState.Unknown:
return new SolidColorBrush(Color.FromRgb(128, 128, 128));
case ConversionJob.ConversionState.Ready:
return new SolidColorBrush(Color.FromRgb(32, 32, 32));
case ConversionJob.ConversionState.InProgress:
return new SolidColorBrush(Color.FromRgb(255, 160, 0));
case ConversionJob.ConversionState.Done:
return new SolidColorBrush(Color.FromRgb(56, 142, 60));
case ConversionJob.ConversionState.Failed:
return new SolidColorBrush(Color.FromRgb(255, 82, 82));
}
}
else
{
throw new SystemException("Unknown type.");
}
throw new SystemException("Unknown state.");
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -1,34 +0,0 @@
// <copyright file="InputTypesToBool.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Data;
public class InputTypesToBool : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
List<string> intputTypes = value as List<string>;
if (intputTypes == null)
{
throw new ArgumentException("The value must be an list of string.");
}
string referenceTypeName = parameter as string;
if (string.IsNullOrEmpty(referenceTypeName))
{
return false;
}
return intputTypes.Contains(referenceTypeName);
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileConverter
{
public struct Version
{
public int Major;
public int Minor;
public override string ToString()
{
return string.Format("{0}.{1}", this.Major, this.Minor);
}
}
}
@@ -1,20 +0,0 @@
<Window x:Class="FileConverter.Windows.DiagnosticsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:FileConverter.Windows"
xmlns:fileConverter="clr-namespace:FileConverter"
mc:Ignorable="d"
Title="Diagnostics" Height="600" Width="800" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Grid.Row="0" Content="Logs" VerticalAlignment="Top" Height="30" FontSize="16" FontWeight="Bold" />
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" CanContentScroll="True">
<TextBlock Name="Diagnostics" TextWrapping="NoWrap" Text="{Binding Path=(fileConverter:Diagnostics.Content), Mode=OneWay}" FontFamily="Consolas" Foreground="#FF272727"/>
</ScrollViewer>
</Grid>
</Window>
@@ -1,27 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace FileConverter.Windows
{
/// <summary>
/// Interaction logic for DiagnosticsWindow.xaml
/// </summary>
public partial class DiagnosticsWindow : Window
{
public DiagnosticsWindow()
{
InitializeComponent();
}
}
}
@@ -1,72 +0,0 @@
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="FileConverter.MainWindow"
xmlns:local="clr-namespace:FileConverter"
x:Name="FileConverterMainWindow" Height="500" Width="950" MinHeight="250" MinWidth="450" WindowStartupLocation="CenterScreen" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Window.Resources>
<local:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
<local:ConversionStateToBrush x:Key="ConversionStateToColor" />
</Window.Resources>
<Window.Title>
<Binding Converter="{StaticResource ApplicationVersionToApplicationName}" Mode="OneWay" Path="(local:Application.ApplicationVersion)"/>
</Window.Title>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="100" />
<ColumnDefinition Width="100" />
</Grid.ColumnDefinitions>
<Label Name="Title" Grid.Column="0" Content="Files to convert" VerticalAlignment="Top" Height="30" FontSize="16" FontWeight="Bold"/>
<Button Name="DiagnosticsButton" Grid.Column="1" Content="Logs" Margin="3,3" Click="DiagnosticsButton_OnClick"/>
<Button Name="SettingsButton" Grid.Column="2" Content="Settings" Margin="3,3" Click="SettingsButton_OnClick"/>
</Grid>
<ScrollViewer x:Name="ScrollViewer" Grid.Row="1" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
<ItemsControl Name="ConverterJobsList">
<ItemsControl.DataContext>
<local:ConversionJob/>
</ItemsControl.DataContext>
<ItemsControl.ItemTemplate>
<DataTemplate>
<DockPanel Background="{Binding State, Converter={StaticResource ConversionStateToColor}, ConverterParameter='Background'}" Margin="0,4">
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" MinWidth="300" />
<ColumnDefinition Width="*" MinWidth="100" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding OutputFilePath}" FontWeight="Bold" />
<StackPanel Grid.Row="1" Grid.Column="0" Margin="10,0,0,0">
<WrapPanel>
<TextBlock Text="Converted from " FontSize="11" FontStyle="Italic" />
<TextBlock Text="{Binding InputFilePath}" FontSize="11" FontStyle="Italic" />
</WrapPanel>
<TextBlock Text="{Binding ExitingMessage}" Foreground="{Binding State, Converter={StaticResource ConversionStateToColor}, ConverterParameter='Foreground'}" />
</StackPanel>
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding State}" FontWeight="Bold" Foreground="{Binding State, Converter={StaticResource ConversionStateToColor}, ConverterParameter='Foreground'}" />
<ProgressBar Grid.Row="1" Grid.Column="1" Height="18" Width="Auto" Minimum="0" Maximum="1" SmallChange="0.001" Value="{Binding Progress, Mode=OneWay}" Foreground="{Binding State, Converter={StaticResource ConversionStateToColor}, ConverterParameter='Foreground'}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" MinWidth="100" LargeChange="0.1" />
</Grid>
</DockPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</Grid>
</Window>
@@ -1,100 +0,0 @@
// <copyright file="MainWindow.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using FileConverter.Annotations;
using FileConverter.Windows;
public partial class MainWindow : Window, INotifyPropertyChanged
{
private bool verboseMode;
private DiagnosticsWindow diagnosticsWindow;
private SettingsWindow settingsWindow;
public MainWindow()
{
this.InitializeComponent();
Application application = Application.Current as Application;
this.ConverterJobsList.ItemsSource = application.ConvertionJobs;
if (application.Verbose)
{
this.ShowDiagnosticsWindow();
}
if (application.ShowSettings)
{
this.Hide();
this.ShowSettingsWindow();
this.settingsWindow.Deactivated += this.SettingsWindow_Closed;
}
}
public event PropertyChangedEventHandler PropertyChanged;
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
PropertyChangedEventHandler handler = this.PropertyChanged;
if (handler != null)
{
handler(this, new PropertyChangedEventArgs(propertyName));
}
}
private void SettingsButton_OnClick(object sender, RoutedEventArgs e)
{
this.ShowSettingsWindow();
}
private void SettingsWindow_Closed(object sender, System.EventArgs e)
{
settingsWindow.Deactivated -= this.SettingsWindow_Closed;
this.Close();
}
private void DiagnosticsButton_OnClick(object sender, RoutedEventArgs e)
{
this.ShowDiagnosticsWindow();
}
private void ShowDiagnosticsWindow()
{
if (this.diagnosticsWindow != null && this.diagnosticsWindow.IsVisible)
{
return;
}
else
{
this.diagnosticsWindow = new DiagnosticsWindow();
}
Application application = Application.Current as Application;
application?.CancelAutoExit();
this.diagnosticsWindow.Show();
}
private void ShowSettingsWindow()
{
if (this.settingsWindow != null && this.settingsWindow.IsVisible)
{
return;
}
else
{
this.settingsWindow = new SettingsWindow();
}
Application application = Application.Current as Application;
application?.CancelAutoExit();
this.settingsWindow.Show();
}
}
}
@@ -1,119 +0,0 @@
<Window x:Name="window" x:Class="FileConverter.SettingsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:FileConverter"
Height="370" Width="520" MinHeight="370" MinWidth="440"
WindowStartupLocation="CenterScreen" Icon="/FileConverter;component/Resources/ApplicationIcon-16x16.ico">
<Window.Resources>
<local:InputTypesToBool x:Key="InputTypesToBool"/>
<local:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>
<Style TargetType="{x:Type TextBox}">
<Setter Property="Validation.ErrorTemplate">
<Setter.Value>
<ControlTemplate>
<DockPanel LastChildFill="true">
<Border Background="#F44336" DockPanel.Dock="right" Margin="5,0,0,0" Width="20" Height="20" CornerRadius="10"
ToolTip="{Binding ElementName=customAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}">
<TextBlock Text="!" VerticalAlignment="center" HorizontalAlignment="center" FontWeight="Bold" Foreground="white"/>
</Border>
<AdornedElementPlaceholder Name="customAdorner" VerticalAlignment="Center" >
<Border BorderBrush="#F44336" BorderThickness="1" />
</AdornedElementPlaceholder>
</DockPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Window.Title>
<Binding Converter="{StaticResource ApplicationVersionToApplicationName}" Mode="OneWay" Path="(local:Application.ApplicationVersion)"/>
</Window.Title>
<Grid Margin="10">
<Grid.CommandBindings>
<CommandBinding Command="New" CanExecute="CanSaveSettings" />
</Grid.CommandBindings>
<Grid.RowDefinitions>
<RowDefinition Height="48"/>
<RowDefinition Height="*"/>
<RowDefinition Height="28"/>
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="48"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Image HorizontalAlignment="Left" Height="48" Width="48" VerticalAlignment="Top" Source="..\Resources\ApplicationIcon.png" />
<Label Content="Settings" FontSize="20" Margin="4" Grid.Column="1" VerticalAlignment="Center" />
<Label HorizontalAlignment="Right" FontStyle="Italic" FontSize="14" Grid.Column="2" VerticalAlignment="Center">
<Label.Content>
<Binding Converter="{StaticResource ApplicationVersionToApplicationName}" Mode="OneWay" Path="(local:Application.ApplicationVersion)"/>
</Label.Content>
</Label>
</Grid>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Content="Presets" Margin="0,5,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Center" HorizontalAlignment="Left" Width="100" Grid.ColumnSpan="2"/>
<ListBox Name="PresetList" HorizontalAlignment="Left" Margin="0,36,0,0" Width="100" Grid.ColumnSpan="2"
Grid.Column="0" IsSynchronizedWithCurrentItem="True" SelectedItem="{Binding SelectedPreset, ElementName=window}">
<ItemsControl.DataContext>
<local:ConversionPreset/>
</ItemsControl.DataContext>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Label Content="{Binding Name}"/>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ListBox>
<!-- Preset settings -->
<GroupBox Header="Preset
" Margin="5,5,0,0" Grid.Column="1">
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Label Content="Preset name" Grid.Row="0" HorizontalContentAlignment="Right" Margin="0,0,5,0"/>
<TextBox Name="PresetNameTextBox" Grid.Row="0" Grid.Column="1" Margin="5,2,25,2" Text="{Binding SelectedPreset.Name, Mode=TwoWay, ElementName=window, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" TextWrapping="Wrap" Width="Auto" />
<GroupBox Grid.Row="1" Grid.Column="0" Header="Input formats" Margin="5">
<StackPanel>
<CheckBox Content="Ape" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Ape', ElementName=window, Mode=OneWay}"/>
<CheckBox Content="Flac" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Flac', ElementName=window, Mode=OneWay}"/>
<CheckBox Content="Mp3" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Mp3', ElementName=window, Mode=OneWay}"/>
<CheckBox Content="Ogg" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Ogg', ElementName=window, Mode=OneWay}"/>
<CheckBox Content="Wav" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Wav', ElementName=window, Mode=OneWay}"/>
<CheckBox Content="Wma" Height="20" VerticalAlignment="Top" Margin="2" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnUnchecked" IsChecked="{Binding SelectedPreset.InputTypes, Converter={StaticResource InputTypesToBool}, ConverterParameter='Wma', ElementName=window, Mode=OneWay}"/>
</StackPanel>
</GroupBox>
<GroupBox Header="Output format" Grid.Row="1" Grid.Column="1" Margin="5">
<ComboBox Name="OutputFormats" Grid.Row="1" Grid.Column="1" Margin="5" Height="25" VerticalAlignment="Top" SelectedItem="{Binding SelectedPreset.OutputType, ElementName=window, Mode=TwoWay}">
</ComboBox>
</GroupBox>
</Grid>
</GroupBox>
</Grid>
<Button Name="AddPresetButton" Grid.Row="2" Content="+" HorizontalAlignment="Left" Width="28" Margin="18,4,0,0" Click="AddPresetButton_Click"/>
<Button Name="RemovePresetButton" Grid.Row="2" Content="-" HorizontalAlignment="Left" Width="28" Margin="54,4,0,0" Click="RemovePresetButton_Click"/>
<Button Name="CloseButton" Grid.Row="2" Content="Close" HorizontalAlignment="Right" Width="100" Margin="0,4,105,0" Click="CloseButton_Click" />
<Button Name="SaveButton" Grid.Row="2" Content="Save" HorizontalAlignment="Right" Width="100" Margin="0,4,0,0" Click="SaveButton_Click" Command="New"/>
</Grid>
</Window>
@@ -1,131 +0,0 @@
// <copyright file="SettingsWindow.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System.Runtime.CompilerServices;
using System.Windows;
using System.ComponentModel;
using System.Windows.Controls;
using System.Windows.Input;
using FileConverter.Annotations;
/// <summary>
/// Interaction logic for Settings.xaml
/// </summary>
public partial class SettingsWindow : Window, INotifyPropertyChanged
{
private ConversionPreset selectedPreset;
private Settings settings;
public SettingsWindow()
{
this.InitializeComponent();
Application application = Application.Current as Application;
settings = application.Settings;
this.PresetList.ItemsSource = settings.ConversionPresets;
OutputType[] outputTypes = new[]
{
OutputType.Flac,
OutputType.Mp3,
OutputType.Ogg,
OutputType.Wav,
};
this.OutputFormats.ItemsSource = outputTypes;
}
public event PropertyChangedEventHandler PropertyChanged;
public ConversionPreset SelectedPreset
{
get
{
return this.selectedPreset;
}
set
{
this.selectedPreset = value;
this.OnPropertyChanged();
}
}
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
private void ToggleButton_OnChecked(object sender, RoutedEventArgs e)
{
if (this.selectedPreset == null)
{
return;
}
CheckBox checkBox = sender as System.Windows.Controls.CheckBox;
string inputFormat = checkBox.Content as string;
if (!this.selectedPreset.InputTypes.Contains(inputFormat))
{
this.selectedPreset.InputTypes.Add(inputFormat);
}
}
private void ToggleButton_OnUnchecked(object sender, RoutedEventArgs e)
{
if (this.selectedPreset == null)
{
return;
}
CheckBox checkBox = sender as System.Windows.Controls.CheckBox;
string inputFormat = checkBox.Content as string;
this.selectedPreset.InputTypes.Remove(inputFormat);
}
private void CloseButton_Click(object sender, RoutedEventArgs e)
{
// Load previous preset in order to cancel changes.
Application application = Application.Current as Application;
application.Settings.Load();
this.Hide();
}
private void SaveButton_Click(object sender, RoutedEventArgs e)
{
// Save changes.
Application application = Application.Current as Application;
application.Settings.Save();
this.Hide();
}
private void AddPresetButton_Click(object sender, RoutedEventArgs e)
{
Application application = Application.Current as Application;
ConversionPreset newPreset = new ConversionPreset("New preset", OutputType.None, new string[0]);
application.Settings.ConversionPresets.Add(newPreset);
this.SelectedPreset = newPreset;
this.PresetNameTextBox.Focus();
this.PresetNameTextBox.SelectAll();
}
private void RemovePresetButton_Click(object sender, RoutedEventArgs e)
{
Application application = Application.Current as Application;
application.Settings.ConversionPresets.Remove(this.selectedPreset);
}
private void CanSaveSettings(object sender, CanExecuteRoutedEventArgs e)
{
e.CanExecute = this.settings != null && string.IsNullOrEmpty(this.settings.Error);
}
}
}
-75
View File
@@ -1,75 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Documents;
using System.Xml;
using System.Xml.Serialization;
using FileConverter;
public class XmlHelpers
{
public static void LoadFromFile<T>(string root, string path, ref ICollection<T> collection)
{
if (string.IsNullOrEmpty(path))
{
throw new ArgumentNullException("path");
}
XmlRootAttribute xmlRoot = new XmlRootAttribute
{
ElementName = root
};
XmlSerializer serializer = new XmlSerializer(typeof(List<T>), xmlRoot);
try
{
using (StreamReader reader = new StreamReader(path))
using (XmlReader xmlReader = XmlReader.Create(reader, new XmlReaderSettings { IgnoreWhitespace = true, IgnoreComments = true }))
{
List<T> elements = (List<T>)serializer.Deserialize(xmlReader);
foreach (T element in elements)
{
collection.Add(element);
}
}
}
catch (System.Exception exception)
{
Diagnostics.Log("The database of type '" + typeof(T) + "' failed to load the asset. The following exception was raised:\n " + exception.Message);
}
}
public static void SaveToFile<T>(string root, string path, ICollection<T> objectsToSerialize)
{
if (string.IsNullOrEmpty(path))
{
return;
}
List<T> list = new List<T>();
list.AddRange(objectsToSerialize);
XmlRootAttribute xmlRoot = new XmlRootAttribute
{
ElementName = root
};
XmlSerializer serializer = new XmlSerializer(typeof(List<T>), xmlRoot);
try
{
using (StreamWriter writer = new StreamWriter(path))
using (XmlWriter xmlWriter = XmlWriter.Create(writer, new XmlWriterSettings { Indent = true, IndentChars = " " }))
{
serializer.Serialize(xmlWriter, list);
}
}
catch (System.Exception exception)
{
Diagnostics.Log("The database of type '" + typeof(T) + "' failed to load the asset. The following exception was raised:\n " + exception.Message);
}
}
}
@@ -1,257 +0,0 @@
// <copyright file="FileConverterExtension.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverterExtension
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
using SharpShell.Attributes;
using SharpShell.SharpContextMenu;
[ComVisible(true), Guid("AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90")]
[COMServerAssociation(AssociationType.AllFiles)]
public class FileConverterExtension : SharpContextMenu
{
private string fileConverterPath;
private RegistryKey fileConverterRegistryKey;
private List<PresetDefinition> presetList = new List<PresetDefinition>();
private RegistryKey FileConverterRegistryKey
{
get
{
if (this.fileConverterRegistryKey == null)
{
this.fileConverterRegistryKey = Registry.CurrentUser.OpenSubKey(@"Software\FileConverter");
if (this.fileConverterRegistryKey == null)
{
throw new Exception("Can't retrieve file converter registry entry.");
}
}
return this.fileConverterRegistryKey;
}
}
private string FileConverterPath
{
get
{
if (string.IsNullOrEmpty(this.fileConverterPath))
{
this.fileConverterPath = this.FileConverterRegistryKey.GetValue("Path") as string;
}
return this.fileConverterPath;
}
}
protected override bool CanShowMenu()
{
foreach (string filePath in this.SelectedItemPaths)
{
string extension = Path.GetExtension(filePath);
if (string.IsNullOrEmpty(extension))
{
continue;
}
extension = extension.Substring(1).ToLowerInvariant();
switch (extension)
{
case "ape":
case "mp3":
case "wav":
case "ogg":
case "flac":
case "wma":
return true;
}
}
return false;
}
protected override ContextMenuStrip CreateMenu()
{
this.RefreshPresetList();
ContextMenuStrip menu = new ContextMenuStrip();
ToolStripMenuItem fileConverterItem = new ToolStripMenuItem
{
Text = "File Converter",
Image = Properties.Resources.ApplicationIcon_16x16.ToBitmap(),
};
for (int index = 0; index < this.presetList.Count; index++)
{
PresetDefinition preset = this.presetList[index];
ToolStripMenuItem subItem = new ToolStripMenuItem
{
Text = preset.Name,
Enabled = preset.Enabled
};
fileConverterItem.DropDownItems.Add(subItem);
subItem.Click += (sender, args) => this.ConvertFiles(preset.Name);
}
if (this.presetList.Count > 0)
{
fileConverterItem.DropDownItems.Add(new ToolStripSeparator());
}
{
ToolStripMenuItem subItem = new ToolStripMenuItem
{
Text = "Settings",
};
fileConverterItem.DropDownItems.Add(subItem);
subItem.Click += (sender, args) => this.OpenSettings();
}
menu.Items.Add(fileConverterItem);
return menu;
}
private void RefreshPresetList()
{
// Retrieve selected files extensions.
List<string> extensions = new List<string>();
foreach (string filePath in this.SelectedItemPaths)
{
string extension = Path.GetExtension(filePath);
if (string.IsNullOrEmpty(extension))
{
continue;
}
extension = extension.Substring(1).ToLowerInvariant();
if (extensions.Contains(extension))
{
continue;
}
extensions.Add(extension);
}
// Compute preset list.
this.presetList.Clear();
RegistryKey fileConverterKey = this.FileConverterRegistryKey;
for (int extensionIndex = 0; extensionIndex < extensions.Count; extensionIndex++)
{
string extension = extensions[extensionIndex];
RegistryKey extensionKey = fileConverterKey.OpenSubKey(extension);
if (extensionKey == null)
{
continue;
}
string presetsString = extensionKey.GetValue("Presets") as string;
if (presetsString == null)
{
continue;
}
string[] presets = presetsString.Split(';');
for (int presetIndex = 0; presetIndex < presets.Length; presetIndex++)
{
string presetName = presets[presetIndex];
PresetDefinition presetDefinition = this.presetList.FirstOrDefault(match => match.Name == presetName);
if (presetDefinition == null)
{
presetDefinition = new PresetDefinition(presetName);
this.presetList.Add(presetDefinition);
}
presetDefinition.ExtensionRefCount++;
}
}
// Update enable states.
for (int index = 0; index < this.presetList.Count; index++)
{
this.presetList[index].Enabled = this.presetList[index].ExtensionRefCount == extensions.Count;
}
}
private void OpenSettings()
{
if (string.IsNullOrEmpty(this.FileConverterPath))
{
MessageBox.Show(string.Format("Can't retrieve the file converter executable path. You should try to reinstall the application."));
return;
}
if (!File.Exists(this.FileConverterPath))
{
MessageBox.Show(string.Format("Can't find the file converter executable ({0}). You should try to reinstall the application.", this.FileConverterPath));
return;
}
ProcessStartInfo processStartInfo = new ProcessStartInfo(this.FileConverterPath);
processStartInfo.CreateNoWindow = false;
processStartInfo.UseShellExecute = false;
processStartInfo.RedirectStandardOutput = false;
// Build arguments string.
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append("--settings");
processStartInfo.Arguments = stringBuilder.ToString();
Process exeProcess = Process.Start(processStartInfo);
}
private void ConvertFiles(string presetName)
{
if (string.IsNullOrEmpty(this.FileConverterPath))
{
MessageBox.Show(string.Format("Can't retrieve the file converter executable path. You should try to reinstall the application."));
return;
}
if (!File.Exists(this.FileConverterPath))
{
MessageBox.Show(string.Format("Can't find the file converter executable ({0}). You should try to reinstall the application.", this.FileConverterPath));
return;
}
ProcessStartInfo processStartInfo = new ProcessStartInfo(this.FileConverterPath);
processStartInfo.CreateNoWindow = false;
processStartInfo.UseShellExecute = false;
processStartInfo.RedirectStandardOutput = false;
// Build arguments string.
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append("--conversion-preset ");
stringBuilder.Append(" \"");
stringBuilder.Append(presetName);
stringBuilder.Append("\"");
foreach (var filePath in this.SelectedItemPaths)
{
stringBuilder.Append(" \"");
stringBuilder.Append(filePath);
stringBuilder.Append("\"");
}
processStartInfo.Arguments = stringBuilder.ToString();
Process exeProcess = Process.Start(processStartInfo);
}
}
}
@@ -1,93 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0C44CA69-42D6-4357-BDFD-83069D1ABA2F}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FileConverterExtension</RootNamespace>
<AssemblyName>FileConverterExtension</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>FileConverterExtensionKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="SharpShell">
<HintPath>..\..\Middleware\SharpShell\SharpShell.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="FileConverterExtension.cs" />
<Compile Include="PresetDefinition.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="FileConverterExtensionKey.snk" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Resources\ApplicationIcon-16x16.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -1,21 +0,0 @@
// <copyright file="PresetDefinition.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverterExtension
{
public class PresetDefinition
{
public bool Enabled;
public int ExtensionRefCount;
public PresetDefinition(string name)
{
this.Name = name;
}
public string Name
{
get;
private set;
}
}
}
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FileConverterExtension")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FileConverterExtension")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("86f3928d-94ef-4d27-8235-1074894e9b5f")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,73 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FileConverterExtension.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FileConverterExtension.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon ApplicationIcon_16x16 {
get {
object obj = ResourceManager.GetObject("ApplicationIcon_16x16", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
}
}
@@ -1,124 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ApplicationIcon_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ApplicationIcon-16x16.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

+1
View File
@@ -0,0 +1 @@
file-converter.io
-30
View File
@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<?if $(var.Platform) = x64 ?>
<?define Win64 = "yes" ?>
<?else ?>
<?define Win64 = "no" ?>
<?endif ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Component Id="FileConverterExtension.dll" Guid="{FEF385C4-C43F-44F9-92E2-06578A8BD96E}" Win64="$(var.Win64)">
<Class Id="{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}" Context="InprocServer32" Description="FileConverterExtension.FileConverterExtension" ThreadingModel="both" ForeignServer="mscoree.dll">
<ProgId Id="FileConverterExtension.FileConverterExtension" Description="FileConverterExtension.FileConverterExtension" />
</Class>
<File Id="FileConverterExtension.dll" KeyPath="yes" Source="..\Application\FileConverterExtension\bin\$(var.Configuration)\FileConverterExtension.dll" />
<RegistryValue Root="HKCR" Key="*\shellex\ContextMenuHandlers\FileConverterExtension" Value="{af9b72b5-f4e4-44b0-a3d9-b55b748efe90}" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32\1.0.0.0" Name="Class" Value="FileConverterExtension.FileConverterExtension" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32\1.0.0.0" Name="Assembly" Value="FileConverterExtension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15400b1c4b948c8a" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32\1.0.0.0" Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32\1.0.0.0" Name="CodeBase" Value="file:///[#FileConverterExtension.dll]" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32" Name="Class" Value="FileConverterExtension.FileConverterExtension" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32" Name="Assembly" Value="FileConverterExtension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15400b1c4b948c8a" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{AF9B72B5-F4E4-44B0-A3D9-B55B748EFE90}\InprocServer32" Name="CodeBase" Value="file:///[#FileConverterExtension.dll]" Type="string" Action="write" />
</Component>
</DirectoryRef>
</Fragment>
</Wix>
-1
View File
@@ -1 +0,0 @@
"C:\Program Files (x86)\Wix Toolset v3.9\bin\Heat.exe" file "..\Application\FileConverterExtension\bin\Release\FileConverterExtension.dll" -dr INSTALLFOLDER -srd -gg -sfrag -suid -out "Extension.wxs" -b "..\Application\FileConverterExtension\bin\Release\"
-61
View File
@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.9</ProductVersion>
<ProjectGuid>f14673df-df38-44b4-ab1d-99a59182c24c</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>Installer</OutputName>
<OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<DefineConstants>Debug</DefineConstants>
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="Extension.wxs" />
<Compile Include="Product.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Application\FileConverter\FileConverter.csproj">
<Name>FileConverter</Name>
<Project>{d27a76d2-43e4-43cc-9da3-334b0b46f4e5}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
<Import Project="$(WixTargetsPath)" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Wix.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
-260
View File
@@ -1,260 +0,0 @@
{\rtf1\ansi\deff3\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset0 Calibri;}{\f6\fnil\fprq2\fcharset0 Microsoft YaHei;}{\f7\fnil\fprq2\fcharset0 Arial;}{\f8\fnil\fprq2\fcharset0 Mangal;}{\f9\fnil\fprq0\fcharset128 Mangal;}{\f10\fnil\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}}
{\colortbl;\red0\green0\blue0;\red0\green0\blue128;\red0\green0\blue255;\red128\green128\blue128;}
{\stylesheet{\s0\snext0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255 Normal;}
{\s1\sbasedon16\snext1\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Titre 1;}
{\s2\sbasedon16\snext2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Titre 2;}
{\s3\sbasedon16\snext3\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Titre 3;}
{\*\cs15\snext15\cf2\ul\ulc1\langfe255\alang255\lang255 Lien Internet;}
{\s16\sbasedon0\snext17\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Titre;}
{\s17\sbasedon0\snext17\sl288\slmult1\ql\nowidctlpar\sb0\sa140\ltrpar\cf1\kerning1\dbch\af7\dbch\af10\afs24\loch\f0\fs24\lang255 Corps de texte;}
{\s18\sbasedon17\snext18\sl288\slmult1\ql\nowidctlpar\sb0\sa140\ltrpar\cf1\kerning1\dbch\af7\dbch\af9\afs24\loch\f0\fs24\lang255 Liste;}
{\s19\sbasedon0\snext19\ql\nowidctlpar\sb120\sa120\noline\ltrpar\cf1\i\kerning1\dbch\af7\dbch\af9\afs24\ai\loch\f0\fs24\lang255 L\u233\'e9gende;}
{\s20\sbasedon0\snext20\ql\nowidctlpar\noline\ltrpar\cf1\kerning1\dbch\af7\dbch\af9\afs24\loch\f0\fs24\lang255 Index;}
{\s21\sbasedon0\snext21\ql\nowidctlpar\ltrpar\cf1\kerning1\dbch\af7\dbch\af10\afs24\loch\f0\fs24\lang255 Quotations;}
{\s22\sbasedon16\snext22\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Titre principal;}
{\s23\sbasedon16\snext23\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255 Sous-titre;}
}{\info{\author Adrien Allard}{\creatim\yr0\mo0\dy0\hr0\min0}{\author Adrien Allard}{\revtim\yr2015\mo4\dy6\hr16\min12}{\printim\yr0\mo0\dy0\hr0\min0}{\comment LibreOffice}{\vern67305476}}\deftab720
\viewscale120
{\*\pgdsctbl
{\pgdsc0\pgdscuse451\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Style par d\u233\'e9faut;}}
\formshade{\*\pgdscno0}\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
{\*\ftnsep}\pgndec\pard\plain \s22\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255\sb240\sa120{\b\rtlch \ltrch\loch\fs32\loch\f5
GNU GENERAL PUBLIC LICENSE}
\par \pard\plain \s23\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs24\loch\f5
Version 3, 29 June 2007}
\par \pard\plain \s23\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255\rtlch \ltrch\loch
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
Copyright (C) 2007 Free Software Foundation, Inc. <}{{\field{\*\fldinst HYPERLINK "http://fsf.org/" }{\fldrslt {\cf2\ul\ulc1\langfe255\alang255\lang255\cf3\ul\ulc1\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
http://fsf.org/}{}}}\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
>}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.}
\par \pard\plain \s1\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b\rtlch \ltrch\loch\loch\f5
Preamble}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The GNU General Public License is a free, copyleft license for software and other kinds of works.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. }
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The precise terms and conditions for copying, distribution and modification follow.}
\par \pard\plain \s1\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b\rtlch \ltrch\loch\loch\f5
TERMS AND CONDITIONS}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\fs22\loch\f5
}{\b0\rtlch \ltrch\loch\fs22\loch\f5
0. Definitions.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab "This License" refers to version 3 of the GNU General Public License.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A "covered work" means either the unmodified Program or a work based on the Program.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. }
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\fs22\loch\f5
}{\b0\rtlch \ltrch\loch\fs22\loch\f5
1. Source Code.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The Corresponding Source for a work in source code form is that same work.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\fs22\loch\f5
}{\b0\rtlch \ltrch\loch\fs22\loch\f5
2. Basic Permissions.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
3. Protecting Users' Legal Rights From Anti-Circumvention Law.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
4. Conveying Verbatim Copies.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. }
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
5. Conveying Modified Source Versions.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: }
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
6. Conveying Non-Source Forms.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
7. Additional Terms.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\fs22\loch\f5
}{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
8. Termination.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
9. Acceptance Not Required for Having Copies.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
10. Automatic Licensing of Downstream Recipients.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
11. Patents.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. }
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
12. No Surrender of Others' Freedom.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
13. Use with the GNU Affero General Public License.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
14. Revised Versions of this License.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
15. Disclaimer of Warranty.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
16. Limitation of Liability.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.}
\par \pard\plain \s2\ql\nowidctlpar\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af6\dbch\af8\afs28\loch\f4\fs28\lang255{\b0\rtlch \ltrch\loch\fs22\loch\f5
17. Interpretation of Sections 15 and 16.}
\par \pard\plain \s0\ql\nowidctlpar\ltrpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf1\kerning1\dbch\af7\dbch\af10\afs24\langfe2052\alang1081\loch\f0\fs24\lang255\sl276\slmult1\sb0\sa200{\b0\langfe255\rtlch \ltrch\loch\fs22\loch\f5
\tab If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.}
\par }
-97
View File
@@ -1,97 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?if $(var.Platform) = x64 ?>
<?define ProductName = "File Converter (64 bit)" ?>
<?define Win64 = "yes" ?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?else ?>
<?define ProductName = "File Converter" ?>
<?define Win64 = "no" ?>
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
<?endif ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="$(var.ProductName)" Language="1033" Version="0.2.0" Manufacturer="AAllard" UpgradeCode="e3ca717b-a897-418a-bbef-5c7e35c76e4b">
<Package Id="*" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" />
<Icon Id="icon.ico" SourceFile="..\Resources\ApplicationIcon-256x256.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Media Id="1" Cabinet="CabFile.cab" EmbedCab="yes" />
<Feature Id="ProductFeature" Title="Installer" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Feature Id="ShellExtensionFeature" Title="ShellExtension" Level="1" AllowAdvertise="no">
<ComponentRef Id="FileConverterExtension.dll" />
</Feature>
<UIRef Id="WixUI_InstallDir" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="..\Resources\Installer\Banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="..\Resources\Installer\UI.bmp" />
<WixVariable Id="WixUIExclamationIco" Value="..\Resources\Installer\ErrorIcon.ico" />
<WixVariable Id="WixUIInfoIco" Value="..\Resources\Installer\WarningIcon.ico" />
<!--<WixVariable Id="WixUINewIco" Value="Icon16x16.ico" />
<WixVariable Id="WixUIUpIco" Value="Icon16x16.ico" />-->
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="$(var.PlatformProgramFilesFolder)">
<Directory Id="INSTALLFOLDER" Name="File Converter" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<!-- Resources -->
<Component Guid="{9BF0AC45-A586-41C9-BA93-6048B46DA65F}" Win64="$(var.Win64)">
<File Id="SharpShell.dll" KeyPath="yes" Source="..\Middleware\SharpShell\SharpShell.dll" />
</Component>
<Component Guid="{AA5EA6F7-C443-488B-8E48-7CF000B9AD2A}" Win64="$(var.Win64)">
<File Source="$(var.FileConverter.TargetPath)" KeyPath="yes" />
</Component>
<Component Guid="{1790B82E-86BC-4B95-AA1D-9859FF3B6CA4}" Win64="$(var.Win64)">
<File Source="..\Middleware\ffmpeg.exe" KeyPath="yes" />
</Component>
<Component Guid="{86AEF5B3-C25B-4662-BAEF-20969D1821A5}" Win64="$(var.Win64)">
<File Source="..\Application\FileConverter\Settings.xml" KeyPath="yes" />
</Component>
<Component Guid="{A5158756-A107-4010-9E2F-3C0333F5A5F6}" Win64="$(var.Win64)">
<File Source="..\README.md" KeyPath="yes" />
</Component>
<!-- Registry entries -->
<Component Id="RegistryEntries" Guid="{C3EF3D67-0206-4DBD-B2EA-78FF2E290093}">
<RegistryKey Root="HKCU" Key="Software\FileConverter" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Path" Type="string" Value="[INSTALLFOLDER]FileConverter.exe"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\ape" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Ogg;To Mp3;To Flac;To Wav"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\flac" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Ogg;To Mp3;To Wav"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\mp3" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Ogg;To Wav"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\ogg" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Mp3;To Wav"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\wav" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Ogg;To Mp3;To Flac"/>
</RegistryKey>
<RegistryKey Root="HKCU" Key="Software\FileConverter\wma" Action="createAndRemoveOnUninstall">
<RegistryValue Name="Presets" Type="string" Value="To Ogg;To Mp3;To Wav"/>
</RegistryKey>
</Component>
</ComponentGroup>
</Fragment>
</Wix>
-675
View File
@@ -1,675 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
{project} Copyright (C) {year} {fullname}
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
-23
View File
@@ -1,23 +0,0 @@
# File Converter
## Description
File Converter is a very simple tool which allows you to convert one or several file(s) from one format to another using the context menu in windows explorer.
This program uses [ffmpeg](https://www.ffmpeg.org/) as file conversion tool.
You can convert files from formats **Ape, Mp3, Ogg, Wav, Flac, Wma** to formats **Mp3, Ogg, Wav, Flac**
**Remove any previous installation of the application before installing the newer version.**
## Change Log
v0.2
- New: Add decode support for file format Ape
- New: Add notion of conversion preset (in order to customize the conversion possibilities).
- New: Add settings window to edit conversion presets.
- New: Add application icon.
- New: Customize application installer.
- New: Add diagnostic window to read the application logs.
v0.1
- New: Add decode support for file formats Mp3, Ogg, Wav, Flac, Wma
- New: Add encode support for file formats Mp3, Ogg, Wav, Flac
- New: UI to visualize the conversion progress
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

-159
View File
@@ -1,159 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="792px"
height="792px"
viewBox="0 0 792 792"
style="enable-background:new 0 0 792 792;"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="ApplicationIcon.svg"
inkscape:export-filename="D:\Users\Adrien.Adrien-PC\Documents\GitHub\FileConverter\Resources\ApplicationIcon.png"
inkscape:export-xdpi="8.6400003"
inkscape:export-ydpi="8.6400003"><metadata
id="metadata3385"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs3383" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1018"
id="namedview3381"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="0.3535534"
inkscape:cx="-538.5249"
inkscape:cy="-40.831874"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="layer4"><sodipodi:guide
position="21.058654,403.40483"
orientation="0,1"
id="guide4315" /></sodipodi:namedview><g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Background"><circle
style="opacity:1;fill:#0171bb;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4286"
cx="389.60046"
cy="396.81552"
r="250" /></g><g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="Pattern"
style="display:inline"><circle
style="opacity:1;fill:#004b82;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4393"
cx="388.34808"
cy="393.1311"
r="185.13635" /><path
style="fill:#004b82;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 220.61731,309.04607 333.0473,168.99852 -96.87364,160.51324 C 224.69865,684.45629 144.72119,490.77251 144.24978,434.20397 Z"
id="path4397"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" /></g><g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Arrow"
style="display:inline"><path
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:45;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4307"
sodipodi:type="arc"
sodipodi:cx="388.49072"
sodipodi:cy="391.00571"
sodipodi:rx="164.15593"
sodipodi:ry="164.15593"
sodipodi:start="0.5814947"
sodipodi:end="6.2723665"
d="M 525.66641,481.17222 A 164.15593,164.15593 0 0 1 319.54955,539.98317 164.15593,164.15593 0 0 1 230.97218,344.79881 164.15593,164.15593 0 0 1 410.95201,228.39372 164.15593,164.15593 0 0 1 552.63705,389.22977"
sodipodi:open="true" /><path
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 502.05274,388.6363 52.26457,89.16055 48.0834,-89.16055 z"
id="path4317"
inkscape:connector-curvature="0" /><path
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 544.46303,493.53621 -28.0754,-44.18448 -9.52444,19.46287 z"
id="path4348"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" /></g><g
id="g3337"
transform="matrix(0.55346595,0,0,0.55346595,167.0343,189.85664)" /><g
id="g3351" /><g
id="g3353" /><g
id="g3355" /><g
id="g3357" /><g
id="g3359" /><g
id="g3361" /><g
id="g3363" /><g
id="g3365" /><g
id="g3367" /><g
id="g3369" /><g
id="g3371" /><g
id="g3373" /><g
id="g3375" /><g
id="g3377" /><g
id="g3379" /><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Files"
style="display:inline"><g
transform="translate(491.76135,105.01435)"
id="g3"
style="stroke:#ffffff;stroke-opacity:1;fill:#ffffff;fill-opacity:0.94117647;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none"><g
id="g5"
style="stroke:#ffffff;stroke-opacity:1;fill:#ffffff;fill-opacity:0.94117647;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none"><path
inkscape:connector-curvature="0"
d="m -174.15384,386.14314 149.574394,0 c 4.183017,0 7.605485,-3.42247 7.605485,-7.60549 l 0,-129.16619 c 0,-2.15503 -0.887157,-4.18301 -2.408254,-5.57751 l -58.815902,-54.63288 c -1.39404,-1.26743 -3.295411,-2.02798 -5.196783,-2.02798 l -90.75894,0 c -4.18302,0 -7.60548,3.42247 -7.60548,7.60549 l 0,183.79907 c 0,4.18302 3.42246,7.60549 7.60548,7.60549 z m 141.968909,-133.47627 0,0.38028 -51.970517,0 0,-48.67511 51.970517,48.29483 z m -134.363419,-50.32281 67.181935,0 0,58.30857 c 0,4.18302 3.422465,7.60549 7.605481,7.60549 l 59.57645,0 0,102.67405 -134.363866,0 0,-168.58811 z"
id="path7"
style="stroke:#ffffff;stroke-opacity:1;fill:#ffffff;fill-opacity:0.94117647;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none" /></g></g><g
transform="translate(491.76135,105.01435)"
id="g9" /><g
transform="translate(491.76135,105.01435)"
id="g11" /><g
transform="translate(491.76135,105.01435)"
id="g13" /><g
transform="translate(491.76135,105.01435)"
id="g15" /><g
transform="translate(491.76135,105.01435)"
id="g17" /><g
transform="translate(491.76135,105.01435)"
id="g19" /><g
transform="translate(491.76135,105.01435)"
id="g21" /><g
transform="translate(491.76135,105.01435)"
id="g23" /><g
transform="translate(491.76135,105.01435)"
id="g25" /><g
transform="translate(491.76135,105.01435)"
id="g27" /><g
transform="translate(491.76135,105.01435)"
id="g29" /><g
transform="translate(491.76135,105.01435)"
id="g31" /><g
transform="translate(491.76135,105.01435)"
id="g33" /><g
transform="translate(491.76135,105.01435)"
id="g35" /><g
transform="translate(491.76135,105.01435)"
id="g37" /></g></svg>

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

-101
View File
@@ -1,101 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 27.964 27.964"
style="enable-background:new 0 0 27.964 27.964;"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="ErrorIcon.svg"><metadata
id="metadata44"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs42" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1018"
id="namedview40"
showgrid="false"
inkscape:zoom="33.757688"
inkscape:cx="12.891981"
inkscape:cy="17.64304"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" /><g
id="g3"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)"><g
id="c127_X"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"><path
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
d="M 13.981,0 C 6.261,0 0,6.259 0,13.979 c 0,7.724 6.261,13.984 13.981,13.984 7.725,0 13.983,-6.261 13.983,-13.984 C 27.965,6.259 21.706,0 13.981,0 Z m 0,26.531 c -6.93,0 -12.55,-5.62 -12.55,-12.553 0,-6.93 5.62,-12.548 12.55,-12.548 6.931,0 12.553,5.618 12.553,12.548 0,6.933 -5.622,12.553 -12.553,12.553 z"
id="path6"
inkscape:connector-curvature="0" /><path
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
d="M 19.994,10.197 17.767,7.97 c 0,0 -3.553,3.783 -3.785,3.783 -0.231,0 -3.785,-3.783 -3.785,-3.783 l -2.228,2.228 c 0,0 3.785,3.472 3.785,3.787 0,0.312 -3.785,3.782 -3.785,3.782 l 2.228,2.226 c 0,0 3.525,-3.784 3.785,-3.784 0.262,0 3.785,3.784 3.785,3.784 l 2.228,-2.226 c 0,0 -3.786,-3.528 -3.786,-3.782 -0.001,-0.263 3.785,-3.788 3.785,-3.788 z"
id="path8"
inkscape:connector-curvature="0" /></g></g><g
id="g10"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g12"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g14"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g16"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g18"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g20"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g22"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g24"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g26"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g28"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g30"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g32"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g34"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g36"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /><g
id="g38"
style="fill:#d32f2f;fill-opacity:1;stroke:#d32f2f;stroke-opacity:1"
transform="matrix(0.96727092,0,0,0.96727092,0.4279787,0.48722445)" /></svg>

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

-84
View File
@@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 29.535 29.535"
style="enable-background:new 0 0 29.535 29.535;"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="WarningIcon.svg"><metadata
id="metadata45"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs43" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1018"
id="namedview41"
showgrid="false"
inkscape:zoom="7.9905198"
inkscape:cx="-4.6304873"
inkscape:cy="14.7675"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" /><g
id="g3"
style="fill:#ffa000;fill-opacity:1"><path
style="fill:#ffa000;fill-opacity:1"
d="M14.768,0C6.609,0,0,6.609,0,14.768c0,8.155,6.609,14.767,14.768,14.767s14.766-6.612,14.766-14.767 C29.534,6.609,22.927,0,14.768,0z M14.768,27.126c-6.826,0-12.359-5.532-12.359-12.359c0-6.828,5.533-12.362,12.359-12.362 S27.128,7.94,27.128,14.768C27.128,21.594,21.594,27.126,14.768,27.126z"
id="path5" /><polygon
style="fill:#ffa000;fill-opacity:1"
points="16.338,17.962 16.938,5.601 12.625,5.601 13.227,17.962 "
id="polygon7" /><path
style="fill:#ffa000;fill-opacity:1"
d="M14.781,19.323c-1.445,0-2.455,1.011-2.455,2.485c0,1.418,0.982,2.482,2.398,2.482h0.057 c1.473,0,2.428-1.064,2.428-2.482C17.182,20.334,16.227,19.323,14.781,19.323z"
id="path9" /></g><g
id="g11"
style="fill:#ffa000;fill-opacity:1" /><g
id="g13"
style="fill:#ffa000;fill-opacity:1" /><g
id="g15"
style="fill:#ffa000;fill-opacity:1" /><g
id="g17"
style="fill:#ffa000;fill-opacity:1" /><g
id="g19"
style="fill:#ffa000;fill-opacity:1" /><g
id="g21"
style="fill:#ffa000;fill-opacity:1" /><g
id="g23"
style="fill:#ffa000;fill-opacity:1" /><g
id="g25"
style="fill:#ffa000;fill-opacity:1" /><g
id="g27"
style="fill:#ffa000;fill-opacity:1" /><g
id="g29"
style="fill:#ffa000;fill-opacity:1" /><g
id="g31"
style="fill:#ffa000;fill-opacity:1" /><g
id="g33"
style="fill:#ffa000;fill-opacity:1" /><g
id="g35"
style="fill:#ffa000;fill-opacity:1" /><g
id="g37"
style="fill:#ffa000;fill-opacity:1" /><g
id="g39"
style="fill:#ffa000;fill-opacity:1" /></svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

+269
View File
@@ -0,0 +1,269 @@
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>File Converter download</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://brick.freetls.fastly.net/Noto+Sans:400,400i,700/Alegreya:400i">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<meta http-equiv="refresh" content="0; url=https://github.com/Tichau/FileConverter/releases/download/v1.2.3/FileConverter-1.2.3-x86-setup.msi" />
<link rel="icon" href="favicon.ico" />
<script src="https://www.w3schools.com/lib/w3data.js"></script>
<script src="https://cdn.counter.dev/script.js" data-id="9498fec3-cb9d-4606-89de-bfa9e06aa07b" data-utcoffset="1"></script>
</head>
<body>
<section class="page-header">
<a href="index.html">
<img src="images/application-icon.png" height="128" width="128" />
</a>
<h1 class="project-name">Thanks for downloading File Converter</h1>
<h2 class="project-tagline">I hope you'll like it!</h2>
<a href="index.html" class="btn">Back</a>
<a href="https://github.com/Tichau/FileConverter" class="btn">View on GitHub</a>
<a href="https://github.com/Tichau/FileConverter/tarball/master" class="btn">Sources</a>
</section>
<section class="main-content">
<p>If the download do not start automatically, please follow this link:
<a href="https://github.com/Tichau/FileConverter/releases/download/v1.2.3/FileConverter-1.2.3-x86-setup.msi">FileConverter-1.2.3-x86-setup.msi</a>
</p>
<h2>
<a id="donate" class="anchor" href="#donate" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Donate
</h2>
<p>
File Converter is a personal open source project started in 2014. I have put hundreds of hours developing,
refining and tuning File Converter with the goal of making the conversion and compression of files an easy task for everyone.
</p>
<p>
You can help me by contributing to the project, by making a donation or just by saying thanks :).
</p>
<p>
<a class="btn contribute" href="https://github.com/Tichau/FileConverter/wiki#contribute" target="_blank">
Contribute to the project
</a>
<a class="btn btn-highlight contribute" href="https://liberapay.com/aallard/donate" target="_blank">
Donate
</a>
<a class="btn contribute" href="mailto:adrien.allard.pro@gmail.com">
Say Thanks
</a>
</p>
<h2>
<a id="change-log" class="anchor" href="#change-log" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>Change Log
</h2>
<h3>Version 1.2.3</h3>
<ul>
<li>Fixed: Issue where the scale was not working for image conversions depending on the application current language.</li>
<li>Tech: Include office library dependencies in package config (now you don't need to install office to build the project).</li>
<li>Tech: Upgrade Ghostscript to version 9.21.</li>
<li>Tech: Update ImageMagick to version 7.0.5.</li>
</ul>
<h3>Version 1.2.2</h3>
<ul>
<li>Added: Portuguese translation (thanks to Khidreal).</li>
<li>Fixed: Issue where scale was corrupted when switching application language (github issue #5).</li>
<li>Fixed: Issue where file metadata were not copied when converting to aac format (github issue #15).</li>
<li>Tech: Update to ffmpeg 3.2.2 version.</li>
<li>Tech: Improve security using https instead of http for upgrade system and links (thanks to TheAresjej).</li>
</ul>
<h3>Version 1.2.1</h3>
<ul>
<li>Fixed: Issue where audio file tags were not copied in a format readable by Windows.</li>
<li>Fixed: Issue where the default language was set to french (github issue #6).</li>
<li>Fixed: Issue where the size of a pdf generated from images was not consistent.</li>
<li>Change: Small improvements of File Converter application and installer interface thanks to TheAresjej (github issues #7
and #8).</li>
</ul>
<h3>Version 1.2</h3>
<ul>
<li>New: Possibility to convert Word documents (docx, odt and doc) to pdf and images (this feature is only available if you
have Microsoft Word installed).</li>
<li>New: Possibility to convert Excel documents (xlsx, ods and xls) to pdf and images (this feature is only available if you
have Microsoft Excel installed).</li>
<li>New: Possibility to convert PowerPoint documents (pptx, odp and ppt) to pdf and images (this feature is only available
if you have Microsoft PowerPoint installed).</li>
<li>New: Possibility to convert images and documents to webp format.</li>
<li>New: Support new image input format: webp.</li>
<li>New: Add the possibility to cancel image, CDA extraction and gif conversions.</li>
<li>Fixed: Issue where multiple conversion jobs were created for the same file resulting in an error message.</li>
<li>Tech: Improve application performances on startup.</li>
<li>Tech: Improve diagnostics.</li>
</ul>
<h3>Version 1.1</h3>
<ul>
<li>New: Localization system. File Converter can now be translated in multiple languages. The default language is the same
than your OS language (if available).</li>
<li>New: Add the possibility to choose the application language in the application settings.</li>
<li>New: Add french localization.</li>
<li>New: Possibility to convert a Pdf file into image files (one image per page).</li>
<li>New: Possibility to convert an image into a Pdf file.</li>
<li>New: Possibility to encode videos using theora video codec and Ogg vorbis audio codec in a ogv container.</li>
<li>New: Possibility to change the number of channels of an audio file (stereo -> mono, 5.1 -> stereo, ...).</li>
<li>New: Improve the application upgrade UI. If you quit the application during the upgrade downloading, you will now see the
download progress.</li>
<li>New: File converter is now available for Windows 32 bits systems (download the x86 installer).</li>
<li>New: Add an application option to choose the maximum number of simultaneous conversions.</li>
<li>Change: Improve the application help start page (when you launch File Converter directly from the executable) with an animated
picture.</li>
<li>Change: Improve the output type dropdown visualization (splitting it by categories).</li>
<li>Fixed: Issue where it was impossible to rotate an image for the output types: jpg and png.</li>
</ul>
<h3>Version 1.0</h3>
<ul>
<li>New: File Converter is now certified by Microsoft Authenticode.</li>
<li>New: Add an about section that contains information on the software development (change log, documentation link, report
issue link).</li>
<li>New: Split conversion preset settings and application settings to improve ergonomy.</li>
<li>New: Add help shortcut in the conversion preset edition interface that links directly to the corresponding documentation
page.</li>
<li>New: Add shortcuts in start menu.</li>
<li>New: Create a donation campaign on Pledgie and linked it in the about section.</li>
<li>Fixed: Issue with Avast antivirus where File Converter and Windows explorer was frozen when the user tried to use File
Converter.</li>
<li>Fixed: Issue where it was impossible to convert files from a network path.</li>
</ul>
<hr>
<h3>Version 0.7</h3>
<ul>
<li>New: Possibility to encode videos using VP9 video codec and Ogg vorbis audio codec in a webm container.</li>
<li>New: Possibility to convert videos and images to gif.</li>
<li>New: Possibility to convert gif files to videos.</li>
<li>New: Possibility to remove audio from video files (mkv, mp4, avi and webm output file formats).</li>
<li>New: Add feedback to indicate that the application will automatically terminate (after conversions) (github issue #1).</li>
<li>New: Support new video input formats: ogv and mpeg.</li>
<li>New: Support new audio input format: oga.</li>
<li>New: Possibility to cancel some conversion jobs (gif/cda and image conversion jobs are not cancelable for now).</li>
<li>Fixed: Issue where video can't be compressed using H.264 codec (mp4 or mkv presets) when its size (width or height) is
not divisible by 2 (append a lot when the user tries to scale a video) (github issue #2).</li>
<li>Fixed: Issue where "Clamp to power of 2 size" option didn't work well with images that already have a power of 2 size.</li>
<li>Fixed: Issue where conversion progress was not updated correctly (for converters based on ffmpeg).</li>
<li>Fixed: Issue where converting a video into the ogg format did not extract audio in an ogg file correctly.</li>
<li>Fixed: Issue where simultaneous read on the same CD drive was performed when files from differents conversions come from
the same drive (other than cda extraction preset).</li>
<li>Fixed: Issue where the path generator was unable to create a valid path if the input file was at the root of a drive.</li>
<li>Tech: Annotate the conversion presets to know if there are default preset or user preset in order to improve the upgrade
process.</li>
</ul>
<h3>Version 0.6</h3>
<ul>
<li>New: Possibility to encode videos using H.264 video codec and AAC audio codec in a mp4 container (more portable than mkv).</li>
<li>New: Support new image input file formats: psd, tga, svg and exr.</li>
<li>New: Support new video input file format: m4v.</li>
<li>New: Possibility to rotate images and videos.</li>
<li>New: Remove restriction on image size to convert to ico file format (it is now possible to convert all images to ico).</li>
<li>New: Add "Clamp to power of 2 size" option in image conversion.</li>
<li>New: Support input images encoded in 16 bits or 32 bits per color channel.</li>
<li>Fixed: Issue where the installer detects the utilisation of the extension dll in explorer, ask the user to restart it and
fail to do it.</li>
<li>Fixed: Issue where it is impossible to delete a conversion preset defined in default settings.</li>
<li>Fixed: Issue where the Windows context menu does not contain user preset after an application upgrade.</li>
<li>Fixed: Issue where some registry keys remain after file converter uninstallation.</li>
<li>Fixed: Issue where aac bitrate was not saved.</li>
<li>Fixed: Issue where settings serialization version was not updated.</li>
<li>Change: Allow the user to scale images until 1600% size (useful to scale pixel art images).</li>
</ul>
<h3>Version 0.5</h3>
<ul>
<li>New: Software update system. The application now checks if a new version of File Converter is available.</li>
<li>New: Possibility to scale images and videos.</li>
<li>New: Possibility to encode videos (avi output file format) using Xvid video codec and Mp3 audio codec.</li>
<li>New: Support new video input file formats: 3gp, webm and wmv.</li>
<li>New: Add a help window to explain how file converter works when you launch it without using the context menu.</li>
<li>Fixed: Problem to convert images when accentuated characters were present in their path.</li>
<li>Tech: Update ffmpeg version (aac encoding is not anymore experimental).</li>
</ul>
<h3>Version 0.4</h3>
<ul>
<li>New: Possibility to encode videos (mkv output file format) using H.264 video codec and AAC audio codec.</li>
<li>New: Possibility to extract Audio CD content.</li>
<li>New: Possibility to encode audio in aac format.</li>
<li>New: Possibility to encode images (png, jpg and ico formats).</li>
<li>New: Support new audio input file format: aac</li>
<li>New: Support new video input file formats: bik, flv, mov, mkv</li>
<li>New: Support new image input file formats: bmp, tiff, png, jpg and ico.</li>
<li>New: Multi-thread conversion (file converter will now start multiple conversions at the time depending on your number of
cores).</li>
<li>New: Copy the currently selected preset when clicking on the add preset button.</li>
<li>New: Add “My Documents”, “My Music”, “My Videos” and “My Pictures” folder to output file name generator.</li>
<li>New: Possibility to choose if the application quit after succeeded conversions.</li>
<li>Fixed: Reordering presets does not update the registry.</li>
<li>Fixed: Merge default settings with user settings to prevent errors when upgrading the application.</li>
<li>Tech: Handle incorrect user settings case.</li>
<li>Tech: Improve diagnostics system (compatibility with logs from multiple threads, dump files in AppData folder and error
messages).</li>
<li>Tech: Update ffmpeg version.</li>
</ul>
<h3>Version 0.3</h3>
<ul>
<li>New: Possibility to extract audio from videos.</li>
<li>New: Support new input file formats: aiff, m4a, avi, mp4.</li>
<li>New: Quality settings for Mp3 (Encoding mode vbr/cbr and bitrate).</li>
<li>New: Quality settings for Ogg (Bitrate).</li>
<li>New: Quality settings for Wav (bits per sample: 8, 16, 24 or 32).</li>
<li>New: Add output file path template system.</li>
<li>New: Add button to move up or down a preset.</li>
<li>New: Add input files post conversion action (No action, move in archive folder or delete).</li>
<li>New: Add categories on input file extensions.</li>
<li>Fixed: Lose focus of main window don't terminate the application.</li>
<li>Fixed: The application icon now have a correct resolution at any size.</li>
<li>Tech: Add error codes on error messages.</li>
</ul>
<h3>Version 0.2</h3>
<ul>
<li>New: Support new input file format: ape.</li>
<li>New: Add notion of conversion preset (in order to customize the conversion possibilities).</li>
<li>New: Add settings window to edit conversion presets.</li>
<li>New: Add application icon.</li>
<li>New: Customize application installer.</li>
<li>New: Add diagnostic window to read the application logs.</li>
</ul>
<h3>Version 0.1</h3>
<ul>
<li>New: Add decode support for file formats Mp3, Ogg, Wav, Flac, Wma </li>
<li>New: Add encode support for file formats Mp3, Ogg, Wav, Flac</li>
<li>New: UI to visualize the conversion progress</li>
</ul>
<footer class="site-footer">
<span class="site-footer-owner">
<a href="https://github.com/Tichau/FileConverter">File Converter</a> is maintained by
<a href="https://github.com/Tichau">Tichau</a>.</span>
<span class="site-footer-credits">This page was created using a customized version of the
<a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by
<a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>
+381
View File
@@ -0,0 +1,381 @@
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>File Converter download</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://brick.freetls.fastly.net/Noto+Sans:400,400i,700/Alegreya:400i">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<meta http-equiv="refresh" content="0; url=https://github.com/Tichau/FileConverter/releases/download/v2.2/FileConverter-2.2-x64-setup.msi" />
<link rel="icon" href="favicon.ico" />
<script src="https://www.w3schools.com/lib/w3data.js"></script>
<script src="https://cdn.counter.dev/script.js" data-id="9498fec3-cb9d-4606-89de-bfa9e06aa07b" data-utcoffset="1"></script>
</head>
<body>
<section class="page-header">
<a href="index.html">
<img src="images/application-icon.png" height="128" width="128" />
</a>
<h1 class="project-name">Thanks for downloading File Converter</h1>
<h2 class="project-tagline">I hope you'll like it!</h2>
<a href="index.html" class="btn">Back</a>
<a href="https://github.com/Tichau/FileConverter" class="btn">View on GitHub</a>
<a href="https://github.com/Tichau/FileConverter/tarball/master" class="btn">Sources</a>
</section>
<section class="main-content">
<p>If the download do not start automatically, please follow this link:
<a href="https://github.com/Tichau/FileConverter/releases/download/v2.2/FileConverter-2.2-x64-setup.msi">FileConverter-2.2-x64-setup.msi</a>
</p>
<h2>
<a id="donate" class="anchor" href="#donate" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Donate
</h2>
<p>
File Converter is a personal open source project started in 2014. I have put hundreds of hours developing,
refining and tuning File Converter with the goal of making the conversion and compression of files an easy task for everyone.
</p>
<p>
You can help me by contributing to the project, by making a donation or just by saying thanks :).
</p>
<p>
<a class="btn contribute" href="https://github.com/Tichau/FileConverter/wiki#contribute" target="_blank">
Contribute to the project
</a>
<a class="btn btn-highlight contribute" href="https://liberapay.com/aallard/donate" target="_blank">
Donate
</a>
<a class="btn contribute" href="mailto:adrien.allard.pro@gmail.com">
Say Thanks
</a>
</p>
<h2>
<a id="change-log" class="anchor" href="#change-log" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>Change Log
</h2>
<h3>Version 2.2</h3>
<ul>
<li>New: AMD AMF hardware acceleration option for MP4/MKV H.264 conversions (issue #574) (thanks to bharatvansh).</li>
<li>New: Support new image input and output format: avif (github issue #619) (thanks to Techpotato1).</li>
<li>New: Indonesian translation (thanks to itsmefdil).</li>
<li>New: Urdu translation (thanks to hamzaharoon1314).</li>
<li>New: Hungarian translation (thanks to Zyvrec7 and stohlferenc).</li>
<li>New: Polish translation (thanks to Maerek and MrPrince419).</li>
<li>New: Swedish translation (thanks to rkalitta).</li>
<li>Fixes: Issue where progress bar was not updated with ffmpeg conversions (issue #525, #603, #589, #680).</li>
<li>Fixes: Issue where wrong preset may be used when trying to convert more than 16 files (issue #614 and #567) (thanks to cypress-exe).</li>
<li>Fixes: Various English grammar corrections and improvements (thanks to One-Hoopy-Frood).</li>
<li>Fixes: Traditional Chinese translation issues (thanks to NeKoOuO).</li>
<li>Fixes: Vietnamese translation issues (thanks to thaovd).</li>
<li>Tech: Update ffmpeg to v8.0.1 and ImageMagick to v14.10.</li>
<li>Tech: Remove deprecated dependency (Office). Replace it with NetOffice.</li>
</ul>
<h3>Version 2.1</h3>
<ul>
<li>New: Option to use NVidia hardware acceleration for mp4 video (thanks to tacheometry).</li>
<li>New: Add Gif to Image conversion support (issue #433, #115) (thanks to RTnhN)</li>
<li>New: Persian translation (thanks to MrHero118 and Mehrdad32).</li>
<li>New: Serbian translation (thanks to crnobog69).</li>
<li>New: Japanese translation (thanks to oogamiyuta).</li>
<li>New: Czech translation (thanks to AidyTheWeird).</li>
<li>New: Korean translation (thanks to Alanimdeo).</li>
<li>New: Vietnamese translation (thanks to vrykolakas166).</li>
<li>New: Russian translation (thanks to iliamak).</li>
<li>Fixes: Issue where video where rotated when using the To Mp4 scale 25% and 75% presets.</li>
<li>Fixes: Hebrew translation issues (thanks to AshiVered).</li>
<li>Fixes: Traditional Chinese translation issues (thanks to NeKoOuO and PeterDaveHello).</li>
<li>Tech: Update ffmpeg to v7.1 and ImageMagick to v14.4 (issue #527).</li>
<li>Tech: Update project installer to Wix 5.</li>
<li>Tech: Migrate packages.config to PackageReferences.</li>
</ul>
<h3>Version 2.0.2</h3>
<ul>
<li>New: Hebrew translation (thanks to AshiVered).</li>
<li>Fixes: Issue where installer was not working due to registry key not updated correctly during install (issue #382).</li>
<li>Fixes: Update chinese translations (thanks to jie65535).</li>
<li>Fixes: Issue where tempo/pitch conversion settings were not considered as default settings resulting is some issues during backward compatibility check.</li>
</ul>
<h3>Version 2.0.1</h3>
<ul>
<li>New: Tempo and pitch conversion presets in default settings (github issue #18).</li>
<li>New: Russian translation (thanks to dragomano).</li>
<li>Fixes: Issue where File Converter was not appearing in Windows explorer after a successful install (issue #389).</li>
<li>Fixes: Issue where newly supported input types (ts, heic, ...) were not used in presets (github issue #388).</li>
<li>Fixes: Issue where standard output was not activated when started from command line.</li>
</ul>
<h3>Version 2.0</h3>
<ul>
<li>New: Possibility to create custom command line preset for types converted with FFMPEG (video and audio) (github issue #19 #18 #41 #61 #73 #128 #140 #153 #177 #182 #225 #255 #310 #314 #316 #325).</li>
<li>New: Possibility to create preset folders in File Converter context menu.</li>
<li>New: Ability to drag and drop to move conversion presets.</li>
<li>New: Possibility to export and import conversion presets to share it with other users.</li>
<li>New: More presets for scale and rotation in File Converter default configuration.</li>
<li>New: Display conversion progress on the Windows taskbar item.</li>
<li>New: Display estimated remaining time for each jobs.</li>
<li>New: Support new image input formats: arw, cr2, dds, dng, jfif, nef, raf, tif and heic (github issue #29 #96 #113 #130).</li>
<li>New: Support new video input formats: 3gpp, mpg, rm, ts (github issue #23 #59 #101 #318).</li>
<li>New: Support new audio input formats: m4b, opus (github issue #111 #351).</li>
<li>New: Icons on context menu elements and conversion preset list actions.</li>
<li>New: Remove the need to ask administrator privileges to edit File Converter settings (github issue #4 #30 #32).</li>
<li>New: Highlight in red elements that contains errors in the preset list.</li>
<li>New: Messages logged from main thread are now displayed in the console standard output.</li>
<li>New: Add the bookmarks in pdf when converting from word file (thanks to wangweirui).</li>
<li>New: Possibility to use conversion date in output file path template (github issue #56).</li>
<li>New: Option to copy files in clipboard after conversion (thanks to hsayed21).</li>
<li>New: Brazilian Portuguese translation (thanks to Marhc).</li>
<li>New: Spanish translation (thanks to Chachak).</li>
<li>New: Italian translation (thanks to Davide).</li>
<li>New: German translation (thanks to nikotschierske).</li>
<li>New: Simplified Chinese translation (thanks to Snoopy1866).</li>
<li>New: Turkish translation (thanks to MayaC0re).</li>
<li>New: Hindi translation (thanks to vishveshjain).</li>
<li>New: Arabic translation (thanks to Mahmoud0Sultan).</li>
<li>New: Traditional Chinese translation (thanks to Sedimentary-Rock).</li>
<li>New: Greek translation (thanks to CrisBalGreece).</li>
<li>Change: Portuguese translation improvement (thanks to hugok79).</li>
<li>Change: Rework extension so it uses the settings file on disk instead of registry settings (github issue #22 #32 #176 #340 #343).</li>
<li>Change: Some UX improvements.</li>
<li>Change: Replace Pledgie donation button by Paypal donation button since Pledgie does not exist anymore.</li>
<li>Change: Correction of spell mistakes in the french translation (thanks to Sylvain Pollet-Villard).</li>
<li>Change: Change output files timestamp to match original file (github issue #33) (thanks to Diego López Bugna).</li>
<li>Fixes: Issue where there was a maximum number of files to convert at the same time depending on the length of file paths (github issue #86).</li>
<li>Fixes: Issue where File Converter version upgrade download was not working due to an issue with https encryption.</li>
<li>Fixes: Issue where output video was not working correclty on some video players like Quick time (github issue #34) (thanks to Diego López Bugna).</li>
<li>Fixes: Issue where icons and images were blurry on high dpi device.</li>
<li>Fixes: Issue where file with 'Error' in there name were generating false negative result (github issue #247).</li>
<li>Tech: Complete rework of the project architecture to be able to improve it in a long term perspective. The project is now using the MVVM Community Toolkit and is following more closely this design pattern.</li>
<li>Tech: Update ffmpeg to v6.1.1 and ImageMagick to v13.5.</li>
<li>Tech: Update SharpShell to v2.7.2.</li>
<li>Tech: Change ghostscript version from 9.21 to 10.02.1.</li>
<li>Tech: Update project to Visual Studio 2022 and installer Wix 4.</li>
<li>Tech: Update project to .NET framework 4.8.</li>
<li>Tech: Check for .NET framework version in installer and prompt the user if the required version is not installed.</li>
<li>Tech: Remove sharpshell tools from installer dependencies. The shell extension is now registered by File Converter application (github issue #39 #46).</li>
<li>Tech: Remove Windows Vista support and 32bit platform support. Use File Converter 1.2.3 if you need these.</li>
</ul>
<hr>
<h3>Version 1.2.3</h3>
<ul>
<li>Fixed: Issue where the scale was not working for image conversions depending on the application current language.</li>
<li>Tech: Include office library dependencies in package config (now you don't need to install office to build the project).</li>
<li>Tech: Upgrade Ghostscript to version 9.21.</li>
<li>Tech: Update ImageMagick to version 7.0.5.</li>
</ul>
<h3>Version 1.2.2</h3>
<ul>
<li>Added: Portuguese translation (thanks to Khidreal).</li>
<li>Fixed: Issue where scale was corrupted when switching application language (github issue #5).</li>
<li>Fixed: Issue where file metadata were not copied when converting to aac format (github issue #15).</li>
<li>Tech: Update to ffmpeg 3.2.2 version.</li>
<li>Tech: Improve security using https instead of http for upgrade system and links (thanks to TheAresjej).</li>
</ul>
<h3>Version 1.2.1</h3>
<ul>
<li>Fixed: Issue where audio file tags were not copied in a format readable by Windows.</li>
<li>Fixed: Issue where the default language was set to french (github issue #6).</li>
<li>Fixed: Issue where the size of a pdf generated from images was not consistent.</li>
<li>Change: Small improvements of File Converter application and installer interface thanks to TheAresjej (github issues #7
and #8).</li>
</ul>
<h3>Version 1.2</h3>
<ul>
<li>New: Possibility to convert Word documents (docx, odt and doc) to pdf and images (this feature is only available if you
have Microsoft Word installed).</li>
<li>New: Possibility to convert Excel documents (xlsx, ods and xls) to pdf and images (this feature is only available if you
have Microsoft Excel installed).</li>
<li>New: Possibility to convert PowerPoint documents (pptx, odp and ppt) to pdf and images (this feature is only available
if you have Microsoft PowerPoint installed).</li>
<li>New: Possibility to convert images and documents to webp format.</li>
<li>New: Support new image input format: webp.</li>
<li>New: Add the possibility to cancel image, CDA extraction and gif conversions.</li>
<li>Fixed: Issue where multiple conversion jobs were created for the same file resulting in an error message.</li>
<li>Tech: Improve application performances on startup.</li>
<li>Tech: Improve diagnostics.</li>
</ul>
<h3>Version 1.1</h3>
<ul>
<li>New: Localization system. File Converter can now be translated in multiple languages. The default language is the same
than your OS language (if available).</li>
<li>New: Add the possibility to choose the application language in the application settings.</li>
<li>New: Add french localization.</li>
<li>New: Possibility to convert a Pdf file into image files (one image per page).</li>
<li>New: Possibility to convert an image into a Pdf file.</li>
<li>New: Possibility to encode videos using theora video codec and Ogg vorbis audio codec in a ogv container.</li>
<li>New: Possibility to change the number of channels of an audio file (stereo -> mono, 5.1 -> stereo, ...).</li>
<li>New: Improve the application upgrade UI. If you quit the application during the upgrade downloading, you will now see the
download progress.</li>
<li>New: File converter is now available for Windows 32 bits systems (download the x86 installer).</li>
<li>New: Add an application option to choose the maximum number of simultaneous conversions.</li>
<li>Change: Improve the application help start page (when you launch File Converter directly from the executable) with an animated
picture.</li>
<li>Change: Improve the output type dropdown visualization (splitting it by categories).</li>
<li>Fixed: Issue where it was impossible to rotate an image for the output types: jpg and png.</li>
</ul>
<h3>Version 1.0</h3>
<ul>
<li>New: File Converter is now certified by Microsoft Authenticode.</li>
<li>New: Add an about section that contains information on the software development (change log, documentation link, report
issue link).</li>
<li>New: Split conversion preset settings and application settings to improve ergonomy.</li>
<li>New: Add help shortcut in the conversion preset edition interface that links directly to the corresponding documentation
page.</li>
<li>New: Add shortcuts in start menu.</li>
<li>New: Create a donation campaign on Pledgie and linked it in the about section.</li>
<li>Fixed: Issue with Avast antivirus where File Converter and Windows explorer was frozen when the user tried to use File
Converter.</li>
<li>Fixed: Issue where it was impossible to convert files from a network path.</li>
</ul>
<hr>
<h3>Version 0.7</h3>
<ul>
<li>New: Possibility to encode videos using VP9 video codec and Ogg vorbis audio codec in a webm container.</li>
<li>New: Possibility to convert videos and images to gif.</li>
<li>New: Possibility to convert gif files to videos.</li>
<li>New: Possibility to remove audio from video files (mkv, mp4, avi and webm output file formats).</li>
<li>New: Add feedback to indicate that the application will automatically terminate (after conversions) (github issue #1).</li>
<li>New: Support new video input formats: ogv and mpeg.</li>
<li>New: Support new audio input format: oga.</li>
<li>New: Possibility to cancel some conversion jobs (gif/cda and image conversion jobs are not cancelable for now).</li>
<li>Fixed: Issue where video can't be compressed using H.264 codec (mp4 or mkv presets) when its size (width or height) is
not divisible by 2 (append a lot when the user tries to scale a video) (github issue #2).</li>
<li>Fixed: Issue where "Clamp to power of 2 size" option didn't work well with images that already have a power of 2 size.</li>
<li>Fixed: Issue where conversion progress was not updated correctly (for converters based on ffmpeg).</li>
<li>Fixed: Issue where converting a video into the ogg format did not extract audio in an ogg file correctly.</li>
<li>Fixed: Issue where simultaneous read on the same CD drive was performed when files from differents conversions come from
the same drive (other than cda extraction preset).</li>
<li>Fixed: Issue where the path generator was unable to create a valid path if the input file was at the root of a drive.</li>
<li>Tech: Annotate the conversion presets to know if there are default preset or user preset in order to improve the upgrade
process.</li>
</ul>
<h3>Version 0.6</h3>
<ul>
<li>New: Possibility to encode videos using H.264 video codec and AAC audio codec in a mp4 container (more portable than mkv).</li>
<li>New: Support new image input file formats: psd, tga, svg and exr.</li>
<li>New: Support new video input file format: m4v.</li>
<li>New: Possibility to rotate images and videos.</li>
<li>New: Remove restriction on image size to convert to ico file format (it is now possible to convert all images to ico).</li>
<li>New: Add "Clamp to power of 2 size" option in image conversion.</li>
<li>New: Support input images encoded in 16 bits or 32 bits per color channel.</li>
<li>Fixed: Issue where the installer detects the utilisation of the extension dll in explorer, ask the user to restart it and
fail to do it.</li>
<li>Fixed: Issue where it is impossible to delete a conversion preset defined in default settings.</li>
<li>Fixed: Issue where the Windows context menu does not contain user preset after an application upgrade.</li>
<li>Fixed: Issue where some registry keys remain after file converter uninstallation.</li>
<li>Fixed: Issue where aac bitrate was not saved.</li>
<li>Fixed: Issue where settings serialization version was not updated.</li>
<li>Change: Allow the user to scale images until 1600% size (useful to scale pixel art images).</li>
</ul>
<h3>Version 0.5</h3>
<ul>
<li>New: Software update system. The application now checks if a new version of File Converter is available.</li>
<li>New: Possibility to scale images and videos.</li>
<li>New: Possibility to encode videos (avi output file format) using Xvid video codec and Mp3 audio codec.</li>
<li>New: Support new video input file formats: 3gp, webm and wmv.</li>
<li>New: Add a help window to explain how file converter works when you launch it without using the context menu.</li>
<li>Fixed: Problem to convert images when accentuated characters were present in their path.</li>
<li>Tech: Update ffmpeg version (aac encoding is not anymore experimental).</li>
</ul>
<h3>Version 0.4</h3>
<ul>
<li>New: Possibility to encode videos (mkv output file format) using H.264 video codec and AAC audio codec.</li>
<li>New: Possibility to extract Audio CD content.</li>
<li>New: Possibility to encode audio in aac format.</li>
<li>New: Possibility to encode images (png, jpg and ico formats).</li>
<li>New: Support new audio input file format: aac</li>
<li>New: Support new video input file formats: bik, flv, mov, mkv</li>
<li>New: Support new image input file formats: bmp, tiff, png, jpg and ico.</li>
<li>New: Multi-thread conversion (file converter will now start multiple conversions at the time depending on your number of
cores).</li>
<li>New: Copy the currently selected preset when clicking on the add preset button.</li>
<li>New: Add “My Documents”, “My Music”, “My Videos” and “My Pictures” folder to output file name generator.</li>
<li>New: Possibility to choose if the application quit after succeeded conversions.</li>
<li>Fixed: Reordering presets does not update the registry.</li>
<li>Fixed: Merge default settings with user settings to prevent errors when upgrading the application.</li>
<li>Tech: Handle incorrect user settings case.</li>
<li>Tech: Improve diagnostics system (compatibility with logs from multiple threads, dump files in AppData folder and error
messages).</li>
<li>Tech: Update ffmpeg version.</li>
</ul>
<h3>Version 0.3</h3>
<ul>
<li>New: Possibility to extract audio from videos.</li>
<li>New: Support new input file formats: aiff, m4a, avi, mp4.</li>
<li>New: Quality settings for Mp3 (Encoding mode vbr/cbr and bitrate).</li>
<li>New: Quality settings for Ogg (Bitrate).</li>
<li>New: Quality settings for Wav (bits per sample: 8, 16, 24 or 32).</li>
<li>New: Add output file path template system.</li>
<li>New: Add button to move up or down a preset.</li>
<li>New: Add input files post conversion action (No action, move in archive folder or delete).</li>
<li>New: Add categories on input file extensions.</li>
<li>Fixed: Lose focus of main window don't terminate the application.</li>
<li>Fixed: The application icon now have a correct resolution at any size.</li>
<li>Tech: Add error codes on error messages.</li>
</ul>
<h3>Version 0.2</h3>
<ul>
<li>New: Support new input file format: ape.</li>
<li>New: Add notion of conversion preset (in order to customize the conversion possibilities).</li>
<li>New: Add settings window to edit conversion presets.</li>
<li>New: Add application icon.</li>
<li>New: Customize application installer.</li>
<li>New: Add diagnostic window to read the application logs.</li>
</ul>
<h3>Version 0.1</h3>
<ul>
<li>New: Add decode support for file formats Mp3, Ogg, Wav, Flac, Wma </li>
<li>New: Add encode support for file formats Mp3, Ogg, Wav, Flac</li>
<li>New: UI to visualize the conversion progress</li>
</ul>
<footer class="site-footer">
<span class="site-footer-owner">
<a href="https://github.com/Tichau/FileConverter">File Converter</a> is maintained by
<a href="https://github.com/Tichau">Tichau</a>.</span>
<span class="site-footer-credits">This page was created using a customized version of the
<a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by
<a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>
File renamed without changes.
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

+49
View File
@@ -0,0 +1,49 @@
# How to create a new custom preset?
Let's say you like to take photos with your camera and then, you want to send it to your friends via email.
You need to send 3 or 4 emails because each photo file is quite heavy, but your friends don't care about having an awesome super high definition photography ...
So it's quite useless and boring to make multiple emails.
# Create a custom preset
Let's create a simple preset that will resize your photo files in two clicks.
1. Open the file converter settings using the shortcut in the windows start menu (or via the context menu).
2. (Optional) You can select a preset that looks like the one you want to create. When you'll click on add preset, it will duplicate the currently selected preset.
3. Clic on the add preset button (the '+' button below the preset list) to create a new preset.
![](tutorial1-1.png)
4. Your preset is now created and added to the bottom of the list. You can now give a name to your preset.
![](tutorial1-2.png)
5. You can adjust the position of your preset in the context menu by change its position in the preset list with the two arrows buttons ('v' and '^').
![](tutorial1-5.png)
5. You can define on with file type your preset will appear (in the context menu) by checking (or unchecking) the file extensions in the "input formats" section (left side).
6. And you can define the settings of your preset (how it will be converted) in the "Output format" section (right side).
![](tutorial1-3.png)
7. Here we want to convert only the png image file to the same file type while reducing the size of the image to 25% (in order to have a lighter file).
8. You can specify what File Converter will do with the input file when the conversion succeeds bellow the "Input format list". In our case, we want to delete the input file and only keep the reduced version.
![](tutorial1-4.png)
9. Save your new preset by clicking on the save button (bottom right of the window).
## Enjoy!
You have now access to your custom preset in the file converter menu on all png files.
![](tutorial1-6.png)
And you can easily resize your photos using only two clicks :)
![](tutorial1-7.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

+224
View File
@@ -0,0 +1,224 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>File Converter - Convert & compress everything in 2 clicks!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="file, convert, compress, windows, open source" />
<meta name="description" content="File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu in windows explorer." />
<link rel="stylesheet" href="https://brick.freetls.fastly.net/Noto+Sans:400,400i,700/Alegreya:400i">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<link rel="icon" href="favicon.ico" />
<script src="https://cdn.counter.dev/script.js" data-id="9498fec3-cb9d-4606-89de-bfa9e06aa07b" data-utcoffset="1"></script>
</head>
<body>
<section class="page-header">
<a href="index.html">
<img src="images/application-icon.png" height="128" width="128" />
</a>
<h1 class="project-name">File Converter</h1>
<h2 class="project-tagline">Convert & compress everything in 2 clicks!</h2>
<a href="https://github.com/Tichau/FileConverter" class="btn">View on GitHub</a>
<a href="download.html" class="btn btn-highlight">Download</a>
<a href="https://github.com/Tichau/FileConverter/wiki" class="btn">Documentation</a>
</section>
<section class="main-content">
<h2>
<a id="description" class="anchor" href="#description" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Description
</h2>
<p>
<strong>File Converter</strong> is a very simple tool which allows you to convert and compress files using the
context menu in windows explorer.
</p>
<p>
It is <strong>open source (GPL v3), free and without any adds or data collection</strong> so you just have to
enjoy it!
</p>
<img src="images/file-converter-usage.gif" />
<p>The interface is designed to be as light as possible to keep the application easy to use.</p>
<p>It supports a lot of different file formats:</p>
<table>
<thead>
<tr>
<th></th>
<th>Supported output formats</th>
<th>Compatible input formats</th>
</tr>
</thead>
<tbody>
<tr>
<td>Audio</td>
<td>flac, aac, ogg, mp3, wav</td>
<td>3gp, 3gpp, aac, aiff, ape, avi, bik, cda, flac, flv, gif, m4v, mkv, mp4, m4a, m4b, mp3 mpg, mpeg, mov, oga, ogg, ogv, opus, rm, ts, vob, wav, webm, wma, wmv</td>
</tr>
<tr>
<td>Video</td>
<td>webm, mkv, mp4, ogv, avi, gif</td>
<td>3gp, 3gpp, avi, bik, flv, gif, m4v, mkv, mp4, mpg, mpeg, mov, ogv, rm, ts, vob, webm, wmv</td>
</tr>
<tr>
<td>Image</td>
<td>png, jpg, ico, webp, avif</td>
<td>arw, avif, bmp, cr2, dds, dns, exr, heic, ico, jfif, jpg, jpeg, nef, png, psd, raf, svg, tif, tiff, tga, webp, pdf, doc*, docx*, odt*, odp*, ods*, ppt*, pptx*, xls*, xlsx*</td>
</tr>
<td>Document</td>
<td>pdf</td>
<td>doc*, docx*, odt*, odp*, ods*, ppt*, pptx*, xls*, xlsx*, arw, bmp, cr2, dds, dns, exr, heic, ico, jfif, jpg, jpeg, nef, png, psd, raf, svg, tif, tiff, tga, webp</td>
</tr>
</tbody>
</table>
<p class="highlight">* You need to have Microsoft Office installed and activated in order to convert Office documents.</p>
<p>You can heavily customize the application in order to add / remove conversion presets in the files context menus or edit
the existing one to change the conversion options.</p>
<img src="images/screenshot3.png" />
<p>The application is translated by community members in 11 languages:</p>
<table>
<thead>
<tr><th>Code</th><th>Language</th><th>Contributors</th></tr>
</thead>
<tbody>
<tr><td>ar-EG</td><td>Arabic</td><td>Mahmoud0Sultan</td></tr>
<tr><td>cs-CZ</td><td>Czech</td><td>AidyTheWeird</td></tr>
<tr><td>de-DE</td><td>German</td><td>nikotschierske</td></tr>
<tr><td>el-GR</td><td>Greek</td><td>CrisBalGreece</td></tr>
<tr><td>es-ES</td><td>Spanish</td><td>Chachak</td></tr>
<tr><td>fa-IR</td><td>Persian</td><td>MrHero118, Mehrdad32</td></tr>
<tr><td>fr-FR</td><td>French</td><td>Adrien Allard, Sylvain Pollet-Villard</td></tr>
<tr><td>he-IL</td><td>Hebrew</td><td>AshiVered</td></tr>
<tr><td>hi-IN</td><td>Hindi</td><td>vishveshjain</td></tr>
<tr><td>hu-HU</td><td>Hungarian</td><td>Zyvrec7, stohlferenc</td></tr>
<tr><td>id-ID</td><td>Indonesian</td><td>itsmefdil</td></tr>
<tr><td>it-IT</td><td>Italian</td><td>Davide</td></tr>
<tr><td>ja-JP</td><td>Japan</td><td>oogamiyuta</td></tr>
<tr><td>ko-KR</td><td>Korean</td><td>Alanimdeo</td></tr>
<tr><td>pl-PL</td><td>Polish</td><td>Maerek, MrPrince419</td></tr>
<tr><td>pt-BR</td><td>Brazilian</td><td>Marhc</td></tr>
<tr><td>pt-PT</td><td>Portuguese</td><td>Khidreal, hugok79</td></tr>
<tr><td>sr-CYRL</td><td>Serbian Cyrillic</td><td>crnobog69</td></tr>
<tr><td>sr-LATN</td><td>Serbian Latin</td><td>crnobog69</td></tr>
<tr><td>sv-SE</td><td>Swedish</td><td>rkalitta</td></tr>
<tr><td>tr-TR</td><td>Turkish</td><td>MayaC0re</td></tr>
<tr><td>ud-IN</td><td>Urdu</td><td>hamzaharoon1314</td></tr>
<tr><td>ru-RU</td><td>Russian</td><td>dragomano, iliamak</td></tr>
<tr><td>vi-VN</td><td>Vietnamese</td><td>vrykolakas166, thaovd</td></tr>
<tr><td>zh-CN</td><td>Simplified Chinese</td><td>Snoopy1866, jie65535</td></tr>
<tr><td>zh-TW</td><td>Traditional Chinese</td><td>Sedimentary-Rock, jie65535, NeKoOuO, PeterDaveHello</td></tr>
</tbody>
</table>
<p>
If you want more informations about the features offered in File Converter, visit the <a href="https://github.com/Tichau/FileConverter/wiki">documentation page</a>.
</p>
<p>I hope this application will help you :)</p>
<h2>
<a id="donate" class="anchor" href="#donate" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Donate
</h2>
<p>
File Converter is a personal open source project started in 2014. I have put hundreds of hours developing,
refining and tuning
File Converter with the goal of making the conversion and compression of files an easy task for everyone.
</p>
<p>
In real life, I'm a video-game developer. If you want to help me, you can buy my game.
<center>
<iframe src="https://store.steampowered.com/widget/3052500/" frameborder="0" width="646" height="190"></iframe>
</center>
</p>
<p>
You can also help me by contributing to the project, by making a donation or just by saying thanks :).
</p>
<p>
<a class="btn contribute" href="https://github.com/Tichau/FileConverter/wiki#contribute" target="_blank">
Contribute to the project
</a>
<a class="btn btn-highlight contribute" href="https://liberapay.com/aallard/donate" target="_blank">
Donate
</a>
<a class="btn contribute" href="mailto:adrien.allard.pro@gmail.com">
Say Thanks
</a>
</p>
<h2>
<a id="troubleshooting" class="anchor" href="#troubleshooting" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Troubleshooting
</h2>
<p>If you encounter any problem with File Converter, you can:</p>
<ul>
<li>See the already known problems in the
<a href="https://github.com/Tichau/FileConverter/wiki/Troubleshooting">
troubleshooting section of the documentation
</a>.
</li>
<li>Or report an issue on the <a href="https://github.com/Tichau/FileConverter/issues">bug tracker</a>.
</li>
</ul>
<h2>
<a id="download" class="anchor" href="#download" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
Downloads
</h2>
<p>File Converter 2 is compatible with Windows 7 / 8 / 10 and 11.</p>
<p>Windows 64 bits installer:
<a href="download.html">FileConverter-2.2-x64-setup.msi</a> (~58 Mo)
</p>
<hr>
<p>The legacy version of File Converter (2017) is also compatible with Windows Vista and 32bits platforms.</p>
<p>Windows 64 bits installer:
<a href="https://github.com/Tichau/FileConverter/releases/download/v1.2.3/FileConverter-1.2.3-x64-setup.msi">FileConverter-1.2.3-x64-setup.msi</a> (~39 Mo)
</p>
<p>Windows 32 bits installer:
<a href="download-x86.html">FileConverter-1.2.3-x86-setup.msi</a> (~38 Mo)
</p>
<footer class="site-footer">
<span class="site-footer-owner">
<a href="https://github.com/Tichau/FileConverter">File Converter</a> is maintained by
<a href="https://github.com/Tichau">Adrien Allard</a>.</span>
<span class="site-footer-credits">This page was created using a customized version of the
<a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by
<a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
{"name":"File Converter","tagline":"File Converter is a very simple tool who allows you to convert one or several file(s) from one format to another using the context menu in windows explorer.","body":"## Description\r\n**File Converter** is a very simple tool which allows you to convert one or several file(s) from one format to another using the context menu in windows explorer.\r\nThis program uses [ffmpeg](https://www.ffmpeg.org/) as file conversion software.\r\n\r\nYou can convert files from formats **Aiff, Ape, Avi, Flac, M4a, Mp3, Mp4, Ogg, Wav, Wma** to formats **Mp3, Ogg, Wav, Flac**.\r\n\r\n*Note: If your source file is a video, the conversion to an audio format will extract the audio part of the video.*\r\n\r\n***Remove any previous installation of the application before installing the newer version.***\r\n\r\nThis application is under GPL version 3 licence. \r\nFor more informations check the LICENSE file in your installation folder or the [gnu website](http://www.gnu.org/licenses/gpl.html).\r\n\r\n## Input file post conversion actions\r\n\r\nThis actions allow you to chose what you want to do with your input files if the conversion succeed.\r\n\r\nAction \t\t\t\t\t| Description\r\n----------------------------|------------------------------------------------------------------------------------------------\r\n**None** \t\t\t\t| Don't modify the input file. If the output file name conflict with the input, it will be renamed.\r\n**Move in archive folder** | Move the input file in a folder named *Conversion Archives* if the conversion is a success.\r\n**Delete** \t\t\t\t| Delete the input file if the conversion is a success (be careful no warning will be prompted).\r\n\r\n## Output file path template\r\n\r\nThis template allow you to define how you want to generate the output file path (depending on the input file path).\r\nYou have access to the following informations:\r\n\r\nPattern\t| Description\t\t\t\t\t| Example (with input path: *C:\\Music\\Artist\\Album\\Song.wav*)\r\n--------|-------------------------------|-----------------------------------------------------------------\r\n(p) \t| Input file path\t\t\t\t| C:\\Music\\Artist\\Album\\\r\n(f) \t| Input file name\t\t\t\t| Song\r\n(o)\t\t| Output file format\t\t\t| mp3\r\n(i)\t\t| Input file format\t\t\t\t| wav\r\n(d0)\t| Input parent folder name\t\t| Album\r\n(d1)\t| Input sub parent folder name\t| Artist\r\n\r\n*Tips: You can use uppercase to retrieve caps lock informations. Example: (f) -> Default / (F) -> DEFAULT *\r\n\r\n### Examples\r\n\r\nSimple default template (just change the extension): \r\n\r\n\tInput: C:\\Music\\Artist\\Album\\Song.wav\r\n\tTemplate: (p)(f)\r\n\tGenerated output: C:\\Music\\Artist\\Album\\Song.mp3\r\n\r\nFile name customization:\r\n\r\n\tInput: C:\\Music\\Artist\\Album\\Song.wav\r\n\tTemplate: (p)(O)_(f) (from (i))\r\n\tGenerated output: C:\\Music\\Artist\\Album\\MP3_Song (from wav).mp3\r\n\t\t\r\nFile path customization:\r\n\t\t\r\n\tInput: C:\\Music\\Artist\\Album\\Song.wav\r\n\tTemplate: D:\\(o)\\(d1)\\(f)\r\n\tGenerated output: D:\\mp3\\Artist\\Song.mp3\r\n\r\n## Change Log\r\nv0.3\r\n- New: Possibility to extract audio from videos.\r\n- New: Support new input file formats: aiff, m4a, avi, mp4.\r\n- New: Quality settings for Mp3 (Encoding mode vbr/cbr and bitrate).\r\n- New: Quality settings for Ogg (Bitrate).\r\n- New: Quality settings for Wav (bits per sample: 8, 16, 24 or 32).\r\n- New: Add output file path template system.\r\n- New: Add button to move up or down a preset.\r\n- New: Add input files post conversion action (No action, move in archive folder or delete).\r\n- New: Add categories on input file extensions.\r\n- Fixed: Lose focus of main window don't terminate the application.\r\n- Fixed: The application icon now have a correct resolution at any size.\r\n- Tech: Add error codes on error messages.\r\n\r\nv0.2\r\n- New: Support new input file format: ape.\r\n- New: Add notion of conversion preset (in order to customize the conversion possibilities).\r\n- New: Add settings window to edit conversion presets.\r\n- New: Add application icon.\r\n- New: Customize application installer.\r\n- New: Add diagnostic window to read the application logs.\r\n\r\nv0.1\r\n- New: Add decode support for file formats Mp3, Ogg, Wav, Flac, Wma \r\n- New: Add encode support for file formats Mp3, Ogg, Wav, Flac\r\n- New: UI to visualize the conversion progress","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
+116
View File
@@ -0,0 +1,116 @@
/*
Copyright 2014 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.pl-c /* comment */ {
color: #969896;
}
.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
.pl-s .pl-v /* string variable */ {
color: #0086b3;
}
.pl-e /* entity */,
.pl-en /* entity.name */ {
color: #795da3;
}
.pl-s .pl-s1 /* string source */,
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
color: #333;
}
.pl-ent /* entity.name.tag */ {
color: #63a35c;
}
.pl-k /* keyword, storage, storage.type */ {
color: #a71d5d;
}
.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
.pl-s /* string */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
color: #183691;
}
.pl-v /* variable */ {
color: #ed6a43;
}
.pl-id /* invalid.deprecated */ {
color: #b52a1d;
}
.pl-ii /* invalid.illegal */ {
background-color: #b52a1d;
color: #f8f8f8;
}
.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
color: #63a35c;
font-weight: bold;
}
.pl-ml /* markup.list */ {
color: #693a17;
}
.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */ {
color: #1d3e81;
font-weight: bold;
}
.pl-mq /* markup.quote */ {
color: #008080;
}
.pl-mi /* markup.italic */ {
color: #333;
font-style: italic;
}
.pl-mb /* markup.bold */ {
color: #333;
font-weight: bold;
}
.pl-md /* markup.deleted, meta.diff.header.from-file */ {
background-color: #ffecec;
color: #bd2c00;
}
.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
background-color: #eaffea;
color: #55a532;
}
.pl-mdr /* meta.diff.range */ {
color: #795da3;
font-weight: bold;
}
.pl-mo /* meta.output */ {
color: #1d3e81;
}
+424
View File
@@ -0,0 +1,424 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */ /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
+277
View File
@@ -0,0 +1,277 @@
* {
box-sizing: border-box; }
body {
padding: 0;
margin: 0;
font-family: "Noto Sans", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
color: #606c71; }
a {
color: #1e6bb8;
text-decoration: none; }
a:hover {
text-decoration: underline; }
.btn {
display: inline-block;
margin-bottom: 1rem;
color: rgba(255, 255, 255, 0.7);
background-color: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.2);
border-style: solid;
border-width: 1px;
border-radius: 0.3rem;
transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.btn + .btn {
margin-left: 1rem; }
.btn:hover {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
background-color: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3); }
.btn-highlight {
color: rgba(255, 255, 255, 0.7);
background-color: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.2);
font-size: x-large;
font-weight: bold;
}
@media screen and (min-width: 64em) {
.btn {
padding: 0.75rem 1rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.btn {
padding: 0.6rem 0.9rem;
font-size: 0.9rem; } }
@media screen and (max-width: 42em) {
.btn {
display: block;
width: 100%;
padding: 0.75rem;
font-size: 0.9rem; }
.btn + .btn {
margin-top: 1rem;
margin-left: 0; } }
.page-header {
color: #fff;
text-align: center;
background-color: #01578E;
background-image:linear-gradient(0deg, #4995E1, #014979) }
@media screen and (min-width: 64em) {
.page-header {
padding: 5rem 6rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.page-header {
padding: 3rem 4rem; } }
@media screen and (max-width: 42em) {
.page-header {
padding: 2rem 1rem; } }
.project-name {
margin-top: 0;
margin-bottom: 0.1rem; }
@media screen and (min-width: 64em) {
.project-name {
font-size: 3.25rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.project-name {
font-size: 2.25rem; } }
@media screen and (max-width: 42em) {
.project-name {
font-size: 1.75rem; } }
.project-tagline {
margin-bottom: 2rem;
font-weight: normal;
opacity: 0.7;
font-size: 1.2rem;
font-style: italic;
font-family: 'Alegreya';}
@media screen and (min-width: 64em) {
.project-tagline {
font-size: 1.5rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.project-tagline {
font-size: 1.35rem; } }
@media screen and (max-width: 42em) {
.project-tagline {
font-size: 1rem; } }
.main-content :first-child {
margin-top: 0; }
.main-content img {
max-width: 100%; }
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: normal;
color: #DF3900;
font-style: italic;
}
.main-content h2 {
font-size: 2rem;
}
.main-content p {
margin-bottom: 1em; }
.main-content code {
padding: 2px 4px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 0.9rem;
color: #383e41;
background-color: #f3f6fa;
border-radius: 0.3rem; }
.main-content pre {
padding: 0.8rem;
margin-top: 0;
margin-bottom: 1rem;
font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
color: #567482;
word-wrap: normal;
background-color: #f3f6fa;
border: solid 1px #dce6f0;
border-radius: 0.3rem; }
.main-content pre > code {
padding: 0;
margin: 0;
font-size: 0.9rem;
color: #567482;
word-break: normal;
white-space: pre;
background: transparent;
border: 0; }
.main-content .highlight {
margin-bottom: 1rem; }
.main-content .highlight pre {
margin-bottom: 0;
word-break: normal; }
.main-content .highlight pre, .main-content pre {
padding: 0.8rem;
overflow: auto;
font-size: 0.9rem;
line-height: 1.45;
border-radius: 0.3rem; }
.main-content pre code, .main-content pre tt {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0; }
.main-content pre code:before, .main-content pre code:after, .main-content pre tt:before, .main-content pre tt:after {
content: normal; }
.main-content ul, .main-content ol {
margin-top: 0; }
.main-content blockquote {
padding: 0 1rem;
margin-left: 0;
color: #819198;
border-left: 0.3rem solid #dce6f0; }
.main-content blockquote > :first-child {
margin-top: 0; }
.main-content blockquote > :last-child {
margin-bottom: 0; }
.main-content table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all; }
.main-content table th {
background-color: #F5F5F5;
font-weight: bold; }
.main-content table th, .main-content table td {
padding: 0.5rem 1rem;
border: 1px solid #e9ebec; }
.main-content dl {
padding: 0; }
.main-content dl dt {
padding: 0;
margin-top: 1rem;
font-size: 1rem;
font-weight: bold; }
.main-content dl dd {
padding: 0;
margin-bottom: 1rem; }
.main-content hr {
height: 2px;
padding: 0;
margin: 1rem 0;
background-color: #eff0f1;
border: 0; }
@media screen and (min-width: 64em) {
.main-content {
max-width: 64rem;
padding: 2rem 6rem;
margin: 0 auto;
font-size: 1.1rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.main-content {
padding: 2rem 4rem;
font-size: 1.1rem; } }
@media screen and (max-width: 42em) {
.main-content {
padding: 2rem 1rem;
font-size: 1rem; } }
.site-footer {
padding-top: 2rem;
margin-top: 2rem;
border-top: solid 1px #eff0f1; }
.site-footer-owner {
display: block;
font-weight: bold; }
.site-footer-credits {
color: #819198; }
@media screen and (min-width: 64em) {
.site-footer {
font-size: 1rem; } }
@media screen and (min-width: 42em) and (max-width: 64em) {
.site-footer {
font-size: 1rem; } }
@media screen and (max-width: 42em) {
.site-footer {
font-size: 0.9rem; } }
.highlight {
color: #DF3900;
}
.main-content .btn {
color: #202020;
border-color: #D0D0D0;
background: #FCF8F6;
}
.main-content .btn:hover {
color: #1F7EBA;
border-color: #D3D0CE;
background: #E0EEF9;
}