Renamed the GreenshotPlugin to Greenshot.Base

This commit is contained in:
Robin Krom 2021-03-28 21:01:29 +02:00
parent e8c0b307ee
commit 79cdca03eb
No known key found for this signature in database
GPG key ID: BCC01364F1371490
423 changed files with 30044 additions and 30000 deletions

View file

@ -20,7 +20,7 @@
[Files]
Source: {#ReleaseDir}\Greenshot.exe; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
Source: {#ReleaseDir}\GreenshotPlugin.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
Source: {#ReleaseDir}\Greenshot.Base.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
Source: {#ReleaseDir}\Greenshot.exe.config; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
Source: {#ReleaseDir}\log4net.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion
Source: {#ReleaseDir}\Dapplo.Http*.dll; DestDir: {app}; Components: greenshot; Flags: overwritereadonly ignoreversion replacesameversion

View file

@ -21,11 +21,11 @@
using System;
using System.Windows.Forms;
using GreenshotPlugin.UnmanagedHelpers;
using GreenshotPlugin.UnmanagedHelpers.Enums;
using Greenshot.Base.UnmanagedHelpers;
using Greenshot.Base.UnmanagedHelpers.Enums;
using log4net;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Extend this Form to have the possibility for animations on your form

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
partial class BackgroundForm
{

View file

@ -22,9 +22,9 @@
using System;
using System.Drawing;
using System.Windows.Forms;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Description of PleaseWaitForm.

View file

@ -21,9 +21,9 @@
using System;
using System.Windows.Forms;
using GreenshotPlugin.Interop;
using Greenshot.Base.Interop;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class ExtendedWebBrowser : WebBrowser
{

View file

@ -21,7 +21,7 @@
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// FormWithoutActivation is exactly like a normal form, but doesn't activate (steal focus)

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotButton : Button, IGreenshotLanguageBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Description of GreenshotCheckbox.

View file

@ -22,7 +22,7 @@
using System.Collections;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// This class is an implementation of the 'IComparer' interface.

View file

@ -22,9 +22,9 @@
using System;
using System.ComponentModel;
using System.Windows.Forms;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotComboBox : ComboBox, IGreenshotConfigBindable
{

View file

@ -21,16 +21,16 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Reflection;
using GreenshotPlugin.Core;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.IO;
using GreenshotPlugin.IniFile;
using System.Reflection;
using System.Windows.Forms;
using Greenshot.Base.Core;
using Greenshot.Base.IniFile;
using log4net;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// This form is used for automatically binding the elements of the form to the language

View file

@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Windows.Forms;
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotGroupBox : GroupBox, IGreenshotLanguageBindable
{

View file

@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Windows.Forms;
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotLabel : Label, IGreenshotLanguageBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Description of GreenshotCheckbox.

View file

@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Windows.Forms;
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotTabPage : TabPage, IGreenshotLanguageBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotTextBox : TextBox, IGreenshotConfigBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotToolStripDropDownButton : ToolStripDropDownButton, IGreenshotLanguageBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotToolStripButton : ToolStripButton, IGreenshotLanguageBindable
{

View file

@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Windows.Forms;
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotToolStripLabel : ToolStripLabel, IGreenshotLanguageBindable
{

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public class GreenshotToolStripMenuItem : ToolStripMenuItem, IGreenshotLanguageBindable
{

View file

@ -25,11 +25,11 @@ using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using Greenshot.Base.Core;
using Greenshot.Base.Interfaces.Plugin;
using log4net;
using GreenshotPlugin.Core;
using GreenshotPlugin.Interfaces.Plugin;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// A simple control that allows the user to select pretty much any valid hotkey combination

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
public interface IGreenshotConfigBindable
{

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// This interface describes the designer fields that need to be implemented for Greenshot controls

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls {
namespace Greenshot.Base.Controls {
partial class OAuthLoginForm {
/// <summary>
/// Required designer variable.

View file

@ -23,10 +23,10 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
using log4net;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// The OAuthLoginForm is used to allow the user to authorize Greenshot with an "Oauth" application

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls {
namespace Greenshot.Base.Controls {
partial class PleaseWaitForm {
/// <summary>
/// Designer variable used to keep track of non-visual components.

View file

@ -20,12 +20,12 @@
*/
using System;
using System.Windows.Forms;
using System.Threading;
using GreenshotPlugin.Core;
using System.Windows.Forms;
using Greenshot.Base.Core;
using log4net;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Description of PleaseWaitForm.

View file

@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Controls {
namespace Greenshot.Base.Controls {
partial class QualityDialog {
/// <summary>
/// Designer variable used to keep track of non-visual components.
@ -46,11 +46,11 @@ namespace GreenshotPlugin.Controls {
/// </summary>
private void InitializeComponent()
{
this.label_choosejpegquality = new GreenshotPlugin.Controls.GreenshotLabel();
this.label_choosejpegquality = new GreenshotLabel();
this.textBoxJpegQuality = new System.Windows.Forms.TextBox();
this.trackBarJpegQuality = new System.Windows.Forms.TrackBar();
this.checkbox_dontaskagain = new GreenshotPlugin.Controls.GreenshotCheckBox();
this.button_ok = new GreenshotPlugin.Controls.GreenshotButton();
this.checkbox_dontaskagain = new GreenshotCheckBox();
this.button_ok = new GreenshotButton();
this.checkBox_reduceColors = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).BeginInit();
this.SuspendLayout();
@ -137,11 +137,11 @@ namespace GreenshotPlugin.Controls {
this.PerformLayout();
}
private GreenshotPlugin.Controls.GreenshotButton button_ok;
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_dontaskagain;
private GreenshotButton button_ok;
private GreenshotCheckBox checkbox_dontaskagain;
private System.Windows.Forms.TrackBar trackBarJpegQuality;
private System.Windows.Forms.TextBox textBoxJpegQuality;
private GreenshotPlugin.Controls.GreenshotLabel label_choosejpegquality;
private GreenshotLabel label_choosejpegquality;
private System.Windows.Forms.CheckBox checkBox_reduceColors;
}
}

View file

@ -20,11 +20,11 @@
*/
using System;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces.Plugin;
using Greenshot.Base.Core;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces.Plugin;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Description of JpegQualityDialog.

View file

@ -22,12 +22,12 @@
using System;
using System.IO;
using System.Windows.Forms;
using GreenshotPlugin.Core;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using Greenshot.Base.Core;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using log4net;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// Custom dialog for saving images, wraps SaveFileDialog.

View file

@ -20,16 +20,15 @@
*/
using System;
using System.Windows.Forms;
using GreenshotPlugin.Core;
using System.Drawing;
using GreenshotPlugin.Core.Enums;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.UnmanagedHelpers;
using GreenshotPlugin.UnmanagedHelpers.Enums;
using GreenshotPlugin.UnmanagedHelpers.Structs;
using System.Windows.Forms;
using Greenshot.Base.Core;
using Greenshot.Base.IniFile;
using Greenshot.Base.UnmanagedHelpers;
using Greenshot.Base.UnmanagedHelpers.Enums;
using Greenshot.Base.UnmanagedHelpers.Structs;
namespace GreenshotPlugin.Controls
namespace Greenshot.Base.Controls
{
/// <summary>
/// This form allows us to show a Thumbnail preview of a window near the context menu when selecting a window to capture.

View file

@ -24,12 +24,12 @@ using System.Collections.Generic;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.UnmanagedHelpers;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.UnmanagedHelpers;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of AbstractDestination.

View file

@ -20,9 +20,9 @@
*/
using System;
using GreenshotPlugin.Interfaces;
using Greenshot.Base.Interfaces;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of AbstractProcessor.

View file

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.Runtime.InteropServices;
using Accessibility;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// See: http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/thread/03a8c835-e9e4-405b-8345-6c3d36bc8941

View file

@ -20,10 +20,10 @@
*/
using System;
using System.Drawing;
using System.Collections.Generic;
using System.Drawing;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Helper interface for passing base type

View file

@ -22,7 +22,7 @@
using System;
using System.Runtime.InteropServices;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// A helper class which does the mashalling for structs

View file

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.Timers;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Cache class

View file

@ -22,11 +22,11 @@
using System;
using System.Drawing;
using System.Drawing.Imaging;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Ocr;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interfaces.Ocr;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This class is used to pass an instance of the "Capture" around

View file

@ -21,10 +21,10 @@
using System;
using System.Collections.Generic;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Ocr;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interfaces.Ocr;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This Class is used to pass details about the capture around.

View file

@ -21,7 +21,7 @@
using System.Drawing;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This is the method signature which is used to capture a rectangle from the screen.

View file

@ -26,19 +26,18 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using GreenshotPlugin.UnmanagedHelpers;
using System.Runtime.InteropServices;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin;
using GreenshotPlugin.Interop;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interfaces.Plugin;
using Greenshot.Base.UnmanagedHelpers;
using log4net;
using HtmlDocument = HtmlAgilityPack.HtmlDocument;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of ClipboardHelper.

View file

@ -26,10 +26,10 @@ using System.Drawing;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public enum ClipboardFormat
{

View file

@ -26,7 +26,7 @@ using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// The following code comes from: http://www.developerfusion.com/code/4693/using-the-credential-management-api/

View file

@ -21,7 +21,7 @@
using System;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
[AttributeUsage(AttributeTargets.Field)]
public sealed class DisplayKeyAttribute : Attribute

View file

@ -19,15 +19,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using GreenshotPlugin.Core.Enums;
using GreenshotPlugin.UnmanagedHelpers;
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using GreenshotPlugin.UnmanagedHelpers.Enums;
using GreenshotPlugin.UnmanagedHelpers.Structs;
using Greenshot.Base.Core.Enums;
using Greenshot.Base.UnmanagedHelpers;
using Greenshot.Base.UnmanagedHelpers.Enums;
using Greenshot.Base.UnmanagedHelpers.Structs;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This handles DPI changes see

View file

@ -3,9 +3,9 @@ using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.Text;
using GreenshotPlugin.Effects;
using Greenshot.Base.Effects;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public class EffectConverter : TypeConverter
{

View file

@ -19,7 +19,7 @@
using System.Diagnostics.CodeAnalysis;
namespace GreenshotPlugin.Core.Enums
namespace Greenshot.Base.Core.Enums
{
/// <summary>
/// The HRESULT represents Windows error codes

View file

@ -3,7 +3,7 @@
using System;
namespace GreenshotPlugin.Core.Enums
namespace Greenshot.Base.Core.Enums
{
/// <summary>
/// See

View file

@ -3,7 +3,7 @@
using System;
namespace GreenshotPlugin.Core.Enums
namespace Greenshot.Base.Core.Enums
{
/// <summary>
/// Flags for the MonitorFromRect / MonitorFromWindow "flags" field

View file

@ -23,11 +23,11 @@ using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.UnmanagedHelpers;
using Greenshot.Base.IniFile;
using Greenshot.Base.UnmanagedHelpers;
using Microsoft.Win32;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of EnvironmentInfo.

View file

@ -21,7 +21,7 @@
using System;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public class EventDelay
{

View file

@ -2,7 +2,7 @@
using System.Diagnostics;
using System.IO;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Simple utility for the explorer

View file

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// The interface for the FastBitmap

View file

@ -21,15 +21,15 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using log4net;
using System.Collections.Generic;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public static class FilenameHelper
{

View file

@ -1,7 +1,7 @@
using System;
using System.Text.RegularExpressions;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Basic Fraction (Rational) numbers with features only needed to represent scale factors.

View file

@ -22,7 +22,7 @@
using System.ComponentModel;
using System.Drawing;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Centralized storage of the icons & bitmaps

View file

@ -17,10 +17,10 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using GreenshotPlugin.Core.Enums;
using System.Diagnostics.Contracts;
using Greenshot.Base.Core.Enums;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Extensions to handle the HResult

View file

@ -26,7 +26,7 @@ using System.Reflection;
using log4net;
using Microsoft.Win32;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of IEHelper.

View file

@ -23,7 +23,7 @@ using System;
using System.Drawing;
using System.Drawing.Imaging;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// The image interface, this abstracts an image

View file

@ -25,13 +25,13 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using GreenshotPlugin.UnmanagedHelpers;
using GreenshotPlugin.Effects;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using Greenshot.Base.Effects;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.UnmanagedHelpers;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
internal enum ExifOrientations : byte
{

View file

@ -19,8 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using GreenshotPlugin.Controls;
using log4net;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@ -33,12 +31,14 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin;
using Greenshot.Base.Controls;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interfaces.Plugin;
using log4net;
using Encoder = System.Drawing.Imaging.Encoder;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of ImageOutput.

View file

@ -1,7 +1,7 @@
using System.Drawing;
using System.Drawing.Imaging;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Wrap an image, make it resizeable

View file

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.Threading;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of InterfaceUtils.

View file

@ -12,7 +12,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This parses a JSON response, a modified version of the code found at:

View file

@ -25,11 +25,11 @@ using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Xml;
using GreenshotPlugin.IniFile;
using Greenshot.Base.IniFile;
using log4net;
using Microsoft.Win32;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This class supplies the GUI with translations, based upon keys.

View file

@ -1,6 +1,6 @@
using System;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public delegate void LanguageChangedHandler(object sender, EventArgs e);
}

View file

@ -1,6 +1,6 @@
using System;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This class contains the information about a language file

View file

@ -19,18 +19,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Greenshot.Base.IniFile;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Repository.Hierarchy;
using System;
using GreenshotPlugin.IniFile;
using log4net.Util;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Initialize the logger

View file

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using log4net;
using System;
using System.Collections.Generic;
using System.Drawing;
@ -28,11 +27,12 @@ using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interfaces.Plugin;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// HTTP Method to make sure we have the correct method

View file

@ -30,7 +30,7 @@ using System.Threading;
using log4net;
using Newtonsoft.Json;
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// OAuth 2.0 verification code receiver that runs a local server on a free port

View file

@ -29,7 +29,7 @@ using System.Text;
using System.Threading;
using log4net;
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// OAuth 2.0 verification code receiver that runs a local server on a free port

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// Specify the authorize mode that is used to get the token from the cloud service.

View file

@ -23,9 +23,9 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Net;
using GreenshotPlugin.Controls;
using Greenshot.Base.Controls;
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// Code to simplify OAuth 2

View file

@ -23,7 +23,7 @@ using System;
using System.Collections.Generic;
using System.Drawing;
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// Settings for the OAuth 2 protocol

View file

@ -27,10 +27,10 @@ using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using GreenshotPlugin.Controls;
using Greenshot.Base.Controls;
using log4net;
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// An OAuth 1 session object

View file

@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace GreenshotPlugin.Core.OAuth
namespace Greenshot.Base.Core.OAuth
{
/// <summary>
/// Provides a predefined set of algorithms that are supported officially by the OAuth 1.x protocol

View file

@ -26,7 +26,7 @@ using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Extension methods which work for objects

View file

@ -19,18 +19,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using GreenshotPlugin.UnmanagedHelpers;
using log4net;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using Greenshot.Base.IniFile;
using Greenshot.Base.UnmanagedHelpers;
using log4net;
using Microsoft.Win32;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Description of PluginUtils.

View file

@ -26,7 +26,7 @@ using System.Drawing;
using System.Drawing.Imaging;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
internal class WuColorCube
{

View file

@ -22,7 +22,7 @@
using System;
using Microsoft.Win32;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// A helper class for accessing the registry

View file

@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using GreenshotPlugin.Interfaces;
using Greenshot.Base.Interfaces;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// A really cheap and simple DI system

View file

@ -20,14 +20,14 @@
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using log4net;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
public static class StringExtensions
{

View file

@ -24,7 +24,7 @@ using System.Drawing.Imaging;
using System.IO;
using Svg;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Create an image look like of the SVG

View file

@ -19,8 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using GreenshotPlugin.UnmanagedHelpers;
using log4net;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@ -28,11 +26,13 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.UnmanagedHelpers.Structs;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.UnmanagedHelpers;
using Greenshot.Base.UnmanagedHelpers.Structs;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// The Window Capture code

View file

@ -2,22 +2,20 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interop;
using GreenshotPlugin.UnmanagedHelpers;
using GreenshotPlugin.UnmanagedHelpers.Enums;
using GreenshotPlugin.UnmanagedHelpers.Structs;
using Greenshot.Base.IniFile;
using Greenshot.Base.Interfaces;
using Greenshot.Base.Interop;
using Greenshot.Base.UnmanagedHelpers;
using Greenshot.Base.UnmanagedHelpers.Enums;
using Greenshot.Base.UnmanagedHelpers.Structs;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Code for handling with "windows"

View file

@ -19,12 +19,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using GreenshotPlugin.UnmanagedHelpers;
using System;
using System.Collections.Generic;
using System.Text;
using Greenshot.Base.UnmanagedHelpers;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// EnumWindows wrapper for .NET

View file

@ -3,7 +3,7 @@
using System;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// Extension methods to test the windows version

View file

@ -20,10 +20,10 @@
*/
using System.Windows.Forms;
using GreenshotPlugin.UnmanagedHelpers.Enums;
using Greenshot.Base.UnmanagedHelpers.Enums;
using log4net;
namespace GreenshotPlugin.Core
namespace Greenshot.Base.Core
{
/// <summary>
/// This IMessageFilter filters out all WM_INPUTLANGCHANGEREQUEST messages which go to a handle which is >32 bits.

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// AdjustEffect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// BorderEffect

View file

@ -23,9 +23,9 @@ using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// DropShadowEffect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// GrayscaleEffect

View file

@ -22,7 +22,7 @@
using System.Drawing;
using System.Drawing.Drawing2D;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// Interface to describe an effect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// InvertEffect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// MonochromeEffect

View file

@ -22,10 +22,10 @@
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
using log4net;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// ReduceColorsEffect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// ResizeCanvasEffect

View file

@ -21,9 +21,9 @@
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// ResizeEffect

View file

@ -22,9 +22,9 @@
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using GreenshotPlugin.Core;
using Greenshot.Base.Core;
namespace GreenshotPlugin.Effects
namespace Greenshot.Base.Effects
{
/// <summary>
/// RotateEffect

Some files were not shown because too many files have changed in this diff Show more