aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22Replace GTimeVal and g_get_current_time with gint64 and g_get_monotonic_time.Neil2-11/+5
GTimeVal was deprecated in GLib 2.61.2 as it is not year-2038-safe.
2019-11-15Feature [feature-requests:#1316] Allow target to have virtual space.Neil1-4/+4
2019-11-12Feature [feature-requests:#1324] Add Hollywood lexer.Andreas Falkenhahn1-0/+13
2019-09-30Delete standard functions on classes where there could be attempts to copy.Neil Hodgson4-1/+47
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-5/+2
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-29Bug [#2111]. Retracted change to IME on GTK.Neil1-7/+0
Backed out changeset: 512ec9ab2e7c
2019-06-22Bug [#2111]. Reset IME when mouse is clicked on GTK.Hodong Kim1-0/+7
2019-06-22Remove CHECK_DEPRECATED option as deprecations always checked.Neil Hodgson1-4/+1
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil1-5/+5
INDIC_ is also used for indicator styles.
2019-06-17Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.Zufu Liu1-3/+3
2019-06-15Feature [feature-requests:#1295]. Lexer added for DataFlex.Wil van Antwerpen1-0/+12
2019-04-29Feature [feature-requests:#1280]. Lexer added for X12.Iain Clarke1-0/+8
2019-04-12Bug [#2093]. Remove restrictions on IME input length.Zufu Liu1-2/+1
2019-04-11Bug [#2087]. Fix flickering when inserting primary selection on GTK betweenNeil2-14/+32
SciTE tabs. This does not allow primary selection to work between tabs as the tabs are sharing a single Scintilla and the old primary selection is unclaimed when the file is changed. This fix adds a new ReceivedClipboard method which does not try to convert the selection if received in a different format than asked for. It was the call to gtk_selection_convert that seemed to cause the flickering. ReceivedClipboard is only called from SelectionReceiver::ClipboardReceived so only occurs due to a call to RequestSelection and can not occur because of a selection_received signal. ReceivedSelection is left with its complexity in case it is needed for some other issue although it doesn't appear to be called for drag&drop, for example.
2019-04-11Bug [#2094]. Avoid exceptions by treating text as one-byte per character inNeil1-0/+6
accessibility if UTF32 index not available.
2019-04-08Make dependencies scripts work when called from ↵Neil1-2/+2
scite/scripts/RegenerateSource.py.
2019-04-05Bug [#2095]. gtk: Accessible: emit the text deletion signal before deletionColomban Wendling2-9/+3
This allows the accessibility layer to request detail, such as which characters have been deleted. ATK will query the deleted range to report the data that was removed, so it must still be available for the query to give a correct answer. So, emit the signal in BEFOREDELETE instead of DELETETEXT.
2019-04-05Bug [#2094]. gtk: Accessible: use the built-in character position cacheColomban Wendling3-25/+19
It's quite a lot faster even after trying and optimizing the custom version, and it makes the code simpler. Also improve ByteOffsetFromCharacterOffset() to make use of the cache, making it drastically faster.
2019-04-06Updated dependencies for change set 7401 adding UniqueString.cxx.Neil1-0/+3
2019-04-05Move UniqueStringCopy into its own source file UniqueString.cxx to hide theNeil1-1/+1
implementation.
2019-04-01Switch generation of make dependencies to Python scripts DepGen.py.Neil3-760/+1957
Dependencies files deps.mak and nmdeps.mak are formatted with one file per line as that makes it easier to examine differences between versions.
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil2-0/+2
be needed for adding a CharacterCategory feature.
2019-03-28Use standard GDK_SELECTION_CLIPBOARD instead of interning "CLIPBOARD".Neil2-6/+3
2019-03-28Bug [#2087]. Fix flicker when inserting primary selection on GTK.Neil2-28/+44
2019-03-27Updated dependencies.Neil1-45/+68
2019-03-27Ran astyle to standardize formatting.Neil4-349/+351
2019-03-27Fix problem with MinGW which defines NOMINMAX itself.Neil2-0/+2
2019-03-27Use const where reasonable. Some additional type safety.Neil2-123/+128
2019-03-27Standardize extracting point from mouse event, more noexcept, anonymousNeil2-27/+34
namespace and type safety.
2019-03-27Replace NULL/0 with nullptr. Mark noexcept where simple.Neil5-218/+224
Move some static functions into anonymous namespace.
2019-03-27Use size_t for consistency and to avoid casts.Neil1-4/+4
2019-03-27Initialize all the fields of ScintillaGTK.Neil1-2/+6
2019-03-27Add <algorithm> for std::min/max. Standardize on _WIN32 to gate Win32 features.Neil3-2/+7
Protect from windows.h definition of min/max.
2019-03-26Make PWidget noexcept and take const argument so it can be used in more ↵Neil1-1/+1
contexts.
2019-03-25Use std::make_unique.Neil1-1/+1
2019-03-25Simplify with range for.Neil1-2/+2
2019-03-25Use generic std::abs instead of abs and fabs.Neil1-3/+3
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil2-6/+6
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2019-01-07Stop variable shadowing. This makes the code easier to understand and improvesNeil1-1/+1
performance very slightly.
2018-10-11Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-3/+4
This can reduce the time taken to fold a document by half.
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-13/+3
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+20
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+27
horizontal gradients.
2018-05-14Fix warnings in debug assertions.Neil Hodgson1-3/+3
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil2-48/+48
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-17/+5
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-3/+3
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed.
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil2-10/+9
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil3-0/+3