Skip to content

Commit

Permalink
Remove System.ComponentModel.Composition dependency, so we can run on…
Browse files Browse the repository at this point in the history
… Mono 2.4.
  • Loading branch information
jpobst committed Nov 2, 2010
1 parent 396ec59 commit 4210efd
Show file tree
Hide file tree
Showing 74 changed files with 171 additions and 107 deletions.
7 changes: 3 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ 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
$(BINDIR)/Pinta.Effects.dll \
$(BINDIR)/Pinta.Tools.dll

RELEASE_FILE = $(PACKAGE)-$(VERSION)

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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
7 changes: 1 addition & 6 deletions Pinta.Effects/Pinta.Effects.csproj
Original file line number Diff line number Diff line change
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 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
Loading

0 comments on commit 4210efd

Please sign in to comment.