-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added file comparison strategy to compare files byte-by-byte ignoring…
… different styles of LineFeeds.
- Loading branch information
1 parent
3c2f9ec
commit 5765c36
Showing
23 changed files
with
292 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/Demos/Dir/AehnlichDirViewModelLib/Interfaces/IDiffFileModeItemViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/Demos/Dir/AehnlichDirViewModelLib/ViewModels/DiffFileModeItemViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
source/Demos/TextFileDemo/AehnlichFileDemo/MainWindow.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<Window | ||
x:Class="AehnlichDemo.MainWindow" | ||
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:icon_src="clr-namespace:AehnlichViewLib.Themes;assembly=AehnlichViewLib" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:views="clr-namespace:AehnlichViewModelsLib.Views;assembly=AehnlichViewModelsLib" | ||
Title="Ähnlich" | ||
Width="800" | ||
Height="450" | ||
Icon="{DynamicResource {x:Static icon_src:ResourceKeys.ICON_AehnlichKey}}" | ||
mc:Ignorable="d"> | ||
x:Class="AehnlichDemo.MainWindow" | ||
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:icon_src="clr-namespace:AehnlichViewLib.Themes;assembly=AehnlichViewLib" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:views="clr-namespace:AehnlichViewModelsLib.Views;assembly=AehnlichViewModelsLib" | ||
Title="Ähnlich" | ||
Width="800" | ||
Height="450" | ||
Icon="{DynamicResource {x:Static icon_src:ResourceKeys.ICON_AehnlichKey}}" | ||
mc:Ignorable="d"> | ||
|
||
<views:FileDiffView Margin="3" /> | ||
<views:FileDiffView Margin="3" /> | ||
|
||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ClassDiagram MajorVersion="1" MinorVersion="1"> | ||
<Class Name="FsDataLib.Dir.DirDataSource" BaseTypeListCollapsed="true"> | ||
<Position X="5.25" Y="3" Width="2.75" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAgAAEAAAAgAAAAQAAAAAAAAAAAAAAAABAAAAAQA=</HashCode> | ||
<FileName>Dir\DirDataSource.cs</FileName> | ||
</TypeIdentifier> | ||
<Lollipop Position="0.2" /> | ||
</Class> | ||
<Class Name="FsDataLib.Dir.DirDataSourceFactory" BaseTypeListCollapsed="true"> | ||
<Position X="8.5" Y="3" Width="1.75" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode> | ||
<FileName>Dir\DirDataSourceFactory.cs</FileName> | ||
</TypeIdentifier> | ||
<Lollipop Position="0.2" /> | ||
</Class> | ||
<Class Name="FsDataLib.Dir.DirectoryInfoImpl"> | ||
<Position X="0.5" Y="9" Width="2.5" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAEAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAgAAAA=</HashCode> | ||
<FileName>Dir\DirectoryInfoImpl.cs</FileName> | ||
</TypeIdentifier> | ||
<Lollipop Position="0.2" /> | ||
</Class> | ||
<Class Name="FsDataLib.Dir.FileInfoImpl"> | ||
<Position X="3.25" Y="9" Width="2.25" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAAAACAAAABAAAAABgAABAAAAAAAAAAAAAAAQ=</HashCode> | ||
<FileName>Dir\FileInfoImpl.cs</FileName> | ||
</TypeIdentifier> | ||
<Lollipop Position="0.2" /> | ||
</Class> | ||
<Class Name="FsDataLib.Dir.FileSystemInfoImpl"> | ||
<Position X="1.5" Y="5.5" Width="2.75" /> | ||
<Compartments> | ||
<Compartment Name="Fields" Collapsed="true" /> | ||
</Compartments> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAIAACAIAAAAAAAAQAAAAAAAAAAAABAAAAACA=</HashCode> | ||
<FileName>Dir\FileSystemInfoImpl.cs</FileName> | ||
</TypeIdentifier> | ||
<Lollipop Position="0.2" /> | ||
</Class> | ||
<Interface Name="FsDataLib.Interfaces.Dir.IDataSource"> | ||
<Position X="5.25" Y="0.5" Width="2.75" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAgAAEAAAAgAAAAQAAAAAAAAAAAAAAAABAAAAAQA=</HashCode> | ||
<FileName>Interfaces\Dir\IDataSource.cs</FileName> | ||
</TypeIdentifier> | ||
</Interface> | ||
<Interface Name="FsDataLib.Interfaces.Dir.IDataSourceFactory"> | ||
<Position X="8.5" Y="0.5" Width="1.75" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode> | ||
<FileName>Interfaces\Dir\IDataSourceFactory.cs</FileName> | ||
</TypeIdentifier> | ||
</Interface> | ||
<Interface Name="FsDataLib.Interfaces.Dir.IDirectoryInfo"> | ||
<Position X="2.5" Y="2.75" Width="2" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAEAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAgAAAA=</HashCode> | ||
<FileName>Interfaces\Dir\IDirectoryInfo.cs</FileName> | ||
</TypeIdentifier> | ||
</Interface> | ||
<Interface Name="FsDataLib.Interfaces.Dir.IFileInfo"> | ||
<Position X="0.5" Y="2.75" Width="1.5" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAAAAAAAAABAAAAABAAABAAAAAAAAAAAAAAAA=</HashCode> | ||
<FileName>Interfaces\Dir\IFileInfo.cs</FileName> | ||
</TypeIdentifier> | ||
</Interface> | ||
<Interface Name="FsDataLib.Interfaces.Dir.IFileSystemInfo"> | ||
<Position X="1.5" Y="0.5" Width="1.5" /> | ||
<TypeIdentifier> | ||
<HashCode>AAAAAAAAIAAAAIAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=</HashCode> | ||
<FileName>Interfaces\Dir\IFileSystemInfo.cs</FileName> | ||
</TypeIdentifier> | ||
</Interface> | ||
<Enum Name="FsDataLib.Interfaces.Dir.FileType"> | ||
<Position X="10.5" Y="0.5" Width="1.5" /> | ||
<TypeIdentifier> | ||
<HashCode>AAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAABA=</HashCode> | ||
<FileName>Interfaces\Dir\IFileInfo.cs</FileName> | ||
</TypeIdentifier> | ||
</Enum> | ||
<Font Name="Segoe UI" Size="9" /> | ||
</ClassDiagram> |
Oops, something went wrong.