aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil3-27/+2
This allows removal of related #include statements.
2019-12-30Use pattern rules instead of suffix rules as they are clearer.Neil1-4/+6
Add a .PHONY target to avoid possible failure caused by file with same name.
2019-12-30Remove line end whitespace.Neil1-1/+1
2019-12-29Builds without GNU extensions so set to standard C++17.Neil1-1/+1
2019-12-29Standardize names and order between make files on win32 and gtk.Neil1-4/+4
2019-12-29Support Clang on Windows.Neil1-0/+12
2019-12-27Use Unix paths except when deleting files, then call normalize to change / to \.Neil1-3/+5
2019-12-29Use if function to simplify GTK version setting.Neil1-6/+2
2019-12-29Simplify makefile and use better variable names.Neil1-26/+22
Accumulate BASE_FLAGS and DEFINES instead of using multiple variables.
2019-12-27Collect objects into variables and define one-per-line.Neil1-7/+52
This simplifies referencing the objects and makes for smaller patches when changing the set of objects.
2019-12-29Drop G_THREADS_IMPL_NONE as not implemented in glib since 2011.Neil1-9/+3
2019-12-29Use ranlib everywhere so no special case on macOS.Neil1-7/+1
2019-12-29Move suppression of Clang warning missing-braces from makefile to apply toNeil1-1/+1
lexers but not most other files.
2019-12-29Update comments.Neil1-4/+5
2019-12-13Fix incorrect comments.Neil1-1/+1
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