Skip to content

Commit 8d2164a

Browse files
authored
Merge pull request #79 from DataObjects-NET/endings-fix-master
Global setting for line endings for master
2 parents a7a90d0 + bc348e2 commit 8d2164a

File tree

3,328 files changed

+601437
-601436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,328 files changed

+601437
-601436
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
*.suo
2-
*.user
3-
*.csproj.user
4-
*.sln.cache
5-
*.cache
6-
*.resharper
7-
*.ReSharper
8-
*.resharperoptions
9-
_ReSharper.*
10-
*.vs10x
11-
*.DotSettings
12-
*.exe
13-
*.dll
14-
*.obj
15-
*.pdb
16-
*.HxS
17-
*.chm
18-
*.xml
19-
*.mshc
20-
*.orig
21-
*.log
22-
bin
23-
Bin
24-
obj
25-
_Build
26-
_Work
27-
.vs
28-
.idea
29-
User.Directory.Build.props
1+
*.suo
2+
*.user
3+
*.csproj.user
4+
*.sln.cache
5+
*.cache
6+
*.resharper
7+
*.ReSharper
8+
*.resharperoptions
9+
_ReSharper.*
10+
*.vs10x
11+
*.DotSettings
12+
*.exe
13+
*.dll
14+
*.obj
15+
*.pdb
16+
*.HxS
17+
*.chm
18+
*.xml
19+
*.mshc
20+
*.orig
21+
*.log
22+
bin
23+
Bin
24+
obj
25+
_Build
26+
_Work
27+
.vs
28+
.idea
29+
User.Directory.Build.props

ChangeLog/0.0.0.txt

Lines changed: 479 additions & 479 deletions
Large diffs are not rendered by default.

ChangeLog/0.1.0_Beta_1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[main] Added new overloads for loading DomainConfiguration and LoggingConfiguration
2-
[main] Added LogManager.Initialize(System.Configuration.Configuration)
1+
[main] Added new overloads for loading DomainConfiguration and LoggingConfiguration
2+
[main] Added LogManager.Initialize(System.Configuration.Configuration)
33
[sqlserver] No support for SqlGeometry and SqlGeography for now

ChangeLog/0.1.0_Beta_2.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[main] Removed DomainConfiguration.NativeLibraryCacheFolder because SQLite no longer needs it.
2-
[mysql] Cerain error codes were handled in order to arrange them with certain type instead of Unknown
3-
[postgresql] DateTimeOffset is not supported as far as client library has no support for Zone part of TimeStampTZ
1+
[main] Removed DomainConfiguration.NativeLibraryCacheFolder because SQLite no longer needs it.
2+
[mysql] Cerain error codes were handled in order to arrange them with certain type instead of Unknown
3+
[postgresql] DateTimeOffset is not supported as far as client library has no support for Zone part of TimeStampTZ
44
[postgresql] Maximum scale of Decimals was reduced down to 27

ChangeLog/0.1.0_Beta_3.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
[main] Added versioning policy allowing to set up certain rules for entity version increasing
2-
[main] Fixed problems with setting Catalog.Name, Catalog.DbName, CatalogNode.Name and CatalogNode.DbName properties
3-
[main] Fixed certain cases when grouping by an Entity field caused wrong results
4-
[main] Persisting of changes to database while EntitySet enumeration doesn't break enumeration
5-
[main] Fixed initialization of fields of non-persistent types within queries
6-
[main] Entity.Lock() locks correct raws in database
7-
[main] DomainUpgradeMode.Validate mode became stricter to avoid data corruption
8-
[firebird] Made column types extraction be culture-independant
9-
[sqlserver] Fixed extraction of default value of table columns
10-
[sqlserver] Improved default schema detection in driver factory
11-
[sqlserver] Updated Azure provider to Sql Server v12 provider
1+
[main] Added versioning policy allowing to set up certain rules for entity version increasing
2+
[main] Fixed problems with setting Catalog.Name, Catalog.DbName, CatalogNode.Name and CatalogNode.DbName properties
3+
[main] Fixed certain cases when grouping by an Entity field caused wrong results
4+
[main] Persisting of changes to database while EntitySet enumeration doesn't break enumeration
5+
[main] Fixed initialization of fields of non-persistent types within queries
6+
[main] Entity.Lock() locks correct raws in database
7+
[main] DomainUpgradeMode.Validate mode became stricter to avoid data corruption
8+
[firebird] Made column types extraction be culture-independant
9+
[sqlserver] Fixed extraction of default value of table columns
10+
[sqlserver] Improved default schema detection in driver factory
11+
[sqlserver] Updated Azure provider to Sql Server v12 provider
1212
[weaver] Project building fails when weaving ends up with an error

ChangeLog/0.1.0_Beta_4.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[main] Introduced asynchronous session opening
2-
[main] Introduced bunch of QueryEndpoint.ExecuteAsync() methods
3-
[main] Add .AsAsyncTask() extensions for running queries asynchronously
4-
[postgresql] Fixed extraction of full-text indexes for certain scenarios
5-
[postgresql] Set upper limit for precision of decimals to 49 to handle problems in Npgsql
6-
[postgresql] Fields of unsigned types no longer cause exception on saving them to database
1+
[main] Introduced asynchronous session opening
2+
[main] Introduced bunch of QueryEndpoint.ExecuteAsync() methods
3+
[main] Add .AsAsyncTask() extensions for running queries asynchronously
4+
[postgresql] Fixed extraction of full-text indexes for certain scenarios
5+
[postgresql] Set upper limit for precision of decimals to 49 to handle problems in Npgsql
6+
[postgresql] Fields of unsigned types no longer cause exception on saving them to database
77
[postgresql] Enum fields no longer cause exception on saving them to database

ChangeLog/mkchangelog.ps1

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
$useLegacy = ($PSVersionTable.PSVersion -as [version]) -le ("2.0" -as [version])
2-
if ($useLegacy){
3-
$inputDir = Split-Path -Parent $MyInvocation.MyCommand.Path
4-
}
5-
else {
6-
$inputDir = $PSScriptRoot
7-
}
8-
$theRootestRoot = Split-Path -Parent $inputDir;
9-
$outputDir = Join-Path -Path $theRootestRoot -ChildPath \_Build\ProductInfo
10-
$changeLogFile = Join-Path -Path $outputDir -ChildPath "ChangeLog.txt"
11-
$releaseNotesFile = Join-Path -Path $outputDir -ChildPath "ReleaseNotes.txt"
12-
13-
if (-not (Test-Path $outputDir)) { New-Item $outputDir -Type directory -Force }
14-
if (Test-Path $changeLogFile) { Remove-Item $changeLogFile -Force }
15-
if (Test-Path $releaseNotesFile) { Remove-Item $releaseNotesFile -Force }
16-
17-
#perform right files order
18-
$items = Get-ChildItem -Path $inputDir -Filter *.txt |
19-
Select-Object -Property @{Name = "FileName"; Expression = {$_.BaseName}},
20-
@{Name = "File"; Expression = {$_}},
21-
@{Name = "ReleaseVersion"; Expression= {($_.BaseName -split "_", 2)[0] -as [Version]}},
22-
@{Name ="ReleaseName"; Expression= {($_.BaseName -split "_", 2)[1] }},
23-
@{Name ="FixedReleaseName"; Expression = {($_.BaseName -split "_", 2)[1] -replace "Z_Final", "Final"}} |
24-
Sort-Object -Property @{Expression="ReleaseVersion";Descending=$true}, @{Expression="ReleaseName";Descending=$true}
25-
26-
#compose ChangeLog and ReleaseInfo files
27-
Foreach ($complexObject in $items) {
28-
$isInitial = $complexObject.FileName -eq "0.0.0"
29-
if($isInitial){
30-
Add-Content $changeLogFile ( Get-Content $complexObject.File.FullName)
31-
Add-Content $changeLogFile ""
32-
}
33-
else{
34-
#on first itteration create ReleaseNotes
35-
if (-not(Test-Path $releaseNotesFile)) { Add-Content $releaseNotesFile (Get-Content $complexObject.File.FullName) }
36-
Add-Content $changeLogFile ("Changes in {0} {1}" -f $complexObject.ReleaseVersion, $complexObject.FixedReleaseName)
37-
Add-Content $changeLogFile ""
38-
Add-Content $changeLogFile ( Get-Content $complexObject.File.FullName)
39-
Add-Content $changeLogFile ""
40-
}
41-
}
1+
$useLegacy = ($PSVersionTable.PSVersion -as [version]) -le ("2.0" -as [version])
2+
if ($useLegacy){
3+
$inputDir = Split-Path -Parent $MyInvocation.MyCommand.Path
4+
}
5+
else {
6+
$inputDir = $PSScriptRoot
7+
}
8+
$theRootestRoot = Split-Path -Parent $inputDir;
9+
$outputDir = Join-Path -Path $theRootestRoot -ChildPath \_Build\ProductInfo
10+
$changeLogFile = Join-Path -Path $outputDir -ChildPath "ChangeLog.txt"
11+
$releaseNotesFile = Join-Path -Path $outputDir -ChildPath "ReleaseNotes.txt"
12+
13+
if (-not (Test-Path $outputDir)) { New-Item $outputDir -Type directory -Force }
14+
if (Test-Path $changeLogFile) { Remove-Item $changeLogFile -Force }
15+
if (Test-Path $releaseNotesFile) { Remove-Item $releaseNotesFile -Force }
16+
17+
#perform right files order
18+
$items = Get-ChildItem -Path $inputDir -Filter *.txt |
19+
Select-Object -Property @{Name = "FileName"; Expression = {$_.BaseName}},
20+
@{Name = "File"; Expression = {$_}},
21+
@{Name = "ReleaseVersion"; Expression= {($_.BaseName -split "_", 2)[0] -as [Version]}},
22+
@{Name ="ReleaseName"; Expression= {($_.BaseName -split "_", 2)[1] }},
23+
@{Name ="FixedReleaseName"; Expression = {($_.BaseName -split "_", 2)[1] -replace "Z_Final", "Final"}} |
24+
Sort-Object -Property @{Expression="ReleaseVersion";Descending=$true}, @{Expression="ReleaseName";Descending=$true}
25+
26+
#compose ChangeLog and ReleaseInfo files
27+
Foreach ($complexObject in $items) {
28+
$isInitial = $complexObject.FileName -eq "0.0.0"
29+
if($isInitial){
30+
Add-Content $changeLogFile ( Get-Content $complexObject.File.FullName)
31+
Add-Content $changeLogFile ""
32+
}
33+
else{
34+
#on first itteration create ReleaseNotes
35+
if (-not(Test-Path $releaseNotesFile)) { Add-Content $releaseNotesFile (Get-Content $complexObject.File.FullName) }
36+
Add-Content $changeLogFile ("Changes in {0} {1}" -f $complexObject.ReleaseVersion, $complexObject.FixedReleaseName)
37+
Add-Content $changeLogFile ""
38+
Add-Content $changeLogFile ( Get-Content $complexObject.File.FullName)
39+
Add-Content $changeLogFile ""
40+
}
41+
}

Extensions/TestCommon/App.config

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
2-
<configuration>
3-
<configSections>
4-
<section name="Xtensive.Orm" type="Xtensive.Orm.Configuration.Elements.ConfigurationSection, Xtensive.Orm" />
5-
</configSections>
6-
<Xtensive.Orm configSource="Orm.config"/>
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<configSections>
4+
<section name="Xtensive.Orm" type="Xtensive.Orm.Configuration.Elements.ConfigurationSection, Xtensive.Orm" />
5+
</configSections>
6+
<Xtensive.Orm configSource="Orm.config"/>
77
</configuration>
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
using System;
2-
using System.Reflection;
3-
using System.Collections.Generic;
4-
using System.Text;
5-
using System.Configuration;
6-
7-
namespace TestCommon
8-
{
9-
public static class AssemblyExtensions
10-
{
11-
public static Configuration GetAssemblyConfiguration(this Assembly assembly)
12-
{
13-
return ConfigurationManager.OpenExeConfiguration(assembly.Location);
14-
}
15-
}
16-
}
1+
using System;
2+
using System.Reflection;
3+
using System.Collections.Generic;
4+
using System.Text;
5+
using System.Configuration;
6+
7+
namespace TestCommon
8+
{
9+
public static class AssemblyExtensions
10+
{
11+
public static Configuration GetAssemblyConfiguration(this Assembly assembly)
12+
{
13+
return ConfigurationManager.OpenExeConfiguration(assembly.Location);
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)