Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Compile error fixes for the Compact Framework. Also, switch to using the .NET Framework 4.0 Client Profile where applicable. Fix for ticket [566f1ad1e4]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f2b84d6d25a01608763c20b3956db841 |
User & Date: | mistachkin 2011-10-20 14:04:17.214 |
Original Comment: | Compile error fixes for the Compact Framework. Also, switch to using the .NET Framework 4.0 Client Profile where applicable. |
References
2011-10-20
| ||
14:05 | • Closed ticket [566f1ad1e4]: .NET 4.0 Client Profile plus 2 other changes artifact: 0654a151eb user: mistachkin | |
Context
2011-10-23
| ||
02:32 | Add more testing of the SQLiteConnection.ChangePassword method. check-in: b0f8d0fe4e user: mistachkin tags: trunk | |
2011-10-20
| ||
14:04 | Compile error fixes for the Compact Framework. Also, switch to using the .NET Framework 4.0 Client Profile where applicable. Fix for ticket [566f1ad1e4]. check-in: f2b84d6d25 user: mistachkin tags: trunk | |
2011-10-18
| ||
03:23 | Add an example MDA configuration file for Eagle suitable for use with the test suite. check-in: 7bade0d7b1 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite.Linq/System.Data.SQLite.Linq.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite.Linq</RootNamespace> <AssemblyName>System.Data.SQLite.Linq</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite.Linq</RootNamespace> <AssemblyName>System.Data.SQLite.Linq</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile> |
︙ | ︙ |
Changes to System.Data.SQLite/SQLite3.cs.
︙ | ︙ | |||
428 429 430 431 432 433 434 | internal override void Bind_DateTime(SQLiteStatement stmt, int index, DateTime dt) { switch (_datetimeFormat) { case SQLiteDateFormats.Ticks: { | > > > | > > > > > > | > > > > > > | > > > | 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | internal override void Bind_DateTime(SQLiteStatement stmt, int index, DateTime dt) { switch (_datetimeFormat) { case SQLiteDateFormats.Ticks: { long value = dt.Ticks; #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_int64(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_int64_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } case SQLiteDateFormats.JulianDay: { double value = ToJulianDay(dt); #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_double(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_double_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } case SQLiteDateFormats.UnixEpoch: { long value = Convert.ToInt64(dt.Subtract(UnixEpoch).TotalSeconds); #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_int64(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_int64_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } default: { byte[] b = ToUTF8(dt); int n = UnsafeNativeMethods.sqlite3_bind_text(stmt._sqlite_stmt, index, b, b.Length - 1, (IntPtr)(-1)); |
︙ | ︙ |
Changes to System.Data.SQLite/SQLite3_UTF16.cs.
︙ | ︙ | |||
73 74 75 76 77 78 79 | internal override void Bind_DateTime(SQLiteStatement stmt, int index, DateTime dt) { switch (_datetimeFormat) { case SQLiteDateFormats.Ticks: { | > > > | > > > > > > | > > > > > > | > > > | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | internal override void Bind_DateTime(SQLiteStatement stmt, int index, DateTime dt) { switch (_datetimeFormat) { case SQLiteDateFormats.Ticks: { long value = dt.Ticks; #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_int64(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_int64_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } case SQLiteDateFormats.JulianDay: { double value = ToJulianDay(dt); #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_double(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_double_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } case SQLiteDateFormats.UnixEpoch: { long value = Convert.ToInt64(dt.Subtract(UnixEpoch).TotalSeconds); #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_int64(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_int64_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) throw new SQLiteException(n, SQLiteLastError()); break; } default: { Bind_Text(stmt, index, ToString(dt)); break; |
︙ | ︙ |
Changes to System.Data.SQLite/System.Data.SQLite.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile> |
︙ | ︙ |
Changes to System.Data.SQLite/System.Data.SQLite.Module.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25284A66}</ProjectGuid> <OutputType>Module</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SignAssembly>false</SignAssembly> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> <ConfigurationSuffix>Module</ConfigurationSuffix> <UseInteropDll>false</UseInteropDll> <UseSqliteStandard>false</UseSqliteStandard> </PropertyGroup> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25284A66}</ProjectGuid> <OutputType>Module</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SignAssembly>false</SignAssembly> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> <ConfigurationSuffix>Module</ConfigurationSuffix> <UseInteropDll>false</UseInteropDll> <UseSqliteStandard>false</UseSqliteStandard> </PropertyGroup> |
︙ | ︙ |
Changes to test/test.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>test</RootNamespace> <AssemblyName>test</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>test</RootNamespace> <AssemblyName>test</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |
Changes to testce/AssemblyInfo.cs.
︙ | ︙ | |||
28 29 30 31 32 33 34 | // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("1.0.76.0")] | | | 28 29 30 31 32 33 34 35 36 | // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("1.0.76.0")] // [assembly: AssemblyFileVersion("1.0.76.0")] |
Changes to testlinq/testlinq.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>testlinq</RootNamespace> <AssemblyName>testlinq</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>testlinq</RootNamespace> <AssemblyName>testlinq</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |
Changes to tools/install/Installer.2010.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{A41FE2A5-07AD-4CE7-B836-1544634816F5}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>Installer</RootNamespace> <AssemblyName>Installer</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <SQLiteNetDir>$(MSBuildProjectDirectory)\..\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{A41FE2A5-07AD-4CE7-B836-1544634816F5}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>Installer</RootNamespace> <AssemblyName>Installer</AssemblyName> <OldToolsVersion>3.5</OldToolsVersion> <TargetFrameworkProfile>Client</TargetFrameworkProfile> <SQLiteNetDir>$(MSBuildProjectDirectory)\..\..</SQLiteNetDir> <ConfigurationYear>2010</ConfigurationYear> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |