diff --git a/LiteDB.Studio/Forms/MainForm.Designer.cs b/LiteDB.Studio/Forms/MainForm.Designer.cs index 493addb..17ac0e0 100644 --- a/LiteDB.Studio/Forms/MainForm.Designer.cs +++ b/LiteDB.Studio/Forms/MainForm.Designer.cs @@ -628,7 +628,7 @@ private void InitializeComponent() // loadLastDb // this.loadLastDb.AutoSize = true; - this.loadLastDb.Location = new System.Drawing.Point(672, 8); + this.loadLastDb.Location = new System.Drawing.Point(800, 8); this.loadLastDb.Name = "loadLastDb"; this.loadLastDb.Size = new System.Drawing.Size(154, 19); this.loadLastDb.TabIndex = 13; @@ -638,7 +638,7 @@ private void InitializeComponent() // // maxRecentListItems // - this.maxRecentListItems.Location = new System.Drawing.Point(841, 7); + this.maxRecentListItems.Location = new System.Drawing.Point(960, 7); this.maxRecentListItems.Maximum = new decimal(new int[] { 20, 0, diff --git a/LiteDB.Studio/ILMerge.props b/LiteDB.Studio/ILMerge.props deleted file mode 100644 index aaadb12..0000000 --- a/LiteDB.Studio/ILMerge.props +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/LiteDB.Studio/ILMergeOrder.txt b/LiteDB.Studio/ILMergeOrder.txt deleted file mode 100644 index 3fda7f5..0000000 --- a/LiteDB.Studio/ILMergeOrder.txt +++ /dev/null @@ -1,4 +0,0 @@ -# this file contains the partial list of the merged assemblies in the merge order -# you can fill it from the obj\CONFIG\PROJECT.ilmerge generated on every build -# and finetune merge order to your satisfaction - diff --git a/LiteDB.Studio/LiteDB.Studio.csproj b/LiteDB.Studio/LiteDB.Studio.csproj index 048749c..bf05cb7 100644 --- a/LiteDB.Studio/LiteDB.Studio.csproj +++ b/LiteDB.Studio/LiteDB.Studio.csproj @@ -1,7 +1,6 @@  - - - + + Debug @@ -48,7 +47,6 @@ - @@ -250,7 +248,6 @@ Designer - SettingsSingleFileGenerator @@ -346,7 +343,6 @@ - @@ -356,13 +352,5 @@ - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - + \ No newline at end of file diff --git a/LiteDB.Studio/Properties/Resources.Designer.cs b/LiteDB.Studio/Properties/Resources.Designer.cs index 4ad575e..ae7e61c 100644 --- a/LiteDB.Studio/Properties/Resources.Designer.cs +++ b/LiteDB.Studio/Properties/Resources.Designer.cs @@ -10,48 +10,35 @@ namespace LiteDB.Studio.Properties { using System; + using System.Reflection; - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - private static global::System.Resources.ResourceManager resourceMan; + private static System.Resources.ResourceManager resourceMan; - private static global::System.Globalization.CultureInfo resourceCulture; + private static System.Globalization.CultureInfo resourceCulture; - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LiteDB.Studio.Properties.Resources", typeof(Resources).Assembly); + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("LiteDB.Studio.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -60,109 +47,76 @@ internal Resources() { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap application_put { + internal static System.Drawing.Bitmap database_connect { get { - object obj = ResourceManager.GetObject("application_put", resourceCulture); + object obj = ResourceManager.GetObject("database_connect", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap application_view_tile { + internal static System.Drawing.Bitmap database { get { - object obj = ResourceManager.GetObject("application_view_tile", resourceCulture); + object obj = ResourceManager.GetObject("database", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap arrow_refresh { + internal static System.Drawing.Bitmap database_delete { get { - object obj = ResourceManager.GetObject("arrow_refresh", resourceCulture); + object obj = ResourceManager.GetObject("database_delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap brick { + internal static System.Drawing.Bitmap application_view_tile { get { - object obj = ResourceManager.GetObject("brick", resourceCulture); + object obj = ResourceManager.GetObject("application_view_tile", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bug_link { + internal static System.Drawing.Bitmap information { get { - object obj = ResourceManager.GetObject("bug_link", resourceCulture); + object obj = ResourceManager.GetObject("information", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap compress { + internal static System.Drawing.Bitmap table_delete { get { - object obj = ResourceManager.GetObject("compress", resourceCulture); + object obj = ResourceManager.GetObject("table_delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap database { + internal static System.Drawing.Bitmap application_put { get { - object obj = ResourceManager.GetObject("database", resourceCulture); + object obj = ResourceManager.GetObject("application_put", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap database_connect { + internal static System.Drawing.Bitmap key_go { get { - object obj = ResourceManager.GetObject("database_connect", resourceCulture); + object obj = ResourceManager.GetObject("key_go", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap database_delete { + internal static System.Drawing.Bitmap table_sort { get { - object obj = ResourceManager.GetObject("database_delete", resourceCulture); + object obj = ResourceManager.GetObject("table_sort", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap database_save { + internal static System.Drawing.Bitmap layout_add { get { - object obj = ResourceManager.GetObject("database_save", resourceCulture); + object obj = ResourceManager.GetObject("layout_add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// internal static System.Drawing.Bitmap disk { get { object obj = ResourceManager.GetObject("disk", resourceCulture); @@ -170,29 +124,20 @@ internal static System.Drawing.Bitmap disk { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap folder_explore { + internal static System.Drawing.Bitmap table_lightning { get { - object obj = ResourceManager.GetObject("folder_explore", resourceCulture); + object obj = ResourceManager.GetObject("table_lightning", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap information { + internal static System.Drawing.Bitmap brick { get { - object obj = ResourceManager.GetObject("information", resourceCulture); + object obj = ResourceManager.GetObject("brick", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// internal static System.Drawing.Bitmap key { get { object obj = ResourceManager.GetObject("key", resourceCulture); @@ -200,122 +145,86 @@ internal static System.Drawing.Bitmap key { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap key_go { + internal static System.Drawing.Bitmap resultset_next { get { - object obj = ResourceManager.GetObject("key_go", resourceCulture); + object obj = ResourceManager.GetObject("resultset_next", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap layout_add { + internal static System.Drawing.Bitmap table { get { - object obj = ResourceManager.GetObject("layout_add", resourceCulture); + object obj = ResourceManager.GetObject("table", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap lightning { + internal static System.Drawing.Bitmap page_white_gear { get { - object obj = ResourceManager.GetObject("lightning", resourceCulture); + object obj = ResourceManager.GetObject("page_white_gear", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap load_last_db { + internal static System.Drawing.Bitmap compress { get { - object obj = ResourceManager.GetObject("load_last_db", resourceCulture); + object obj = ResourceManager.GetObject("compress", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap page_white_gear { + internal static System.Drawing.Bitmap table_save { get { - object obj = ResourceManager.GetObject("page_white_gear", resourceCulture); + object obj = ResourceManager.GetObject("table_save", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap resultset_next { + internal static System.Drawing.Bitmap textfield_rename { get { - object obj = ResourceManager.GetObject("resultset_next", resourceCulture); + object obj = ResourceManager.GetObject("textfield_rename", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap table { + internal static System.Drawing.Bitmap folder_explore { get { - object obj = ResourceManager.GetObject("table", resourceCulture); + object obj = ResourceManager.GetObject("folder_explore", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap table_delete { + internal static System.Drawing.Bitmap lightning { get { - object obj = ResourceManager.GetObject("table_delete", resourceCulture); + object obj = ResourceManager.GetObject("lightning", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap table_lightning { + internal static System.Drawing.Bitmap arrow_refresh { get { - object obj = ResourceManager.GetObject("table_lightning", resourceCulture); + object obj = ResourceManager.GetObject("arrow_refresh", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap table_save { + internal static System.Drawing.Bitmap database_save { get { - object obj = ResourceManager.GetObject("table_save", resourceCulture); + object obj = ResourceManager.GetObject("database_save", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap table_sort { + internal static System.Drawing.Bitmap bug_link { get { - object obj = ResourceManager.GetObject("table_sort", resourceCulture); + object obj = ResourceManager.GetObject("bug_link", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap textfield_rename { + internal static System.Drawing.Bitmap load_last_db { get { - object obj = ResourceManager.GetObject("textfield_rename", resourceCulture); + object obj = ResourceManager.GetObject("load_last_db", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } diff --git a/LiteDB.Studio/Properties/Resources.resx b/LiteDB.Studio/Properties/Resources.resx index ed1a8ca..d9764e8 100644 --- a/LiteDB.Studio/Properties/Resources.resx +++ b/LiteDB.Studio/Properties/Resources.resx @@ -194,6 +194,6 @@ ..\Resources\bug_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\resources\load_last_db.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\load_last_db.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/LiteDB.Studio/packages.config b/LiteDB.Studio/packages.config index 4d4bd37..55a2294 100644 --- a/LiteDB.Studio/packages.config +++ b/LiteDB.Studio/packages.config @@ -1,7 +1,7 @@  - + + - \ No newline at end of file diff --git a/README.md b/README.md index 8b9850f..21182f5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,19 @@ # LiteDB.Studio -A GUI tool for viewing and editing documents for LiteDB v5 +A GUI tool for viewing and editing documents for LiteDB v5, **Linux-compatible source**. -![LiteDB Studio](https://pbs.twimg.com/media/D_142rzWwAECJDd?format=jpg&name=900x900) +![LiteDB Studio](https://images2.imgbox.com/64/40/WBbd8qDV_o.png) + +This is a fork of [the original LiteDB.Studio](https://github.com/mbdavid/LiteDB.Studio) repository. + +### Why? +I've seen a lot of request for LiteDB.Studio on Linux. So I took a quick look and found that it targets .NET Framework while not having any p/invokes to platform-specific libraries. I've cleaned up some missing resources, using ILRepack instead of ILMerge, and then tweaking the visuals (some controls were overlapping) and did a quick test. It runs nicely on my Ubuntu 20.04 amd64. No GUI rewrite, it depends on Mono's cross platform Windows.Forms implementation. + +### Get LiteDB.Studio for Linux +See releases section of the repository (tested only on Ubuntu 20.04 amd64) + +### Compiling from Source +You can easily compile this solution from source if you have Mono SDK (or .NET runtime if you are on Windows). The easiest way to build the solution is by using _MonoDevelop_ to just.. _build_. + +### Bugs +Feel free to file any issues. I'll see if i can help with it, but basically there is no modifications from the original repository, aside of UI and packing. \ No newline at end of file