Skip to content

Commit

Permalink
Remove System.ComponentModel.Composition dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpobst committed Jan 10, 2011
1 parent 2b82dae commit 078e689
Show file tree
Hide file tree
Showing 73 changed files with 173 additions and 108 deletions.
3 changes: 1 addition & 2 deletions Makefile.am
Expand Up @@ -5,7 +5,6 @@ BINFILES = \
$(BINDIR)/Pinta.Core.dll \
$(BINDIR)/Pinta.Gui.Widgets.dll \
$(BINDIR)/Pinta.Resources.dll \
$(BINDIR)/System.ComponentModel.Composition.dll \
$(BINDIR)/Extensions/Pinta.Effects.dll \
$(BINDIR)/Extensions/Pinta.Tools.dll

Expand Down Expand Up @@ -85,7 +84,7 @@ releasetar: $(BINFILES)
releasezip: $(BINFILES)
cd $(BINDIR) && zip -r ../$(RELEASE_FILE).zip * -x "*.mdb"

EXTRA_DIST = Pinta Pinta.Core Pinta.Effects Pinta.Gui.Widgets Pinta.Resources Pinta.Tools po Tarball System.ComponentModel.Composition xdg \
EXTRA_DIST = Pinta Pinta.Core Pinta.Effects Pinta.Gui.Widgets Pinta.Resources Pinta.Tools po Tarball xdg \
license-mit.txt license-pdn.txt readme.txt todo.txt Pinta.sln Pinta.Install.proj

.PHONY: install uninstall cleanall cleanbin cleanobj release releasetar releasezip
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/AutoLevelEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class AutoLevelEffect : BaseEffect
{
UnaryPixelOps.Level op;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/BlackAndWhiteEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class BlackAndWhiteEffect : BaseEffect
{
UnaryPixelOp op = new UnaryPixelOps.Desaturate ();
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/BrightnessContrastEffect.cs
Expand Up @@ -14,7 +14,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class BrightnessContrastEffect : BaseEffect
{
private int multiply;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/CurvesEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class CurvesEffect : BaseEffect
{
UnaryPixelOp op = null;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/HueSaturationEffect.cs
Expand Up @@ -14,7 +14,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class HueSaturationEffect : BaseEffect
{
UnaryPixelOp op;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/InvertColorsEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class InvertColorsEffect : BaseEffect
{
UnaryPixelOp op = new UnaryPixelOps.Invert ();
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/LevelsEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class LevelsEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/PosterizeEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class PosterizeEffect : BaseEffect
{
UnaryPixelOps.PosterizePixel op = null;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Adjustments/SepiaEffect.cs
Expand Up @@ -13,7 +13,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class SepiaEffect : BaseEffect
{
UnaryPixelOp desat = new UnaryPixelOps.Desaturate ();
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/AddNoiseEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class AddNoiseEffect : BaseEffect
{
private int intensity;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/BulgeEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class BulgeEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/CloudsEffect.cs
Expand Up @@ -16,7 +16,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class CloudsEffect : BaseEffect
{
// This is so that repetition of the effect with CTRL+F actually shows up differently.
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/EdgeDetectEffect.cs
Expand Up @@ -16,7 +16,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class EdgeDetectEffect : ColorDifferenceEffect
{
private double[][] weights;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/EmbossEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class EmbossEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/FragmentEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class FragmentEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/FrostedGlassEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class FrostedGlassEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/GaussianBlurEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class GaussianBlurEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/GlowEffect.cs
Expand Up @@ -16,7 +16,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class GlowEffect : BaseEffect
{
private GaussianBlurEffect blurEffect;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/InkSketchEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class InkSketchEffect : BaseEffect
{
private static readonly int[][] conv;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/JuliaFractalEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class JuliaFractalEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/MandelbrotFractalEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class MandelbrotFractalEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/MedianEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class MedianEffect : LocalHistogramEffect
{
private int radius;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/MotionBlurEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class MotionBlurEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/OilPaintingEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class OilPaintingEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/OutlineEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class OutlineEffect : LocalHistogramEffect
{
private int thickness;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/PencilSketchEffect.cs
Expand Up @@ -16,7 +16,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class PencilSketchEffect : BaseEffect
{
private GaussianBlurEffect blurEffect;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/PixelateEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class PixelateEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/PolarInversionEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class PolarInversionEffect : WarpEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/RadialBlurEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class RadialBlurEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/RedEyeRemoveEffect.cs
Expand Up @@ -16,7 +16,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class RedEyeRemoveEffect : BaseEffect
{
private UnaryPixelOp op;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/ReduceNoiseEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class ReduceNoiseEffect : LocalHistogramEffect
{
private int radius;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/ReliefEffect.cs
Expand Up @@ -14,7 +14,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class ReliefEffect : ColorDifferenceEffect
{
public ReliefEffect () {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/SharpenEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class SharpenEffect : LocalHistogramEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/SoftenPortraitEffect.cs
Expand Up @@ -43,7 +43,7 @@ THE SOFTWARE.

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class SoftenPortraitEffect : BaseEffect
{
private GaussianBlurEffect blurEffect;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/TileEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class TileEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/TwistEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class TwistEffect : BaseEffect
{
public override string Icon {
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/UnfocusEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class UnfocusEffect : LocalHistogramEffect
{
private int radius;
Expand Down
2 changes: 1 addition & 1 deletion Pinta.Effects/Effects/ZoomBlurEffect.cs
Expand Up @@ -15,7 +15,7 @@

namespace Pinta.Effects
{
[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
//[System.ComponentModel.Composition.Export (typeof (BaseEffect))]
public class ZoomBlurEffect : BaseEffect
{
public override string Icon {
Expand Down
11 changes: 3 additions & 8 deletions Pinta.Effects/Pinta.Effects.csproj
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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>
Expand Down Expand Up @@ -36,7 +36,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\bin\Extensions\</OutputPath>
<OutputPath>..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -46,7 +46,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\bin\Extensions\</OutputPath>
<OutputPath>..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -129,11 +129,6 @@
<Name>Pinta.Gui.Widgets</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\System.ComponentModel.Composition\System.ComponentModel.Composition.csproj">
<Project>{1BBA5101-D4F0-48B8-A5D6-7B23A099DCE3}</Project>
<Name>System.ComponentModel.Composition</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit 078e689

Please sign in to comment.