Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,13 +0,0 @@
2009-12-14 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: 4.0 assembly must have a different version than 2.0
2009-10-22 Jonathan Pryor <jpryor@novell.com>
* AssemblyInfo.cs: Use Consts.FxVersion when building for MONOTOUCH.
2004-04-30 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

View File

@@ -1,149 +0,0 @@
2009-06-04 Jb Evain <jbevain@novell.com>
* resources/SR.resx: adjust file names.
* Mono.Data.Sqlite.dll.sources: rename from
net_2_0_Mono.Data.Sqlite.dll.sources.
Hopefully fixes the build.
2009-06-03 Marek Habersack <mhabersack@novell.com>
* Update SQLite.NET version to 1.0.61.0, applied Mono
modifications.
2007-02-21 Marek Habersack <grendello@gmail.com>
* Copied from Mono.Data.SqliteClient
* Renamed the namespace to Mono.Data.Sqlite
* Changed all occurrences of Mono.Data.SqliteClient
to Mono.Data.Sqlite
* Updated all the relevant files to account for the new namespace
name
2007-01-16 Marek Habersack <grendello@gmail.com>
* Mono.Data.SqliteClient.dll.sources: Added
SqliteConnectionStringBuilder.cs
* Makefile: we have some resources now.
* Mono.Data.SqliteClient.dll.sources: Added new files.
2007-01-15 Marek Habersack <grendello@gmail.com>
* Mono.Data.SqliteClient.dll.sources: Added new 2.0 files
2006-01-29 Joshua Tauberer <tauberer@for.net>
* Added new test sources.
2006-01-20 Joshua Tauberer <tauberer@for.net>
* Removed dependency on Mono.Posix.
2006-01-02 Joshua Tauberer <tauberer@for.net>
* Added Mono.Data.Sqlite/SqliteExceptions.cs to
the sources files.
2005-10-06 Chris Lahey <clahey@localhost.localdomain>
* Makefile (LIB_MCS_FLAGS): Requires Mono.Posix.dll.
2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
Raja R Harinath <rharinath@novell.com>
* Makefile:
- Test suite started.
- Create sqlite3 db testdb from script Test/test.sql.
* Mono.Data.Sqlite_test.dll.sources: Added. Test files.
2004-11-17 Geoff Norton <gnorton@customerdna.com>
* Mono.Data.Sqlite/Sqlite.cs:
Mono.Data.Sqlite/SqliteCommand.cs:
Remove sqlite3Free as this doesn't exist and isn't used by sqlite3.
2004-11-14 Geoff Norton <gnorton@customerdna.com>
* Mono.Data.Sqlite/SqliteConnection.cs: Default to v2 not v3 if version
isn't specified in the connection string. Fixes a bug in F-Spot reported by Miguel
2004-11-11 Geoff Norton <gnorton@customerdna.com>
* Mono.Data.Sqlite/Sqlite.cs
Mono.Data.Sqlite/SqliteConnection.cs
Mono.Data.Sqlite/SqliteCommand.cs
Mono.Data.Sqlite/SqliteDataReader.cs:
Initial sqlite v3 support. Move sqlite v2 to using sqlite_step
instead of sqlite_exec, this makes Mono.Data.Sqlite work on
windows.
2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Mono.Data.SqliteClient.dll.sources: added SqliteTransaction.cs
* Mono.Data.Sqlite/SqliteConnection.cs:
* Mono.Data.Sqlite/SqliteTransaction.cs: patch from
grompf@sublimeintervention.com that adds transactions support.
2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Mono.Data.Sqlite/SqliteCommand.cs: implement LastInsertRowId.
* Mono.Data.Sqlite/SqliteDataReader.cs: remove dangling ^Ms.
Patch by Philipp <pixelpapst@users.sourceforge.net>.
2003-10-17 Ettore Perazzoli <ettore@ximian.com>
* Mono.Data.Sqlite/SqliteConnection.cs
(SqliteConnection.LastInsertRowId): New property to bind the
sqlite_last_insert_rowid() call.
2003-07-16 Peter Williams <peter@newton.cx>
* Makefile (LIB_MCS_FLAGS): Add /r:System.dll here. Why wasn't
this necessary with MCS? (csc.exe needs it.)
2002-11-16 Tim Coleman <tim@timcoleman.com>
* makefile.gnu:
Add MONO_PATH_PREFIX so build doesn't
fail if System.Data has not yet been installed.
2002-11-01 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.Sqlite/SqliteDataReader.cs: redid the
implementation for GetSchemaTable() and
implemented IEnumerator IEnumerable.GetEnumerator ()
2002-10-16 Miguel de Icaza <miguel@ximian.com>
* Mono.Data.Sqlite/SqliteCommand.cs: Reworked to return the
error from SqlLite.
2002-10-12 Vladimir Vukicevic <vladimir@pobox.com>
* sources.list: whoops, fix dir name
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Test: added new directory to hold
tests for Mono.Data.Sqlite
* Test/SqliteTest.cs: added file
to test Mono.Data.SqliteClient.
2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
* Mono.Data.Sqlite: add file
to build on Windows
* Mono.Data.Sqlite/SqliteCommand.cs: modified
added unsafe { } around call to sqlite_exec() which calls
an unsafe method SqliteCallbackFunction
2002-10-12 Vladimir Vukicevic <vladimir@pobox.com>
* Mono.Data.SqlClient/SqliteCobmmand.cs, SqliteDataReader.cs,
SqliteParameterCollection.cs, SqliteConnection.cs,
SqliteParameter.cs:
Initial checkin

View File

@@ -19,7 +19,6 @@ TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
EXTRA_DISTFILES = Test/SqliteTest.cs \
Test/test.sql \
resources/SR.resx \
resources/ChangeLog \
resources/DataTypes.xml \
resources/MetaDataCollections.xml \
$(PREBUILT) \

View File

@@ -1,141 +0,0 @@
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* SQLiteConnection.cs : remove Console.WriteLine().
2009-06-18 Marek Habersack <mhabersack@novell.com>
* UnsafeNativeMethods.cs: added import of the old sqlite3_open
function to make code compatible with sqlite3 versions older than
3.5.0
* SQLite3.cs: added a workaround for systems which come with
sqlite3 older than 3.5.0 (which added new call sqlite3_open_v2,
used in this version of Mono.Data.Sqlite). If this function is not
found in the native shared library, the old sqlite3_open is used
as fallback.
2009-02-04 Marek Habersack <mhabersack@novell.com>
* SQLite3.cs, SQLite3_UTF16.cs, SQLiteBase.cs, SQLiteFunction.cs,
UnsafeNativeMethods.cs: fixes for custom functions and collations
creation with sqlite3. Fixes bug #470042. Patch from John Millikin
<jmillikin@gmail.com>, thanks!
2008-12-08 Zoltan Varga <vargaz@gmail.com>
* SQLite3.cs: Avoid IntPtr.ToInt32 () to convert between IntPtr's and integers
since it is not 64 bit safe. Fixes #457038.
2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
* SqliteDataSourceEnumerator.cs: Replace a few Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
2007-12-06 Marek Habersack <mhabersack@novell.com>
* SQLiteFunction.cs: scan only assemblies which reference Sqlite,
saves heap memory.
2007-07-31 Ben Motmans <ben.motmans@gmail.com>
* SR.Designer.cs: use the correct resource name
2007-06-03 Kamil Skalski <nazgul@nemerle.org>
* SQLiteConvert.cs: Port function for converting native UTF8 string
into managed string from the old SqliteClient implementation.
Use it instead of PtrToStrAuto, which fails on Windows.
2007-02-20 Marek Habersack <grendello@gmail.com>
* SQLite3.cs: handle sqlite3_prepare_v2 absent from the library,
it's a new API, added in Nov 2006 to sqlite3 upstream, so it's
likely it won't be found on many systems.
* SQLiteCommand.cs: Added a backward compatibility method.
2007-02-16 Marek Habersack <grendello@gmail.com>
* SQLiteTransaction.cs: unseal the class.
* SQLiteParameterCollection.cs: unseal the class.
* SQLiteException.cs: unseal the class.
* SQLiteDataReader.cs: unseal the class.
* SQLiteConnectionStringBuilder.cs: unseal the class.
* SQLiteFunctionAttribute.cs: unseal the class.
* SqliteDataSourceEnumerator.cs: unseal the class.
* SQLiteConnection.cs: unseal the class.
* SQLiteFactory.cs: unseal the class.
* SQLiteCommandBuilder.cs: unseal the class.
* SQLiteParameter.cs: unseal the class.
* SQLiteCommand.cs: unseal the class.
2007-02-05 Marek Habersack <grendello@gmail.com>
* SQLiteConnectionStringBuilder.cs: Uncomment the
PasswordPropertyText attribute for the Password property.
2007-02-03 Marek Habersack <grendello@gmail.com>
* UnsafeNativeMethods.cs: New file.
* SR.Designer.cs: New file.
* SQLiteTransaction.cs: New file.
* SQLiteStatement.cs: New file.
* SQLiteParameter.cs: New file.
* SQLiteParameterCollection.cs: New
file.
* SQLiteMetaDataCollectionNames.cs: New
file
* SQLiteKeyReader.cs: New file (not
used for the moment)
* SQLiteFunction.cs: New file
* SQLiteFunctionAttribute.cs: New file
* SQLiteFactory.cs: New file
* SQLiteException.cs: New file
* SQLiteEnlistment.cs: New file
* SqliteDataSourceEnumerator.cs: Moved
to the new location.
* SQLiteDataReader.cs: New file
* SQLiteDataAdapter.cs: New file
* SQLiteConvert.cs: New file
* SQLiteConnectionStringBuilder.cs: New
file
* SQLiteConnection.cs: New file
* SQLiteCommand.cs: New file
* SQLiteCommandBuilder.cs: New file
* SQLiteBase.cs: New file
* SQLite3_UTF16.cs: New file
* SQLite3.cs: New file

View File

@@ -33,23 +33,37 @@ namespace Mono.Data.Sqlite
/// An array of ISO8601 datetime formats we support conversion from
/// </summary>
private static string[] _datetimeFormats = new string[] {
"THHmmssK",
"THHmmK",
"HH:mm:ss.FFFFFFFK",
"HH:mm:ssK",
"HH:mmK",
"yyyy-MM-dd HH:mm:ss.FFFFFFFK", /* NOTE: UTC default (5). */
"yyyy-MM-dd HH:mm:ssK",
"yyyy-MM-dd HH:mmK",
"yyyy-MM-ddTHH:mm:ss.FFFFFFFK",
"yyyy-MM-ddTHH:mmK",
"yyyy-MM-ddTHH:mm:ssK",
"yyyyMMddHHmmssK",
"yyyyMMddHHmmK",
"yyyyMMddTHHmmssFFFFFFFK",
"THHmmss",
"THHmm",
"HH:mm:ss.FFFFFFF",
"HH:mm:ss",
"HH:mm",
"HH:mm:ss.FFFFFFF",
"yy-MM-dd",
"yyyy-MM-dd",
"yyyy-MM-dd HH:mm:ss.FFFFFFF",
"yyyy-MM-dd HH:mm:ss.FFFFFFF", /* NOTE: Non-UTC default (19). */
"yyyy-MM-dd HH:mm:ss",
"yyyy-MM-dd HH:mm",
"yyyy-MM-dd HH:mm",
"yyyy-MM-ddTHH:mm:ss.FFFFFFF",
"yyyy-MM-ddTHH:mm",
"yyyy-MM-ddTHH:mm:ss",
"yyyyMMddHHmmss",
"yyyyMMddHHmm",
"yyyyMMddTHHmmssFFFFFFF",
"yyyyMMdd"
"yyyy-MM-dd",
"yyyyMMdd",
"yy-MM-dd"
};
/// <summary>

View File

@@ -1,54 +0,0 @@
2009-01-19 Zoltan Varga <vargaz@gmail.com>
* SqliteCommandUnitTests.cs: Fix test ordering issues with the new nunit
version by marking Create () as [SetUp] instead of [Test].
2008-08-04 Zoltan Varga <vargaz@gmail.com>
* SqliteParameterUnitTests.cs: Disable the InsertRandomValuesWithParameter
test as it fails randomly.
2008-07-15 Marek Habersack <mhabersack@novell.com>
* SqliteParameterUnitTests.cs: adjust the blob value comparison
test for the 2.0 profile.
* SqliteCommandUnitTests.cs, SqliteExceptionUnitTests.cs: change
the expected exception type for the 2.0 profile.
* SqliteConnectionTest.cs: add tests for the 2.0 profile, disable
tests which are incorrect for this profile.
2007-01-16 Nagappan A <anagappan@novell.com>
* SqliteDataAdapterUnitTests.cs (GetSchemaTable): Type casted to
fix compiler error.
* SqliteDataReaderTest.cs (GetSchemaTableTest)
(TypeOfNullInResultTest): Type casted to fix compiler error.
2006-03-11 Joshua Tauberer <tauberer@for.net>
* SqliteTest.cs: Test ANSI characters.
2006-03-07 Kamil Skalski <nazgul@nemerle.org>
* SqliteDataReaderTest.cs: Add test for getting field type of null
value
2006-01-29 Joshua Tauberer <tauberer@for.net>
* Added tests from Thomas Zoechling <thomas.zoechling@gmx.at>.
2006-01-02 Joshua Tauberer <tauberer@for.net>
* SqliteTest.cs: Cleaned up and added new stuff.
2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
* test.sql: script to create a test db.
* SqliteConnectionTest.cs: Added. Tests for SqliteConnection.
* SqliteDataReaderTest.cs: Added. Tests for SqliteDataReader.

View File

@@ -178,7 +178,7 @@ namespace MonoTests.Mono.Data.Sqlite
}
}
void AddParameter (System.Data.Common.DbCommand cm, string name, object value)
void AddParameter (global::System.Data.Common.DbCommand cm, string name, object value)
{
var param = cm.CreateParameter ();
param.ParameterName = ":" + name;

View File

@@ -61,7 +61,7 @@ namespace MonoTests.Mono.Data.Sqlite
textP.Value=builder.ToString();
floatP.Value=Convert.ToInt64(random.Next(999));
integerP.Value=random.Next(999);
blobP.Value=System.Text.Encoding.UTF8.GetBytes("\u05D0\u05D1\u05D2" + builder.ToString());
blobP.Value=global::System.Text.Encoding.UTF8.GetBytes("\u05D0\u05D1\u05D2" + builder.ToString());
SqliteCommand selectCmd = new SqliteCommand("SELECT * from t1", _conn);
@@ -79,7 +79,7 @@ namespace MonoTests.Mono.Data.Sqlite
object compareValue;
if (blobP.Value is byte[])
compareValue = System.Text.Encoding.UTF8.GetString ((byte[])blobP.Value);
compareValue = global::System.Text.Encoding.UTF8.GetString ((byte[])blobP.Value);
else
compareValue = blobP.Value;
Assert.AreEqual(reader["b"], compareValue);

View File

@@ -1,8 +0,0 @@
2007-02-03 Marek Habersack <grendello@gmail.com>
* SR.resx: New file
* MetaDataCollections.xml: New file
* DataTypes.xml: New file