From ec391b6bfe8d87f4fb1bbb2a4e6033eaad9f4672 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 12 Mar 2018 18:20:24 -0400 Subject: Start using Scintilla's LongTerm3, which now includes Scintillua and Scinterm. Since LongTerm3 requires a C++11 compiler, GCC 4.9+ is required. Since C++11 includes regex capability, drop TRE dependency. --- src/scintilla_backports/6099_809112c81196.patch | 45 ------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/scintilla_backports/6099_809112c81196.patch (limited to 'src/scintilla_backports/6099_809112c81196.patch') diff --git a/src/scintilla_backports/6099_809112c81196.patch b/src/scintilla_backports/6099_809112c81196.patch deleted file mode 100644 index 2a10245d..00000000 --- a/src/scintilla_backports/6099_809112c81196.patch +++ /dev/null @@ -1,45 +0,0 @@ -# HG changeset patch -# User Colomban Wendling -# Date 1488136706 -3600 -# Node ID 809112c8119696afcefdcb145e04ade832fcbe0b -# Parent 4d2ba76f394abe85ce97ae7037db34bdae452dd1 -Bug [#1907]. GTK: Fix crash after destroying the widget on GTK < 3.3.6 - -On GTK2 and GTK3 < 3.3.6 there is no GtkAccessibleClass::widget_unset() -method, so we can't destroy our accessible object right away. So, to -avoid accessing a destroyed widget, we need to check whether the widget -still exists in the the ScintillaGTKAccessible destructor. - -In other methods it's not necessary because the wrapping GObject class -makes sure not to forward other when the widget has been destroyed, but -we still have to destroy the C++ instance no matter what, so the check -has to be on this side. - -diff -r 4d2ba76f394a -r 809112c81196 doc/ScintillaHistory.html ---- a/doc/ScintillaHistory.html Sat Feb 25 09:13:40 2017 +1100 -+++ b/doc/ScintillaHistory.html Sun Feb 26 20:18:26 2017 +0100 -@@ -535,6 +535,10 @@ - Bug #1915. - -
  • -+ Fix crash in accessibility code on GTK+ < 3.3.6 caused by previous bug fix. -+ Bug #1907. -+
  • -+
  • - Fix to prevent double scrolling on GTK+ with X11. - Bug #1901. -
  • -diff -r 4d2ba76f394a -r 809112c81196 gtk/ScintillaGTKAccessible.cxx ---- a/gtk/ScintillaGTKAccessible.cxx Sat Feb 25 09:13:40 2017 +1100 -+++ b/gtk/ScintillaGTKAccessible.cxx Sun Feb 26 20:18:26 2017 +0100 -@@ -162,7 +162,9 @@ - } - - ScintillaGTKAccessible::~ScintillaGTKAccessible() { -- g_signal_handlers_disconnect_matched(sci->sci, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, this); -+ if (gtk_accessible_get_widget(accessible)) { -+ g_signal_handlers_disconnect_matched(sci->sci, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, this); -+ } - } - - gchar *ScintillaGTKAccessible::GetTextRangeUTF8(Position startByte, Position endByte) { -- cgit v1.2.3