Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Merge branch 'gitUpdateAssemblyInfo4'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Aug 27, 2010
2 parents ac4922f + b27c4aa commit 6eceaaa
Show file tree
Hide file tree
Showing 26 changed files with 1,211 additions and 811 deletions.
1,018 changes: 1,018 additions & 0 deletions doc/ChangeLog.template.html

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions src/AddIns/Misc/StartPage/Project/Src/StartPageControl.xaml
Expand Up @@ -74,9 +74,7 @@
Grid.Row="2"
Padding="4,0,4,0"
TextWrapping="WrapWithOverflow">
Copyright ©<Run Name="copyrightYearRange"/>
<Hyperlink
NavigateUri="mailto:webmaster@icsharpcode.net">IC#SharpCode</Hyperlink>
Copyright ©<Run Name="copyrightText"/>
<Run Text=" "/>
<Run
Text="{x:Static gui:AboutSharpDevelopTabPage.LicenseSentence}" />
Expand Down
Expand Up @@ -11,6 +11,7 @@
using System.Windows.Controls;

using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;

namespace ICSharpCode.StartPage
{
Expand All @@ -27,8 +28,8 @@ public StartPageControl()
List<BoxEntry> entries = items.ConvertAll(control => new BoxEntry { Control = control } );
startPageItems.ItemsSource = entries;

var aca = (AssemblyCopyrightAttribute)typeof(StartPageControl).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0];
copyrightYearRange.Text = aca.Copyright.Substring(0, 9);
var aca = (AssemblyCopyrightAttribute)typeof(CommonAboutDialog).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0];
copyrightText.Text = aca.Copyright;
}

sealed class BoxEntry
Expand Down
17 changes: 6 additions & 11 deletions src/Automated.proj
Expand Up @@ -11,7 +11,7 @@
<SharpDevelopSrc>$(ProjectDir)\src</SharpDevelopSrc>
<SharpDevelopBin>$(ProjectDir)\bin</SharpDevelopBin>
<MSBuildCommunityTasksPath>$(MSBuildProjectDirectory)\Tools\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
<ArtefactPrefix>SharpDevelop_4.0.0.</ArtefactPrefix>
<ArtefactPrefix>SharpDevelop_</ArtefactPrefix>
<NUnitToolPath>$(MSBuildProjectDirectory)\Tools\NUnit</NUnitToolPath>
<NUnitTempToolPath>$(SharpDevelopBin)\Tools\x86NUnit</NUnitTempToolPath>
<ProfilerSrc>$(SharpDevelopSrc)\AddIns\Misc\Profiler</ProfilerSrc>
Expand Down Expand Up @@ -57,13 +57,11 @@
Targets="PrepareRelease"
Properties="Configuration=Release"/>

<!-- read content of REVISION into $(BuildNumer) -->
<ReadLinesFromFile File="$(ProjectDir)\REVISION">
<Output TaskParameter="Lines" ItemName="REVISIONLines"/>
</ReadLinesFromFile>
<CreateProperty Value="@(REVISIONLines)">
<Output TaskParameter="Value" PropertyName="BuildNumber"/>
</CreateProperty>
<!-- read content of REVISION into $(BuildNumber) -->
<XmlRead XPath="/versionInfo/version"
XmlFileName="$(ProjectDir)\REVISION">
<Output TaskParameter="Value" PropertyName="BuildNumber" />
</XmlRead>
<Message Importance="high" Text="BuildNumber=$(BuildNumber)"/>

<Copy SourceFiles="$(ProjectDir)\REVISION"
Expand Down Expand Up @@ -122,9 +120,6 @@
</Target>

<Target Name="createsetup">
<Exec WorkingDirectory="$(SharpDevelopSrc)\Tools\UpdateSetupInfo\bin\"
Command="UpdateSetupInfo.exe"/>

<Exec WorkingDirectory="$(SharpDevelopSrc)\Setup"
Command="$(MSBuildExecutable) SharpDevelop.Setup.sln $(BuildProperties)"/>

Expand Down
2 changes: 1 addition & 1 deletion src/Main/Base/Project/Resources/CommonAboutDialog.xfrm
Expand Up @@ -26,7 +26,7 @@

<!-- The copyright label -->
<System.Windows.Forms.Label>
<Text value = "(c) 2000-2010 by icsharpcode.net"/>
<Name value = "copyrightLabel"/>
<Width value = "400"/>
<Height value = "20"/>
<Location value = "{X=8, Y=234}"/>
Expand Down
5 changes: 4 additions & 1 deletion src/Main/Base/Project/Src/Gui/Dialogs/CommonAboutDialog.cs
Expand Up @@ -7,8 +7,9 @@

using System;
using System.Drawing;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Windows.Forms;

using ICSharpCode.Core.WinForms;
using ICSharpCode.SharpDevelop.Gui.XmlForms;

Expand Down Expand Up @@ -132,6 +133,8 @@ public class CommonAboutDialog : XmlForm
public CommonAboutDialog()
{
SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("Resources.CommonAboutDialog.xfrm"));
var aca = (AssemblyCopyrightAttribute)typeof(CommonAboutDialog).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0];
ControlDictionary["copyrightLabel"].Text = "Copyright " + aca.Copyright;
}

protected override void SetupXmlLoader()
Expand Down
4 changes: 4 additions & 0 deletions src/Main/Core/Project/ICSharpCode.Core.csproj
Expand Up @@ -140,4 +140,8 @@
<PropertyGroup>
<PreBuildEvent>..\src\Tools\UpdateAssemblyInfo\bin\Debug\UpdateAssemblyInfo.exe</PreBuildEvent>
</PropertyGroup>
<Target Name="BeforeBuild">
<MSBuild Projects="$(MSBuildProjectDirectory)\..\..\..\Tools\UpdateAssemblyInfo\UpdateAssemblyInfo.csproj" Targets="Build" Properties="Configuration=Debug"/>
<Exec WorkingDirectory="$(MSBuildProjectDirectory)\..\..\..\Tools\UpdateAssemblyInfo\bin\Debug" Command="UpdateAssemblyInfo.exe" />
</Target>
</Project>
4 changes: 2 additions & 2 deletions src/Main/GlobalAssemblyInfo.template
Expand Up @@ -20,7 +20,7 @@ using System.Reflection;
[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: AssemblyCompany("ic#code")]
[assembly: AssemblyProduct("SharpDevelop")]
[assembly: AssemblyCopyright("2000-2010 AlphaSierraPapa")]
[assembly: AssemblyCopyright("2000-$INSERTYEAR$ AlphaSierraPapa for the SharpDevelop Team")]
[assembly: AssemblyVersion(RevisionClass.FullVersion)]
[assembly: NeutralResourcesLanguage("en-US")]

Expand All @@ -29,7 +29,7 @@ internal static class RevisionClass
public const string Major = "4";
public const string Minor = "0";
public const string Build = "0";
public const string Revision = "-INSERTREVISION-";
public const string Revision = "$INSERTREVISION$";

public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
Expand Down
1 change: 1 addition & 0 deletions src/Setup/Files.wxs
Expand Up @@ -442,6 +442,7 @@
<Directory Id="DocFolder" Name="doc">
<Component Guid="9DCED5AC-B771-4A4F-B4FE-69867BF2EBDE" Id="SharpDevelopDocFiles" DiskId="1">
<File Source="..\..\doc\BuiltWithSharpDevelop.png" Id="BuiltWithSharpDevelop.png" Name="BuiltWithSharpDevelop.png" />
<File Source="..\..\doc\ChangeLog.html" Id="ChangeLog.html" Name="ChangeLog.html" />
<File Source="..\..\doc\copyright.txt" Id="copyright.txt" Name="copyright.txt" />
<File Source="..\..\doc\license.txt" Name="license.txt" Id="DocFolderLicense.txt" />
<File Source="..\..\doc\readme.rtf" Name="readme.rtf" Id="readme.rtf" />
Expand Down
6 changes: 0 additions & 6 deletions src/Setup/SharpDevelop.Setup.wixproj.user

This file was deleted.

2 changes: 1 addition & 1 deletion src/Setup/SharpDevelop.Setup.wixproj.user.template
@@ -1,6 +1,6 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<SetupProductBuildVersion>$INSERTPRODUCTBUILDVERSION$</SetupProductBuildVersion>
<SetupProductBuildVersion>$INSERTREVISION$</SetupProductBuildVersion>
<DefineConstants>PRODUCTBUILDVERSION=$(SetupProductBuildVersion)</DefineConstants>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Setup/buildSetup.bat
@@ -1,4 +1,4 @@
del "bin\SharpDevelop.msi"
"..\Tools\UpdateSetupInfo\bin\UpdateSetupInfo.exe"
"..\Tools\UpdateAssemblyInfo\bin\Debug\UpdateAssemblyInfo.exe"
%windir%\microsoft.net\framework\v4.0.30319\msbuild SharpDevelop.Setup.sln "/p:SharpDevelopBinPath=%CD%\..\..\bin"
@IF %ERRORLEVEL% NEQ 0 PAUSE
118 changes: 0 additions & 118 deletions src/Tools/SVNChangeLogToXml/Main.cs

This file was deleted.

61 changes: 0 additions & 61 deletions src/Tools/SVNChangeLogToXml/SVNChangelogToXml.csproj

This file was deleted.

1 change: 0 additions & 1 deletion src/Tools/SVNChangeLogToXml/SVNChangelogToXml.csproj.user

This file was deleted.

18 changes: 0 additions & 18 deletions src/Tools/SVNChangeLogToXml/SVNChangelogToXml.sln

This file was deleted.

0 comments on commit 6eceaaa

Please sign in to comment.