aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2017-06-12Backport: Remove old timer code in favour of the FineTicker* methods.Neil2-8/+0
Backport of changeset 6311:3a180dc6e9c8.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-5/+10
'WithModifiers" form. All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed. Backport of changeset 6310:af83baede430.
2017-06-12Backport: Removed unused functions and methods from Platform.h.Neil1-100/+0
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
2017-06-11Backport: Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-9/+31
Backported from changeset 6306:7e28cdba6d61.
2017-06-10Backport: Require GTK+ 2.24 or later. Removes support for earlier versions.Baldur Karlsson2-63/+0
Backport of changeset 6301:90741c1cb988.
2017-06-09Backport: Use min and max from std instead of own version from platform.Neil2-8/+8
Backport of changeset 6297:4bf96081f6e6.
2018-03-11Added optional Lua lexer support.mitchell1-4/+16
This support is disabled by default and must be enabled via compile-time option.
2017-05-22Bug [#1946]. Builds are made with a sorted list of lexers to be more ↵Bernhard M. Wiedemann1-1/+1
reproducible.
2017-05-21Update make dependencies for GTK+.Neil1-63/+71
2017-05-21Make SparseVector work with move-only types.Neil2-0/+2
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-07Use unique_ptr on GTK+.Neil1-11/+6
2017-05-02For GTK+, use unique_ptr for drawing surfaces and don't check for allocationNeil1-36/+24
failure as that throws an exception.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-19Use =delete for unwanted functions.Neil1-4/+3
2017-04-19Use "override" for GTK+ and Qt platform layers.Neil1-37/+37
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil3-7/+11
2017-04-15Fix deprecation of gdk_window_process_updates in GTK+ 3.22 by redrawing insteadNeil1-4/+6
of scrolling.
2017-04-07Use same parameter names in declarations and definitions.Neil3-12/+12
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil3-14/+16
where it may be needed in the future.
2017-03-31Hide decorations details a little.Neil1-1/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil4-58/+58
and lines.
2017-03-07GTK: Fix popup positioning on monitors not positioned at 0,0Colomban Wendling1-20/+14
2017-03-08Bug [#1910]. Fixed more duplicate code.Neil1-7/+0
2017-03-07Bug [#1910]. Fixed double declaration.Neil1-3/+0
2017-03-07Bug [#1910]. Accessibility support may be queried and, on GTK+, disabled.Neil4-0/+43
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente2-0/+2
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-05For IMEs, do not clear selected text when there is no composition text to show.johnsonj1-1/+4
2017-03-04Use C++11 keyword "override" for methods that override a base class.Neil3-66/+66
2017-02-21Bug [#1910]. GTK a11y: Speed up converting byte offsets to character offsetsColomban Wendling2-1/+22
Use a per-line cache to avoid re-computing the offset from the start of the buffer each time. This dramatically speeds up multiple replacements on large files.
2017-02-26Bug [#1907]. GTK: Fix crash after destroying the widget on GTK < 3.3.6Colomban Wendling1-1/+3
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.
2017-02-21Bug [#1901]. GTK: Fix double scrolling under X11Colomban Wendling1-1/+1
Really restrict smooth scrolling handling to Wayland.
2017-02-08Bug [#1907]. GTK: Prevent running signal handlers on a destroyed a11y objectColomban Wendling1-0/+1
Avoid crash when detaching the widget from the accessible object without destroying that widget. In such situations, the widget is still valid but we will have destroyed the orphaned accessible object. Thus, we must make sure we disconnected the signal handlers the late accessible had set up on the widget, as they won't be implicitly disconnected by widget finalization in this case.
2017-02-01Bug [#1901]. Make trackpad scrolling work on Wayland.John Flatness2-0/+37
2017-01-04Use new simplified API for showing menu on GTK+ 3.22 as old API was deprecated.Neil1-3/+11
2017-01-04Use newer APIs for screen/monitor/display on GTK+ 3.22 as old APIs deprecated.Neil1-7/+35
These are used to ensure popup windows are fully on-screen but after this change, this doesn't always work on GTK+ 3.22 / Wayland.
2017-01-04Don't set window background on GTK+ 3.22 as this is deprecated.Neil1-1/+3
2017-01-04Fix display of autocompletion lists and calltips on GTK+ 3.22 on Wayland byNeil2-1/+8
setting the owning window by calling gtk_window_set_transient_for.
2016-12-18GTK: Ensure styles are valid when retrieving them for accessibility purposesColomban Wendling2-3/+10
2016-12-18GTK: Fix reporting deletion length in the accessibleColomban Wendling2-2/+10
We cannot compute the length in characters after the text has been deleted, so we need to compute it in BEFOREDELETE. However, we need to emit the signal once the buffer has actually changed, so we need to cache the value in-between those events.
2016-12-18GTK: Fix off-by-one error in accessible attribute runsColomban Wendling1-3/+3
2016-12-18GTK: Fix accessible object lifetime on GTK < 3.8Colomban Wendling1-20/+20
2016-10-24GTK: Add some documentation on accessible object reference ownershipsColomban Wendling2-0/+23
2016-12-01Ensure application can override right mouse button by returning FALSE.Neil1-0/+1
2016-12-01Sorting list of lexers for 'make deps' to minimize changes.Neil2-23/+42
Rerun make deps to cover recntly added files.
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-2/+10
2016-11-07Remove warning suppressions for a version of Clang from 4 years ago.Neil2-10/+0
2016-10-27Mark as const to avoid warning.Neil1-1/+1
2016-10-26Include windows.h on Windows and provide a ATK_CHECK_VERSION if not defined.Neil2-0/+16
2016-10-23Bug [#1874]. GTK: Avoid warnings about unused parametersColomban Wendling4-9/+9
Either remove the parameter name if it is never used, or mark it with G_GNUC_UNUSED when it might be used depending on some preprocessor flags.