Permalink
Browse files

Fixes

  • Loading branch information...
hhblaze committed Aug 29, 2017
1 parent 23f0a9d commit a52e97aac8ec7cc9acf15b2501bba637dad6f912
Showing with 304 additions and 145 deletions.
  1. +4 −2 DBreeze.NetCoreApp/DBreeze.NetCoreApp.csproj
  2. +4 −0 DBreeze.NetCoreApp/Engine/DBreezeConfiguration.cs
  3. +24 −19 DBreeze.NetCoreApp/Engine/DBreezeEngine.cs
  4. +2 −2 DBreeze.NetCoreApp/bin/Release/netcoreapp1.0/DBreeze.deps.json
  5. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp1.0/DBreeze.dll
  6. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp1.0/DBreeze.pdb
  7. +7 −1 DBreeze.NetCoreApp/bin/Release/netcoreapp1.0/DBreeze.xml
  8. +2 −2 DBreeze.NetCoreApp/bin/Release/netcoreapp1.1/DBreeze.deps.json
  9. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp1.1/DBreeze.dll
  10. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp1.1/DBreeze.pdb
  11. +7 −1 DBreeze.NetCoreApp/bin/Release/netcoreapp1.1/DBreeze.xml
  12. +2 −2 DBreeze.NetCoreApp/bin/Release/netcoreapp2.0/DBreeze.deps.json
  13. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp2.0/DBreeze.dll
  14. BIN DBreeze.NetCoreApp/bin/Release/netcoreapp2.0/DBreeze.pdb
  15. +7 −1 DBreeze.NetCoreApp/bin/Release/netcoreapp2.0/DBreeze.xml
  16. +5 −4 DBreeze.NetStandard/DBreeze.NetStandard.csproj
  17. +4 −0 DBreeze.NetStandard/Engine/DBreezeConfiguration.cs
  18. +24 −19 DBreeze.NetStandard/Engine/DBreezeEngine.cs
  19. +2 −2 DBreeze.NetStandard/bin/Release/netstandard1.6/DBreeze.deps.json
  20. BIN DBreeze.NetStandard/bin/Release/netstandard1.6/DBreeze.dll
  21. BIN DBreeze.NetStandard/bin/Release/netstandard1.6/DBreeze.pdb
  22. +7 −1 DBreeze.NetStandard/bin/Release/netstandard1.6/DBreeze.xml
  23. +2 −2 DBreeze.NetStandard/bin/Release/netstandard2.0/DBreeze.deps.json
  24. BIN DBreeze.NetStandard/bin/Release/netstandard2.0/DBreeze.dll
  25. BIN DBreeze.NetStandard/bin/Release/netstandard2.0/DBreeze.pdb
  26. +7 −1 DBreeze.NetStandard/bin/Release/netstandard2.0/DBreeze.xml
  27. +4 −0 DBreeze.UWP/Engine/DBreezeConfiguration.cs
  28. +24 −19 DBreeze.UWP/Engine/DBreezeEngine.cs
  29. +2 −2 DBreeze.UWP/Properties/AssemblyInfo.cs
  30. +4 −0 DBreeze/Engine/DBreezeConfiguration.cs
  31. +27 −23 DBreeze/Engine/DBreezeEngine.cs
  32. +2 −2 DBreeze/Properties/AssemblyInfo.cs
  33. +8 −4 DBreeze/TextSearch/TextSearchHandler.cs
  34. BIN Deployment/Deployer/.vs/Deployer/v15/.suo
  35. BIN Deployment/Nuget/Actual/DBreeze.actual.nupkg
  36. BIN Deployment/Nuget/DBreeze.1.89.0.nupkg
  37. BIN Deployment/bin/DBreeze_1_088_2017_0630_ULTIMATE.zip
  38. BIN Deployment/bin/DBreeze_1_089_2017_0829_ULTIMATE.zip
  39. +7 −1 Deployment/bin/NET35/DBreeze.XML
  40. BIN Deployment/bin/NET35/DBreeze.dll
  41. BIN Deployment/bin/NET35/DBreeze_1_088_2017_0630_NET35_Win.zip
  42. BIN Deployment/bin/NET35/DBreeze_1_089_2017_0829_NET35_Win.zip
  43. +7 −1 Deployment/bin/NET40/DBreeze.XML
  44. BIN Deployment/bin/NET40/DBreeze.dll
  45. BIN Deployment/bin/NET40/DBreeze_1_088_2017_0630_NET40_MONO.zip
  46. BIN Deployment/bin/NET40/DBreeze_1_089_2017_0829_NET40_MONO.zip
  47. +7 −1 Deployment/bin/NET45/DBreeze.XML
  48. BIN Deployment/bin/NET45/DBreeze.dll
  49. BIN Deployment/bin/NET45/DBreeze_1_088_2017_0630_NET45_MONO.zip
  50. BIN Deployment/bin/NET45/DBreeze_1_089_2017_0829_NET45_MONO.zip
  51. +7 −1 Deployment/bin/NET461/DBreeze.XML
  52. BIN Deployment/bin/NET461/DBreeze.dll
  53. BIN Deployment/bin/NET461/DBreeze_1_088_2017_0630_NET461.zip
  54. BIN Deployment/bin/NET461/DBreeze_1_089_2017_0829_NET461.zip
  55. +7 −1 Deployment/bin/NET462/DBreeze.XML
  56. BIN Deployment/bin/NET462/DBreeze.dll
  57. BIN Deployment/bin/NET462/DBreeze_1_088_2017_0630_NET462.zip
  58. BIN Deployment/bin/NET462/DBreeze_1_089_2017_0829_NET462.zip
  59. +7 −1 Deployment/bin/NETCOREAPP1_0/DBreeze.XML
  60. BIN Deployment/bin/NETCOREAPP1_0/DBreeze.dll
  61. BIN Deployment/bin/NETCOREAPP1_0/DBreeze_1_088_2017_0630_NETCoreApp1_0.zip
  62. BIN Deployment/bin/NETCOREAPP1_0/DBreeze_1_089_2017_0829_NETCoreApp1_0.zip
  63. +7 −1 Deployment/bin/NETCOREAPP1_1/DBreeze.XML
  64. BIN Deployment/bin/NETCOREAPP1_1/DBreeze.dll
  65. BIN Deployment/bin/NETCOREAPP1_1/DBreeze_1_088_2017_0630_NETCoreApp1_1.zip
  66. BIN Deployment/bin/NETCOREAPP1_1/DBreeze_1_089_2017_0829_NETCoreApp1_1.zip
  67. +7 −1 Deployment/bin/NETCOREAPP2_0/DBreeze.XML
  68. BIN Deployment/bin/NETCOREAPP2_0/DBreeze.dll
  69. BIN Deployment/bin/NETCOREAPP2_0/DBreeze_1_088_2017_0630_NETCoreApp2_0.zip
  70. BIN Deployment/bin/NETCOREAPP2_0/DBreeze_1_089_2017_0829_NETCoreApp2_0.zip
  71. +7 −1 Deployment/bin/NETSTANDARD16/DBreeze.XML
  72. BIN Deployment/bin/NETSTANDARD16/DBreeze.dll
  73. BIN Deployment/bin/NETSTANDARD16/DBreeze_1_088_2017_0630_NETSTANDARD_1_6.zip
  74. BIN Deployment/bin/NETSTANDARD16/DBreeze_1_089_2017_0829_NETSTANDARD_1_6.zip
  75. +7 −1 Deployment/bin/NETSTANDARD2_0/DBreeze.XML
  76. BIN Deployment/bin/NETSTANDARD2_0/DBreeze.dll
  77. BIN Deployment/bin/NETSTANDARD2_0/DBreeze_1_088_2017_0630_NETSTANDARD_2_0.zip
  78. BIN Deployment/bin/NETSTANDARD2_0/DBreeze_1_089_2017_0829_NETSTANDARD_2_0.zip
  79. +7 −1 Deployment/bin/PORTABLE/DBreeze.XML
  80. BIN Deployment/bin/PORTABLE/DBreeze.dll
  81. BIN Deployment/bin/PORTABLE/DBreeze_1_088_2017_0630_NETPortable.zip
  82. BIN Deployment/bin/PORTABLE/DBreeze_1_089_2017_0829_NETPortable.zip
  83. +7 −1 Deployment/bin/UWP/DBreeze.XML
  84. BIN Deployment/bin/UWP/DBreeze.dll
  85. BIN Deployment/bin/UWP/DBreeze_1_088_2017_0630_NET451_NETCore_WinUWP.zip
  86. BIN Deployment/bin/UWP/DBreeze_1_089_2017_0829_NET451_NETCore_WinUWP.zip
  87. +7 −1 Deployment/bin/XAMARIN/DBreeze.XML
  88. BIN Deployment/bin/XAMARIN/DBreeze.dll
  89. BIN Deployment/bin/XAMARIN/DBreeze_1_088_2017_0630_Xamarin_Android_MONO.zip
  90. BIN Deployment/bin/XAMARIN/DBreeze_1_089_2017_0829_Xamarin_Android_MONO.zip
  91. +4 −0 NETPortable/Engine/DBreezeConfiguration.cs
  92. +25 −20 NETPortable/Engine/DBreezeEngine.cs
  93. +2 −2 NETPortable/Properties/AssemblyInfo.cs
  94. +1 −1 README.md
@@ -6,12 +6,14 @@
<RootNamespace>DBreeze</RootNamespace>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>signature.snk</AssemblyOriginatorKeyFile>
<Version>1.088.2017.0630</Version>
<FileVersion>1.088.2017.0630</FileVersion>
<Version>1.089.2017.0829</Version>
<FileVersion>1.089.2017.0829</FileVersion>
<AssemblyVersion>1.89.2017.829</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netcoreapp1.1\DBreeze.xml</DocumentationFile>
<DefineConstants>TRACE;RELEASE;NETCOREAPP1_0;NET40</DefineConstants>
</PropertyGroup>
<ItemGroup>
@@ -105,6 +105,10 @@ public class TextSearchConfiguration
/// <para>Mobile recommendations year 2015: 1000</para>
/// </summary>
public int MinimalBlockReservInBytes = 100000;
/// <summary>
/// Maximal word size separated by the space. Default is 50 symbols
/// </summary>
public int MaximalWordSize = 50;
///// <summary>
///// Automatic indexer settings
@@ -155,6 +155,8 @@ public DBreezeEngine(string DBreezeDataFolderName)
//Console.WriteLine(" to get graceful finilization of all working threads! ");
}
object lock_initDb = new object();
/// <summary>
/// InitDb
/// </summary>
@@ -165,32 +167,35 @@ private void InitDb()
try
{
//Init type converter
DataTypes.DataTypesConvertor.InitDict();
if (Configuration.Storage == DBreezeConfiguration.eStorage.DISK)
lock (lock_initDb)
{
DirectoryInfo di = new DirectoryInfo(MainFolder);
//Init type converter
DataTypes.DataTypesConvertor.InitDict();
if (!di.Exists)
di.Create();
}
if (Configuration.Storage == DBreezeConfiguration.eStorage.DISK)
{
DirectoryInfo di = new DirectoryInfo(MainFolder);
if (!di.Exists)
di.Create();
}
//trying to open schema file
DBreezeSchema = new Scheme(this);
//trying to open schema file
DBreezeSchema = new Scheme(this);
//Initializing Transactions Coordinator
_transactionsCoordinator = new TransactionsCoordinator(this);
//Initializing Transactions Coordinator
_transactionsCoordinator = new TransactionsCoordinator(this);
//Initializing transactions Journal, may be later move journal into transactionsCoordinator
//We must create journal after Schema, for getting path to rollback files
_transactionsJournal = new TransactionsJournal(this);
//Initializing transactions Journal, may be later move journal into transactionsCoordinator
//We must create journal after Schema, for getting path to rollback files
_transactionsJournal = new TransactionsJournal(this);
//Initializes transaction locker, who can help block tables of writing and reading threads
_transactionTablesLocker = new TransactionTablesLocker();
//Initializes transaction locker, who can help block tables of writing and reading threads
_transactionTablesLocker = new TransactionTablesLocker();
//Initializing
DeferredIndexer = new TextDeferredIndexer(this);
//Initializing
DeferredIndexer = new TextDeferredIndexer(this);
}
}
catch (Exception ex)
{
@@ -6,15 +6,15 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v1.0": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"runtime": {
"DBreeze.dll": {}
}
}
}
},
"libraries": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -6,15 +6,15 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v1.1": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"runtime": {
"DBreeze.dll": {}
}
}
}
},
"libraries": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -6,15 +6,15 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.0": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"runtime": {
"DBreeze.dll": {}
}
}
}
},
"libraries": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -9,13 +9,14 @@
<RootNamespace>DBreeze</RootNamespace>
<ApplicationIcon />
<Win32Resource />
<Version>1.088.2017.0630</Version>
<AssemblyVersion>1.088.2017.0630</AssemblyVersion>
<FileVersion>1.088.2017.0630</FileVersion>
<Version>1.089.2017.0829</Version>
<AssemblyVersion>1.089.2017.0829</AssemblyVersion>
<FileVersion>1.089.2017.0829</FileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.6\DBreeze.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard1.6\DBreeze.xml</DocumentationFile>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_6;NET40</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -105,6 +105,10 @@ public class TextSearchConfiguration
/// <para>Mobile recommendations year 2015: 1000</para>
/// </summary>
public int MinimalBlockReservInBytes = 100000;
/// <summary>
/// Maximal word size separated by the space. Default is 50 symbols
/// </summary>
public int MaximalWordSize = 50;
///// <summary>
///// Automatic indexer settings
@@ -155,6 +155,8 @@ public DBreezeEngine(string DBreezeDataFolderName)
//Console.WriteLine(" to get graceful finilization of all working threads! ");
}
object lock_initDb = new object();
/// <summary>
/// InitDb
/// </summary>
@@ -165,32 +167,35 @@ private void InitDb()
try
{
//Init type converter
DataTypes.DataTypesConvertor.InitDict();
if (Configuration.Storage == DBreezeConfiguration.eStorage.DISK)
lock (lock_initDb)
{
DirectoryInfo di = new DirectoryInfo(MainFolder);
//Init type converter
DataTypes.DataTypesConvertor.InitDict();
if (!di.Exists)
di.Create();
}
if (Configuration.Storage == DBreezeConfiguration.eStorage.DISK)
{
DirectoryInfo di = new DirectoryInfo(MainFolder);
if (!di.Exists)
di.Create();
}
//trying to open schema file
DBreezeSchema = new Scheme(this);
//trying to open schema file
DBreezeSchema = new Scheme(this);
//Initializing Transactions Coordinator
_transactionsCoordinator = new TransactionsCoordinator(this);
//Initializing Transactions Coordinator
_transactionsCoordinator = new TransactionsCoordinator(this);
//Initializing transactions Journal, may be later move journal into transactionsCoordinator
//We must create journal after Schema, for getting path to rollback files
_transactionsJournal = new TransactionsJournal(this);
//Initializing transactions Journal, may be later move journal into transactionsCoordinator
//We must create journal after Schema, for getting path to rollback files
_transactionsJournal = new TransactionsJournal(this);
//Initializes transaction locker, who can help block tables of writing and reading threads
_transactionTablesLocker = new TransactionTablesLocker();
//Initializes transaction locker, who can help block tables of writing and reading threads
_transactionTablesLocker = new TransactionTablesLocker();
//Initializing
DeferredIndexer = new TextDeferredIndexer(this);
//Initializing
DeferredIndexer = new TextDeferredIndexer(this);
}
}
catch (Exception ex)
{
@@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v1.6": {},
".NETStandard,Version=v1.6/": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"dependencies": {
"NETStandard.Library": "1.6.1"
},
@@ -752,7 +752,7 @@
}
},
"libraries": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"dependencies": {
"NETStandard.Library": "2.0.0"
},
@@ -24,7 +24,7 @@
}
},
"libraries": {
"DBreeze/1.088.2017.0630": {
"DBreeze/1.089.2017.0829": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit a52e97a

Please sign in to comment.