diff options
Diffstat (limited to 'development/bless/patches')
-rw-r--r-- | development/bless/patches/default_overwrite.patch | 12 | ||||
-rw-r--r-- | development/bless/patches/fix_save.patch | 12 | ||||
-rw-r--r-- | development/bless/patches/fixxmltextwriter.patch | 31 | ||||
-rw-r--r-- | development/bless/patches/force_gtk_action_namespace.patch | 72 |
4 files changed, 127 insertions, 0 deletions
diff --git a/development/bless/patches/default_overwrite.patch b/development/bless/patches/default_overwrite.patch new file mode 100644 index 0000000000000..5eec4ba1a3037 --- /dev/null +++ b/development/bless/patches/default_overwrite.patch @@ -0,0 +1,12 @@ +diff -Naur bless-0.6.0/data/default-preferences.xml bless-0.6.0.patched/data/default-preferences.xml +--- bless-0.6.0/data/default-preferences.xml 2008-06-07 08:18:12.000000000 -0400 ++++ bless-0.6.0.patched/data/default-preferences.xml 2018-08-12 12:36:21.800800175 -0400 +@@ -1,7 +1,7 @@ + <preferences> + <pref name="Session.RememberCursorPosition">True</pref> + <pref name="Tools.ConversionTable.LEDecoding">False</pref> +- <pref name="Default.EditMode">Insert</pref> ++ <pref name="Default.EditMode">Overwrite</pref> + <pref name="Tools.ConversionTable.Show">True</pref> + <pref name="Tools.Statistics.Show">False</pref> + <pref name="Session.RememberWindowGeometry">True</pref> diff --git a/development/bless/patches/fix_save.patch b/development/bless/patches/fix_save.patch new file mode 100644 index 0000000000000..45e85b932b85d --- /dev/null +++ b/development/bless/patches/fix_save.patch @@ -0,0 +1,12 @@ +diff -Naur bless-0.6.0/src/buffers/ByteBuffer.cs bless-0.6.0-fixed/src/buffers/ByteBuffer.cs +--- bless-0.6.0/src/buffers/ByteBuffer.cs 2008-06-07 21:59:25.000000000 +0700 ++++ bless-0.6.0-fixed/src/buffers/ByteBuffer.cs 2009-12-11 20:07:42.000000000 +0600 +@@ -957,7 +957,7 @@ + ///</summary> + public string TempDir { + get { return tempDir; } +- set { tempDir = value;} ++ set { if(value != "") tempDir = value; } + } + + ///<summary> diff --git a/development/bless/patches/fixxmltextwriter.patch b/development/bless/patches/fixxmltextwriter.patch new file mode 100644 index 0000000000000..2b241d5525325 --- /dev/null +++ b/development/bless/patches/fixxmltextwriter.patch @@ -0,0 +1,31 @@ +diff --git a/src/tools/Preferences.cs b/src/tools/Preferences.cs +index 192bf14..775a83e 100644 +--- a/src/tools/Preferences.cs ++++ b/src/tools/Preferences.cs +@@ -132,6 +132,7 @@ public class Preferences + xml.Indentation = 1; + xml.IndentChar = '\t'; + ++ xml.WriteStartDocument(true); + xml.WriteStartElement(null, "preferences", null); + + foreach (DictionaryEntry entry in prefs) { +diff --git a/src/tools/Session.cs b/src/tools/Session.cs +index 7980cc0..5184632 100644 +--- a/src/tools/Session.cs ++++ b/src/tools/Session.cs +@@ -77,6 +77,7 @@ public class Session + xml.Indentation = 1; + xml.IndentChar = '\t'; + ++ xml.WriteStartDocument(true); + xml.WriteStartElement(null, "session", null); + + xml.WriteStartElement(null, "windowheight", null); +@@ -194,4 +195,4 @@ public class SessionFileInfo + } + } + +-} // end namespace +\ No newline at end of file ++} // end namespace diff --git a/development/bless/patches/force_gtk_action_namespace.patch b/development/bless/patches/force_gtk_action_namespace.patch new file mode 100644 index 0000000000000..fe722129dcfff --- /dev/null +++ b/development/bless/patches/force_gtk_action_namespace.patch @@ -0,0 +1,72 @@ +diff -urNad bless-0.5.2.orig/src/gui/plugins/BitwiseOperationsPlugin.cs bless-0.5.2/src/gui/plugins/BitwiseOperationsPlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/BitwiseOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/BitwiseOperationsPlugin.cs 2008-04-10 03:51:45.000000000 +0100 +@@ -30,6 +30,8 @@ + using Bless.Buffers; + using Mono.Unix; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + ///<summary> +diff -urNad bless-0.5.2.orig/src/gui/plugins/EditOperationsPlugin.cs bless-0.5.2/src/gui/plugins/EditOperationsPlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/EditOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/EditOperationsPlugin.cs 2008-04-10 03:52:06.000000000 +0100 +@@ -27,6 +27,8 @@ + using Bless.Gui.Dialogs; + using Bless.Tools; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + public class EditOperationsPlugin : GuiPlugin +diff -urNad bless-0.5.2.orig/src/gui/plugins/FileOperationsPlugin.cs bless-0.5.2/src/gui/plugins/FileOperationsPlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/FileOperationsPlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/FileOperationsPlugin.cs 2008-04-10 03:52:26.000000000 +0100 +@@ -29,6 +29,8 @@ + using Gtk; + using Mono.Unix; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + public class FileOperationsPlugin : GuiPlugin +diff -urNad bless-0.5.2.orig/src/gui/plugins/FindReplacePlugin.cs bless-0.5.2/src/gui/plugins/FindReplacePlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/FindReplacePlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/FindReplacePlugin.cs 2008-04-10 03:51:21.000000000 +0100 +@@ -31,6 +31,8 @@ + using Bless.Plugins; + using Mono.Unix; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + public class FindReplacePlugin : GuiPlugin +diff -urNad bless-0.5.2.orig/src/gui/plugins/HistoryPlugin.cs bless-0.5.2/src/gui/plugins/HistoryPlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/HistoryPlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/HistoryPlugin.cs 2008-04-10 03:53:22.000000000 +0100 +@@ -26,6 +26,8 @@ + using Bless.Gui; + using Bless.Tools; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + public class HistoryPlugin : GuiPlugin +diff -urNad bless-0.5.2.orig/src/gui/plugins/InfobarPlugin.cs bless-0.5.2/src/gui/plugins/InfobarPlugin.cs +--- bless-0.5.2.orig/src/gui/plugins/InfobarPlugin.cs 2008-04-10 03:50:32.000000000 +0100 ++++ bless-0.5.2/src/gui/plugins/InfobarPlugin.cs 2008-04-10 03:52:48.000000000 +0100 +@@ -28,6 +28,8 @@ + using Bless.Tools; + using Mono.Unix; + ++using Action = Gtk.Action; ++ + namespace Bless.Gui.Plugins { + + public class InfobarPlugin : GuiPlugin |