Skip to content

Commit

Permalink
Deleted unused usings
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 28, 2024
1 parent 3b67d42 commit cfb583a
Show file tree
Hide file tree
Showing 47 changed files with 89 additions and 286 deletions.
1 change: 0 additions & 1 deletion Mirivoice.Desktop/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Avalonia;
using Avalonia.ReactiveUI;
using Microsoft.Extensions.Logging;
using Mirivoice.Mirivoice.Core;
using Serilog;
using System;
Expand Down
18 changes: 8 additions & 10 deletions Mirivoice/App.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
using System;
using System.Diagnostics;
using Avalonia;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;

using Avalonia.Styling;
using Mirivoice.Mirivoice.Core;
using Mirivoice.ViewModels;
using Mirivoice.Views;
using Mirivoice.Mirivoice.Core;
using Serilog;
using System.IO;
using System.Threading.Tasks;
using System.Globalization;
using Avalonia.Controls;
using Avalonia.Styling;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Mirivoice;


Expand Down
3 changes: 1 addition & 2 deletions Mirivoice/Commands/AddLineBoxReceiver.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Avalonia.Controls;
using Mirivoice.ViewModels;
using Mirivoice.ViewModels;
using Mirivoice.Views;

namespace Mirivoice.Commands
Expand Down
3 changes: 1 addition & 2 deletions Mirivoice/Commands/AddLineBoxesReceiver.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Avalonia.Controls;
using Mirivoice.Mirivoice.Core;
using Mirivoice.Mirivoice.Core;
using Mirivoice.Mirivoice.Core.Format;
using Mirivoice.ViewModels;
using Mirivoice.Views;
Expand Down
1 change: 0 additions & 1 deletion Mirivoice/Commands/DelLineBoxReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Mirivoice.Views;
using System;
using System.Collections.ObjectModel;
using System.Linq;

namespace Mirivoice.Commands
{
Expand Down
4 changes: 1 addition & 3 deletions Mirivoice/Commands/DuplicateLineBoxReceiver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Avalonia.Controls;
using Mirivoice.ViewModels;
using Mirivoice.Views;
using Mirivoice.Views;
using System;

namespace Mirivoice.Commands
Expand Down
11 changes: 1 addition & 10 deletions Mirivoice/Commands/LockLineBoxReceiver.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
using Avalonia.Controls;
using Mirivoice.Mirivoice.Core;
using Mirivoice.Mirivoice.Core.Format;
using Mirivoice.ViewModels;
using Mirivoice.Views;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Mirivoice.Views;

namespace Mirivoice.Commands
{
Expand Down
7 changes: 2 additions & 5 deletions Mirivoice/Engines/ConfigVITS2.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Microsoft.Extensions.Primitives;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VYaml.Annotations;
using System.Collections.Generic;
using System.Linq;

namespace Mirivoice.Engines
{
Expand Down
9 changes: 2 additions & 7 deletions Mirivoice/Engines/TTS/BaseEngine.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using NAudio.Wave;
using System;
using System.Collections.Generic;
using Mirivoice.Mirivoice.Core.Format;
using NAudio.Wave;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mirivoice.Mirivoice.Core.Format;

namespace Mirivoice.Engines.TTS
{
Expand Down
9 changes: 2 additions & 7 deletions Mirivoice/Engines/TTS/EngineVITS2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@
using Microsoft.ML.OnnxRuntime;
using Microsoft.ML.OnnxRuntime.Tensors;
using Mirivoice.Engines;
using Mirivoice.Mirivoice.Core;
using NAudio.Wave;
using Mirivoice.Engines.TTS;
using Mirivoice.Mirivoice.Core.Format;
using Serilog;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using VYaml.Annotations;
using VYaml.Serialization;
using Mirivoice.Engines.TTS;
using Mirivoice.Mirivoice.Core.Format;
using System;
using System.Threading.Tasks;

public class EngineVITS2 : BaseEngine
{
Expand Down
3 changes: 1 addition & 2 deletions Mirivoice/Engines/VoicerMeta.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Mirivoice.Engines.TTS;
using System.ComponentModel;
using VYaml.Annotations;
using System.ComponentModel;
namespace Mirivoice.Engines
{
public enum VoicerMetaType
Expand Down
3 changes: 1 addition & 2 deletions Mirivoice/Mirivoice.Core/Editor/MTextBoxEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
using ReactiveUI;
using Serilog;
using System.ComponentModel;
using VYaml.Annotations;

namespace Mirivoice.Mirivoice.Core.Editor
{

public partial class MTextBoxEditor : ReactiveObject, INotifyPropertyChanged
{
string _currentScript;
Expand Down
1 change: 0 additions & 1 deletion Mirivoice/Mirivoice.Core/Editor/VoicerSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Globalization;
using System.Linq;

namespace Mirivoice.Mirivoice.Core.Editor
{
Expand Down
17 changes: 5 additions & 12 deletions Mirivoice/Mirivoice.Core/Format/Mrp.cs
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
using Mirivoice.Engines;
using Avalonia.Threading;
using Mirivoice.ViewModels;
using Mirivoice.Views;
using R3;
using Serilog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using VYaml.Annotations;
using VYaml.Serialization;
using System.IO;
using Mirivoice.ViewModels;
using ReactiveUI;
using System.Collections.ObjectModel;
using R3;
using DynamicData;
using Avalonia.Threading;
using NAudio.Utils;

namespace Mirivoice.Mirivoice.Core.Format
{
Expand Down
21 changes: 8 additions & 13 deletions Mirivoice/Mirivoice.Core/Format/RecentFIles.cs
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
using System;
using Avalonia.Controls;
using Mirivoice.ViewModels;
using R3;
using ReactiveUI;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using VYaml.Annotations;
using VYaml.Serialization;
using System.Collections.ObjectModel;
using System.Windows.Input;
using Mirivoice.ViewModels;
using R3;
using ReactiveUI;
using Mirivoice.Mirivoice.Core.Format;
using Avalonia.Controls;

namespace Mirivoice.Mirivoice.Core.Managers
{
[YamlObject]

[YamlObject]
public partial class RecentFiles
{
public List<string> Files { get; set; } = new List<string>();
Expand Down
6 changes: 1 addition & 5 deletions Mirivoice/Mirivoice.Core/Format/UserSetting.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using VYaml.Annotations;
using VYaml.Serialization;
using System.IO;

namespace Mirivoice.Mirivoice.Core.Format
{
Expand Down
4 changes: 1 addition & 3 deletions Mirivoice/Mirivoice.Core/Format/Voicer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Avalonia.Styling;
using Mirivoice.Commands;
using Mirivoice.Commands;
using Mirivoice.Engines;
using Mirivoice.Engines.TTS;
using Mirivoice.Views;
Expand All @@ -10,7 +9,6 @@
using System.ComponentModel;
using System.Text;
using VYaml.Annotations;
using System.Threading.Tasks;

namespace Mirivoice.Mirivoice.Core.Format
{
Expand Down
4 changes: 1 addition & 3 deletions Mirivoice/Mirivoice.Core/Managers/MainManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
using Mirivoice.Mirivoice.Core.Utils;
using Serilog;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.IO;
using VYaml.Annotations;
using System.Threading.Tasks;
using VYaml.Serialization;
using Mirivoice.Views;

namespace Mirivoice.Mirivoice.Core
{
Expand Down
1 change: 0 additions & 1 deletion Mirivoice/Mirivoice.Core/Managers/VoicerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Serilog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using VYaml.Serialization;
Expand Down
50 changes: 0 additions & 50 deletions Mirivoice/Mirivoice.Core/Utils/MemoryLogger.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils;
using Serilog;
using System.Collections.Generic;
using System.Linq;
using Serilog;
using System;
using System.IO;
using System.Text;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Collections.Generic;

namespace Mirivoice.Mirivoice.Plugins.Builtin.IPAConverters
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils;
using Serilog;
using System.Collections.Generic;
using System.Linq;

namespace Mirivoice.Mirivoice.Plugins.Builtin.IPAConverters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Mirivoice.Mirivoice.Plugins.Builtin.IPAConverters;
using Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils;
using Serilog;
using System;
using System.Collections.Generic;
using System.Text;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
using Avalonia.Media;
using Avalonia.Platform;
using Serilog;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog;

namespace Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Serilog;
using System;
using System;
using System.Collections;
using System.Diagnostics;

namespace Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils
{
Expand Down
Loading

0 comments on commit cfb583a

Please sign in to comment.