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,58 +0,0 @@
2010-04-13 Jonathan Pryor <jonpryor@vt.edu>
* sqlmetal.exe.source: Add additional files.
2010-03-29 Raja R Harinath <harinath@hurrynot.org>
* AssemblyInfo.cs: Make internals visible to the test suite.
2010-01-04 Jonathan Pryor <jonpryor@vt.edu>
* Makefile: Ensure that Test/* files are distributed (so that
'make check' works on tarball builds). Partial fix for #564987.
2009-12-08 Jonathan Pryor <jonpryor@vt.edu>
* sqlmetal.exe.config: Add provider entry for SQL Server.
* sqlmetal.exe.sources: Add additional files.
2009-11-06 Jonathan Pryor <jonpryor@vt.edu>
* Makefile: re-enable the tests. They were disabled in r137153
because they weren't compiling, which was because System.Data.Linq
wasn't listing sqlmetal_net_2_0 as a friend assembly. (Why this
built before I couldn't tell you...) Fixed in latest S.D.L.
2009-04-30 Jonathan Pryor <jonpryor@vt.edu>
* sqlmetal.exe.config: The MySQL provider should use ByteFX.Data's
MySQL connection types, as those are actually included with Mono
(unlike MySql.Data, which isn't included with Mono).
2009-04-08 Jonathan Pryor <jonpryor@vt.edu>
* AssemblyInfo.cs: Building against the local AssemblyInfo.cs broke
sqlmetal, as it couldn't find an IProcessor implementation (as the
local AssemblyInfo.cs was missing a [assembly: DbLinq] attribute).
Fix so that sqlmetal works again.
* Makefile: Actually enable NUnit tests.
2009-04-06 Jonathan Pryor <jonpryor@vt.edu>
* . (svn:ignore): Ignore generated files.
* AssemblyInfo.cs: Added; Assembly-level attributes for sqlmetal.exe.
* Makefile: Correct the "namespace" of the embedded resource files;
build NUnit tests for sqlmetal.exe.
* sqlmetal.exe.sources: Build against the local AssemblyInfo.cs, not
DbMetal's AssemblyInfo.cs file.
* sqlmetal_test.dll.sources: Added; source files for the NUnit test.
* Test/AssemblyInfo.cs: Added; Assembly-level attributes for the NUnit
test assembly.
2009-03-12 Jonathan Pryor <jonpryor@vt.edu>
* ChangeLog, Makefile, sqlmetal.exe.config, sqlmetal.exe.sources:
Added; builds `sqlmetal.exe', which is the Mono version of DbLinq's
DbMetal.exe program (which in turn is modeled on .NET's SQLMETAL
tool), "tuned" to depend only on Mono's System.Data.Linq.

View File

@@ -11,29 +11,21 @@ LOCAL_MCS_FLAGS = \
-resource:$(dbmetal_src)/Language/EnglishWords.txt,$(ns).EnglishWords.txt \
-resource:$(dbmetal_src)/Language/FrenchWords.txt,$(ns).FrenchWords.txt \
-resource:$(dbmetal_src)/Language/GermanWords.txt,$(ns).GermanWords.txt \
-r:System.Configuration \
-r:System.Core \
-r:System.Data \
-r:System.Data.Linq \
-r:System.Xml
-publicsign
LIB_REFS = System.Configuration System.Core System.Data System.Data.Linq System.Xml System
SQLMETAL_RESOURCES = \
$(dbmetal_src)/Language/EnglishWords.txt \
$(dbmetal_src)/Language/FrenchWords.txt \
$(dbmetal_src)/Language/GermanWords.txt
SQLMETAL_TEST_FILES = \
Test/AssemblyInfo.cs
EXTRA_DISTFILES = \
$(SQLMETAL_RESOURCES) \
$(SQLMETAL_TEST_FILES)
$(SQLMETAL_RESOURCES)
PROGRAM = sqlmetal.exe
$(PROGRAM) : Makefile $(SQLMETAL_RESOURCES)
HAS_NUNIT_TEST = yes
include ../../build/executable.make

View File

@@ -1,42 +0,0 @@
//
// AssemblyInfo.cs
//
// Author:
// Jonathan Pryor <jpryor@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("sqlmetal_test")]
[assembly: AssemblyDescription ("sqlmetal.exe Unit Tests")]
[assembly: AssemblyDefaultAlias ("SqlMetal_test.dll")]
[assembly: CLSCompliant (true)]
// Unit tests needs access to the DbLinq internals

View File

@@ -1,4 +0,0 @@
AssemblyInfo.cs
../../../class/System.Data.Linq/src/DbMetal/Test/EnglishWordsTest.cs
../../../class/System.Data.Linq/src/DbMetal/Test/FrenchWordsTest.cs
../../../class/System.Data.Linq/src/DbMetal/Test/NameFormatterTest.cs