]> O.S.I.I.S - jp/crow.git/commitdiff
Assebly signature
authorjpbruyere <jp.bruyere@hotmail.com>
Mon, 17 Oct 2016 09:17:34 +0000 (11:17 +0200)
committerjpbruyere <jp.bruyere@hotmail.com>
Mon, 17 Oct 2016 09:17:34 +0000 (11:17 +0200)
modifié :         Crow.csproj
modifié :         Crow.sln
modifié :         Properties/AssemblyInfo.cs
nouveau fichier : crow.key
modifié :         src/Colors.cs
modifié :         src/GraphicObjects/Popper.cs

Crow.csproj
Crow.sln
Properties/AssemblyInfo.cs
crow.key [new file with mode: 0644]
src/Colors.cs
src/GraphicObjects/Popper.cs

index 58eed914982ed6eb48f3bfb76713cba0913dfb33..5eba59f870b8182145f9078b6ae9dc54ff47731d 100644 (file)
     <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
     <WarningLevel>4</WarningLevel>
     <NoWin32Manifest>False</NoWin32Manifest>
-    <SignAssembly>false</SignAssembly>
+    <SignAssembly>true</SignAssembly>
     <DelaySign>False</DelaySign>
     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
     <Description>C# Rapid Open Widget</Description>
     <BaseAddress>4194304</BaseAddress>
-    <ReleaseVersion>0.4</ReleaseVersion>
+    <ReleaseVersion>0.5</ReleaseVersion>
     <ProductVersion>8.0.30703</ProductVersion>
     <SchemaVersion>2.0</SchemaVersion>
     <OutputPath>$(SolutionDir)build\$(Configuration)</OutputPath>
     <IntermediateOutputPath>$(SolutionDir)build\obj\$(Configuration)</IntermediateOutputPath>
+    <AssemblyOriginatorKeyFile>crow.key</AssemblyOriginatorKeyFile>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
     <Compile Include="src\GraphicObjects\MenuItem.cs" />
     <Compile Include="src\GraphicObjects\Menu.cs" />
     <Compile Include="src\Command.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Xml" />
     <Reference Include="Microsoft.CSharp" />
     <Reference Include="System.Drawing" />
-    <Reference Include="cairo-sharp">
-      <Package>GtkSharp.3.1.3</Package>
-    </Reference>
-    <Reference Include="gdk-sharp">
-      <Package>GtkSharp.3.1.3</Package>
-    </Reference>
-    <Reference Include="gio-sharp">
-      <Package>GtkSharp.3.1.3</Package>
-    </Reference>
-    <Reference Include="glib-sharp">
-      <Package>GtkSharp.3.1.3</Package>
-    </Reference>
+    <Reference Include="cairo-sharp" />
+    <Reference Include="gdk-sharp" />
+    <Reference Include="gio-sharp" />
+    <Reference Include="glib-sharp" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
index 725fe4ec0b05751aebacf2b1237a3409234bf6ca..42a17a0991ed88fa08d538ae37ed0dfa9160d6cd 100644 (file)
--- a/Crow.sln
+++ b/Crow.sln
@@ -48,6 +48,6 @@ Global
                $6.Wrap = False
                $5.inheritsSet = Mono
                description = @C.R.O.W. c# Rapid Open Widgets\n\nCrow is a pure c# widget toolkit with XML definition of interface, bindings, styling...\n
-               version = 0.4
+               version = 0.5
        EndGlobalSection
 EndGlobal
index 277667d7d508a335406c2567adc067a894a17bb3..96e0ccecf5838c7fe3096a4f685ed4d2a19caf5e 100755 (executable)
@@ -1,36 +1,47 @@
-using System.Reflection;
+//
+//  AssemblyInfo.cs
+//
+//  Author:
+//       Jean-Philippe Bruyère <jp.bruyere@hotmail.com>
+//
+//  Copyright (c) 2016 jp
+//
+//  This program is free software: you can redistribute it and/or modify
+//  it under the terms of the GNU General Public License as published by
+//  the Free Software Foundation, either version 3 of the License, or
+//  (at your option) any later version.
+//
+//  This program is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+//  GNU General Public License for more details.
+//
+//  You should have received a copy of the GNU General Public License
+//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+using System.Reflection;
 using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("golib")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("golib")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
+// Information about this assembly is defined by the following attributes.
+// Change them to the values specific to your project.
 
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
+[assembly: AssemblyTitle ("Crow")]
+[assembly: AssemblyDescription ("C# Rapid Open Widgets")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("Grand Tetra Software")]
+[assembly: AssemblyProduct ("Crow")]
+[assembly: AssemblyCopyright ("Copyright (c) 2016 - Jean-Philippe Bruyère <jp_bruyere@hotmail.com>")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("en-US")]
 
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("150376dc-e648-46a2-b692-6429d0a62362")]
+// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
+// The form "{Major}.{Minor}.*" will automatically update the build and revision,
+// and "{Major}.{Minor}.{Build}.*" will update just the revision.
+
+[assembly: AssemblyVersion ("0.5.*")]
+
+// The following attributes are used to specify the signing key for the assembly,
+// if desired. See the Mono documentation for more information about signing.
+
+//[assembly: AssemblyDelaySign(false)]
+[assembly: AssemblyKeyFile("crow.key")]
 
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// 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("1.0.0.1")]
-[assembly: AssemblyFileVersion("1.0.0.1")]
diff --git a/crow.key b/crow.key
new file mode 100644 (file)
index 0000000..b69aa3e
Binary files /dev/null and b/crow.key differ
index e928f37722e8cfb7ed93e3aa2a43ea0f85b528a3..6787c382a3e9af6b03e50d06fa72bee853a7c11d 100644 (file)
@@ -10,6 +10,9 @@ using System.Diagnostics;
 
 namespace Crow
 {
+       /// <summary>
+       /// Universal Color structure
+       /// </summary>
        public struct Color
     {
                #region CTOR
index 1bfdf19ce89e5c14590ad1a7dd18d7c83571e078..669b8d7f78f7cdf975e09e97ef5936690d8972c9 100644 (file)
@@ -119,7 +119,7 @@ namespace Crow
 
                protected void _content_LayoutChanged (object sender, LayoutingEventArgs e)
                {
-                       ILayoutable tc = Content.Parent as ILayoutable;
+                       ILayoutable tc = Content.Parent;
                        if (tc == null)
                                return;
                        Rectangle r = this.ScreenCoordinates (this.Slot);