aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
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
2018-05-02Decrease use of casts and replace reinterpret_cast with static_cast.Neil Hodgson4-26/+28
2018-05-01Updated dependencies.Neil Hodgson1-29/+31
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-0/+2
2018-04-26Update dependencies for ElapsedPeriod.Neil Hodgson1-15/+15
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-22/+0
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-4/+4
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil2-6/+6
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-5/+5
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-5/+5
2018-03-24Removed unwanted include.Neil1-1/+1
2018-03-24Feature [feature-requests:#1212]. Move Unicode conversions into UniConversion.Zufu Liu3-35/+32
Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion.
2018-03-22Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead.Zufu Liu1-1/+1
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests.
2018-03-21Fix some runtime warnings caused by previous change as wSelection created laterNeil Hodgson1-4/+4
and clients (such as SciTE's about box) may use API to set up text before window is realized.
2018-03-21Fix warnings about NULL selection widget by moving creation and destruction ofMitchell Foral1-4/+2
wSelection into the realize and unrealize handlers.
2018-03-16Remove line-end white space.Neil1-1/+1