Browse Source

indentation and cosmetic fixes, also .gitignore

pull/1/head
Andreia Gaita 15 years ago
parent
commit
eb3e32d163
  1. 16
      .gitignore
  2. 1
      build/Mono.VisualC.Code.dll
  3. 1
      build/Mono.VisualC.Code.dll.mdb
  4. 1
      build/Mono.VisualC.Interop.dll
  5. 1
      build/Mono.VisualC.Interop.dll.mdb
  6. 1
      build/generator
  7. 1
      build/generator.exe
  8. 1
      build/generator.exe.mdb
  9. 43
      src/CPPInterop.sln
  10. 2
      src/CPPTestLib/CPPTestLib.cproj
  11. 7
      src/Mono.VisualC.Code/Mono.VisualC.Code.csproj
  12. 7
      src/Mono.VisualC.Interop/Mono.VisualC.Interop.csproj
  13. 7
      src/QtBindings/QtBindings.csproj
  14. 7
      src/QtTest/QtTest.csproj
  15. 7
      src/Tests/Tests.csproj
  16. 1866
      src/generator/Main.cs
  17. 1
      tests/Mono.VisualC.Code.dll
  18. 1
      tests/Mono.VisualC.Code.dll.mdb
  19. 1
      tests/Mono.VisualC.Interop.dll
  20. 1
      tests/Mono.VisualC.Interop.dll.mdb
  21. 1
      tests/generator.exe
  22. 1
      tests/generator.exe.mdb
  23. 16
      tests/output/Lib_Lib.cs
  24. BIN
      tests/qttests/bin/Debug/Mono.VisualC.Code.dll
  25. BIN
      tests/qttests/bin/Debug/Mono.VisualC.Code.dll.mdb
  26. BIN
      tests/qttests/bin/Debug/Mono.VisualC.Interop.dll
  27. BIN
      tests/qttests/bin/Debug/Mono.VisualC.Interop.dll.mdb
  28. 7
      tests/qttests/qttests.csproj
  29. BIN
      tests/qttests/qttests.pidb

16
.gitignore vendored

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
*.pidb
configure
install-sh
aclocal.m4
config.status
config.log
autom4te.cache
missing
*Makefile
*Makefile.in
*.dll
*.exe
bin/
*.userprefs
tests/output
src/generator/generator

1
build/Mono.VisualC.Code.dll

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll

1
build/Mono.VisualC.Code.dll.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll.mdb

1
build/Mono.VisualC.Interop.dll

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll

1
build/Mono.VisualC.Interop.dll.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll.mdb

1
build/generator

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/generator/bin/Debug/generator

1
build/generator.exe

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/generator/bin/Debug/generator.exe

1
build/generator.exe.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/generator/bin/Debug/generator.exe.mdb

43
src/CPPInterop.sln

@ -23,23 +23,22 @@ Global @@ -23,23 +23,22 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.Build.0 = Release|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Release|Any CPU.Build.0 = Release|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Any CPU.Build.0 = Release|Any CPU
{3EE6B50E-58FB-4391-AF01-3FCB1A29B0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3EE6B50E-58FB-4391-AF01-3FCB1A29B0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3EE6B50E-58FB-4391-AF01-3FCB1A29B0D7}.Release|Any CPU.Build.0 = Release|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.Build.0 = Release|Any CPU
{66212CA6-B8C2-4307-ADDE-DAFEAAB339B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{66212CA6-B8C2-4307-ADDE-DAFEAAB339B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66212CA6-B8C2-4307-ADDE-DAFEAAB339B9}.Release|Any CPU.Build.0 = Release|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Release|Any CPU.Build.0 = Release|Any CPU
{A22BF9D9-BBCB-4462-BE08-0F4D5280B180}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A22BF9D9-BBCB-4462-BE08-0F4D5280B180}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A22BF9D9-BBCB-4462-BE08-0F4D5280B180}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -48,21 +47,15 @@ Global @@ -48,21 +47,15 @@ Global
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Any CPU.Build.0 = Release|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8DBA7E4A-7736-499A-85AC-0524535B880A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B01E6282-144E-481A-8E1F-95F708DFBC2D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = QtTest\QtTest.csproj
Policies = $0
$0.TextStylePolicy = $1
$1.NoTabsAfterNonTabs = True
$1.RemoveTrailingWhitespace = True
$1.inheritsSet = Mono
$1.inheritsScope = text/plain
$1.inheritsSet = null
$1.scope = text/x-csharp
$0.CSharpFormattingPolicy = $2
$2.NamespaceBraceStyle = EndOfLine
@ -70,12 +63,22 @@ Global @@ -70,12 +63,22 @@ Global
$2.InterfaceBraceStyle = EndOfLine
$2.StructBraceStyle = EndOfLine
$2.EnumBraceStyle = EndOfLine
$2.SpacesAfterTypecast = True
$2.inheritsSet = Mono
$2.inheritsScope = text/x-csharp
$2.scope = text/x-csharp
$0.StandardHeader = $3
$3.Text =
$3.inheritsSet = Apache2License
$0.TextStylePolicy = $4
$4.FileWidth = 120
$4.TabWidth = 4
$4.RemoveTrailingWhitespace = True
$4.inheritsSet = Mono
$4.inheritsScope = text/plain
$4.scope = text/plain
name = CPPInterop
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

2
src/CPPTestLib/CPPTestLib.cproj

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

7
src/Mono.VisualC.Code/Mono.VisualC.Code.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -91,11 +91,6 @@ @@ -91,11 +91,6 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" />
</MonoDevelop>
</ProjectExtensions>
<ItemGroup>
<ProjectReference Include="..\Mono.VisualC.Interop\Mono.VisualC.Interop.csproj">
<Project>{4A864586-93C5-4DC1-8A80-F094A88506D7}</Project>

7
src/Mono.VisualC.Interop/Mono.VisualC.Interop.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -101,9 +101,4 @@ @@ -101,9 +101,4 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" />
</MonoDevelop>
</ProjectExtensions>
</Project>

7
src/QtBindings/QtBindings.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -100,9 +100,4 @@ @@ -100,9 +100,4 @@
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" />
</MonoDevelop>
</ProjectExtensions>
</Project>

7
src/QtTest/QtTest.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -60,11 +60,6 @@ @@ -60,11 +60,6 @@
<Compile Include="AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" />
</MonoDevelop>
</ProjectExtensions>
<ItemGroup>
<ProjectReference Include="..\QtBindings\QtBindings.csproj">
<Project>{66212CA6-B8C2-4307-ADDE-DAFEAAB339B9}</Project>

7
src/Tests/Tests.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -72,11 +72,6 @@ @@ -72,11 +72,6 @@
<Compile Include="Support\VirtualMethodTestClass.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" />
</MonoDevelop>
</ProjectExtensions>
<ItemGroup>
<ProjectReference Include="..\CPPTestLib\CPPTestLib.cproj">
<Project>{B01E6282-144E-481A-8E1F-95F708DFBC2D}</Project>

1866
src/generator/Main.cs

File diff suppressed because it is too large Load Diff

1
tests/Mono.VisualC.Code.dll

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll

1
tests/Mono.VisualC.Code.dll.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll.mdb

1
tests/Mono.VisualC.Interop.dll

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll

1
tests/Mono.VisualC.Interop.dll.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll.mdb

1
tests/generator.exe

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/generator/bin/Debug/generator.exe

1
tests/generator.exe.mdb

@ -1 +0,0 @@ @@ -1 +0,0 @@
../src/generator/bin/Debug/generator.exe.mdb

16
tests/output/Lib_Lib.cs

@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
// ------------------------------------------------------------------------------
namespace Wrappers {
internal sealed partial class Libs {
public static Mono.VisualC.Interop.CppLibrary Lib = new Mono.VisualC.Interop.CppLibrary("Lib");
}
}

BIN
tests/qttests/bin/Debug/Mono.VisualC.Code.dll

Binary file not shown.

BIN
tests/qttests/bin/Debug/Mono.VisualC.Code.dll.mdb

Binary file not shown.

BIN
tests/qttests/bin/Debug/Mono.VisualC.Interop.dll

Binary file not shown.

BIN
tests/qttests/bin/Debug/Mono.VisualC.Interop.dll.mdb

Binary file not shown.

7
tests/qttests/qttests.csproj

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -96,9 +96,4 @@ @@ -96,9 +96,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<MonoDevelop>
<Properties InternalTargetFrameworkVersion="3.5" xmlns="" />
</MonoDevelop>
</ProjectExtensions>
</Project>

BIN
tests/qttests/qttests.pidb

Binary file not shown.
Loading…
Cancel
Save