5 Commits
0.12 ... 0.13

Author SHA1 Message Date
Ben Wallis
360b1c8144 Bumped version to 0.13 2016-08-30 22:54:31 +01:00
Ben Wallis
80b8318574 Fixed #28 - Add appearance block item links firing wrong command 2016-08-30 22:53:17 +01:00
Ben Wallis
85f47ce654 Merge branch 'master' of https://github.com/ben-wallis/Filtration.git 2016-08-30 19:16:47 +01:00
Ben Wallis
c88c401ca8 Fixed crash when Item Base Types or Item Classes static data files aren't present 2016-08-30 19:16:44 +01:00
Ben Wallis
45ab1a57e3 Updated current release to 0.12 2016-08-30 19:03:58 +01:00
5 changed files with 32 additions and 9 deletions

View File

@@ -16,6 +16,11 @@ namespace Filtration.ObjectModel.BlockItemTypes
{
}
public RarityBlockItem(FilterPredicateOperator predicateOperator, ItemRarity predicateOperand)
: base(predicateOperator, (int)predicateOperand)
{
}
public override string PrefixText => "Rarity";
public override string OutputText => PrefixText + " " + FilterPredicate.PredicateOperator
.GetAttributeDescription() + " " + ((ItemRarity) FilterPredicate.PredicateOperand).GetAttributeDescription();

View File

@@ -50,7 +50,7 @@ using System.Windows;
// 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("0.12")]
[assembly: AssemblyVersion("0.13")]
[assembly: InternalsVisibleTo("Filtration.Tests")]
[assembly: InternalsVisibleTo("Filtration.ItemFilterPreview.Tests")]

View File

@@ -34,10 +34,28 @@ namespace Filtration.Services
var itemBaseTypesPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Filtration\ItemBaseTypes.txt";
var itemClassesPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Filtration\ItemClasses.txt";
var itemBaseTypes = _fileSystemService.ReadFileAsString(itemBaseTypesPath);
string itemBaseTypes;
try
{
itemBaseTypes = _fileSystemService.ReadFileAsString(itemBaseTypesPath);
}
catch (Exception)
{
itemBaseTypes = string.Empty;
}
ItemBaseTypes = new LineReader(() => new StringReader(itemBaseTypes)).ToList();
var itemClasses = _fileSystemService.ReadFileAsString(itemClassesPath);
string itemClasses;
try
{
itemClasses = _fileSystemService.ReadFileAsString(itemClassesPath);
}
catch (Exception)
{
itemClasses = string.Empty;
}
ItemClasses = new LineReader(() => new StringReader(itemClasses)).ToList();
}
}

View File

@@ -264,7 +264,7 @@
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Margin="0,0,3,0">
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddBlockCommand}" CommandParameter="{Binding}">
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddFilterBlockItemCommand}" CommandParameter="{Binding}">
<TextBlock>+</TextBlock><TextBlock Text="{Binding Path=., Converter={StaticResource BlockItemTypeToStringConverter}}" />
</Hyperlink>
</TextBlock>

View File

@@ -2,13 +2,13 @@
Filtration is an editor for Path of Exile item filter scripts.
## Current Release (Released 2015-07-31)
<b>Installer (6.37mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.11/filtration_0.11_setup.exe">filtration_0.11_setup.exe</a>
## Current Release (Released 2016-08-30)
<b>Installer (7.44mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.12/filtration_0.12_setup.exe">filtration_0.12_setup.exe</a>
<b>Zip File (7.97mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.11/filtration_0.11.zip">filtration_0.11.zip</a>
<b>Zip File (9.75mb)</b> <a href="https://github.com/ben-wallis/Filtration/releases/download/0.12/filtration_0.12.zip">filtration_0.12.zip</a>
## System Requirements
Filtration requires .NET Framework 4.5.1 installed.
Filtration requires .NET Framework 4.6.1 installed.
## Features