From 2b087282dd73152d21140ea7312a90e046c84f61 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 2 Feb 2016 12:19:06 +0100 Subject: [PATCH] Fix CRLF --- Crow.csproj | 448 ++-- Crow.sln | 96 +- Crow.userprefs | 31 +- GOMLViewer/packages.config | 6 +- Properties/AssemblyInfo.cs | 72 +- Templates/AnalogMeter0.goml | 8 +- Templates/ArrowButTemplate.crow | 26 +- Templates/Button.crow | 26 +- Templates/CheckBox.goml | 16 +- Templates/Checkbox2.goml | 8 +- Templates/ComboBox.goml | 18 +- Templates/ComboBoxOverlay.goml | 12 +- Templates/Expandable.goml | 20 +- Templates/ItemTemplate.goml | 14 +- Templates/ListBox.goml | 18 +- Templates/Popper.goml | 12 +- Templates/RadioButton.goml | 8 +- Templates/ScrollBar.goml | 30 +- Templates/Slider.goml | 2 +- Templates/Window.goml | 38 +- Templates/imgItemTemplate.goml | 16 +- Templates/tmpDirItem.goml | 22 +- Tests/GOLIBTest_0.cs | 174 +- Tests/GOLIBTest_4.cs | 524 ++-- Tests/GOLIBTest_5.cs | 132 +- Tests/GOLIBTest_DirViewer.cs | 218 +- Tests/GOLIBTest_Listbox.cs | 254 +- Tests/GOLIBTest_TypeViewer.cs | 168 +- Tests/GOLIBTest_Window.cs | 248 +- Tests/GOLIBTest_deviceOffset.cs | 174 +- Tests/GOLIBTests.cs | 388 +-- Tests/IValueChange.cs | 40 +- Tests/Interfaces/fps.goml | 46 +- Tests/Interfaces/itemTmp.goml | 16 +- Tests/Interfaces/test1.1.goml | 28 +- Tests/Interfaces/test1.2.goml | 38 +- Tests/Interfaces/test1.goml | 16 +- Tests/Interfaces/test2.goml | 16 +- Tests/Interfaces/test3.goml | 16 +- Tests/Interfaces/test4.1.goml | 194 +- Tests/Interfaces/test4.goml | 336 +-- Tests/Interfaces/test5.goml | 90 +- Tests/Interfaces/test7.goml | 34 +- Tests/Interfaces/testAll.goml | 90 +- Tests/Interfaces/testBorder.goml | 8 +- Tests/Interfaces/testCheckbox.goml | 6 +- Tests/Interfaces/testCombobox.goml | 2 +- Tests/Interfaces/testContainer.goml | 12 +- Tests/Interfaces/testExpandable.goml | 26 +- Tests/Interfaces/testGrid.goml | 12 +- Tests/Interfaces/testGroupBox.goml | 8 +- Tests/Interfaces/testHStack.goml | 38 +- Tests/Interfaces/testLabel.goml | 10 +- Tests/Interfaces/testPopper.goml | 32 +- Tests/Interfaces/testRadioButton.goml | 16 +- Tests/Interfaces/testRadioButton2.goml | 30 +- Tests/Interfaces/testScrollbar.goml | 8 +- Tests/Interfaces/testSpinner.goml | 20 +- Tests/Interfaces/testWindow.goml | 100 +- Tests/Interfaces/testWindow.goml.sav | 50 +- Tests/Interfaces/testWindow2.goml | 52 +- Tests/Interfaces/testWindow3.goml | 22 +- Tests/Interfaces/test_Listbox.goml | 52 +- Tests/Interfaces/test_stack.goml | 50 +- Tests/Interfaces/tmpDirItem.goml | 22 +- Tests/Interfaces/tmpMembers.goml | 18 +- UnitTest/NUnitCrowWindow.cs | 910 +++---- src/Cairo/CairoHelpers.cs | 238 +- src/Colors.cs | 2144 ++++++++--------- src/DynAttribute.cs | 28 +- src/Enums.cs | 136 +- src/GraphicObjects/Button.cs | 210 +- src/GraphicObjects/CheckBox.cs | 188 +- src/GraphicObjects/ComboBox.cs | 730 +++--- src/GraphicObjects/Container.cs | 156 +- src/GraphicObjects/Expandable.cs | 260 +- src/GraphicObjects/GenericStack.cs | 356 +-- src/GraphicObjects/GraduatedSlider.cs | 108 +- src/GraphicObjects/GraphicObject.cs | 2762 +++++++++++----------- src/GraphicObjects/Grid.cs | 298 +-- src/GraphicObjects/Group.cs | 634 ++--- src/GraphicObjects/GroupBox.cs | 136 +- src/GraphicObjects/HorizontalStack.cs | 46 +- src/GraphicObjects/Image.cs | 230 +- src/GraphicObjects/Label.cs | 1358 +++++------ src/GraphicObjects/Popper.cs | 376 +-- src/GraphicObjects/ProgressBar.cs | 208 +- src/GraphicObjects/RadioButton.cs | 186 +- src/GraphicObjects/ScrollBar.cs | 194 +- src/GraphicObjects/Scroller.cs | 454 ++-- src/GraphicObjects/Slider.cs | 398 ++-- src/GraphicObjects/TextBox.cs | 404 ++-- src/GraphicObjects/TextRun.cs | 666 +++--- src/GraphicObjects/VerticalStack.cs | 50 +- src/GraphicObjects/WrappedWidgetGroup.cs | 308 +-- src/OpenTKGameWindow.cs | 1170 ++++----- src/Point.cs | 292 +-- src/Rectangle.cs | 518 ++-- src/Rectangles.cs | 408 ++-- src/Size.cs | 292 +-- src/win32/Win32.cs | 124 +- src/win32/winApi.cs | 2476 +++++++++---------- 102 files changed, 12103 insertions(+), 12130 deletions(-) diff --git a/Crow.csproj b/Crow.csproj index 26f028c1..498e7feb 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -1,224 +1,224 @@ - - - - Debug - - {C2980F9B-4798-4C05-99E2-E174810F7C7B} - Library - Properties - Crow - Crow - 512 - True - False - False - bin\$(Configuration) - obj\$(Configuration) - 4 - False - false - False - OnBuildSuccess - 8.0.30703 - 2.0 - v4.5 - AnyCPU - 0.2 - false - - - true - TRACE;DEBUG;__linux__ - False - true - Full - 4194304 - - - __linux__ - True - False - None - 4194304 - - - bin\Release - - - bin\Debug - TRACE;DEBUG;__linux__;DEBUG_LOAD_TIME0;DEBUG_LAYOUTING0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - glib-sharp-3.0 - - - - ..\opentk\Binaries\OpenTK\Release\OpenTK.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Debug + + {C2980F9B-4798-4C05-99E2-E174810F7C7B} + Library + Properties + Crow + Crow + 512 + True + False + False + bin\$(Configuration) + obj\$(Configuration) + 4 + False + false + False + OnBuildSuccess + 8.0.30703 + 2.0 + v4.5 + AnyCPU + 0.2 + false + + + true + TRACE;DEBUG;__linux__ + False + true + Full + 4194304 + + + __linux__ + True + False + None + 4194304 + + + bin\Release + + + bin\Debug + TRACE;DEBUG;__linux__;DEBUG_LOAD_TIME0;DEBUG_LAYOUTING0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + glib-sharp-3.0 + + + + ..\opentk\Binaries\OpenTK\Release\OpenTK.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow.sln b/Crow.sln index 17b8e4a7..794d208c 100644 --- a/Crow.sln +++ b/Crow.sln @@ -1,48 +1,48 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crow", "Crow.csproj", "{C2980F9B-4798-4C05-99E2-E174810F7C7B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{74289092-9F70-4941-AFCB-DFD7BE2140B6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.GOLib", "MonoDevelop.GOLib\MonoDevelop.GOLib.csproj", "{E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Diagram", "..\MonoDevelop.Diagram\MonoDevelop.Diagram.csproj", "{232716B4-D19D-4FD7-B310-94A98FD926F0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Linux_x86 = Debug|Linux_x86 - Release|Linux_x86 = Release|Linux_x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {232716B4-D19D-4FD7-B310-94A98FD926F0}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU - {232716B4-D19D-4FD7-B310-94A98FD926F0}.Release|Linux_x86.ActiveCfg = Debug|Any CPU - {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU - {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Debug|Linux_x86.Build.0 = Debug|Any CPU - {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Linux_x86.ActiveCfg = Release|Any CPU - {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Linux_x86.Build.0 = Release|Any CPU - {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU - {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Debug|Linux_x86.Build.0 = Debug|Any CPU - {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Release|Linux_x86.ActiveCfg = Release|Any CPU - {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Release|Linux_x86.Build.0 = Release|Any CPU - {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU - {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Linux_x86.Build.0 = Debug|Any CPU - {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Linux_x86.ActiveCfg = Release|Any CPU - {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Linux_x86.Build.0 = Release|Any CPU - {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU - {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Debug|Linux_x86.Build.0 = Debug|Any CPU - {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Release|Linux_x86.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(MonoDevelopProperties) = preSolution - Policies = $0 - $0.StandardHeader = $1 - $1.Text = @ \n ${FileName}\n \n Author:\n ${AuthorName} <${AuthorEmail}>\n\n Copyright (c) ${Year} ${CopyrightHolder}\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see . - $1.IncludeInNewFiles = True - $0.DotNetNamingPolicy = $2 - $2.DirectoryNamespaceAssociation = None - $2.ResourceNamePolicy = FileFormatDefault - version = 0.2 - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crow", "Crow.csproj", "{C2980F9B-4798-4C05-99E2-E174810F7C7B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{74289092-9F70-4941-AFCB-DFD7BE2140B6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.GOLib", "MonoDevelop.GOLib\MonoDevelop.GOLib.csproj", "{E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoDevelop.Diagram", "..\MonoDevelop.Diagram\MonoDevelop.Diagram.csproj", "{232716B4-D19D-4FD7-B310-94A98FD926F0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Linux_x86 = Debug|Linux_x86 + Release|Linux_x86 = Release|Linux_x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {232716B4-D19D-4FD7-B310-94A98FD926F0}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU + {232716B4-D19D-4FD7-B310-94A98FD926F0}.Release|Linux_x86.ActiveCfg = Debug|Any CPU + {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU + {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Debug|Linux_x86.Build.0 = Debug|Any CPU + {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Linux_x86.ActiveCfg = Release|Any CPU + {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Linux_x86.Build.0 = Release|Any CPU + {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU + {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Debug|Linux_x86.Build.0 = Debug|Any CPU + {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Release|Linux_x86.ActiveCfg = Release|Any CPU + {7BAE4448-E8F4-48B3-BB11-FA78E7F4506B}.Release|Linux_x86.Build.0 = Release|Any CPU + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Linux_x86.Build.0 = Debug|Any CPU + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Linux_x86.ActiveCfg = Release|Any CPU + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Linux_x86.Build.0 = Release|Any CPU + {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Debug|Linux_x86.ActiveCfg = Debug|Any CPU + {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Debug|Linux_x86.Build.0 = Debug|Any CPU + {E9E14DB5-3C67-4E01-B5C3-4D90D7E31A2E}.Release|Linux_x86.ActiveCfg = Release|Any CPU + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + Policies = $0 + $0.StandardHeader = $1 + $1.Text = @ \n ${FileName}\n \n Author:\n ${AuthorName} <${AuthorEmail}>\n\n Copyright (c) ${Year} ${CopyrightHolder}\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see . + $1.IncludeInNewFiles = True + $0.DotNetNamingPolicy = $2 + $2.DirectoryNamespaceAssociation = None + $2.ResourceNamePolicy = FileFormatDefault + version = 0.2 + EndGlobalSection +EndGlobal diff --git a/Crow.userprefs b/Crow.userprefs index 9099d9dc..f3fbc68e 100644 --- a/Crow.userprefs +++ b/Crow.userprefs @@ -1,35 +1,8 @@  - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/GOMLViewer/packages.config b/GOMLViewer/packages.config index 6fb08468..f853e235 100644 --- a/GOMLViewer/packages.config +++ b/GOMLViewer/packages.config @@ -1,4 +1,4 @@ - - - + + + \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index e86ad8ec..277667d7 100755 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -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("")] - -// 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)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("150376dc-e648-46a2-b692-6429d0a62362")] - -// 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")] +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("")] + +// 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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("150376dc-e648-46a2-b692-6429d0a62362")] + +// 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/Templates/AnalogMeter0.goml b/Templates/AnalogMeter0.goml index e3259f6d..8187aac4 100755 --- a/Templates/AnalogMeter0.goml +++ b/Templates/AnalogMeter0.goml @@ -1,5 +1,5 @@ - - - - + + + + \ No newline at end of file diff --git a/Templates/ArrowButTemplate.crow b/Templates/ArrowButTemplate.crow index b1ba7796..94f717d7 100755 --- a/Templates/ArrowButTemplate.crow +++ b/Templates/ArrowButTemplate.crow @@ -1,14 +1,14 @@ - - - + + + \ No newline at end of file diff --git a/Templates/Button.crow b/Templates/Button.crow index f33db837..d95244d5 100755 --- a/Templates/Button.crow +++ b/Templates/Button.crow @@ -1,14 +1,14 @@ - - - - -